Phone rotation degree

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
TraianC
Posts: 66
Joined: 24 Oct 2014 13:29

Phone rotation degree

Post by TraianC » 23 Aug 2015 14:41

Hi Martin,
I want to get my phone rotation, to make an inclinometer, for example. Device orientation is not suitable for this, because it gives only predefined positions. I've tried the three variables it returns (accel_x, accel_y, accel_z) but they are updated
only in those predefined positions.
I think a new trigger, action set with variables would be great.

Regards,
Traian

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Phone rotation degree

Post by Martin » 24 Aug 2015 19:55

Hi,

I agree, some actions to load current sensor values would be useful, I'll add it to the list of features under consideration.

In your case you could also use condition Device Orientation, uncheck all orientations and continue to execute the flow on the false-branch. It should provide the accel-variables also in this case (except when the sensor does not provide values but this is usually not the case on the phones I've tested).

Regards,
Martin

Locked