Commit graph

18 commits

Author SHA1 Message Date
Victor Hagelbäck
56870879b8 Change behavior to add all devices to Home Assistan, whether they are hidden in the Plejd app or not 2021-06-21 12:06:08 +02:00
faanskit
c8890b8cd7 Updates based om comments from @SweVictor 2021-05-06 07:58:06 +02:00
faanskit
531aa8ee3e Fixed errors from npm run lint:fix 2021-05-05 19:34:34 +02:00
faanskit
78e1616b4e Updated to match the latest developer branch and modified according to feedback from review. 2021-05-05 19:02:10 +02:00
faanskit
5a21290364 Added support for WRT-10 as a Device Automation 2021-05-01 19:41:29 +02:00
Victor Hagelbäck
74e381f009 Device triggers for scenes implemented 2021-04-26 13:13:10 +02:00
Victor Hagelbäck
464c17d920 Fixes to scene handling and device unique id 2021-04-01 13:19:02 +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
ef718cf1db Add physical devices to DeviceRegistry to allow for serial number lookup during BLE startup 2021-03-31 19:57:25 +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
5454c8e16b Fix room devices and bump version 2021-03-25 16:39:56 +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
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