A web service which polls the Dow Jones for changes in the DJI index. When a change is noticed, the service will notify a Spark based wrist watch which in turn alerts a user.
A small companion web page allows you to simulate different effects.
- Breathe Green - DJI above starting point
- Breathe Red - DJI below starting point
- Blink Blue - Markets in low volatility
- Blink Yellow - Markets in high volatility
- Blink Red - Trading Over
Notifying the Spark
Notify the spark by passing params in the form
- The first param is the state.
1will cause it to blink while
- The second param is the vibration directive.
1will trigger a vibrate on notification,
- The last param is the color and accepts
SPARK_ID- The id of the Spark core.
SPARK_TOKEN- The access token for the Spark core.