×

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

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 1185
  • Thank you received: 370
It's really awkward. What about shifting our communication to PN?

I would set a breakpoint at line 42 of wr_rrd_update.py and step through carefully.

HTH
Wolfgang
3 years 3 weeks ago #69314

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

  • Posts: 2255
  • Thank you received: 223
You have a private message :)
3 years 3 weeks ago #69320

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

  • Posts: 2255
  • Thank you received: 223
So after hours of debugging and trying to figure out why it wasn't working as it should, I've figured it out. In my case it was about the unit file itself.
On the Odroid C4 running Ubuntu 20.04 I have to slightly change it.

From the doc :
[Unit]
Description=INDI server for weather radio
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=root
ExecStart=/usr/bin/indiserver -v indi_weatherradio

[Install]
WantedBy=multi-user.target

While mine is:
[Unit]
Description=INDI server for weather radio
After=multi-user.target

[Service]
Type=idle
User=root
ExecStart=/usr/bin/indi_weather -p 7625 -v indi_weatherradio

[Install]
WantedBy=multi-user.target


I was only able to fix it out after testing the python scripts against indiserver running off the command line and not as a service.
The data is being recorded and shown on the webpage.
Last edit: 1 year 2 months ago by Gonzothegreat.
3 years 3 weeks ago #69392

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

  • Posts: 250
  • Thank you received: 3
Hello
I had to change my router for my observatory, but I have a problem.
How do I open the webradio page to access it from a PC that is not in the network?
I remember that I have to make the IP fixed and open a port, but I don't remember how to do it, who can help me?
Thanks
2 years 2 months ago #80539

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

  • Posts: 250
  • Thank you received: 3
Hello
I have a question, I would like to redo my assembly for my weather station and I was going to put a Nano Evry, but I can't upload the program METEORADIO_VERSION "1.5" on it.
I have this error
"" avrdude: jtagmkII_getsync(): sign-on command: status -1 """

I'm not sure if it's possible to install it on this card ?

Thank you very much for your help.
Last edit: 2 years 3 weeks ago by Porchet.
2 years 3 weeks ago #81731

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

  • Posts: 108
  • Thank you received: 4
Hi Gilles,

after more than 2 years I'd like to ask you what have you accomplished? I'm following this weatherradio threat since about 2 years but still struggling with the data transfer to the webpage.
I run two RPi 4B one on the OTA rig the other in the observatory. Please find the attachement.
Even the last version of weatherradio will not cooperate :-). with the rrd-database and theire scritps. wr_rrd_update.py comes back with"ERROR 11 Resource temporarily not available".
The drivers in Ekos all connect and working. Data are presented and the wifi transmission (JSON pretty print of sensor data "/p") also works fine.
It was also possible to combine the relatively new indi-allsky programm and the "observatory" indi-drivers on different indi ports. So they stoped fighting and concurring about the several devices.

I'm very interested having this system working.

best regards ggtux
1 year 7 months ago #85626
Attachments:

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

  • Posts: 108
  • Thank you received: 4
better scheme
1 year 7 months ago #85628
Attachments:

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

  • Posts: 16
  • Thank you received: 3
My setup has evolved and looks roughly like this now...

I've had weatherradio running for a long while now using xbee units to talk back to a raspberry pi over serial. The raspberry pi is my weatherstation running weewx and processes the data (my main headache is I still can't find good values for the model constants to get cloud cover accurate % enough for my liking). I then chuck the data back out from weewx to mqtt using the weewx-mqtt plugin.

This is where I diverge slightly. Instead of using wolfgang's driver to connect directly to the weatheradio over http, I now use github.com/rkaczorek/indi-weather-mqtt to pull the weather data from mqtt. This allows me to fill in more data than wolfgang's driver (and I can pull data in from anywhere that can throw it on mqtt) which is useful to fill out the fields on the new weather tab in ekos that aren't covered in the driver.

One other advantage of this is that weewx is good at massaging weather data. So I can use unit conversion functions or build other calculations in weewx before dropping the data onto the queue in the format that indi will want it.

-Mark
The following user(s) said Thank You: Gunter
1 year 7 months ago #85630

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

  • Posts: 108
  • Thank you received: 4
Hi Mark,

can you please provide more detail? I have no issue with indi-weatherradio as the driver itself, but can't get the data in the rrd database. I get a a json file from the webserver of the weatherradio microcontroler 8266 like this (http://192.168.178.74:80/p). see attachement.
Do you have experience to deserialize such a file and put the data into the rrd db?
That'll resolve my issue too.

have a good day.

ggtux
1 year 7 months ago #85634
Attachments:

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

  • Posts: 16
  • Thank you received: 3
Hi Gunter - I'm afraid I can't help debug. As above, I don't use the website, instead I feed all the data into my weather station and visualise it that way, so I have no experience with the rrd files. -Mark
1 year 7 months ago #85635

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

  • Posts: 1185
  • Thank you received: 370
Hi Gunter,
did you try to follow the installation instructions ?

The first step that you need running is an INDI server with the weatherradio driver.

If this is the case, the next step is using the python scripts that create and update the RRD files. These scripts all use the weatherradio.ini configuration file. Please take the configuration file distributed and change it according to your settings. The documentation is outdated for the syntax, I changed the configuration file to the typical INI style.

The next step is creating the RRD files. For this, the documentation is accurate.

If this doesn't help, send me a PN here so that we can try to resolve it directly.

HTH
Wolfgang
The following user(s) said Thank You: Gunter
1 year 7 months ago #85637

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

  • Posts: 1185
  • Thank you received: 370
By the way, the error "ERROR 11 Resource temporarily not available" indicates that there is another instance of a script running.
1 year 7 months ago #85638

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

Time to create page: 0.826 seconds