I’ve got a new multi-sensor and have been reading about the Mood Cube app. I’m planning to utilize it with WebCoRE or just creat my own in WebCoRE, but I was curious if there is a better way.
My idea (based on what I’ve read about the Xiaomi cube) is to try to create a piston that does “When cube is turned onto its right side, then flip this switch” instead of “When this side is up, do this”. That way I could have turned to the right/left/upside down/etc as triggers instead of when specific sides are facing up. That would make it easier and more dynamic.
I hope that makes sense. Can anyone think of how to do this without creating a stupid number of statements like “if tilted from ___ to ___”?