Skip to content

Commit

Permalink
added support for shelly wall display
Browse files Browse the repository at this point in the history
  • Loading branch information
windkh committed Mar 17, 2024
1 parent 4c4e543 commit da18cf1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## [10.21.0] - 2024-03-17
### added support for shelly wall display

## [10.20.0] - 2024-03-17
### added support for shelly uni plus - [#144](https://github.com/windkh/node-red-contrib-shelly/issues/144)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Generation 2 devices:
- Shelly Plus Wall Dimmer
- Shelly Plus UNI
- Shelly Blu Gateway
- Shelly Wall Display

Generation 3 devices:
- Shelly 1PM Mini
Expand Down Expand Up @@ -622,7 +623,7 @@ You must configure this network port, make sure that it is not already in use. I
under that the shelly device can reach the node-red server (Leave this field empty if you run inside the same network segment).


## Relay (Plus 1, Plus 1 PM, Plus 2 PM, Plus UNI, Pro 1, Pro 1 PM, Pro 2, Pro 2 PM, Pro 4 PM, Plug US, 1PM Mini)
## Relay (Plus 1, Plus 1 PM, Plus 2 PM, Plus UNI, Pro 1, Pro 1 PM, Pro 2, Pro 2 PM, Pro 4 PM, Plug US, 1PM Mini, Shelly Wall Display)
The node is able to turn on and turn off a shelly switch. It outputs the status after every interaction with the shelly device.
Turning on is done by sending the following payload into the input. The relay number is optional and defaults to 0.

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": "10.20.0",
"version": "10.21.0",
"description": "Shelly nodes.",
"node-red": {
"version": ">=0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion shelly/99-shelly.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ <h3>Details</h3>
<div style="display: inline-block; position: relative; width: 70%; height: 19.1333px;">
<div style="position: absolute; left: 0; right: 0;">
<select id="node-input-devicetype" style="width:100%">
<option value="Relay">Relay - Shelly Plus 1, Plus 1 PM, Plus 2 PM, UNI Plus, Pro 2, Pro 2 PM, Pro 4 PM, Plug US, Plus Plug S, 1PM Mini</option>
<option value="Relay">Relay - Shelly Plus 1, Plus 1 PM, Plus 2 PM, UNI Plus, Pro 2, Pro 2 PM, Pro 4 PM, Plug US, Plus Plug S, 1PM Mini, Walldisplay</option>
<option value="Button">Button - Shelly Plus I4</option>
<option value="Sensor">Sensor - Shelly Plus H&T, Plus Smoke</option>
<option value="Measure">Measure - Shelly Pro 3EM</option>
Expand Down
2 changes: 1 addition & 1 deletion shelly/99-shelly.js
Original file line number Diff line number Diff line change
Expand Up @@ -2255,7 +2255,7 @@ module.exports = function (RED) {
}

let gen2DeviceTypes = new Map([
["Relay", ["SHSW-", "SNSW-", "SPSW-", "SNPL-", "SNPM-", , "S3SW-", "SNSN-"]],
["Relay", ["SHSW-", "SNSW-", "SPSW-", "SNPL-", "SNPM-", , "S3SW-", "SNSN-", "SAWD-"]],
["Button", ["SNSN-"]],
["Sensor", ["SNSN-", "S3SN-"]], // Shelly Plus H&T / PLus Smoke only support Webhook, no scripting
["Measure", ["SPEM-"]],
Expand Down

0 comments on commit da18cf1

Please sign in to comment.