Technical Details • Connects to phone through Bluetooth LE • 144 x 169px Screen Size • OS & Apps written in C • Average battery life is 3 - 7 days • 3D accelerometer, light sensor, compass • 50 meter water resistance
Disney Pal The perfect companion for any Disney Park vacation Up-to-date park hours, wait times, show reminders, and tips. Get the most out of your trip with all the info at your wrist. WIP Logo
Disney Pal The perfect companion for any Disney Park vacation Up-to-date park hours, wait times, show reminders, and tips. Get the most out of your trip with all the info at your wrist. Sample Screen
Watchface v. Watch App • Responds to user interaction and button presses • Uses the system status bar at the top of the display showing the time • launched through the Pebble system menu • Designed to run for long periods of time • Displays full screen without the system status bar • Updates only once per minute or second • Can’t interact with the user, except through gestures and the accelerometer
Node App • Scrapes park hours from Disney sites serves them through JSON API • Built with hapi, cheerio, request, & aws-sdk • Inspired by this article: http://scotch.io/tutorials/ javascript/scraping-the-web-with-node-js
JavaScript Middleware • Made available by Pebble SDK 2.0 • Runs in sandboxed JS runtime on phone’s Pebble app • All about that Trace, no REPL • Bundled with the .pbw binary • Communication layer between the web & the watch
C Interface • “Front-end” of the watch face • Constructed of Windows with UI Layers • Handles clicks, animations, and vibration interaction • Changes based around Timer struct • Not JavaScript
C Tips from a JS Dev • Keep It Simple Stupid • Always comment your code • Stay modular • Google the sh*t out of everything • What goes on screen, must eventually come off it
Pebble.js • Beta, experimental JavaScript lib for writing Pebble interfaces • Announced at JSConf 2014 • Runs for every user interaction • Use more power and respond slower to user interaction than a similar native app
Future Features • Save parking spot location • Fastpass & Entertainment reminders • Wait times for current park attractions • Suggested attractions & tips based on interests and time • Directions to attractions • Web app front-end for accounts & planning.