Download Link
MQTT is now introduced so we will mainly focus on how to use it and modify it to your needs.
Edit configuration file
/etc/openhab2/services/mqtt.cfg
to enable MQTT authentication or change
mosquitto.url=tcp://localhost:1883
to external MQTT server
mosquitto.url=tcp://[MQTT_SERVER]:1883
MQTT topics defined in
/etc/openhab2/items/default.items
hestia/local/hotwaterstate (two way IN and OUT)
hestia/local/heatingstate (two way IN and OUT)
hestia/local/humiditystate (two way IN and OUT)
hestia/local/temperature (OUT only)
hestia/local/humidity (OUT only)
hestia/local/tempsetpoint (OUT only)
Confirm by subscribing from another laptop to all (#) MQTT IDs and listen for published messages while you play with your HestiaPi:
mosquitto_sub -h [HESTIA_PI_IP] -d -t hestia/#
Thanks to @Greylinux for suggesting mqtt-spy, a great UI tool for MQTT testing and troubleshooting.
Update UI elements and features
You can simply copy paste all the below commands if you don’t care to watch each operation. If you want to skip the reboot you will need to close all Chromium instances, restart openhab2 service and once is up start Chromium with all the needed parameters initially loaded by the ~/scripts/openhabloader.sh
pgrep chromium | xargs kill -9;
sudo service openhab2 stop;
sudo chmod 777 /etc/openhab2/rules /etc/openhab2/sitemaps /etc/openhab2/items /etc/openhab2/things;
sudo chmod 777 /etc/openhab2/rules/default.rules /etc/openhab2/sitemaps/default.sitemap /etc/openhab2/items/default.items /etc/openhab2/things/default.things;
sudo wget https://github.com/HestiaPi/hestia-touch-openhab/raw/master/home/pi/scripts/openhabloader.sh -O /home/pi/scripts/openhabloader.sh;
sudo wget https://github.com/HestiaPi/hestia-touch-openhab/raw/master/etc/openhab2/items/default.items -O /etc/openhab2/items/default.items;
sudo wget https://github.com/HestiaPi/hestia-touch-openhab/raw/master/etc/openhab2/rules/default.rules -O /etc/openhab2/rules/default.rules;
sudo wget https://github.com/HestiaPi/hestia-touch-openhab/raw/master/etc/openhab2/sitemaps/default.sitemap -O /etc/openhab2/sitemaps/default.sitemap;
sudo wget https://github.com/HestiaPi/hestia-touch-openhab/raw/master/home/pi/scripts/habpanel.config -O /var/lib/openhab2/config/org/openhab/habpanel.config;
sudo chmod 644 /var/lib/openhab2/config/org/openhab/habpanel.config;
sudo reboot;
You now get “Boost” functionality for Heating and Hot Water.
Their duration is changed and monitored live as the time goes by from the settings page on the LCD. Same functionality is replicated from all other UIs (web, smartphone app). You need this image version for all features to work.