×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Weather radio don't want connect

  • Posts: 2064
  • Thank you received: 193
I ran the pdb, nothing came up also strace'd it and nothing bad came up
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69272

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

  • Posts: 837
  • Thank you received: 246
And what happens without the "-v" flag? Try running
python -m pdb /usr/share/weatherradio/bin/wr_rrd_update.py
TSA-120 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
5 months 3 weeks ago #69273

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

  • Posts: 2064
  • Thank you received: 193
this:
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69274

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

  • Posts: 2064
  • Thank you received: 193
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 / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69276

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

  • Posts: 2064
  • Thank you received: 193
using python 3.8 by the way

:/usr/share/weatherradio# python -V
Python 3.8.5
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69277

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

  • Posts: 2064
  • Thank you received: 193
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 / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69303

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

  • Posts: 2064
  • Thank you received: 193
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 / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69305

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

  • Posts: 837
  • Thank you received: 246
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 + FSQ-85 + GSO 150/750 | Avalon Linear + M-zero | Moravian G2-8300 + ASI 1600mm pro | KStars/INDI on Raspberry Pi 4 with Raspbian 10
5 months 3 weeks ago #69314

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

  • Posts: 2064
  • Thank you received: 193
You have a private message :)
Kstars Mac osx
Odroid C4 / WO Redcat51 / CEM25p / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69320

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

  • Posts: 2064
  • Thank you received: 193
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 / ZWO183MM / QHY5L-II-M (OAG) / ZWO mini FW
5 months 3 weeks ago #69392

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

Time to create page: 0.363 seconds