Thanks Gary, looking at that. Tried to keep things as simple as possible at the esp32 end, (which by the way is an amazing piece of kit for $10). So it is sending very raw data - number of clicks from the rain bucket, number of revolutions from the wind cups, for example. The python program then converts this into sensible data. If I need to make any changes in the esp32 it needs to be physically connected to the pc using the Arduino ide, which is a pain. Also wanted to make as few demands on it as possible until I see how stable it is. But so far so good. If it stays stable will try the direct mqtt driver. David
On Tuesday, November 1, 2022 at 1:16:57 AM UTC+1 gary....@gmail.com wrote: > 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/45e52675-a88a-4099-bb49-b688b229ccccn%40googlegroups.com.