i just bought the Aqara switch from xiaomi and was trying to get it running with openhab 2.0.
But i just struggled because the auto discovery of the Mi Home Binding won’t trigger for this switch.
So my problem is, where and how do I get the identifier of this switch?
I’m able to add it as a thing, but I don’t know where to get the id from.
I spend an evening googling for a solution, but it didn’t wen’t well.
Strange that the auto discovery doesn’t find it. This device is supported in 2.1 I think…
If you want to define it manually, you can lookup ythe id via the Mi Home app.
Click on you Gateway, press the 3 dots in the right top corner, choose About, select Gateway information. In the 2nd part you should see all your connected devices with their names and id’s.
For some reason the Binding does not detect the Wired with zero line switches. After adding the items manually as outlined above the switch works, however these switches support monitoring power delivered, these enhanced parameters are not exposed.
The location of this info is changed in one of the latest updates:
Open your gateway
Click on the three dots in the right-upper corner
‘About’
‘Hub info’
=> here you should see all device info in json format. You can copy all this info and send it by mail to yourself to easily copy/paste the id’s
The binding for me.somehow discovers no new items so I want to add them manually but I can not find the device id anywhere. Also I can not see Hub info in the app.