Commit graph

7 commits

Author SHA1 Message Date
Victor Hagelbäck
e7b8a5a82a 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-28 10:32:17 +01:00
Victor Hagelbäck
ca7a5cdd57 Clean up events and subscriptions 2021-02-28 10:20:05 +01:00
Victor Hagelbäck
4d7de61e42 Move BLE states to DeviceRegistry and improve logging
- Make deviceRegistry states/lists immutable
2021-02-28 10:20:05 +01:00
Victor Hagelbäck
55f0f60be9 Fix setting state for created Plejd room devices
- when using includeRoomsAsLights setting
2021-02-27 16:41:05 +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