>  its not a moving average, but if you have an archive interval of 5 
minutes and you post both loop and archive to MQTT then you'll get 5 minute 
averages as well as near-real-time values.

That is what I was thinking as a way to get something going while I tweak, 
but I saw that the MQTT extension wasn't posting archive data. I installed 
a different extension, which doesn't have that binding parameter, so I will 
replace it with your one and give that a go - thanks!

On Sunday 29 September 2024 at 23:44:49 UTC+1 matthew wall wrote:

> its not a moving average, but if you have an archive interval of 5 minutes 
> and you post both loop and archive to MQTT then you'll get 5 minute 
> averages as well as near-real-time values.
>
> [StdRESTful] 
>     [[MQTT]]
>         ...
>         binding = loop, archive
>  this is with the weewx-mqtt restful service:
>
> https://github.com/matthewwall/weewx-mqtt
>
> and this is what the result looks like in grafana with influx as the 
> backend (this is tide data from a maxbotix ultrasonic sensor sampled every 
> 1 second with a 5 minute archive interval)
>
>

-- 
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/9103de37-7d15-4707-a98d-a6e9d5dbf359n%40googlegroups.com.

Reply via email to