reidcooper / dashcoop-support

Support Repo for Dashcoop Screensaver
4 stars 0 forks source link

forecast differs between devices #7

Closed nickelslots closed 4 years ago

nickelslots commented 4 years ago

If i am correct, the roku app uses darksky. After verifying the roku is online, i cross referenced the roku app vs the darksky website and ios app with the roku app. I found the roku app to differ about 10 degrees F with both the website and ios app for the same location. The darksky website and iOs app are consistent with each other, while the roku app gives different info.

edit: tried a reboot of the roku, and it did not solve the problem

Roku model: Ultra. 4660X

reidcooper commented 4 years ago

Dashcoop refreshes every hour. If your location's weather abruptly changes within that hour, it won't be reflected. Feel free to update your location in settings and see if the weather updates to match what you expect it to be.

nickelslots commented 4 years ago

Hi Reid, thanks for replying. I love the design of the app, it really is the best on that platform. Anyway, I tried your suggestion. I entered a new location I had never used before just to make sure it wasn't some kind of cache issue. And the same issue occurs. The differences are occurring both in the max and min temps. Sometimes, the low temps are about 10 deg F lower than they should be. And sometimes, it's the high temps that are 10 deg off from where they should be. Chicago is one of the locations I tried. I am comparing the dashcoop app to darksky.net and the iOS app. Thanks Reid.

reidcooper commented 4 years ago

Unfortunately there is not much else I can do. The data I obtain from Darksky is not filtered or manipulated further therefore it's the data from Darksky that seems inaccurate in their APIs.

As of 2:31pm, I am retrieving this weather from Chicago (W Adams St, Chicago, IL).

Screenshot 2020-03-09 14 30 59

What are the values you are seeing if you make the location Chicago, roughly now? If not now, feel free to send me a screenshot.

Steps:

  1. Take a pic of the screensaver before changing your location (incorrect weather data)
  2. Screenshot what is displayed in Darksky at the same time
  3. Go into settings and change the location, perhaps give it a zip code. The entered location needs to be slightly different.
  4. Take a pic of the screensaver after changing your location
  5. Screenshot what is displayed in Darksky after changing your location.

After, I can try and make a API request to see what values I receive from Darksky.

reidcooper commented 4 years ago

I made an API request right now to the above location (41.879,-87.6606).

For specifically Tuesday,

Screenshot 2020-03-09 14 39 06

I looked at the API response. The data I receive back that is relevant to that day's temperature is:

{
    "apparentTemperatureHigh": 37.25,
    "apparentTemperatureHighTime": 1583874180,
    "apparentTemperatureLow": 29.75,
    "apparentTemperatureLowTime": 1583896200,
    "apparentTemperatureMax": 51.54,
    "apparentTemperatureMaxTime": 1583818200,
    "apparentTemperatureMin": 25.48,
    "apparentTemperatureMinTime": 1583848980,
    "temperatureHigh": 42.66,
    "temperatureHighTime": 1583873640,
    "temperatureLow": 33.3,
    "temperatureLowTime": 1583896020,
    "temperatureMax": 52.03,
    "temperatureMaxTime": 1583816400,
    "temperatureMin": 33.3,
    "temperatureMinTime": 1583896020,
    "time": 1583816400,
}

It looks like Darksky is using on their website:

"temperatureMax": 52.03,
"temperatureMin": 33.3,

My app is using temperatureHigh and temperatureLow. So it looks like the temperatureLow is roughly the same value while temperatureHigh is 10 degrees off like you are saying 42.66 - 52.03.

So thank you for bringing this to my attention because I am curious why Darksky provides a bunch of different temperature values.

I bet they introduced some of these after I created Dashcoop, but this should be relatively easy to change. I will look into their docs further or ask them over Twitter.

Other than what I've written above, I do not manipulate the values at all so whatever Darksky gives me is what I display.

reidcooper commented 4 years ago

I will let you know when I make the adjustment. I am actually in the middle of adding some new features and a tiny bit of refactoring. So I will definitely address this.

Thanks again.

nickelslots commented 4 years ago

of course. I bring it up because I enjoy your app. And never was I ever insinuating you would manipulate the values or have any reason to do so. I enjoy the app, the white on black is nice and low key in a dark room.. love that. :)

reidcooper commented 4 years ago

@nickelslots I corrected the temperature values that are being displayed as well as adding a new "Feels Like" temp. This will go out in the next release of the app. ETA has not been determined yet as there are other things I need to improve.

nickelslots commented 4 years ago

thank you so much Reid. I look forward to your update.

reidcooper commented 4 years ago

My update was released yesterday.