swevictor
32eda83f8f
Patching startup flow to enable eager discovery to HA
2025-09-22 07:14:31 +02:00
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
faanskit
93eca16639
Added support to report back to HA via MQTT when a Scene is executed, so that following device_automations gets executed.
...
This will make Plejd Scene execution behave the same from Plejd App, Plejd Hardware and Home Assistant Scene triggered - in the eyes of Home Assistant
2021-05-20 13:49:44 +02:00
faanskit
c8890b8cd7
Updates based om comments from @SweVictor
2021-05-06 07:58:06 +02:00
faanskit
5a21290364
Added support for WRT-10 as a Device Automation
2021-05-01 19:41:29 +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
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
fb48b1fd1f
Split device communication and BLE handling into separate files
2021-02-28 10:18:32 +01:00
Victor Hagelbäck
f93d3854d0
Improve BLE resilience
2021-02-08 19:54:24 +01:00
Victor Hagelbäck
40f79df37e
Rename PlejdBLE to PlejdBLEHandler
2021-02-08 07:39:53 +01:00
Victor Hagelbäck
5ac7d9893d
Break out main program flow to PlejdAddon class and add catching of init errors with slow retry
2021-02-04 08:08:28 +01:00