Relaying NUT to MQTT - networkupstools/nut GitHub Wiki

https://github.com/dniklewicz/ups-mqtt

Python script and a Dockerfile to make a service from it.