Echo Dot and a Raspberry Pi connected to an LED strip!
Light up your room when you wake up in just the way you want it!
Disco Alarm is a sunrise alarm that wakes you up with a light, instead of a sound, that gradually increases in brightness.
In addition, there are many light modes that simulate movement to try to wake you up in a more natural way.
Disco Alarm works with Amazon Alexa and is super customizable with different light modes, different pre-alarm lengths, and will have many more options in the future as well!
To get started, users would set a disco alarm with Alexa by saying “Alexa, tell Disco Alarm to set an alarm for [time] on [day of the week]” and then follow the prompts!
The process through which Disco Alarm worked was as follows:
First, the Alexa skill and the AWS Lambda/stdlib function worked together to ask you all the questions needed to setup an alarm.
Then, once all the details had been determined, the AWS Lambda/stdlib function sent a payload with all the details to AWS IoT, which passed it on to the Raspberry Pi via MQTT.
Finally, the Raspberry Pi received the message and set an alarm for the appropriate time. Extensive code was required for integrating different colour modes and ensuring that there was no time drift.
Node.js was used for AWS Lambda/stdlib function programming. Python was used for Raspberry Pi programming.
Disco Alarm was built solo at Hack the 6ix 2018, a 36-hour hackathon at Top Hat HQ, with 400 participants!
I finished as a finalist!
Check out the project page and learn about how it was created at Devpost!
Head to my GitHub repository.