Need help with Miio

Hi all,

I installed the first time Home assistant today, then i tried to add Mi Air Purifier 3/3H (zhimi.airpurifier.mb3)
that is supportet i see on the xiaomi-miio integration, but when i try to add i need to give him a Xiaomi Gateway but i dont use a gateway at home… when i add the device as gateway wit ip and token its not working :slight_smile: i think thats clear.

Is there no option for adding without xiaomi gateway ?

Yes there is this is all you need to add:

fan:
# Example configuration.yaml entry
  - platform: xiaomi_miio
    host: 192.168.130.66
    token: YOUR_TOKEN

How to get your token: https://www.home-assistant.io/integrations/xiaomi_miio/#retrieving-the-access-token