<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sia-server/cache.go, branch v0.2.0</title>
<subtitle>IoT backend server</subtitle>
<id>https://cgit.xengineering.eu/sia-server/atom?h=v0.2.0</id>
<link rel='self' href='https://cgit.xengineering.eu/sia-server/atom?h=v0.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/'/>
<updated>2026-03-26T19:57:22Z</updated>
<entry>
<title>Add `Retain` attribute to MQTTMessage</title>
<updated>2026-03-26T19:57:22Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2026-03-26T19:57:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/commit/?id=443ba52ab3f49a28e8874ebcb5476e36c3defb4c'/>
<id>urn:sha1:443ba52ab3f49a28e8874ebcb5476e36c3defb4c</id>
<content type='text'>
This allows the sending part of the code to decide about the retain
flag. The MQTT go routine will set it accordingly.
</content>
</entry>
<entry>
<title>Use default config</title>
<updated>2025-12-20T13:11:13Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2025-12-20T13:11:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/commit/?id=224d52d1033d8ccce5087c9bee5a63457830a13a'/>
<id>urn:sha1:224d52d1033d8ccce5087c9bee5a63457830a13a</id>
<content type='text'>
The default config JSON is embedded as bytes into the executable.
Instead of constants the default values are now parsed from these
embedded bytes.
</content>
</entry>
<entry>
<title>Separate MQTT logic</title>
<updated>2025-12-20T12:27:42Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2025-12-20T12:27:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/commit/?id=96299467958aaffdbef5cb8ae780d3abeddfcaba'/>
<id>urn:sha1:96299467958aaffdbef5cb8ae780d3abeddfcaba</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Update payload for contact states</title>
<updated>2025-12-20T12:14:09Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2025-12-20T12:14:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/commit/?id=b58d415169180e58c0661a09c97d311e2eb0c96a'/>
<id>urn:sha1:b58d415169180e58c0661a09c97d311e2eb0c96a</id>
<content type='text'>
`true` and `false` are bad values to describe a contact state. `open`
and `closed` make much more sense.
</content>
</entry>
<entry>
<title>Add cache implementation</title>
<updated>2025-12-20T12:00:52Z</updated>
<author>
<name>xengineering</name>
<email>me@xengineering.eu</email>
</author>
<published>2025-12-20T12:00:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit.xengineering.eu/sia-server/commit/?id=853e3fd5f2b4e622d4e35c0e3c2fad6c358cb8ae'/>
<id>urn:sha1:853e3fd5f2b4e622d4e35c0e3c2fad6c358cb8ae</id>
<content type='text'>
This avoids frequent MQTT messages containing the same state.
</content>
</entry>
</feed>
