Oh - I should also mention that the Aqara Vibration Sensor uses an accelerometer and earlier versions of the device driver generated
ThreeAxis events to store values that are converted into a relative change of XYZ angle used for the driver's open/close sensor functionality.
I could put the
ThreeAxis capability back into the driver with a preference setting to enable it, if anyone is interested in trying it out. I imagine you could attach the sensor to the inside face of a homemade cube and use it that way.
In fact, because the sensor detects smaller than 90 degree changes on each axis, it would work inside a shape with more than 6 faces. Just imagine a giant Dodecahedron die so you could "roll a mood!"