Commit Graph
14 Commits
Author SHA1 Message Date
mirsal b1a75727d4 Add a systemd unit file 2026-09-14 17:21:52 +00:00
mirsal d4b16451b9 src: main: Do not send a matrix message on duplicate status updates
Keep track of the last status update and post to the matrix room only if
it changes.
2026-09-14 16:54:56 +00:00
mirsal 0b700cabc4 src: matrix: Rewrite misleading error message 2026-09-14 16:05:30 +00:00
mirsal e28e963927 src: matrix: Remove useless return statement 2026-09-14 16:05:03 +00:00
mirsal 856ac37e45 src: matrix: Whitespace 2026-09-14 16:04:42 +00:00
mirsal 6169182aff src: mqtt: Replace single-branch match with if let 2026-09-14 16:03:57 +00:00
mirsal cdd841a681 src: mqtt: Use simpler struct instanciation syntax 2026-09-14 16:03:01 +00:00
mirsal e392067042 src: main: Remove useless type conversion 2026-09-14 16:02:04 +00:00
mirsal b343536032 src: main: Remove useless return statement 2026-09-14 16:01:40 +00:00
mirsal 57b0760c99 src: main: Remove redundant closure call 2026-09-14 16:00:52 +00:00
mirsal 9e4d6f2ed6 src: mqtt: Make clippy happy by renaming error enum variants 2026-09-14 15:59:43 +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