A final project for my intro to python class. dumbphone--it makes your dumb phone smart!
A Python program that runs (ideally on a server 24/7) for you to text for information that you otherwise only get with a smart phone & data plan. I currently have this running on a raspberry pi. It uses Twilio to send/receive messages, and dumbphone.py to handle incoming texts.
For educational purposes only!
- Smartphones = worst & I recently gave mine up
- Current apps are designed to catch & keep our attention to deliver useless "content"
- Too much screen time bad for mental health, memory, happiness
- I made an attempt at writing a program to that performs some useful ("smart") functions but won't addict users
Clone this repo:
$ git clone https://github.com/HarryMaher/dumbphone
- Follow Twilio starter instructions below
- Install all dependencies listed in dumbphone.py
- Run receive_sms.py
- run ngrok (the windows .exe is in this directory, but otherwise - https://ngrok.com/download)
- Follow more Twilio instructions (same video below)
- Read the docstrings for each of these smaller programs and web search extensively to get the rest of it working
- Contact me with further issues
Read the docstrings for each of the functions if you want full functionality. The first three functions require that you get your own API keys, and the fourth requires that you have an android emulator running on your computer
Current functions include:
- Weather – forecasts & current conditions (Wunderground API)
- Maps – text-based directions (Google Maps API)
- Calendar – view and add events (Calendar API)
- Limebike – text bike number – android emulator does the rest (pyautogui)
- Chariot – returns phone numbers for big city cab companies (a la Lyft)
- Tides – tides of day (For less soggy beach naps)
- Sun – what time it’ll set/rise ("Shabattify" - Dan O.)
- Goog – “Smart answers” from a search engine. Scrapes the smart box answers.
Set up an account and follow these instructions.
Contact me with any questions!