Skip to content

Arduino web service for the opening and closing of tower bridge, using Tom Armitages @Towerbridge twitter code

Notifications You must be signed in to change notification settings

felixcohen/tower-bridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower Bridge

This is a fork of Tom Armitage's useful tower bridge bot for arduino purposes.

tower-bridge.rb is a bot that tweets the opening and closing of Tower Bridge. The code is presented for explanatory purposes; not so you can run your own bot, as it were.

Configuration

  • Put all these files on a server.
  • Set up a cron task to download http://www.towerbridge.org.uk/TBE/EN/BridgeLiftTimes/ , once a day, to schedule.htm
  • Run as a sinatra app, returns 2 if the bridge should be open(ing), 1 if it should be closing and 0 if there's no change required.

About

Arduino web service for the opening and closing of tower bridge, using Tom Armitages @Towerbridge twitter code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%