diff --git a/bundles/org.openhab.binding.wemo/README.md b/bundles/org.openhab.binding.wemo/README.md index 8ebc22ce1..c0bf4b84d 100644 --- a/bundles/org.openhab.binding.wemo/README.md +++ b/bundles/org.openhab.binding.wemo/README.md @@ -5,7 +5,7 @@ The integration happens either through the WeMo-Link bridge, which acts as an IP ## Supported Things -The WeMo Binding supports the Socket, Insight, Lightswitch, Motion, Dimmer, Coffemaker and Maker devices, as well as the WeMo-Link bridge with WeMo LED bulbs. +The WeMo Binding supports the Socket, Outdoor Plug, Insight, Lightswitch, Motion, Dimmer, Coffemaker and Maker devices, as well as the WeMo-Link bridge with WeMo LED bulbs. The Binding also supports the Crock-Pot Smart Slow Cooker, Mr. Coffee Smart Coffemaker as well as the Holmes Smart Air Purifier, Holmes Smart Humidifier and Holmes Smart Heater. ## Discovery diff --git a/bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/discovery/WemoDiscoveryParticipant.java b/bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/discovery/WemoDiscoveryParticipant.java index f92e6cf5f..441ebe9e8 100644 --- a/bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/discovery/WemoDiscoveryParticipant.java +++ b/bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/discovery/WemoDiscoveryParticipant.java @@ -86,6 +86,12 @@ public class WemoDiscoveryParticipant implements UpnpDiscoveryParticipant { device.getIdentity().getUdn().getIdentifierString()); return new ThingUID(THING_TYPE_SOCKET, device.getIdentity().getUdn().getIdentifierString()); } + if (device.getDetails().getModelDetails().getModelName().toLowerCase() + .startsWith("outdoorplug")) { + logger.debug("Discovered a WeMo Outdoor Plug thing with UDN '{}'", + device.getIdentity().getUdn().getIdentifierString()); + return new ThingUID(THING_TYPE_SOCKET, device.getIdentity().getUdn().getIdentifierString()); + } if (device.getDetails().getModelDetails().getModelName().toLowerCase().startsWith("insight")) { logger.debug("Discovered a WeMo Insight thing with UDN '{}'", device.getIdentity().getUdn().getIdentifierString());