Hi all,
Disappointed by the stability of the Aqara Cube Zigbee networking, I am putting together a DIY device that will be seen as a 36 buttons thing (+ battery voltage).
It's far from done but it'll eventually be awakened by a SW-420 (Vibration Sensor Module Vibration Switch Alarm Sensor) and will see orientation and movement from a MPU-9250 (9-axis Gyro Accelerator Magnetometer Sensor).
The device and its code are taking shape on a prototype board. I am starting to think about how to interface it with my Hubitat hub. One way to go about it would be Huduino, which I will look into.
A second option I was looking at would be to have the device publish its events to an MQTT broker and use @tpc77's MQTT Link to post property changes & events to the Hubitat via a Virtual Button. I am guessing this would work, what do you think? I'd love to add a battery property to that Virtual Button but there isn't any driver code I can look at so I could add that property since it's a built-in virtual device, is there?
I am sure I am overlooking a lot, would love some advice, if you've got any.