Franck Nijhof bb1fe0ff88
Sync config flow with codebase (#11660)
* Sync config flow with codebase

* Corrected sync with release
2020-01-07 16:25:50 +01:00

6.2 KiB

title description logo ha_category ha_release ha_config_flow
Belkin WeMo Instructions on how to integrate Belkin WeMo devices into Home Assistant. belkin_wemo.png
Hub
Binary Sensor
Fan
Light
Switch
pre 0.7 true

The wemo integration is the main integration to integrate various Belkin WeMo devices with Home Assistant.

There is currently support for the following device types within Home Assistant:

Configuration

{% configuration %} discovery: description: Setting this value to false will prevent the automatic discovery of WeMo devices by the wemo platform and the discovery platform (static devices will still be discovered) required: false type: boolean default: true static: description: One or more static IP addresses for WeMo to use required: false type: list {% endconfiguration %}

Supported devices will be automatically discovered if the optional discovery configuration item is omitted or set to true or if the discovery integration is enabled. If the discovery configuration item is set to false, then automatic discovery of WeMo devices is disabled both for the wemo integration and for the discovery component. Loading the wemo integration with the discovery configuration item omitted or set to true will scan the local network for WeMo devices, even if you are not using the discovery component.

# Example configuration.yaml entry with automatic discovery enabled (by omitting the discovery configuration item)
wemo:

# Example configuration.yaml entry with automatic discovery enabled (by explicitly setting the discovery configuration item)
wemo:
  discovery: true

Alternately, WeMo devices that are not discoverable can be statically configured. If you have WeMo devices on subnets other than where Home Assistant is running, or devices in a remote location reachable over a VPN, you will need to configure them manually. Statically configured devices may be used with or without automatic discovery enabled. Example static configuration:

# Example configuration.yaml entry with automatic discovery disabled, and 2 statically configured devices
wemo:
  discovery: false
  static:
    - 192.168.1.23
    - 192.168.52.172

Note that if you use static device entries, you may want to set up your router (or whatever runs your DHCP server) to force your WeMo devices to use a static IP address. Check the DHCP section of your router configuration for this ability.

If the device doesn't seem to work and all you see is the state "unavailable" on your dashboard, check that your firewall doesn't block incoming requests on port 8989, since this is the port to which the WeMo devices send their updates.

Emulated devices

Various software that emulate WeMo devices often use alternative ports. Static configuration should include the port value:

# Example configuration.yaml entry with static device entries that include non-standard port numbers
wemo:
  static:
    - 192.168.1.23:52001
    - 192.168.52.172:52002

Fan

The wemo platform allows you to control your Belkin WeMo humidifiers from within Home Assistant. This includes support for the Holmes Smart Humidifier.

WeMo devices are automatically discovered if the discovery integration is enabled.

Attributes

There are several attributes which can be used for automations and templates:

Attribute Description
current_humidity An integer that indicates the current relative humidity percentage of the room, as determined by the device's onboard humidity sensor.
fan_mode String that indicates the current fan speed setting, as reported by the WeMo humidifier.
filter_expired A boolean that indicates whether the filter has expired and needs to be replaced.
filter_life The used life of the filter (as a percentage).
target_humidity An integer that indicates the desired relative humidity percentage (this is constrained to the humidity settings of the device, which are 45, 50, 55, 60, and 100).
water level String that indicates whether the water level is Good, Low, or Empty.

Services

There are several services which can be used for automations and control of the humidifier:

Service Description
set_speed Calling this service sets the fan speed (entity_id and speed are required parameters, and speed must be one of the following: off, low, medium, or high). When selecting low for the speed, this will map to the WeMo humidifier speed of minimum. When selecting high for the speed, this will map to the WeMo humidifier speed of maximum. The WeMo humidifier speeds of low and high are unused due to constraints on which fan speeds Home Assistant supports.
toggle Calling this service will toggle the humidifier between on and off states.
turn_off Calling this service will turn the humidifier off (entity_id is required).
turn_on Calling this service will turn the humidifier on and set the speed to the last used speed (defaults to medium, entity_id is required).
wemo.set_humidity Calling this service will set the desired relative humidity setting on the device (entity_id is a required list of 1 or more entities to set humidity on, and target_humidity is a required float value between 0 and 100 (this value will be rounded down and mapped to one of the valid desired humidity settings of 45, 50, 55, 60, or 100 that are supported by the WeMo humidifier)).
wemo.reset_filter_life Calling this service will reset the humdifier's filter life back to 100% (entity_id is a required list of 1 or more entities to reset the filter life on). Call this service when you change the filter on your humidifier.