piggz / harbour-amazfish

Amazfit Bip support for SailfishOS
GNU General Public License v3.0
103 stars 51 forks source link

Infinitime Simple Weather Service #319

Closed jmlich closed 8 months ago

jmlich commented 8 months ago

This is was created in cooperation with @JF002 in scope of https://github.com/piggz/harbour-amazfish/issues/308. (Closes #308) Documentation of the service and reasons are described in InfiniTime pull request. https://github.com/InfiniTimeOrg/InfiniTime/pull/1924

I have update the osm weather in order to provide icon and temperature in qreal, because it converted from kelvins which adds unwanted error to the value (for example 274.9 kelvins ~ 274 - 273 = 1 deg, but it should be 274.9 - 273.15 = 1.75 ~ 2 deg). The weather icon is displayed in cityselection dialog.

JF002 commented 8 months ago

We merged the new Simple Weather Service in InfiniTime. I did most of my tests using this PR in Amazfish, so I guess it's pretty safe to merge it ;-) Thanks again a lot to @jmlich for their help on this topic!

jmlich commented 8 months ago

There is a few things to consider

jmlich commented 8 months ago

I should probably rename the service to pinetimesimpleweatherservice to highlight that this is pinetime specific.

piggz commented 8 months ago

Good idea