Skip to content

Commit

Permalink
Yahoo has been replaced with Weather Underground for current conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbiehler committed Feb 15, 2016
1 parent fd996dc commit bc3ab17
Show file tree
Hide file tree
Showing 10 changed files with 257 additions and 207 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Weather My Way (Pebble SDK 2.0)

This is my attempt at learning about the Pebble SDK by adjusting an app for my own needs. The original Futura Weather watchface was the cleanest and best looking design I had seen but I prefer YAHOO! Weather data. So, I added the option to switch between both, and added hourly data from Weather Underground.

* Update - as of 2016, Yahoo has decided to charge for API access when attempting to translate lat lon to woeid and therefor I have replaced their API with Weather Underground.

Give it a shot and let me know what you think: [download pbw here](https://github.com/jaredbiehler/weather-my-way/releases/)

![pebble screen1](https://raw.githubusercontent.com/jaredbiehler/weather-my-way/master/screenshots/pebble-screenshot1.png) 
Expand All @@ -22,7 +24,7 @@ The hourly data for this app comes from the [Weather Underground API](http://www

Query string variables:
```
s=[yahoo|open] // weather service
s=[wunder|open] // weather service
u=[F|C] // weather scale
d=[true|false] // debug enabled
b=[on|off] // battery enabled
Expand All @@ -33,8 +35,8 @@ a=[apikey] // Weather Underground API Key

## Progress
- Hourly weather!
- Configurable weather provider (YAHOO!, Open Weather map)
- More granularity in weather condition expression (via YAHOO!)
- Configurable weather provider (Weather Underground, Open Weather map)
- More granularity in weather condition expression
- Configurable minimal battery display
- Configurable weather scale (°F / °C)
- Configurable debug mode ((L)ast updated, (P)ublish Date, Neighborhood)
Expand Down
9 changes: 7 additions & 2 deletions appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
"shortName": "Weather My Way",
"longName": "Weather My Way",
"companyName": "Jared Biehler",
"versionCode": 7,
"versionLabel": "1.2",
"versionCode": 8,
"versionLabel": "1.3",
"capabilities": [ "configurable", "location" ],
"watchapp": {
"watchface": true
},
"sdkVersion": "3",
"targetPlatforms": [
"aplite",
"basalt"
],
"appKeys": {
"temperature": 0,
"condition": 1,
Expand Down
4 changes: 2 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Persisted Values
#define DEFAULT_WEATHER_SCALE "F" // F Fahrenheit or C Celsius
#define DEFAULT_DEBUG_MODE false
#define DEFAULT_WEATHER_SERVICE "yahoo"
#define DEFAULT_DEBUG_MODE true
#define DEFAULT_WEATHER_SERVICE "wunder"
#define DEFAULT_DISPLAY_BATTERY true

#define KEY_DEBUG_MODE 0
Expand Down
Loading

0 comments on commit bc3ab17

Please sign in to comment.