diff --git a/bundles/org.openhab.binding.shelly/README.md b/bundles/org.openhab.binding.shelly/README.md index fd7295a6ea4..063a73a3608 100644 --- a/bundles/org.openhab.binding.shelly/README.md +++ b/bundles/org.openhab.binding.shelly/README.md @@ -84,8 +84,8 @@ See section [Discovery](#discovery) for details. |----------------------|----------------------------------------------------------|------------------------------| | shellyplus1 | Shelly Plus 1 with 1x relay | SNSW-001X16EU, S3SW-001X16EU | | shellyplus1pm | Shelly Plus 1PM with 1x relay + power meter | SNSW-001P16EU, S3SW-001P16EU | -| shellyplus2pm-relay | Shelly Plus 2PM with 2x relay + power meter, relay mode | SNSW-002P16EU, SNSW-102P16EU | -| shellyplus2pm-roller | Shelly Plus 2PM with 2x relay + power meter, roller mode | SNSW-002P16EU, SNSW-102P16EU | +| shellyplus2pm-relay | Shelly Plus 2PM with 2x relay + power meter, relay mode | SNSW-002P16EU, SNSW-102P16EU, S3SW-002P16EU, SNSW-002P15UL | +| shellyplus2pm-roller | Shelly Plus 2PM with 2x relay + power meter, roller mode | SNSW-002P16EU, SNSW-102P16EU, S3SW-002P16EU, SNSW-002P15UL | | shellyplusplug | Shelly Plug-S | SNPL-00112EU, SNPL-10112EU | | shellyplusplug | Shelly Plug-IT | SNPL-00110IT | | shellyplusplug | Shelly Plug-UK | SNPL-00112UK | diff --git a/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/discovery/ShellyThingCreator.java b/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/discovery/ShellyThingCreator.java index 851733eef58..23e816a909a 100644 --- a/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/discovery/ShellyThingCreator.java +++ b/bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/discovery/ShellyThingCreator.java @@ -74,6 +74,10 @@ public class ShellyThingCreator { public static final String SHELLYDT_PLUS2PM_ROLLER = "SNSW-002P16EU-roller"; public static final String SHELLYDT_PLUS2PM_RELAY_2 = "SNSW-102P16EU-relay"; public static final String SHELLYDT_PLUS2PM_ROLLER_2 = "SNSW-102P16EU-roller"; + public static final String SHELLYDT_PLUS2PMG3_RELAY = "S3SW-002P16EU-relay"; + public static final String SHELLYDT_PLUS2PMG3_ROLLER = "S3SW-002P16EU-roller"; + public static final String SHELLYDT_PLUS2PMUL_RELAY = "SNSW-002P15UL-relay"; + public static final String SHELLYDT_PLUS2PMUL_ROLLER = "SNSW-002P15UL-roller"; public static final String SHELLYDT_PLUSPLUGS = "SNPL-00112EU"; public static final String SHELLYDT_PLUSPLUGS_2 = "SNPL-10112EU"; public static final String SHELLYDT_PLUSPLUGIT = "SNPL-00110IT"; @@ -392,6 +396,10 @@ public class ShellyThingCreator { THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PM_ROLLER, THING_TYPE_SHELLYPLUS2PM_ROLLER_STR); THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PM_RELAY_2, THING_TYPE_SHELLYPLUS2PM_RELAY_STR); THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PM_ROLLER_2, THING_TYPE_SHELLYPLUS2PM_ROLLER_STR); + THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PMUL_RELAY, THING_TYPE_SHELLYPLUS2PM_RELAY_STR); + THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PMUL_ROLLER, THING_TYPE_SHELLYPLUS2PM_ROLLER_STR); + THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PMG3_RELAY, THING_TYPE_SHELLYPLUS2PM_RELAY_STR); + THING_TYPE_MAPPING.put(SHELLYDT_PLUS2PMG3_ROLLER, THING_TYPE_SHELLYPLUS2PM_ROLLER_STR); THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGS, THING_TYPE_SHELLYPLUSPLUGS_STR); THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGS_2, THING_TYPE_SHELLYPLUSPLUGS_STR); THING_TYPE_MAPPING.put(SHELLYDT_PLUSPLUGIT, THING_TYPE_SHELLYPLUSPLUGS_STR);