Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weather shows wrong weather half the time. #5

Open
torkelatgenet opened this issue Mar 5, 2018 · 8 comments
Open

Weather shows wrong weather half the time. #5

torkelatgenet opened this issue Mar 5, 2018 · 8 comments

Comments

@torkelatgenet
Copy link

Every other time I look at my watch the location is empty and the temperature is completely wrong. Is this a owm error or a location error?

@torkelatgenet
Copy link
Author

Pebble round. Watchface 16.1

@cfg1
Copy link
Owner

cfg1 commented Mar 5, 2018 via email

@torkelatgenet
Copy link
Author

torkelatgenet commented Mar 5, 2018 via email

@cfg1
Copy link
Owner

cfg1 commented Mar 5, 2018 via email

@torkelatgenet
Copy link
Author

Is there an easy way to access the debug log from the javascript code?

@cfg1
Copy link
Owner

cfg1 commented Mar 5, 2018 via email

@torkelatgenet
Copy link
Author

torkelatgenet commented Mar 7, 2018

I now have a log of the error, The phone fails to get location and puts lat,lon to NaN, and openweathermap gives me the weather of the coast of Ghana (0,0)

[PHONE] pebble-app.js:?: M7S_16_1:345 read last location finished
[PHONE] pebble-app.js:?: M7S_16_1:373 pos_lat = NaN
[PHONE] pebble-app.js:?: M7S_16_1:374 pos_lon = NaN
[PHONE] pebble-app.js:?: M7S_16_1:377 conf.auto_loc = 1
[PHONE] pebble-app.js:?: M7S_16_1:389 Using OWM API KEY: 1b5b37a3117bb6acd583d662fdbb24c7
[PHONE] pebble-app.js:?: M7S_16_1:403 Weather URL = http://api.openweathermap.org/data/2.5/weather?APPID=1b5b37a3117bb6acd583d662fdbb24c7&lat=NaN&lon=NaN&lang=en
[PHONE] pebble-app.js:?: M7S_16_1:404 Weather Forecast URL = http://api.openweathermap.org/data/2.5/forecast?APPID=1b5b37a3117bb6acd583d662fdbb24c7&lat=NaN&lon=NaN&lang=en
[PHONE] pebble-app.js:?: M7S_16_1:413 successfully parsed returned text of weather forecast.
[PHONE] pebble-app.js:?: M7S_16_1:425 successfully parsed returned text of weather data.
[PHONE] pebble-app.js:?: M7S_16_1:439 Temperature is 28

CloudPebble.log

@cfg1
Copy link
Owner

cfg1 commented Mar 7, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants