Displaying 1 result from an estimated 1 matches for "mosquitto".
Did you mean:
mosquito
2024 Jun 03
0
Publish UPS status to MQTT broker in 60 lines of Rust
But... I cheated. I looked at some projects on Github that do this and
they usually link to the NUT and MQTT libraries. While I've done that
in the past, more recently I delegated the actual publishing to the
Mosquitto client `mosquitto_pub` thinking much more thought has gone
into that than anything I would code. And for this task, I find the
output of `upsc` to be easily parsable and again, more thought has
gone into it than anything I would code using the API library. And
writing a filter that uses nothing but...