Flic Duo Position Detection (On the Wall vs Handheld)
-
I would like to be able to determine if a Flic Duo is on the wall or handheld in FlicScript.
I see there is
gestureandorientation(x,y, andzdict) attributes, but I'm not certain exactly whatorientationparameters are best to accurately determine if a Flic Duo is currently mounted on the wall.Is it possible to add a definitive
positionattribute (or something similargesture) to know if a Flic Duo is currently on the wall? Or, would it be possible to share the exactorientationconditions that y'all use internally when someone configures an action through the app to determine if the Flic Duo is on the wall or handheld? -
@pico Currently we use this condition to determine "on wall":
x >= -0.19 && x <= 0.19 && y >= 0.93 && y <= 1.25 && z >= -0.19 && z <= 0.19