I’m going through the xiaomi gateway. During my last tests, the sensors were working but not the switches. Just a small function was missing in the code.
I’m bringing back the topic to help a developer if needed.
I have my two gateways at home with wired switches (with and without neutral) available to finally integrate the control functions into Gladys.
All the equipment is recognized but @pierre-gilles didn’t have time to finish the code I think
Hello,
Thank you for the work you do. I also have a gateway configured on the Chinese server, with two sensors, one « temperature » sensor and the other, « presence sensor ». Gladys recognizes all three. The temperature displays well on the dashboard, I have integrated the motion sensor into a scene, it works well, the gateway appears on the dashboard, but I have no action on it (On/Off, color). Is this normal? Or is it because it’s not developed? I can also help with testing if needed.
Hello,
you can follow this tutorial: Xiaomi Home | Gladys Assistant to then see your devices. You will then need to associate each detected device with a room in your home.
Indeed, there is confusion.
The password will only be used when the command function code is developed.
Otherwise, everything is done in read-only mode, just by passing the gateway in developer mode.
You just need to make sure you have a Xiaomi gateway compatible with the library used. I’m not up to date on that anymore…