A common solution ist to install weewx-mqtt, configure it to publish MQTT messages on new loop packets. https://github.com/matthewwall/weewx-mqtt
So this isn't exactly realtime data (depending on the station model), but probably the closest you get, with using existing solutions. There are some skins (Belchertown, Bootstrap, ...) with live weather feed, if you are searching for an out-of-the-box solution. https://github.com/weewx/weewx/wiki#skins Vince Skahan schrieb am Donnerstag, 30. März 2023 um 03:53:20 UTC+2: > Belchertown with the websockets enabled can get pretty close.... > > On Wednesday, March 29, 2023 at 5:32:18 PM UTC-7 Joel Bion wrote: > >> Is it possible, using Python in Weewx, to obtain the real-time reading >> from the weather station? >> >> What I want to do is, for someone pulling up my station’s page, show the >> wind speed, rain rate, temp etc, AT THAT MOMENT - vs. from a snapshot taken >> at the last every-five-minute report generation moment. >> >> Is that possible? Obviously, the type of station may matter here. If a >> station only sends a packet of info every five minutes, there’s no finer >> granularity than that. >> >> Thanks! >> Joel > > -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/a9c6a003-7b02-4fc3-be85-f06f0b8019dbn%40googlegroups.com.
