This little piece of Software lets you publish the data from your Smart Meter to arbtitrary mqtt brokers (i.e. home assistant).
- get the appropriate binary
mqtt-client-<your hardware here>from releases - copy it to your machine (to
/home/pi, otherwise you need to adapt the.servicefile below) - create a configuration file (see sample) and move it to
/home/pi/hackdose_mqtt_client_config.yaml - enable the client in systemd
- copy
hackdose_mqtt.serviceto/etc/systemd/system systemctl enable hackdose_mqtt.servicesystemctl start hackdose_mqtt.service
- copy
- install the cross-compilation target for your architecture
armv7-unknown-linux-musleabihf - compile the binary using
cargo build --target=armv7-unknown-linux-musleabihf --release