Driver development questions

30 views
Skip to first unread message

Rich Bell

unread,
May 9, 2019, 12:53:38 PM5/9/19
to weewx-user
I've been developing a driver (and service) that processes various formatted MQTT payloads. One of the formats is, each observation is in its own topic. In this case, I was creating a packet with the single observation and letting WeeWX manage the partial packets.
But, it appears to me that if windDir/windGust/windGustDir are expected observations, these need to be bundled into a packet with windSpeed. I say this because the add_wind_value method of the Accum class looks for them as it creates the wind observation.
If my understanding is correct, is creating a packet of the wind observations the best approach, or is there a better way?
Thanks. - Rich
Reply all
Reply to author
Forward
0 new messages