summaryrefslogtreecommitdiff
path: root/cache.go
AgeCommit message (Collapse)Author
48 hoursUse 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 daysSeparate 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.
2 daysUpdate payload for contact statesxengineering
`true` and `false` are bad values to describe a contact state. `open` and `closed` make much more sense.
2 daysAdd cache implementationxengineering
This avoids frequent MQTT messages containing the same state.