Skip to content

kevinmarx/bean-next-bus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bean-next-bus

Show Metro Transit's Next Trip Data on the Punch Through Bean through Adafruit's 8x8 LED Matrix.

Setup

This project is not a Node module yet so bear with me

  • You can follow @mplewis' beantalk post on how to set up the Bean with Adafruit's 8x8 LED matrix.
  • Clone repo
  • cd bean-next-bus
  • Load the Sketch provided onto your Bean
  • start Node REPL
  • Create a new Bean Bus instance using either the Bean's Name or UUID and the Metro Transit Stop ID (you can find a stop ID through the Metro Transit api, this defaults to the stop outside of the MPLS Punch Through office.)
var bus = require('./index')
var Bus = new bus({ name: 'Next Bus', uuid: '', stopID: '40953' })

You should then see the script log the data it's setting on the Bean's characteristic in 1 minute intervals and your Bean start displaying the value stored in the characteristic.

About

Show Next Trip Data on the Punch Through Bean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages