×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Weather radio don't want connect

  • Posts: 2098
  • Thank you received: 201
I ran the pdb, nothing came up also strace'd it and nothing bad came up
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69272

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

  • Posts: 933
  • Thank you received: 285
And what happens without the "-v" flag? Try running
python -m pdb /usr/share/weatherradio/bin/wr_rrd_update.py
TSA-120 + epsilon-160 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
1 year 2 months ago #69273

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

  • Posts: 2098
  • Thank you received: 201
this:
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69274

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

  • Posts: 2098
  • Thank you received: 201
Interesting, I get no output this time.

root@heidenrod-obs:/usr/share/weatherradio# /usr/share/weatherradio/bin/wr_rrd_update.py
root@heidenrod-obs:/usr/share/weatherradio#

the rrd files are not being updated
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69276

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

  • Posts: 2098
  • Thank you received: 201
using python 3.8 by the way

:/usr/share/weatherradio# python -V
Python 3.8.5
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69277

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

  • Posts: 2098
  • Thank you received: 201
I've spent a fair bit of time on this issue, without the -v it does not connect and I am unable to get any data in the weather.rdd file (just a bunch of 0's)

I have tried to flash the board for 9600 and 115200 speed, tried python debugging, tried strace it. I cannot see what's going on.
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69303

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

  • Posts: 2098
  • Thank you received: 201
Interesting find:

root@heidenrod-obs:/usr/share/weatherradio/html/data# ll RTdata_*
-rw-r--r-- 1 root root 22684 Mar 26 15:00 RTdata_1d.json
-rw-r--r-- 1 root root 732 Mar 26 00:00 RTdata_30d.json
-rw-r--r-- 1 root root 27598 Mar 26 15:00 RTdata_6h.json
-rw-r--r-- 1 root root 5674 Mar 26 15:00 RTdata_7d.json
-rw-r--r-- 1 root root 275 Mar 26 15:00 RTdata_lastupdate.json
root@heidenrod-obs:/usr/share/weatherradio/html/data#

all bar the RTdata_lastupdate.json are being populated, and if I understand correctly, the RTdata_ files are the ones used on the weatherradio.html page...
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69305

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

  • Posts: 933
  • Thank you received: 285
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
TSA-120 + epsilon-160 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | ASI 1600mm pro + 6200mm pro | KStars/INDI on Raspberry Pi 4/Intel NUC
1 year 2 months ago #69314

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

  • Posts: 2098
  • Thank you received: 201
You have a private message :)
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69320

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

  • Posts: 2098
  • Thank you received: 201
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 :
While mine is:

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.
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO533MC / QHY5L-II-M (OAG)
1 year 2 months ago #69392

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

  • Posts: 234
  • 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
3 months 2 weeks ago #80539

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

  • Posts: 234
  • 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 months 3 days ago by Porchet.
2 months 3 days ago #81731

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

Time to create page: 0.696 seconds