Skip to content

An example Fitbit app that tells you the best connection from work to home and viceversa.

Notifications You must be signed in to change notification settings

JayKid/Smartport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smartport

An example Fitbit app that tells you the best connection from work to home and viceversa (it uses the https://transport.opendata.ch open API, so I guess it's only for people living in Switzerland for now :) )

Considerations

The platform is quite young still but very exciting given it feeds from the open web and uses JS (the closest to the real JS), some sort of SVG for the view and some sort of CSS for styles.

However, there's not so much out there beyond the Fitbit documentation when one wants to dive into the platform so I started doing my own little apps to discover how far one can go with this SDK :)

That being said, there are some limitations the platform imposes that impact the code that you can actually produce/run on the device, in my case a Fitbit Versa.

Nonetheless, I love the fact that these few files already are the whole app versus other mobile apps I've done in Android and iOS where the boilerplate and environment are huge when you compare them to the simplicity of developing for the Versa <3

P.S.: Sorry about the console logs scattered across all files. It's not possible yet to debug per se, and the only hint you have is logging all the things :P

How to run

  1. Install CLI dependencies

npm install

  1. Run simulator (install Fitbit simulator)

  2. Start Fitbit CLI tool

npx fitbit

  1. Build app

(when in Fitbit CLI shell identified by fitbit$)

fitbit$ build

  1. Install and run in simulator

fitbit$ install

About

An example Fitbit app that tells you the best connection from work to home and viceversa.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published