Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

State of Zen

Automatically tweets the status of the two Zen Rooms on the 4th floor of Barkley.

How it Works

There's a Particle Photon attached to each light indicating whether or not each Zen Room is occupied. This script checks every minute or so to see if the Photon is powered. If so, the room is occupied. Any time the status of either room changes, we send a tweet to @CanIZen.

Setting up Keys

Set up the following environment variables:

LEFT_ROOM_ID=''
RIGHT_ROOM_ID=''
PARTICLE_USER=''
PARTICLE_PASS=''
TWITTER_CONSUMER_KEY=''
TWITTER_CONSUMER_SECRET=''
TWITTER_ACCESS_TOKEN_KEY=''
TWITTER_ACCESS_TOKEN_SECRET=''

About

Automatically tweets the status of the two Zen Rooms on the 4th floor of Barkley.

Resources

Releases

No releases published

Packages

No packages published