Victor
1766afb2e0
0.17.0 release - improve startup and fix color temp ( #324 )
...
* Add working support for color temperature
* Lint fixes
* Fix to config json version to make it build
* Clean up and BLE constants and prepare for lightlevel UUID
* Eagerly send HA discovery, standardize colorTemp, clean up MQTT subscribe
* Fix typo in MqttClient
* Listen to HA birth messages to make devices available after HA restart
- Extract constants to common file
* Prepare for 0.17.0 release
2025-09-12 08:36:02 +02:00
swevictor
9146f9c7d3
Lint and code style fixes
2023-10-06 14:11:23 +02:00
swevictor
75306827ae
Improve user-facing logging and BLE id handling in device registry and PlejdBLEHandler
...
- Resolves #265
2023-10-06 11:57:09 +02:00
swevictor
ae8e41ec41
Only add a BLE output id once during discovery to account for grouping in DWN devices
2023-10-03 21:56:04 +02:00
swevictor
cacd9fc4ba
Linting of all fixes
2023-08-16 15:32:53 +02:00
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