Jepp, since weather radio V1.11, it's python 3.


It sounds like the python module rrdtool is missing.

pip install rrdtool
If you run the scripts with a different user, you could install it for all users with
sudo pip install rrdtool


You can see the problem in the job log:

févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: bind: Address already in use
févr. 18 19:26:04 NAFABox indiserver[17439]: Child process 17444 died
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: good bye

There is an indiserver instance already running. To stop it, call
sudo killall indiserver
You could also try to stop the service:
sudo service indi-weatherradio stop


Could be necessary to change the wifi options in any case, like default accesspoint die or any other case.
A quick way to change the SSID is better than have to reupload the code just for change the wifi station settings

This is indeed possible, but only through the serial interface using the following command:
s?ssid=<SSID name>&passwd=<password>
The easiest way for sending commands via the serial interface is using the serial monitor of the Arduino IDE.



Looks like your INDI library is outdated. Please update to the latest version 1.8.8.


So regarding to the WiFi, actually it is configured to connect to my home router, but if I go out it switch to be an AccessPoint with some defaults data? Thereis a way to change the wireless settings via a webpage?

I'm not sure what you want to achieve using the Arduino as access point. If you want to use it in the field, I would recommend one of these two options:
  • Use a WiFi access point in the field and connect all your devices including the Wemos to it. This way you simply span a local network without internet connection.
  • Connect your Wemos with the USB cable directly to the server (Raspberry or whatever you are using)


Version 1.12 is released, but I just saw that you are using a water sensor, which is not supported on INDI service level currently. It shouldn't be too complicated, so give me a couple of days...



Hi Mattheo,
please be a little bit patient, release 1.12 of weather radio will contain this option. If you know what you are doing, you could check out the branch weatherradio-v_1.12 from my indi-3rdparty clone

The INDI driver is ready, the integration into the web page is missing.

With this upcoming release, I added the option for rain drop detectors, i.e. as soon as first rain drops are recognized, the weather status changes to ALARM so that for example the observatory controller could close the roof.



Did your system reboot? On some systems, /tmp gets cleaned when the system is started.


ERROR: opening 'weather.rrd': Aucun fichier ou dossier de ce type

You need to issue this command from that directory where weather.rrd is located. Should be /usr/local/share/weatherradio or /usr/share/weatherradio.

I also tried to try to decipher the data file, but I think there will be a problem, because the cloud cover depends on a calculation from the sky temperature, as the SQM depends on the Lux value.
So how to do it?

Cloud coverage is stored directly, so you can access the data directly from the rrd file.


these are very specific questions and I'm not sure how to calculate these values.

The best way to get closer is to extract the data manually from the RRD file, import it into a spreadsheet and try to build the appropriate formulae. As soon as we have them, we can discuss how to implement them.

To extract the data, you need rrdtool installed on your machine. If it is not present, issue

sudo apt install rrdtool

For extracting the data from the RRD file, use rrdtool fetch. For example, with
rrdtool fetch weather.rrd AVERAGE -s -100d -r 1h
you extract the 1h averages of all parameters of the last 100 days.

If you need additional help, send me a PN here so that we could continue to discuss by email.



so here's what it looks like with the command line

nafa@NAFABox:~$ /usr/bin/indiserver -v indi_weatherradio
2021-01-18T22:28:22: startup: /usr/bin/indiserver -v indi_weatherradio
2021-01-18T22:28:22: Driver indi_weatherradio: pid=3666 rfd=3 wfd=6 efd=7
2021-01-18T22:28:22: listening to port 7624 on fd 4
2021-01-18T22:28:22: Driver indi_weatherradio: snooping on GPS Simulator.GEOGRAPHIC_COORD

does it help you understand my problem?

Not yet, since this only shows that it is working. You should log the output so that we can find the problem.
/usr/bin/indiserver -v indi_weatherradio >> /tmp/indiserver.log

I think it lasts about 7 days. Is there a way to make it reboot automatically every hour at a certain time?

I wouldn‘t recommend it, better track down the problem. I have it running for months without a problem.

PS: And something out of the question, since you're so good, would it be possible to get a statistic of the nights?
so that we can know which nights were good during the year.

I‘m not so sure what you mean. Is this more than the recording done for the weather radio web page? Take a look at my own instance here:


Salut Christophe,
it looks like starting the indiserver fails or it fails with an exception during runtime. Have you tried to start it manually? Execute the following from a terminal and post here what happens:

/usr/bin/indiserver -v indi_weatherradio

Regarding the configurations: there are several configurations:
  • For the Arduino firmware, config.h holds the configuration of the firmware loaded onto the Arduino.
  • The INDI service stores the service configuration in .indi/Weather Radio_config.xml
  • For the web page scripts, holds the configuration for updating the web page data