Page 1 of 1

Tilt ?

Posted: 01 May 2018 19:56
by Autumn-Leigh
Have we got a tilt condition? if not, can you recommend a pluggin please?
and also motion?, it says i dont have a motion sensor when I do :/

Re: Tilt ?

Posted: 02 May 2018 10:41
by Desmanto
By tilt, you mean the phone face to certain direction? If what you need is a perfect facing x y z axis, not something in between; you can use Device Orientation, either trigger or condition. You can even combine them (trigger followed by looped condition) to create a delay before perfoming the main action. I have created some fun project, where I can use hand gesture to do something at my PC, such as next/prev photo/music by waving left/right, play/pause video. But only good for show off, not practical in real usage, and I haven't touch it anymore for months.

But if you need a custom tilt, such as 30 degree from horizontal, we have only action Init Variables Device Orientation. This will give you x y z axis values, but I still don't understand it yet. Since the values reset after 90 degree. You can check this later using expression if you need branching. You need to try it like using period timer, init the orientation and show the value in toast message.

BTW, which trigger/action that says you don't have a motion sensor? Or maybe significant motion?

Re: Tilt ?

Posted: 02 May 2018 11:01
by Autumn-Leigh
Desmanto wrote:By tilt, you mean the phone face to certain direction? If what you need is a perfect facing x y z axis, not something in between; you can use Device Orientation, either trigger or condition. You can even combine them (trigger followed by looped condition) to create a delay before perfoming the main action. I have created some fun project, where I can use hand gesture to do something at my PC, such as next/prev photo/music by waving left/right, play/pause video. But only good for show off, not practical in real usage, and I haven't touch it anymore for months.

But if you need a custom tilt, such as 30 degree from horizontal, we have only action Init Variables Device Orientation. This will give you x y z axis values, but I still don't understand it yet. Since the values reset after 90 degree. You can check this later using expression if you need branching. You need to try it like using period timer, init the orientation and show the value in toast message.

BTW, which trigger/action that says you don't have a motion sensor? Or maybe significant motion?
Its the motion condition/ trigger that is saying I dont have it

Re: Tilt ?

Posted: 02 May 2018 11:10
by Desmanto
I don't have condition name with "Motion", but I have trigger "Significant Motion". This is a software sensor, derived from accelerometer. Not all device have it. The best you can have is the "Device Orientation", should be available in all devices (since accelerometer is a minimum sensor requirement in android)