THANKS! I now understand more. that yes, it's a fork to add REST support (so it can catch up... and because WeatherFlow highly recommends making use of REST instead of UDP whenever possible ;) ). I connected with WeatherFlow support. Turns out, accessing the Hub in the REST API simply is not supported. I've now got a workaround, and will connect with those developing REST support for the driver, so they can fix it. (Or, perhaps it's time to learn enough so I can provide a proper patch myself... I supposedly am a semi-retired dev myself LOL!)
I think we're done here. Appreciate the feedback muchly. Pete On Tuesday, December 27, 2022 at 10:28:36 AM UTC-7 vince wrote: > I answered you over in the WF forums a couple times. > > The reference WF UDP driver ( > https://github.com/captain-coredump/weatherflow-udp - last changed 2.5 > years ago) doesn't even talk REST so you must be using a forked variant > from some of the efforts to add REST support. You'll likely need to > contact that author for support. If you want people here to try to help, > set debug=1 in weewx.conf, restart weewx, and provide us some logs to look > at. > > On Tuesday, December 27, 2022 at 7:20:02 AM UTC-8 [email protected] > wrote: > >> My Weewx now crashes continually, due to a new problem in the link from >> WeatherFlowUDP to the WeatherFlow REST API: >> >> * I'm getting crashes due to a 500 error returning from the API >> * Turns out the Weewx driver is attempting to retrieve observations from >> all "devices" in the station... but the station has both a Hub and a Sensor >> device... in my case the Hub is now listed first, and returns a 500 error >> if an attempt is made to retrieve observations :( >> >> I'm not sure how to code the fix; all I know is the returned json in the >> api has device_type "HB" ;) >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/da408ff5-553f-437c-987e-851db1c21aben%40googlegroups.com.
