Skip to content

ggotti/tramLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tram Light

      ,',                               
      ', ,'                             
   ,----'--------------------------.    
  ('''|```|```|```|```|```|```|``|` |   
  |---'---'---'---'---'---'---'--'--|   
 __,_    ______           ______     |_ 
   '---'(O)(O)'---------'(O)(O)'---'    
   * * * *  Tram Lights * * * *         
   * * * * * * * * * *  * * * *         

-- ASCII Art from: http://tram.ascii.uk/ --

A NodeJS application for monitoring a Yarra Trams stop. Using the tramTRACKER PIDS Web Service, API, it updates the brightness of a LIFX Globe (using the LIFX Lan Protocol) as a tram approaches.

Config

Configured via the /config/default.json file. Common config.

  • Set tramstop to monitor via yarra-trams.stopNo value. Use this to find the 4 digit stop ID.
  • Set the LIFX label, via lifx.label. This is the LIFX globe that the application will update.

Docker

Docker container is designed to run on a Raspberry PI, using an ARM base image.

About

Monitor Yarra Trams tramstop for tram arrival, update LIFX globe based on arrival time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published