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

Expired OpenWeather API key for modern watchface #4

Open
NightWhistler opened this issue Oct 15, 2015 · 2 comments
Open

Expired OpenWeather API key for modern watchface #4

NightWhistler opened this issue Oct 15, 2015 · 2 comments

Comments

@NightWhistler
Copy link

Just wanted to let you know that the Modern watchface that you have in the Pebble store right now shows "WEB 401" for weather, meaning that the API key it uses is expired.

I think you'd make a lot of people very happy if you uploaded a new build with an updated API key.

@kylemsguy
Copy link

kylemsguy commented Dec 13, 2015

The problem seems to be that the app doesn't use an API key to access the OpenWeather API, and they may have caught on and blocked it.

Here's a temporary workaround until the app is updated on the pebble store:

  1. Get an API key from http://openweathermap.org/appid
  2. Download this file: https://gist.github.com/kylemsguy/5875f3d37eab25739db835b319c3030c
  3. Open the file and replace {API_KEY_HERE} with the API key you got in Step 1
  4. Download the .pbw from: https://apps.getpebble.com/en_US/application/52bb213af9846878c200015b?dev_settings=true
  5. Open the .pbw with a zip file viewer and replace the pebble-js-app.js file with the one you modified in Step 2
  6. Sideload it to the Pebble

I've done this and it's working perfectly!

Update: Jan 10, 2024: Updated link to modified pebble-js-app.js file (GitHub Gist instead of Google Drive link)

@forni
Copy link

forni commented Jan 3, 2016

The workaround from kylemsguy seems to work fine as a temporary fix.
The next official update of the modern watchface should include the api-key option to re-enable the weather function.
Thanks kylemsguy!

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

3 participants