Still having issue with Xiaomi Gateway

I saw like 4-5 post here with the same issue … but I can’t find any solution …

Two week ago my home assistant installation start to tell me “Invalid Config” for Xiaomi Aquara Gateway while I’m pretty sur it’s not possible because every thing was working fine… I was afraid that it was an Xiaomi update that break everything… but then like a week later everything came back and start working without any issue for about a week… then it broke again … Why ? I’m trying everything since the last 2 day but I can make it work …

I don’t thing this is the issue but this is my config … :

xiaomi_aqara:
  discovery_retry: 10
  gateways:
    - host: 192.168.111.138
    - mac: 34:CE:00:FA:70:6C
      key: E8A7680FC3B048D4

Try this

xiaomi_aqara:
  discovery_retry: 10
  gateways:
    - mac: 34:CE:00:FA:70:6C
      key: E8A7680FC3B048D4
      host: 192.168.111.138

You should really be using the secrets.yaml to hide your mac and key

xiaomi_aqara:
  discovery_retry: 10
  gateways:
    - mac: !secret xiaomimac
      key: !secret xiaomikey
      host: 192.168.111.138

You are a genius thank !? do you have any experience with tuya light ahah !

1 Like

No Problem, sorry I haven’t got any Tuya Lights.