From 3e06a50caa7fd3435cc8d55322283dc0c5a71d80 Mon Sep 17 00:00:00 2001 From: swevictor Date: Sat, 27 Sep 2025 09:41:34 +0200 Subject: [PATCH] Add support for SPD-01, update readme, release 0.18.0 --- plejd/CHANGELOG.md | 22 ++++++++++++++++++++ plejd/PlejdApi.js | 8 ++++++++ plejd/README.md | 50 ++++++++++++++++++++++------------------------ plejd/config.json | 2 +- 4 files changed, 55 insertions(+), 27 deletions(-) diff --git a/plejd/CHANGELOG.md b/plejd/CHANGELOG.md index ad172c0..45c9ad5 100644 --- a/plejd/CHANGELOG.md +++ b/plejd/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog hassio-plejd Home Assistant Plejd addon +## [0.18.0](https://github.com/icanos/hassio-plejd/tree/0.18.0) (2025-09-27) + +[Full Changelog](https://github.com/icanos/hassio-plejd/compare/0.17.1...0.18.0) + +**Implemented enhancements:** + +- Updated device documentation with complete list of supported devices and descriptions + +**Closed issues:** + +- Added support for SPD-01 dimmable plug device [\#328](https://github.com/icanos/hassio-plejd/issues/328) + +## [0.17.1](https://github.com/icanos/hassio-plejd/tree/0.17.1) (2025-09-12)hangelog hassio-plejd Home Assistant Plejd addon + +## [0.17.2](https://github.com/icanos/hassio-plejd/tree/0.17.2) (2025-09-27) + +[Full Changelog](https://github.com/icanos/hassio-plejd/compare/0.17.1...0.17.2) + +**Implemented enhancements:** + +- Added support for SPD-01 dimmable plug device [\#328](https://github.com/icanos/hassio-plejd/issues/328) + ## [0.17.1](https://github.com/icanos/hassio-plejd/tree/0.17.1) (2025-09-12) [Full Changelog](https://github.com/icanos/hassio-plejd/compare/0.17.0...0.17.1) diff --git a/plejd/PlejdApi.js b/plejd/PlejdApi.js index e57ab7f..0931d5e 100644 --- a/plejd/PlejdApi.js +++ b/plejd/PlejdApi.js @@ -414,6 +414,14 @@ class PlejdApi { colorTemp: true, broadcastClicks: false, }; + case 40: + return { + name: 'SPD-01', + description: 'Smart plug with dimming capability, trailing edge, 100w', + type: 'light', + dimmable: true, + broadcastClicks: false, + }; case 135: return { name: 'OUT-02', // Specifically the hardware id is from a OUT-02-U, with outlet diff --git a/plejd/README.md b/plejd/README.md index 8ca32c4..50270f5 100644 --- a/plejd/README.md +++ b/plejd/README.md @@ -131,32 +131,30 @@ The plugin needs you to configure some settings before working. You find these o Plejd output devices typically appears as either lights or switches in Home Assistant depending on how they are configured. -| Device | Plejd Configuration | Home Assistant Role | Comment | -| --------- | ------------------- | ------------------- | --------------------------------------------------------------------- | -| CTR-01 | Relay, Light | Light | | -| CTR-01 | Relay, Other | Switch | | -| REL-01 | Relay, Light | Light | | -| REL-01 | Relay, Other | Switch | | -| REL-02 | Relay, Light | Light | | -| REL-02 | Relay, Other | Switch | | -| SPR-01 | Relay, Light | Light | | -| SPR-01 | Relay, Other | Switch | | -| DIM-01 | - | Light | | -| DIM-01-2P | - | Light | | -| DIM-02 | - | Light | | -| LED-10 | - | Light | | -| LED-75 | - | Light | | -| DAL-01 | - | Light | | -| DWN-01 | - | Light | | -| DWN-02 | - | Light | | -| WPH-01 | - | Device Automation | type:button_short_press, subtype:button_1, button_2,button_3,button_4 | -| WRT-01 | - | Device Automation | type:button_short_press, subtype:button_1 | -| GWY-01 | - | - | | -| RTR-01 | - | - | | -| Scene | - | Scene | | -| Scene | - | Device Automation | type:scene, subtype:trigger | -| Room | - | Area | Can be changed by Home Assistant | -| Room | - | Light | If includeRoomsAsLights is set to true | +| Device | Home Assistant Role | Comment | +| --------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | +| CTR-01 | Light, Switch | 1-channel relay with 0-10V output, 3500 VA (Relay, Light, Other) | +| DAL-01 | Light | Dali broadcast with dimmer and tuneable white support | +| DIM-01 | Light | 1-channel dimmer LED, 300 VA (Original, LC and LC2 hardware versions) | +| DIM-01-2P | Light | 1-channel dimmer LED with 2-pole breaking, 300 VA | +| DIM-02 | Light | 2-channel dimmer LED, 2\*100 VA (Original and LC hardware versions) | +| DWN-01 | Light | Smart tunable downlight with a built-in dimmer function, 8W | +| DWN-02 | Light | Smart tunable downlight with a built-in dimmer function, 8W | +| EXT-01 | Extender | Plejd mesh extender and battery backup | +| LED-10 | Light | 1-channel LED dimmer/driver, 10 W | +| LED-75 | Light | 1-channel LED dimmer/driver with tuneable white, 10 W | +| OUT-02 | Light | Smart outdoor wall luminaire with tunable white (2,200–4,000K) | +| REL-01 | Light, Switch | 1 channel relay, 3500 VA (Relay, Light, Other) | +| REL-01-2P | Light, Switch | 1-channel relay with 2-pole 3500 VA (Relay, Light, Other) | +| REL-02 | Light, Switch | 2-channel relay with combined 3500 VA (Relay, Light, Other) | +| RTR-01 | - | - | +| SPD-01 | Light | Smart plug with dimming capability, trailing edge | +| SPR-01 | Light, Switch | Smart plug on/off with relay, 3500 VA (Relay, Light, Other) | +| WPH-01 | Device Automation | Wireless push button, 4 buttons. 2 channels, on/off per channel, type:button_short_press, subtype:button_1, button_2,button_3,button_4 | +| WRT-01 | Device Automation | Wireless rotary button, type:button_short_press, subtype:button_1 | +| GWY-01 | Sensor | Gateway to enable control via internet and integrations | +| Scene | Scene, Device Automation | type:scene, subtype:trigger | +| Room | Area, Light | Can be changed by Home Assistant, If includeRoomsAsLights is set to true | ## Transitions diff --git a/plejd/config.json b/plejd/config.json index 53ff5b3..5c6eab2 100644 --- a/plejd/config.json +++ b/plejd/config.json @@ -1,6 +1,6 @@ { "name": "Plejd", - "version": "0.17.1", + "version": "0.18.0", "slug": "plejd", "description": "Adds support for the Swedish home automation devices from Plejd.", "url": "https://github.com/icanos/hassio-plejd/",