A messaging panel created with Raspberry Pi which sends texts when a button is pressed
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
buttonDemo.mp4
I created this project to have a quick way of messaging my girlfriend. It's primary purpose is to either text her "On my way!" when I head out the door or "I love you" whenever I'm thinking about her. I wanted this to be as easy as pushing a button instead of having to unlock my phone, go to my messaging app, and type a message.
To get a local copy up and running follow these simple steps.
This guide assumes you already have your Raspberry Pi set up with an OS and that it is connected to the internet. You'll need a basic understanding on how to wire the circuits on the breadboard, or you can copy my wiring from the images. You'll need a keyboard and mouse connected to it during the setup but after that you will not need any peripherals at all.
You'll also need a Twilio account with an API key. For more information, visit https://www.twilio.com/console/video/project/api-keys.
If you're using the trial, set up the destination phone numbers here.
-
On your raspberry pi, clone the repo
git clone https://github.com/KevinBanana/RaspberryPiMessagingPanel.git
-
Install the twilio package
pip install twilio
-
Go to your twilio console and get your trial number, account SID, and auth token
-
Create a file called config.py and save the previously gathered details like this.
You'll also need to go into Messenger.py and change the "to" argument in the API call. Alternatively, you can save your number under KEVIN_NUMBER in config.py to avoid having to modify Messenger.py
- Wire up your raspberry pi with 2 LEDs and 3 buttons on the corresponding GPIO ports:
Green Light: Port 12
Red Light: Port 18
Button 1: Port 11
Button 2: Port 13
Button 3: Port 15
- Run ButtonListener.py from the Raspberry Pi
See the open issues for a list of proposed features (and known issues).
Kevin Bonanno - [email protected]
Project Link: https://github.com/KevinBanana/RaspberryPiMessagingPanel