eschava / psmqtt

Utility reporting system health and status via MQTT
MIT License
159 stars 35 forks source link

add filter uptimesec #22

Closed barbudor closed 3 years ago

barbudor commented 3 years ago

Add very simple filter uptimesec to publish up-time as number of seconds since boot time Usefull to publish up-time to time series database such as InfluxDB (, prometheus, ...) Suggested usage: { "boot_time/{{x|uptimesec}}": "uptimesec" }

Many thanks for your nice tool 👍

eschava commented 3 years ago

Thanks a lot! Merged