| Age | Commit message (Collapse) | Author |
|
The default config JSON is embedded as bytes into the executable.
Instead of constants the default values are now parsed from these
embedded bytes.
|
|
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.
|
|
`true` and `false` are bad values to describe a contact state. `open`
and `closed` make much more sense.
|
|
This avoids frequent MQTT messages containing the same state.
|