Skip to content

Commit

Permalink
fixed #189 #190
Browse files Browse the repository at this point in the history
  • Loading branch information
windkh committed Nov 11, 2024
1 parent f95c467 commit f97eaf0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [11.5.2] - 2024-11-11
### added Shelly 2PM Gen3 - [#190](https://github.com/windkh/node-red-contrib-shelly/issues/190)
### improved readme for RGBW - [#189](https://github.com/windkh/node-red-contrib-shelly/issues/189)

## [11.5.1] - 2024-11-04
### added Shelly Pro 1 UL - [#188](https://github.com/windkh/node-red-contrib-shelly/issues/188)

Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,8 @@ For further rpc commands see the shelly documentation.
## RGBW PM (Plus RGBWr 12/24V)
The node is able to turn on and turn off a shelly RGBW PM Plus. It outputs the status after every interaction with the shelly device.
Turning on is done by sending the following payload into the input. The light number is optional and defaults to 0.

The device can be operated in color and white mode.
For color mode you can use the following example:

```
{
Expand All @@ -743,6 +744,22 @@ or you can make use of the alternative toggle command:
}
```

For white mode you can use the following example:

```
{
method : 'Light.Set'
parameters : {
id : 0,
on : true,
brightness : 100,
transition_duration : 1, // optional transition time in seconds
toggle_after : 2 // optional flip back time in seconds
}
}
```


Note that toggle_after is optional. The unit is seconds.
Right after having sent the request to the shelly device a status request is done.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-shelly",
"version": "11.5.1",
"version": "11.5.2",
"description": "Shelly nodes.",
"node-red": {
"version": ">=3.0.0",
Expand Down
12 changes: 7 additions & 5 deletions shelly/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@

{ "gen" : "3", "name" : "Shelly 1 Gen3", "model" : "S3SW-001X16EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly 1PM Gen3", "model" : "S3SW-001P16EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1pm-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly 2PM Gen3", "model" : "S3SW-002P16EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-2pm-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly i4 Gen3", "model" : "S3SN-0024X", "type" : "Button", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-i4-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly H&T Gen3", "model" : "S3SN-0U12A", "type" : "Sensor", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-h-t-gen3", "supported" : "true" },
{ "gen" : "3", "name" : "Shelly Dimmer 0/1-10V PM Gen3","model" : "S3DM-0010WW","type" : "Dimmer","helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-dimmer-0-1-10v-pm-gen3", "supported" : "true" },
{ "gen" : "3", "name" : "Shelly 1 Mini Gen3", "model" : "S3SW-001X8EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1-mini-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly 1PM Mini Gen3", "model" : "S3SW-001P8EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1pm-mini-gen3", "supported" : "true" },
{ "gen" : "3", "name" : "Shelly PM Mini Gen3", "model" : "S3PM-001PCEU16","type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-pm-mini-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly PM Mini Gen3", "model" : "S3PM-001PCEU16","type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-pm-mini-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly Plug S MTR Gen3","model" : "S3PL-00112EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-plug-s-mtr-gen3", "supported" : "not tested" }
{ "gen" : "3", "name" : "Shelly Plug S MTR Gen3","model" : "S3PL-00112EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-plug-s-mtr-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly 1 Mini Gen3", "model" : "S3SW-001X8EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1-mini-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly 1PM Mini Gen3", "model" : "S3SW-001P8EU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-1pm-mini-gen3", "supported" : "true" },
{ "gen" : "3", "name" : "Shelly PM Mini Gen3", "model" : "S3PM-001PCEU16","type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-pm-mini-gen3", "supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly DALI Dimmer Gen3", "model" : "S3DM-0A1WW","type" : "Dimmer", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-dali-dimmer-gen3","supported" : "not tested" },
{ "gen" : "3", "name" : "Shelly EM Gen3", "model" : " 3EM-002CXCEU", "type" : "Relay", "helpLink" : "https://kb.shelly.cloud/knowledge-base/shelly-em-gen3", "supported" : "not tested" }
]
}

0 comments on commit f97eaf0

Please sign in to comment.