summaryrefslogtreecommitdiff
path: root/homematic.go
AgeCommit message (Collapse)Author
2 daysUse default configxengineering
The default config JSON is embedded as bytes into the executable. Instead of constants the default values are now parsed from these embedded bytes.
2 daysImplement Homematic reconnectsxengineering
This is as simple as do not handling errors on state polling. It ensures the server does not panic when the connection to the OpenCCU is temporarily not alive.
2 daysSeparate Homematic codexengineering
Similar to a previous refactoring of the MQTT-related code this removes all Homematic logic to a dedicated file. The only connection to the outside is the `tx chan MQTTMessage` channel and the `HomematicRun()` function. This makes the code more modular.