Skip to content

Get notified when washers and dryers in your favorite laundry room become available.

Notifications You must be signed in to change notification settings

kkleidal/LaundryView-Notification-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaundryView Notification Script

Get notified when washers and dryers in your favorite laundry room become available.

I wrote this while I was waiting for a laundry room in Simmons Hall to open up.

Installation

pip install -r requirements.txt

Configuration

Put your Yo API key and username in a .env file (see .env.example for an example). You can also put the room IDs of the rooms you want to check by default (so you don't have to enter them as command line arguments each time you start the script).

Running

To continuously check rooms 1364825 and 1364826 to see if one of them has 1 washer and 1 dryer available for 3 consecutive minutes, run:

./check.py -w 1 -d 1 -t 3 1364825 1364826

the script will continue checking every 1 minute. As soon as one of the rooms has the mininmum numberof washers and dryers available for the specified number of minutes, it will print out on the command line and send you a "Yo" to notify you a room is available.

About

Get notified when washers and dryers in your favorite laundry room become available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages