This service scrapes RevPi tags and forwards them a specified MQTT broker.
- Configure PiCtory as needed.
- For 64bit ARM
docker buildx build --platform linux/arm64 -t <repository>/revpi-mqtt-publisher:<version_number> --push .
- For 32bit ARM
docker buildx build --platform linux/arm -t <repository>/revpi-mqtt-publisher:<version_number> --push .
- On the RevPi, run
docker-compose up -d
to deploy the app with docker-compose.yml file. - Navigate to
/var/lib/docker/volumes/revpi-mqtt-publisher_mqtt-publisher-config/_data
and updateconfig.json
- Restart container
You might need to relink _config.rsc locations. See RevPi Interface repo.
Send <namespace from config>/in/RESTART_APP
to restart the app remotely.
Send <namespace from config>/in/<Tag name (see out topic tags)>
to set relevant RevPi tags.
- RevPiInterface lib by HelloHungryImDad