Jepp, since weather radio V1.11, it's python 3.
Read More...
It sounds like the python module rrdtool is missing.
pip install rrdtool
sudo pip install rrdtool
You can see the problem in the job log:
There is an indiserver instance already running. To stop it, callfé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
sudo killall indiserver
sudo service indi-weatherradio stop
This is indeed possible, but only through the serial interface using the following command: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
s?ssid=<SSID name>&passwd=<password>
Looks like your INDI library is outdated. Please update to the latest version 1.8.8.
Read More...
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: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?
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...
Wolfgang
Read More...
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
github.com/sterne-jaeger/indi-3rdparty.git
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.
Wolfgang
Read More...
Did your system reboot? On some systems, /tmp gets cleaned when the system is started.
Read More...
You need to issue this command from that directory where weather.rrd is located. Should be /usr/local/share/weatherradio or /usr/share/weatherradio.ERROR: opening 'weather.rrd': Aucun fichier ou dossier de ce type
nafa@NAFABox:~$
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?
Christophe,
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
rrdtool fetch weather.rrd AVERAGE -s -100d -r 1h
Not yet, since this only shows that it is working. You should log the output so that we can find the problem.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?
/usr/bin/indiserver -v indi_weatherradio >> /tmp/indiserver.log
I wouldn‘t recommend it, better track down the problem. I have it running for months without a problem.I think it lasts about 7 days. Is there a way to make it reboot automatically every hour at a certain time?
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: weather.openfuture.de/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.
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