This is a simple thermostat implementation for mPower devices. It requires a current and target temperature sent via MQTT. It compares both and enables the relay if required.
Use at your own risk!
tbd
The file mqtt.cfg' must be edited with the MQTT server information. The file
thermostat.cfg` must be edited with the MQTT topic information.
Run
/etc/persistent/mqtt/thermostat/thermrun.sh