Weather radio don't want connect

  • Posts: 16
  • Thank you received: 3
Personally, I have lots of unos and xbees lying around so I'm just trying to use them rather than buying new kit. There's something nice too about using minimal kit - the easy option for these kind of projects is always to use another raspberry pi and wireless - the cost isn't too much, but where's the fun in that? :)
3 years 4 months ago #65860

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16
I have unos and nanos and no Wemos D1, probably should invest I suppose.

I have been using the usb cable to power the microcontroller and communicate with it (two objectives with one cable).

I bought a longer USB cable which goes to the weather station's microcontroller.
This is commected back to a raspberry pi in a nicer weather proof environment which has AC power and an ethernet connection.

The wifi from the house does not reach the garden well where the pi is and is much less reliable than the cable usually.

I did set up the pi as a wifi hotspot so that the pi zero on the skycam can communicate back, so it would be easy to use this trick with a Wemos.

Still have to get power to the pizero and have used a portable power bank 5V (lasts the whole night) and 12V DC via buck converter to 5 V,
which I can power via a 12V battery or a 12V power supply running off the mains. Suppose I could power the Wemos in a similar fashion.

Bit old fashioned with the uno, I know. Suppose I should move with the times!
3 years 4 months ago #65862

Please Log in or Create an account to join the conversation.

  • Posts: 89
  • Thank you received: 16

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
I still have my recurring problem that causes the station to make a mistake every 1 to 2 weeks.
******************************************************************************************************
afa@NAFABox:~$ sudo service indi-weatherradio status
[sudo] Mot de passe de nafa :
● indi-weatherradio.service - INDI server for weather radio
Loaded: loaded (/etc/systemd/system/indi-weatherradio.service; enabled; vendo
Active: failed (Result: exit-code) since Fri 2021-01-15 01:19:02 CET; 3 days
Process: 1270 ExecStart=/usr/bin/indiserver -v indi_weatherradio (code=exited,
Main PID: 1270 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomple
lines 1-7/7 (END)
***********************************************************************************************
do you have an idea where the problem can come from?
Can an update fix the problem?

And above all, how to update without changing the different settings made from the beginning.
I ask because it's not me who installed it and I'm still a novice in linux.

Best regards
Christophe
3 years 4 months ago #66097

Please Log in or Create an account to join the conversation.

Weather radio don't want connect - Page 17 - INDI Forum - Results from #156
  • Posts: 1187
  • Thank you received: 370

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
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?

and I always launch it manually, the program and on a dedicated arduino only for the weather.

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


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.
3 years 4 months ago #66141

Please Log in or Create an account to join the conversation.


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 1187
  • Thank you received: 370

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello Wolfgang

so I restarted and typed the command line you gave me to record what happens when it disconnects.

About what I meant by "a good average night's sleep."
is that if you put the 30d tab .
Because it makes a kind of average of all, so it works for temperature, humidity and pressure.
But not for clouds and SQM, it gives you values that are not very consistent (in my opinion).

So an interesting option would be to have what are the nights when there were no clouds between 2 SQM values. Like that or could know, as an example, that during "the year" there was a certain number of nights exploitable for observation.
Or we could do the same thing with how many days in the year it was sunny, keeping the days where there were less than a certain percentage of clouds in the morning and in the evening.

I don't know if you know what I mean.

See you soon.
3 years 4 months ago #66178

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Hello
so I tried this command but it gives me an error.

nafa@NAFABox:~$ rrdtool fetch weather.rrd AVERAGE -s -100d -r 1h
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?
3 years 4 months ago #66231

Please Log in or Create an account to join the conversation.

  • Posts: 1187
  • Thank you received: 370
You need to issue this command from that directory where weather.rrd is located. Should be /usr/local/share/weatherradio or /usr/share/weatherradio.
Cloud coverage is stored directly, so you can access the data directly from the rrd file.
3 years 4 months ago #66255

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 3
Ok, so now I got to read the data.
So now, I would have to select a time slot for data collection.
example :from 6pm to 6am
then choose in this time frame the tolerance you want for clouds.
example: 2% of cloud during .
and then do a good day count.
Example : since January 1st there has been : "4" good night.

Do you think it's possible to do it, I realize that it's not directly useful for a night of observation, nor for the security of closing a roof.
But it would be interesting to know and remember which nights have been good during the year, and compared between years and different places.
3 years 4 months ago #66258

Please Log in or Create an account to join the conversation.

Time to create page: 0.629 seconds