Small python script that reads values from a mqtt broker and puts them on a 16x2 Character LCD using lcdproc. Used for displaying temperature levels from my heating system. Makes use of the following:
- Adafruit Blue&White 16x2 LCD+Keypad Kit for Raspberry Pi
- lcdproc. A client/server suite for controlling a wide variety of LCD devices
- pylcddc. A python library for interfacing with LCDd, the server component of the commonly known LCDproc
- Mosquitto MQTT broker
- hometop_HT3. Used for reading various values from my heaters system-bus and sending them to the MQTT broker
Autostart the script on boot:
- Make sure the paths in the mqtt2lcdd.service file are correct
sudo cp mqtt2lcdd.service /etc/systemd/system/mqtt2lcdd.service
sudo systemctl enable mqtt2lcdd.service
sudo systemctl start mqtt2lcdd.service