Commit graph

294 commits

Author SHA1 Message Date
1c3f0135f3 turn into normal docker image (alpine) instead of hass-addon 2026-01-09 21:47:47 +01:00
swevictor
3d8b323fb4 Release of 0.19.0 2025-10-17 17:58:47 +02:00
Tim Jackson
7c01409231
Fix #329: Fails to start with node syntax errors (#330)
* Fix #329: Fails to start with node syntax errors
* s6 v3: Don't try to send commands to the supervision tree, per https://github.com/just-containers/s6-overlay/blob/master/MOVING-TO-V3.md
* Updates to build process to set the correct permissions, as well as through cont-init.d as well as set a fixed (more modern) base image
* Fix build to actually be locked to a specified version of the base image
Update to base image 18.2.0
2025-10-17 17:00:18 +02:00
swevictor
3e06a50caa Add support for SPD-01, update readme, release 0.18.0 2025-09-27 09:41:34 +02:00
swevictor
3a4f80e00e Update changelog for 0.17.1 2025-09-22 07:19:46 +02:00
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
swevictor
d801410200 Release 0.16.0 2025-08-07 13:49:41 +02:00
Victor
46d9e5c882
Improve MQTT retain behavior (#321)
* Improve MQTT message retain behavior
* Prepare for version 0.16.0
2025-08-07 13:45:52 +02:00
swevictor
17ae2e2df6 Release of 0.15.0 2025-08-07 12:49:24 +02:00
swevictor
633f603e52 Add no-operation support for ext-01 2025-08-07 12:27:51 +02:00
swevictor
f6cdbdc155 Add support for OUT-02 2025-08-07 08:53:11 +02:00
swevictor
d99a54e849 Release of 0.14.0 2025-08-05 20:31:14 +02:00
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
a789d913d7 Update version and changelog for 0.13.0 release 2025-08-05 10:36:05 +02:00
swevictor
fbfe239421 Add support for DWN-02 from dev to master 2025-08-05 10:35:42 +02:00
swevictor
1b9889c0ee Patch notes for new DIM-01 hardware 2025-08-05 09:43:37 +02:00
swevictor
41785f5ed9 Release of 0.12.0 2025-08-04 17:05:14 +02:00
Tom Aafloen
0f3cee0284
Add DIM-01 support, hardware id 22 (#318)
Merge of PR to add support for DIM-01, hw id 22.
2025-08-04 16:38:36 +02:00
mathiasbk
9f7dd45ac8 Added Home assistant Yellow to tested devices 2024-11-22 10:47:37 +01:00
swevictor
544172d806 Update changelog with release PR 2023-10-06 14:18:56 +02:00
swevictor
1c0cb66e03 Update release notes and config to prepare for 0.11.0 2023-10-06 14:12:37 +02:00
swevictor
fd14d51144 Update readme and add support for DWN-01 2023-10-06 14:11:52 +02:00
swevictor
9146f9c7d3 Lint and code style fixes 2023-10-06 14:11:23 +02:00
swevictor
1f2c2df5ca Improve handling of too short BLE time update messages 2023-10-06 14:02:04 +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
14ba127182 Add support for DWN-01 smart tunable downlight 2023-10-02 08:58:11 +02:00
swevictor
5f77638ca3 Add support for the DAL-01 Dali broadcast with dimmer and tuneable white support 2023-08-25 15:57:00 +02:00
swevictor
979adea7f0 Merge branch 'feature/set-device-name-null' into develop 2023-08-22 13:56:07 +02:00
swevictor
8dfbb9c177 Update changelog with final 0.10.0 PR 2023-08-22 13:05:33 +02:00
swevictor
a30e5b07d7 Update changelog to prepare for 0.10.0 release 2023-08-22 12:02:09 +02:00
swevictor
ed217176e9 Set entity name to null to indicate entity is the default entity for the device
Due to HA change as per https://developers.home-assistant.io/blog/2023-057-21-change-naming-mqtt-entities/
2023-08-18 20:07:40 +02:00
swevictor
16f817d195 Normalize Dockerfile line ending 2023-08-17 15:37:06 +02:00
swevictor
63b6bb4ca3 Fix line endings for shell scripts 2023-08-16 17:03:09 +02:00
swevictor
cacd9fc4ba Linting of all fixes 2023-08-16 15:32:53 +02:00
swevictor
fc23230490 Remove unneeded npm scripts 2023-08-16 15:29:22 +02:00
swevictor
4c520ecb58 Improve linting and code styles configuration and npm scripts 2023-08-16 15:28:14 +02:00
swevictor
38a235eddf Prepare for version 0.10.0 release 2023-08-16 15:02:01 +02:00
swevictor
f60ef88efc Improve README.md and Details.md 2023-08-16 15:01:31 +02:00
swevictor
46231e55cb Update readme to clarify support new device types
- SPR-01
- LED-75

Closes #232, #250
2023-08-15 15:45:47 +02:00
swevictor
aaad0ebf61 Add description to device types to improve clarity 2023-08-15 15:18:53 +02:00
swevictor
efac28fc30 Change API entity definition from enum to string for relevant types 2023-08-15 15:18:52 +02:00
swevictor
f016058b57 Update the device list with new devices
- Based on the device list from @SM6WGG in https://github.com/icanos/hassio-plejd/issues/250#issuecomment-1269535099
2023-08-15 15:18:52 +02:00
swevictor
c76f8006b5 Improve documentation - clarify that username is normally email address 2023-08-15 15:18:52 +02:00
swevictor
12a8f4e475 Catch errors due to unknown device type to avoid addon crashing 2023-08-15 15:18:52 +02:00
Tim Jackson
60fd01709e Update the installation instructions to reflect more recent versions of Home Assistant, and add additional clarity to the manual installation 2023-05-26 23:27:09 +02:00
swevictor
4ed7b4acb9 Prepare for release 0.9.1 2022-04-12 09:15:22 +02:00
swevictor
b6a566f973 Add hardware id 14 as DIM-01 2022-04-12 09:15:08 +02:00
Victor
1d05726940
Merge pull request #229 from Wesztman/patch-1
Update README.md
2022-04-10 11:51:17 +02:00