CoRE and Piston Rules Engine, first design steps

X, Y, Z – I’m assuming this is an accelerometer?

If so, have you had a chance to look at mood cube? That’s a smart app where you put a multi sensor inside a six sided cube, and then each time you change to a different face, a different scene is triggered.

This is a published smartapp, quite popular. I can’t personally read the code, but it would be a SmartThings code solution to what I think is the problem you’ve described. The only thing is that it may be limited to a 90° axis change, but along any of three axes.

Anyway, it might give you some ideas:

3 Likes