[xiaomi_miio integration] How to manually add more than one device?

Hi all,

I own a roborock_vacuum_s5, rooted, FW 2008, Valetudo RE 0.9.0-beta2. Registered to a fake Xiomii account on cn cloud. Works as a charm, the previous yaml configuration was automatically picked up by the UI. Following the mantra " if it ain’t broke, don’t fix it" I do not want to reset WLAN config or change the cloud settings (internet access blocked in router, anyhow).

Now I purchased a Standing Fan 2S zhimi.fan.za4, registered to my official de cloud account.

I was not able using the UI to add both devices based on token and IP address, without breaking the connection of other one. For the time being, I added the custom xiaomi_miio_fan. Both fan and vacuum are working, but surely using two integrations for the same purpose is not my preferred solution.

Regards, Robert

/config/configuration.yaml

#vacuum:
#  - platform: xiaomi_miio
#    host: 192.168.178.60
#    token: ...

fan:
  - platform: xiaomi_miio_fan
    host: 192.168.178.82
    token: ...
    model: zhimi.fan.za4

1 Like