Antonio All

Description

Note: only tested on iPhone 4 iOS 7 GM. Not sure about Android but, will do my best to make it work. Comments appreciated!!

This watchface shows weather and stock data. "All" anyone could want, right? :)
On the watch face, you'll see (by row) ...
-- Time
-- Weather/Stock status --> last fetch of data ok (every 30 mins)
-- Weather icon
-- Weather description & temp
-- stock, $price, %change // 2 rows

Weather data comes from: openweathermap.org
Non-realtime stock data comes from: dev.markitondemand.com
Note: requires httpebble for the app store
When you select the watchface, weather data is shown immediately (almost) & stock data @the next minute tick.

I use a free webhosting site (000webhost.com) to host my php scripts/sql database. It hasn't been up 100% of the time but, it's generally good.

Go here to enter your custom parameters: http://antonioasaro.site50.net/index_db.php
Please enter your data carefully!!

The parameters are stored in a database based on your serial number. As others have pointed out, the serial number that the pebble exposes is short a few characters so, it's possible your number will conflict with someone else's. :(

To test your inputs, you can try these (what I call/process in my php files)
1) http://dev.markitondemand.com/Api/Quote/json?symbol=YOURSTOCKNAME
2) http://api.openweathermap.org/data/2.5/weather?q=YOURLOCATION&units=YOURUNITS
If you see a bunch of {{"sdlksjdf", "djfaskdfj"...}}, that means it works. This info is parsed and then sent to the watch.

FYI - tools, api, & languagues ... I learned for this project: pebble sdk, httpebble, c, cloudpebble, github, php, mysql, html, css, xampp, myphpadmin, kompozer, json.

Enjoy!!
--Antonio

Update History

No change to the watchface itself but, did change the website to simplify input. Modifications include:
-- remove any spaces entered for location
-- added radio button to select Metric/Imperial
-- added a note to check YAHOO for stock syms

Note: updated source code link

1.1 - added "last successful update" time (and removed not so helpful weather/stock status icon).

created by - antonioasaro

QR code for Antonio All

Keep track of any updates for this App by signing in

×