×

INDI Library v1.9.8 Released (29 Sep 2022)

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

New WeeWX JSON driver

  • Posts: 213
  • Thank you received: 118
PR for a new INDI weather driver that retrieves data from a WeeWX weather instance using the WeeWX JSON plugin.

github.com/teeks99/weewx-json

github.com/indilib/indi-3rdparty/pull/598
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
The following user(s) said Thank You: Jasem Mutlaq
5 months 1 day ago #84036

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

  • Posts: 126
  • Thank you received: 10

Replied by Thomas Mason on topic New WeeWX JSON driver

I am setting up to use weewx for my netatmo weather station. I have the netatmo setup working with weewx and can view the data correctly formatted on the weewx webpage. Installed the weewx-json plugin and it is generating a json file, first bit is:

thomas@plutoniborg:~/Downloads$ cat /var/www/html/weewx/weewx.json
{
"station":
{
"location": "Santa Fe, NM",
"latitude": 35.67415,
"longitude": -105.92701,
"altitude (meters)": 2200.0,
"link": ""
},
"generation":
{
"time": "Sat, 20 Aug 2022 13:00:00 MDT",
"generator": "weewx 4.8.0"
},
"current":
{
"temperature": {"value": 15.799999999999999, "units": "°C"},
"dewpoint": {"value": 12.916316531130608, "units": "°C"},
"humidity": {"value": 83.0, "units": "%"},
"heat index": {"value": 15.602777777777774, "units": "°C"},
"wind speed": {"value": 8.000019883927573, "units": "km/h"},
"wind gust": {"value": 23.000057166291775, "units": "km/h"},
"wind direction": {"value": 244.0, "units": "°"},
"wind chill": {"value": 15.799999999999999, "units": "°C"},
"rain rate": {"value": 0.08080000000000001, "units": "cm/h"},
"inside temperature": {"value": 23.7, "units": "°C"},
"inside humidity": {"value": 46.0, "units": "%"},
"void_end": null
},
However when I try and add the weather device it doesn't appear as an option. I can add it as an Aux but it doesn't seem to work.

[2022-08-20T13:10:35.374 MDT INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2022-08-20T13:10:35.394 MDT WARN ][ org.kde.kstars.indi] - Driver "WeewxJSON" failed to start. Retrying in 5 seconds...
[2022-08-20T13:10:40.146 MDT WARN ][ org.kde.kstars.indi] - Driver "WeewxJSON" failed to start. Retrying in 5 seconds...
[2022-08-20T13:10:45.105 MDT WARN ][ org.kde.kstars.indi] - Driver "WeewxJSON" failed to start. Retrying in 5 seconds...

Under Aux it says available as a remote drive - to use locally install the corresponding driver but that seems not to work:

thomas@plutoniborg:~/Downloads$ sudo apt-get install indi-weewx-json
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package indi-weewx-json

running on ubuntu 22.04 with current 3.6 kstars and "indi-full is already the newest version (1.9.7+202207290717~ubuntu22.04.1)"
Borg 107FL on RST-135 + QHY268C, Astro-Tech AT130EDT on GM1000HPS + QHY600PH Chroma LRGBHSO; IR Guiding WO Uniguide 50 & QHY5-III-462C ASUS PN51 and Mele Quieter 3 ubuntu, kstars/ekos, & firecapture; Pegasus PPBA; WO Redcat, Skyguider Pro RT90C, Canon 7DmkII, rPi4/stellarmate
Last edit: 3 months 1 week ago by Thomas Mason.
3 months 2 weeks ago #85511

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

  • Posts: 213
  • Thank you received: 118

Replied by Rick Bassham on topic New WeeWX JSON driver

Hey Thomas, I can't see anything that would be causing the issue you describe at first glance. Is your weather station on a publicly accessible site? That would make debugging easier for me. Did you build and install directly from source?

Also can you provide the output of:
cat ~/.indi/WeewxJSON_config.xml

It doesn't look like this driver is available on the PPA yet.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
3 months 1 week ago #85512

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

  • Posts: 126
  • Thank you received: 10

Replied by Thomas Mason on topic New WeeWX JSON driver

the xml file doesn't exist which I guess reflects the absence of the driver. Not sure how the timing fits for ppa but it works fine when I build manually.

Since this enables resolution of a Wish List request I posted a description of how to get it working with netatmo:

indilib.org/forum/wish-list/2917-support...eather-stations.html
Borg 107FL on RST-135 + QHY268C, Astro-Tech AT130EDT on GM1000HPS + QHY600PH Chroma LRGBHSO; IR Guiding WO Uniguide 50 & QHY5-III-462C ASUS PN51 and Mele Quieter 3 ubuntu, kstars/ekos, & firecapture; Pegasus PPBA; WO Redcat, Skyguider Pro RT90C, Canon 7DmkII, rPi4/stellarmate
Last edit: 3 months 1 week ago by Thomas Mason.
3 months 1 week ago #85513

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

Time to create page: 0.374 seconds