Version 22.6
Functionality
- Hamök monitors the MQTT connection and exits if the connection is down for longer than 5 minutes. Note that
systemd
will restart it - When the connection to the Pellematic fails longer than 5 minutes the process exits. Note that
systemd
will restart it. - Hamök now listens to the return codes of MQTT subscribe and publish commands
- When Hamök reconnects it resends the definitions and the latest values for the HA sensors. This was not necessary as the latest versions were sent in
retain
mode - Added the -f option to parse a JSON file retrieved from Ökofen. Primarily for testing purposes
- Added specific MQTT debugging mode
Bug Fixes
- Reconnections in calls to publish and subscribe were not needed as they are handle by the MQTT library
- Reconnections no longer start a new threat
- True and false values are now recognized as 1 and 0 respectively.
- If the configuration is inconsistent, the service is stopped.
Upgrade
Changes have been made to the configuration file. If you use the default settings, the behavior will be the same before.
If this is what you want you may want you may skip step 3 of the deployment guide.
In any case, you may skip steps 2 (MQTT setup), and 4 (HA setup).