Skip to content

A Pebble Watchface using Yahoo Weather with hourly weather (SDK 2.0)

Notifications You must be signed in to change notification settings

mvacha/weather-my-way

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather My Way (Pebble SDK 2.0)

pebble banner

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.

Give it a shot and let me know what you think: download pbw here

pebble screen1  pebble screen2  pebble screen3

Requirements

The hourly data for this app comes from the Weather Underground API. Unfortunately, their API is not free. However, Weather Underground does provide a free developer API key (500 hits / day) which more than suffices for this app. Don't share your API key, as once the quota has been reached the key will stop working.

Configuration

Try it yourself here

Query string variables:

s=[yahoo|open]  // weather service
u=[F|C]         // weather scale
d=[true|false]  // debug enabled
b=[on|off]      // battery enabled
a=[apikey]      // Weather Underground API Key 

config screen

Progress

  • Hourly weather!
  • Configurable weather provider (YAHOO!, Open Weather map)
  • More granularity in weather condition expression (via YAHOO!)
  • Configurable minimal battery display
  • Configurable weather scale (°F / °C)
  • Configurable debug mode ((L)ast updated, (P)ublish Date, Neighborhood)
  • JQuery Mobile configuration screen here
  • Config settings are persisted
  • No longer subscribed to second ticks, minute & day for better battery performance
  • Tested on iOS 7.1 & Android 4.3
  • Improved network link monitoring (limited retries on both Pebble and JS sides)
  • many rewrites, separation of concerns

Based on work by:

About

A Pebble Watchface using Yahoo Weather with hourly weather (SDK 2.0)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 76.1%
  • JavaScript 21.6%
  • Objective-C 1.5%
  • Python 0.8%