Commit graph

6 commits

Author SHA1 Message Date
Victor Hagelbäck
4d5a4ddbe3 Stop write queue when BLE is not connected to avoid loosing commands
- Set max retry count to 10 since BLE loop will set channel to disconnected after 5 retries (or known unrecoverable errors)
2021-02-22 09:50:06 +01:00
Victor Hagelbäck
50d664c933 Clean up events and subscriptions 2021-02-20 15:33:06 +01:00
Victor Hagelbäck
0dbe0bb95f Move BLE states to DeviceRegistry and improve logging
- Make deviceRegistry states/lists immutable
2021-02-20 12:34:30 +01:00
Victor Hagelbäck
ef7a5086a1 Handle when scene and device have the same Id
- Catch emitted errors in Mqtt
2021-02-10 10:10:28 +01:00
Victor Hagelbäck
c6d7bc2e3e Minor updates and fixes 2021-02-08 19:55:18 +01:00
Victor Hagelbäck
4f51063c41 Break out central DeviceRegistry for all Plejd data 2021-02-04 08:06:23 +01:00