Inspiration
Dozing off before an important event or situation is one of the most dangerous games anyone could play, especially for exhausted individuals catching a red eye bus trip home. Without anyone to rouse them, there is a risk involved in missing the exit. This raises a huge dilemma that every person has probably experienced before. To sleep or not to sleep?
What it does
Thankfully, eazzZy sleep uses location tracking to calculate the relative distance between your inputted destination and your current location. After determining that this distance is less than or equal to ten kilometers, eazzZy sleep will send an automated SMS message in order to let you know that your stop should be coming up soon. This ensures that late night commuters never have to wake up in a startled state, panicking internally to see if they slept through their stop. Just turning on their ringer is needed to audibly receive the text message before they can fall into a peaceful slumber.
How we built it
The frontend components (landing, sign-in, and welcome templates) were designed in Figma and programmed with html and css. The design was intended to be for users travelling late at night, therefore dark colours were utilized for minimal eye irritation. Python with geopy & geocoder libraries were used for the main script that took the imputed location and converted it into latitude and longitude coordinates for manipulation. Twilio’s SMS API was used to send automated SMS receipts to the user’s inputted phone number.
Challenges we ran into
- Connecting frontend and backend together within python
- All the additional requirements for setting up a Flask directory
- Some authentication bugs with setting up Twilio credentials
- And of course regular bugs!! 🪲
Accomplishments that we're proud of
- Creating a minimalistic, yet stylish frontend (included some css animations!)
- Learning a handful of new technologies all at once and branching out from just developing frontend applications
- Learning Twilio in a short period of time and how to make respective calls in python
What we learned
Incorporating automated SMS text messages was tricky. But after obtaining the first test SMS message, we knew it was worth it to continue with this idea. We also learned how to incorporate multiple python libraries all at once in order to decode locations and leverage multiple processors on our single machines.
What's next for eazzZy sleep
- Giving the user a choice of receiving a call or text message from Twilio
- Including a notification system for continuous traffic updates
- Signing into the application with voice to text recognition



Log in or sign up for Devpost to join the conversation.