Use the MQTT driver which takes the data directly from your mosquitto 
server.
Avoids all the middleware.
I use Rich's excellent package.
https://github.com/bellrichm/WeeWX-MQTTSubscribe


On Monday, October 31, 2022 at 3:34:05 PM UTC-4 marsha...@gmail.com wrote:

> Built a new station using an esp32 which mqtt’s data every second to a 
> Raspi. A python program converts this to a txt file which I then file parse 
> into weewx. All ok.
> I have successfully installed the steelseries gauges and the rtgd 
> extension. All works fine and it is fantastic to see the gauges updating in 
> real time.
>
> Just one small problem - the Wind Direction gauge shows latest and 
> average, but the average is always the same as the latest. Tried playing 
> with the rtgd.py program but even when I set data[avgdirection] to a 
> different value, nothing  changes.
>
> Any ideas?
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a297ee91-d20e-444e-9162-025ec99419e7n%40googlegroups.com.

Reply via email to