xiaomiplug icon indicating copy to clipboard operation
xiaomiplug copied to clipboard

Integration doesn't work

Open csababalogh opened this issue 1 year ago • 3 comments

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:

  • platform: xiaomi_miio_plug name: Xiaomi Plug (Night light) host: 10.0.1.34 token: 4f1c00268527bdd5b49ea6145883f84c model: chuangmi.plug.hmi206

IP valid, token valid, model OK.

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

image

Thanks

Csaba

csababalogh avatar Aug 22 '24 17:08 csababalogh

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

syssi avatar Aug 22 '24 19:08 syssi

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?

csababalogh avatar Aug 22 '24 19:08 csababalogh

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

syssi avatar Aug 23 '24 06:08 syssi