Commit graph dooris/api/src/dooris_api/mqtt_client.py
Author SHA1 Message Date
3f08745544
implement door status synchronization towards club-assistant
All checks were successful
Build Container / Build Container (push) Successful in 4m22s
2026-11-06 15:18:03 +01:00
57fa0aa4a0
api: ensure mqtt futures exists as attributes
All checks were successful
Build Container / Build Container (push) Successful in 4m41s
We were running into a bug where, during a server
initiated disconnect, the client would try to read
an attribute on its instance that had never been written
to. This resulted in an AttributeError exception being
thrown that effectively killed the whole MQTT task
and kept the app from ever doing any MQTT related things
again.
2026-10-18 19:02:02 +02:00
b752888812
api: fix mqtt reconnect logic errors 2026-05-31 20:53:45 +02:00
e5b880d038
api: fix syntax error in mqtt connector
All checks were successful
Build Container / Build Container (push) Successful in 1m30s
2026-05-28 16:27:20 +02:00
6bbfc5dc68
api: implement automatic mqtt reconnect in ccujack cron
All checks were successful
Build Container / Build Container (push) Successful in 1m27s
2026-05-28 16:23:03 +02:00
2349e58924
api: automatically rediscover locks from CCUJack
All checks were successful
Build Container / Build Container (push) Successful in 1m35s
closes CCCHH/dooris#5
2026-05-19 15:12:55 +02:00
4103c0ca5f
api: process mqtt messages to keep a current local lock state 2026-05-19 14:36:40 +02:00
44d484cfc1
api: use proper connection shutdown for downstream services 2026-05-19 14:08:41 +02:00
1a50d67df6
api: implement abstraction for connecting to CCUJACK MQTT broker 2026-05-19 13:07:03 +02:00