I have a multi-sensor that is connected to my system. When I vibrate it, I see the results in both SmartThings app and in my developer account (for acceleration).
I am trying to handle the acceleration event in a SmartApp but it doesn’t respond / see the event. I also cannot get it to see the event when I use a virtual device. This should be basic stuff, I can handle events from all my other devices.
It is the SmartThings multi-sensor
Whatever handler ST defaults to.
Below is a snippet of my code. I use this same code in 3 different locations for several different devices.
(MedicationBox, “acceleration.active”, dataChangeHandler) = subscribes to only an “active” accel. event
(MedicationBox, “acceleration.inactive”, dataChangeHandler) = subscribes to only an “inactive” accel. event
(MedicationBox, “acceleration”, dataChangeHandler) = .subscribes to all accel. events.