Thread
:
Wind speed and direction on lockscreen
View Single Post
Markkyboy
2018-08-27 , 08:01
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#
38
Okay, I got it working again, silly editing mistake. It is still spewing some odd figures and so getting the output as text is not working as it should. one of the figures was 405, which is 360 + 45. 360 is not or should I say, isn't one of the ouputs we expect, there is some maths applied to rotation of WindDirectionIcon in WeatherDetailsHeader but it is being ignored, it is this maths that prevents spewing of figures above 315 degrees; (rotation: model ? model ? windDirection +180 : -1).
My output changes to whatever weather destination is chosen in sailfish-weather, but I cannot assign compass bearing text (N, NE, etc) with the config spitting out figures above 315. I have tried applying the '+ 180 : -1' math in various places but to no avail.
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
Quote & Reply
|
The Following User Says Thank You to Markkyboy For This Useful Post:
Amboss
Markkyboy
View Public Profile
Send a private message to Markkyboy
Find all posts by Markkyboy