Wemo Insight Switch Problem

Hello,

I am having trouble with a new wemo insight switch. I am on HASS 33.4. I did some searching on old topics, and it seems some problems were resolved in 26.2. However my switch shows ‘unavailable’ and I have the following errors:

16-11-30 17:52:38 pywemo.subscribe: Resubscribe error for <WeMo Insight “Wall Outlet 1”> (HTTPConnectionPool(host=‘192.168.2.15’, port=49154): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x679b9430>: Failed to establish a new connection: [Errno 111] Connection refused’,))), will retry in 60s

My config is pretty simple:

wemo:
static:
- 192.168.2.13 << fine
- 192.168.2.14 << fine
- 192.168.2.15 << trouble insight switch
- 192.168.2.16 << fine

Thank you!

Do you have those IPs locked down in your router to only assign them to the switches? Looks like it can’t connect to the switch. I would log into your router and check if the switch shows and what the IP is.

Yeah I have them on a dhcp static lease.

Is the switch (192.168.2.15), showing up in your router? Basically check if the switch is online and connected.

Yessir, I have the dhcp lease setup in pfsense identical to the other three wemo switches (light switch), and the unifi console shows the correct IP. Switch is also pingable at 192.168.2.15. Only difference as far as I can tell is that this is this wemo is an insight switch.

Here is a workaround for anyone else. It won’t give you power stats from the insight switch, but it works for off/on/state

  • platform: command_line
    switches:
    wemo_insight:
    command_on: ‘wemo -h 192.168.2.15 -a ON’
    command_off: ‘wemo -h 192.168.2.15 -a OFF’
    command_state: ‘wemo -h 192.168.2.15 -a GETSTATE’
    value_template: ‘{{ value == “ON” }}’