We have moved to a new Sailfish OS Forum. Please start new discussions there.
10

temperature and 'feels like' temperature both the same

Tracked by Jolla (In release)

asked 2018-03-01 18:41:22 +0300

Spam Hunter gravatar image

updated 2018-03-03 00:12:09 +0300

No matter what location is chosen in the Weather app, the temperature and 'feels like' temperature have identical figures. This applies to the main page we see when first opening the Weather app.

Here's an example; for the location Aldeaseca de Alba, Spain; I get 8°c and 8°c 'feels like' temp, yet checking the same location on the Foreca's webpage, I get 8°c temp and 3°c 'feels like' temp.

Even a screenshot of the Weather app from Jolla's Zendesk help page shows equal temp & feels like temp and of course, those temps will occasionally be the same, but not in every county/district/country around the world.

I have 2 x Jolla1 that both exhibit the same problem, one on 2.1.4.13 and the other 2.1.4.14

image description

Left image: Weather app | Right image: Foreca's web site

edit retag flag offensive close delete

Comments

1

The weather app just uses some weather information provider (foreca for the jolla weather and acuweather for meecast iirc), did you check that the information they provide is different from what you are seeing?

Keeper-of-the-Keys ( 2018-03-01 19:54:26 +0300 )edit
1

@Keeper-of-the-Keys: I do believe that's what the "checking the same location on the Foreca's webpage" refers to.

nthn ( 2018-03-01 23:49:52 +0300 )edit

@Keeper-of-the-Keys

The Weather app data is provided by Foreca and the data given in the app doesn't always match the same data given on Foreca's web site. My example given in my original question still stands, in this case on Foreca's web site for that same location in Spain, we now have 3° and 'feels like' -3° - but the Weather app shows also 3° and 'feels like' 3° when it should be showing minus three (-3°) - Do I misunderstand your meaning?

Spam Hunter ( 2018-03-02 00:08:56 +0300 )edit

The two temps will be the same if the forecast wind speed is zero or unknown. I wonder if the app calculates the wind chill from the wind speed, or whether Foreca supplies it?

DaveRo ( 2018-03-02 00:37:06 +0300 )edit

@nthn Sorry don't know how I missed that.

Keeper-of-the-Keys ( 2018-03-02 01:08:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted
12

answered 2018-03-02 19:32:35 +0300

Spam Hunter gravatar image

updated 2018-03-03 01:16:02 +0300

@jahonen

For visibility:

I think I have found the problem:

In /usr/lib/qt5/qml/Sailfish/Weather/WeatherModel.qml at line 80, there are two XmlRole entries the same as each other.

    XmlRole {
    name: "temperature"
    query: "@t/string()"
}
XmlRole {
    name: "temperatureFeel"
    query: "@t/string()"
}

Checking on Foreca's API details web page I found the correct XMLRole setting, which looks like this;

    XmlRole {
    name: "temperature"
    query: "@t/string()"
}
XmlRole {
    name: "temperatureFeel"
    query: "@tf/string()"
}

Now when I check against Foreca's web page for my area (or R.O.W), I get the correct temp & feels-like temp.

Could someone with an unedited device check the file in question?, I am prepared to accept it is something I may have done, but my main device (of 2 Jolla1's) was fully reset before updating to 2.1.4.14. Clarification would be good though, anyone?

p.s. Jolla devs; (say it like Scooby-Doo) "Precipiration" spelling error still exists through dozens of Weather files ;)

edit flag offensive delete publish link more

Comments

2

I can confirm - I have same mistake in WeatherModel.qml on Jolla1.

werdinand ( 2018-03-02 23:25:14 +0300 )edit
1

Thanks @werdinand - good to know.

Spam Hunter ( 2018-03-03 00:12:19 +0300 )edit

Is @jahonen still a sailor?, @jiit? anyone?

Spam Hunter ( 2018-03-06 18:33:54 +0300 )edit
1

Hi, Yes, still here! Was on holiday but back now. I will forward this issue to those involved. Thanks, Jarkko

jahonen ( 2018-03-12 08:11:13 +0300 )edit
1

Oh my, nice copy-paste bug there. Thanks for hunting this down!

Pekka Vuorela ( 2018-03-12 11:52:44 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2018-03-01 18:41:22 +0300

Seen: 688 times

Last updated: Mar 03 '18