Victor Hagelbäck
|
dbc0e02f11
|
Minor fixes
|
2021-03-31 23:28:25 +02:00 |
|
Victor Hagelbäck
|
9a76a3ba50
|
Refactor code to use plejd outputs rather than devices as main entity
|
2021-03-31 20:07:15 +02:00 |
|
Victor Hagelbäck
|
d6b9d9104a
|
Refactor DeviceRegistry to start use unique ids based on device serial and output index
|
2021-03-29 12:51:48 +02:00 |
|
Victor Hagelbäck
|
042447d1a8
|
Stop recreating the dbus.systemBus on retries (old instances are not disposed correctly by underlying code)
|
2021-02-28 10:32:17 +01:00 |
|
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
|
8d259a768b
|
Fix turn off and dim commands
|
2021-02-28 10:20:05 +01:00 |
|
Victor Hagelbäck
|
fb48b1fd1f
|
Split device communication and BLE handling into separate files
|
2021-02-28 10:18:32 +01:00 |
|