Inspiration

To make life easier so we don't have to get dressed in the dark and can see if the room is free for class calls.

What it does

The Raspberry Pi has a light sensor that turns on an LED when the lights go out to make going to bed easier. It also checks for Bluetooth MAC addresses so it can tell which roommates are in the room and turn the lights on when someone comes back in the dark. The Pi also updates my GitHub pages to show who is in the room to check if coming back to take an online class call would be a good idea.

How we built it

The Pi runs a python program that updates an elephantsql database through Heroku.

Challenges we ran into

General hardware drivers that needed to be re-enabled/installed. It took a while to set up the web page because Heroku has cross-site scripting disabled by default making it difficult for the script on GitHub pages to communicate with it.

Accomplishments that we're proud of

What we learned

What's next for IOT LED

Hooking up a smart outlet to turn on a light that will help us see even more in the dark without annoying our roommates.

Built With

Share this project:

Updates