summaryrefslogtreecommitdiff
path: root/cache.go
AgeCommit message (Collapse)Author
2025-12-20Use 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.
2025-12-20Separate MQTT logicxengineering
This reduces the coupling between the MQTT-related code and everything else to a single `tx` channel of type `MQTTMessage`. This improves the code quality significantly.
2025-12-20Update payload for contact statesxengineering
`true` and `false` are bad values to describe a contact state. `open` and `closed` make much more sense.
2025-12-20Add cache implementationxengineering
This avoids frequent MQTT messages containing the same state.