Skip to content

Commit 0a45502

Browse files
authored
[shelly] Add Shelly Plug S Gen3 (openhab#17869)
Signed-off-by: Matthias Maier <[email protected]>
1 parent 19d51b5 commit 0a45502

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

bundles/org.openhab.binding.shelly/README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ See section [Discovery](#discovery) for details.
8686
| shellyplus1pm | Shelly Plus 1PM with 1x relay + power meter | SNSW-001P16EU, S3SW-001P16EU |
8787
| shellyplus2pm-relay | Shelly Plus 2PM with 2x relay + power meter, relay mode | SNSW-002P16EU, SNSW-102P16EU |
8888
| shellyplus2pm-roller | Shelly Plus 2PM with 2x relay + power meter, roller mode | SNSW-002P16EU, SNSW-102P16EU |
89-
| shellyplusplug | Shelly Plus Plug | SNPL-00112EU |
90-
| shellyplusplug | Shelly Plus Plug-IT | SNPL-00110IT |
91-
| shellyplusplug | Shelly Plus Plug-UK | SNPL-00112UK |
92-
| shellyplusplugus | Shelly Plus Plug-US | SNPL-00116US |
89+
| shellyplusplug | Shelly Plug-S | SNPL-00112EU, SNPL-10112EU |
90+
| shellyplusplug | Shelly Plug-IT | SNPL-00110IT |
91+
| shellyplusplug | Shelly Plug-UK | SNPL-00112UK |
92+
| shellyplusplugus | Shelly Plug-US | SNPL-00116US |
93+
| shellyplusplug | Shelly Plug S Gen 3 | S3PL-00112EU |
9394
| shellyplusi4 | Shelly Plus i4 with 4x AC input | SNSN-0024X, S3SN-0024X |
9495
| shellyplusi4dc | Shelly Plus i4 with 4x DC input | SNSN-0D24X |
9596
| shellyplus10v | Shelly Plus Dimmer 0/10V (Gen 2) or 0/1/10V (Gen 3) | SNDM-00100WW, S3DM-0010WW |
@@ -104,11 +105,11 @@ See section [Discovery](#discovery) for details.
104105

105106
### Shelly Plus Mini series (Generation 2+3)
106107

107-
| thing-type | Model | Vendor ID |
108-
| -------------------- | -------------------------------------------------------- | ------------------------------ |
109-
| shelly1mini | Shelly Plus 1 Mini with 1x relay | SNSW-001X8EU, S3SW-001X8EU |
110-
| shelly1pmmini | Shelly Plus 1PM Mini with 1x relay + power meter | SNSW-001P8EU, S3SW-001P8EU |
111-
| shellypmmini | Shelly Plus PM Mini with 1x power meter | SNPM-001PCEU16, S3PM-001PCEU16 |
108+
| thing-type | Model | Vendor ID |
109+
| -------------------- | -------------------------------------------------------- | ------------------------------ |
110+
| shelly1mini | Shelly Plus 1 Mini with 1x relay | SNSW-001X8EU, S3SW-001X8EU |
111+
| shelly1pmmini | Shelly Plus 1PM Mini with 1x relay + power meter | SNSW-001P8EU, S3SW-001P8EU |
112+
| shellypmmini | Shelly Plus PM Mini with 1x power meter | SNPM-001PCEU16, S3PM-001PCEU16 |
112113

113114
### Shelly Pro Series (Generation 2+3)
114115

bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/discovery/ShellyThingCreator.java

+4
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ public class ShellyThingCreator {
7575
public static final String SHELLYDT_PLUS2PM_RELAY_2 = "SNSW-102P16EU-relay";
7676
public static final String SHELLYDT_PLUS2PM_ROLLER_2 = "SNSW-102P16EU-roller";
7777
public static final String SHELLYDT_PLUSPLUGS = "SNPL-00112EU";
78+
public static final String SHELLYDT_PLUSPLUGS_2 = "SNPL-10112EU";
7879
public static final String SHELLYDT_PLUSPLUGIT = "SNPL-00110IT";
7980
public static final String SHELLYDT_PLUSPLUGUK = "SNPL-00112UK";
8081
public static final String SHELLYDT_PLUSPLUGUS = "SNPL-00116US";
82+
public static final String SHELLYDT_PLUSPLUGSG3 = "S3PL-00112EU";
8183
public static final String SHELLYDT_PLUSI4 = "SNSN-0024X";
8284
public static final String SHELLYDT_PLUSI4G3 = "S3SN-0024X";
8385
public static final String SHELLYDT_PLUSI4DC = "SNSN-0D24X";
@@ -391,9 +393,11 @@ public class ShellyThingCreator {
391393
THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PM_RELAY_2, THING_TYPE_SHELLYPLUS2PM_RELAY_STR);
392394
THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PM_ROLLER_2, THING_TYPE_SHELLYPLUS2PM_ROLLER_STR);
393395
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGS, THING_TYPE_SHELLYPLUSPLUGS_STR);
396+
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGS_2, THING_TYPE_SHELLYPLUSPLUGS_STR);
394397
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGIT, THING_TYPE_SHELLYPLUSPLUGS_STR);
395398
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGUK, THING_TYPE_SHELLYPLUSPLUGS_STR);
396399
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGUS, THING_TYPE_SHELLYPLUSPLUGUS_STR);
400+
THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGSG3, THING_TYPE_SHELLYPLUSPLUGS_STR);
397401
THING_TYPE_MAPPING.put(SHELLYDT_PLUSI4, THING_TYPE_SHELLYPLUSI4_STR);
398402
THING_TYPE_MAPPING.put(SHELLYDT_PLUSI4G3, THING_TYPE_SHELLYPLUSI4_STR);
399403
THING_TYPE_MAPPING.put(SHELLYDT_PLUSI4DC, THING_TYPE_SHELLYPLUSI4DC_STR);

0 commit comments

Comments
 (0)