Commit Graph
6 Commits
Author SHA1 Message Date
mirsal 38f849e323 Implement sensor status debouncing
This introduces a configurable debouncing delay before which no update
is sent to matrix, which avoids flooding the matrix room with updates
when the door is opened and closed in quick succession. It also allows
to quickly open and close the door without sending notifications.

The debouncing window can be configured in config.yml, see example.
2026-10-07 20:17:49 +00:00
mirsal 233a0944c7 Revert "Implement sensor status debouncing"
This reverts commit 0ed1871042.
2026-10-07 13:27:55 +00:00
mirsal 0ed1871042 Implement sensor status debouncing
This introduces a configurable debouncing delay before which no update
is sent to matrix, which avoids flooding the matrix room with updates
when the door is opened and closed in quick succession. It also allows
to quickly open and close the door without sending notifications.

The debouncing window can be configured in config.yml, see example.
2026-10-07 10:52:14 +00:00
mirsal 8911bacdec src: config: Make clippy happy by renaming error enum variants 2026-09-14 15:58:37 +00:00
mirsal ae1cfa4666 src: Fix comment headers so that clippy is happy 2026-09-14 15:57:21 +00:00
mirsal aa47e38536 Initial release
This is a matrix bot which announces the lol hackerspace's
open / closed state to a list of matrix rooms, it is based
on rumqtt and matrix-rust-sdk. The bot connects to the
configured matrix homeserver and an MQTT broker broadcasting
changes in the door sensor state
2026-09-14 09:18:54 +00:00