WeMo / TP-Link HS100 Power switches not updating status when manually opporated

Hello guru’s,

I have setup Home Assistant to work with 5 WeMo power switches and a TP-Link HS100 power switch. All is working fine through HA except that if these plugs are turned on or off manually ie physically pressing their control button, then HA does not see the state change.

Are they supposed to update within HA or is that function not yet coded?

My configuration.yaml

.
.
.
wemo:
  static:
    - 192.168.3.51
    - 192.168.3.52
    - 192.168.3.53
    - 192.168.3.151
    - 192.168.3.152


#TP-Link Switch Configuration

switch:
  - platform: tplink
    host: 192.168.3.54
    name: Drier Flood Lights
.
.
.

Is this not supported? I have the same issue with my HS200 switch. If I turn it on manually, none of the triggers are fired!

The WeMo switches still don’t seem to do it, but my TP-Link HS100’s do now update within HA when triggered manually, since upgrading to 35.x. Its not instant as I believe HA has to probe the switches a regular intervals as the switch’s don’t talk to HA themselves. Unfortunately I don’t have HS200’s to confirm whether they work for or not.

I was having the same problem where HA did not update the status of the WeMo light switch when it was physically activated. Looked in my logs and saw

pywemo.subscribe: Received event for unregistered

What worked for me was installing\updating pycrypto using:

pip install pycrypto

Don’t know if that’ll help anyone, but I figured I’d post it anyways. I’m a novice myself so I have no clue how/why it worked for me.

HeWhoHasNoSoul,

Thanks for the tip, installed as you prescribed above and the WeMo’s now talk back to HASS.

Thanks!

If a tplink switch is offline… is there a way to update this in homeassistant… Currently if the hs100 plug goes offline the switch shows the last state… or if there is a way to create a sensor to see if the switch is online or not based on the ip?

what do you use to pip install things? is this on the hass.io terminal?