syssi / xiaomiplug

Xiaomi Mi Smart WiFi Socket integration for Home Assistant
Apache License 2.0
107 stars 26 forks source link

Integration doesn't work #30

Open csababalogh opened 3 weeks ago

csababalogh commented 3 weeks ago

Sorry, maybe a stupid question, but what did I wrong? In the configuration.yaml this is the first Xiaomi Smart Plug (I have 3):

switch:

IP valid, token valid, model OK.

After restart in the Devices the only thing what I see is an entity.

image

Thanks

Csaba

syssi commented 3 weeks ago

Could you take a look at the Home Assistant log? Do you see any errors here?

csababalogh commented 3 weeks ago

Could you take a look at the Home Assistant log? Do you see any errors here?

No, absolutely nothing under Home Assistant Core, no Xiaomi realted things. Can be a problem that the Xiaomi Smart Plugs and the HASS VM are in different VLANs?

syssi commented 2 weeks ago

Yes. Some Xiaomi devices cannot be discovered across subnets: https://python-miio.readthedocs.io/en/latest/troubleshooting.html#discover-devices-across-subnets