Commit graph

7 commits

Author SHA1 Message Date
Victor
b3c6334f0c
Improve MQTT behavior and add experimental parsing for color temp support from Plejd API (#298)
* Update underlying docker containers and dependencies.
* Minor linting and code issues fixes
* Update supported devices section
* Improve Mqtt message properties - retain, etc.
- Retain discovery messages
- Don't retain others
- Set QoS to 1 consistently to ensure at least once delivery
- Set session timeout to ensure a reasonable TTL on messages
* Code and logic to remove any retained mqtt messages for SET/STATE/AVAILABILITY
* Temporary restructure of init flow for mqtt.
- No longer wait for HA birth message
- Don't listen to incoming messages until old retained messages have been purged.
- More details in https://github.com/icanos/hassio-plejd/issues/218
* Fix lingering incorrect access of connectedDevice.id
* Fix to avoid Home Assistant setting retain flag on MQTT SET STATE messages
* Parse new TRAIT=15, assuming this means dimmable and tunable white
* Clarify TRAITS bitmask values
* Add experimental parsing for color temp support from Plejd API
* Lint fixes
* Remove null coalescing operator since we don't compile code
* Handle case where outputSettings is null in PlejdApi
* Solve MQTT errors due to deprecated api color_temp and unsupported removal of retained state messages
2025-08-05 19:55:50 +02:00
swevictor
63b6bb4ca3 Fix line endings for shell scripts 2023-08-16 17:03:09 +02:00
Victor Hagelbäck
1b55cabf63 Read log level from configuration and update readme
- Break out reading of settings in js and remove it from shell scripts
- Pick up config from Logger via Configuration class
2021-01-21 23:40:59 +01:00
Marcus Westin
b7f3f65ff0 added new config parameter and upped version 2020-03-03 16:22:30 +01:00
icanos
c87eee2d2c added some config and logging 2020-01-27 20:43:52 +00:00
Marcus Westin
69a8607eb6 fixed line endings and upped version nr 2019-12-14 14:10:43 +01:00
Marcus Westin
471ec7023e changed layout to work as a repository in hassio 2019-12-13 17:59:48 +01:00