Page 1 of 1

Phone rotation degree

Posted: 23 Aug 2015 14:41
by TraianC
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

Re: Phone rotation degree

Posted: 24 Aug 2015 19:55
by Martin
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