so, I know Vera’s doesn’t really have a huge Zigbee Library but I was curious to see if I could get the Xiaomi Stuff to work. there had been a lot of talk on the forum but no one has had success, until today
I recently purchased Xiaomi Aqara vibration sensor just for the hell of it and in messing around I actually got it to pair to by vera plus zigbee interface but I was not able to configure it since there is no device file for Vibration or tilt or drop so that was stuck.
the primary device seems to be a pressure sensor which we don’t have a device file for hence cant configure device but i was able to get the temp and humidity endpoints up and running
(Yeah its hot in florida)
maybe its time for a zigbee section on the forum
i am gonna get more Xiaomi Aqara like the motion detector and stuff to see if i can get this stuff woking
how to manually configure child devices on UI7.
Knowing first of all the Zigbee HA stack has the following endpoints:
0402 = temperature sensing
0405 = humidity sensing
I was able to create child temperature/humity sensors manually for my Keen Smartvent and my Halo. They now normally should be automatically created but the vera occasionally fails to do it leaving you with the read back in a variable within the device but without any child device on the UI itself.
I did all of this on ALTUI because the standard UI tends to reload luup at each attribute change which can mess up things while ALTUI enables you to change the variables and reload luup manually only after you are done.
Now the meat:
Create a child device with either D_TemperatureSensor1.xml or D_HumiditySensor1.xml and a random Implementation file which will not matter. And give it the name you want.
Go into the device attributes sections and
delete the implementation file, leave it blank
change the id_parent field to the id of the parent device (should be a number)
edit the altid by grabbing the altid of the parent device and appending the endpoint (0402 or 0405) at the end of the altid. (should be a total of 8 characters)
Ok, I get the child device part but my sensor is paired as GenericIO with on/off switch. I need to trick it to recognize as your primary device “Aqara Vibration” and maybe then get temp and humidity endpoints to put in the child devices. What files and essential variables does your parent device have?
Just received a Aqara temp sensor and with your instructions was able to pair it (thanks!). Humidity and temperature is reporting fine
Like you the parent device is not able to configure which is fine as we can’t yet read the pressure anyway. But Vera keeps trying to configure it causing “not connected” errors. Do you know a way to stop the unit from trying to configure it?