Merge pull request #207 from kk7ds/static-wemos
Update WeMo documentation for static configurations
This commit is contained in:
commit
c3878a5b0e
1 changed files with 14 additions and 0 deletions
|
@ -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.
|
Loading…
Add table
Add a link
Reference in a new issue