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
Phone rotation degree
Moderator: Martin
Re: Phone rotation degree
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
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