Commit graph

19 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
16f817d195 Normalize Dockerfile line ending 2023-08-17 15:37:06 +02:00
Richard Sorensson
ae854d9ba0 fix build issue with latest hassio version 2022-04-10 11:24:10 +02: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
c6d7bc2e3e Minor updates and fixes 2021-02-08 19:55:18 +01:00
Victor Hagelbäck
4e7ec6a1da Update DOCKERFILE with new file names 2021-02-04 08:08:28 +01:00
Victor Hagelbäck
3adadd3f7c Updates to Dockerfile to copy renamed files 2021-01-25 08:03:50 +01: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
Victor Hagelbäck
4176cfb714 Improve logging across all js files
- Based on "winston" logging library
- Removed no longer needed lodash
- Locked npm dependencies to most recent major versions to avoid installs breaking due to node module updates
2021-01-21 21:31:37 +01:00
Thomas Lovén
9ebc8e62db Remove removed files from Dockerfile 2021-01-11 14:41:32 +01:00
icanos
6fb1a94049 resolved build issues 2020-11-24 14:00:16 +00:00
icanos
a32a5b5e8e updated build error 2020-05-06 07:17:23 +01:00
Marcus Westin
3ba93d50e0 fixed build error and upped version 2020-03-26 09:11:37 +01:00
icanos
b8f87d47a5 added missing file to dockerfile 2020-02-29 16:06:51 +00:00
Marcus Westin
6d6d225b65 fixed build error and upped version 2020-02-14 12:13:44 +01:00
icanos
37258d1200 fixed broken dockerfile 2020-01-20 19:13:38 +00:00
icanos
74ee9e0c21 resolved container build error and upped version 2020-01-14 17:28:41 +00:00
Marcus Westin
ad7c1b5d92 fixed missing ref 2019-12-19 21:25:40 +01:00
Marcus Westin
471ec7023e changed layout to work as a repository in hassio 2019-12-13 17:59:48 +01:00
Renamed from Dockerfile (Browse further)