Merge pull request #207 from kk7ds/static-wemos

Update WeMo documentation for static configurations
This commit is contained in:
Paulus Schoutsen 2016-02-11 11:40:30 -08:00
commit c3878a5b0e

View File

@ -21,3 +21,17 @@ They will be automatically discovered if the discovery component is enabled.
switch:
platform: wemo
```
Alternately, wemos that are not discoverable can be statically configured. If you have WeMo devices on subnets other than where Home Assistant is running, and/or devices in a remote location reachable over a VPN, you will need to manually configure them. This is also useful if you wish to disable discovery for some wemos, even if they are local. Example static configuration:
```yaml
switch:
platform: wemo
static:
- 192.168.1.23
- 192.168.52.172
```
Any WeMo devices that are not statically configured but reachable via discovery will still be added automatically.
Note that if you use this, you may want to configure 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.