This Python 2 program checks a gmail account every few minutes. When an SMS from a phone matching a particular message is received, it executes a function and sends a confirmation message. As many functions (matching different messages) as the user desires can be added. You must have IMAP enabled in the gmail account used by the program. Since the password is in plain text, I use a special dedicated Gmail account for this program.
Features
- Gmail recieves text from phone
- Python script checks gmail
- If a new email contains a certain phrase (ex. "please turn on the light") a function (ex. turn_on_light) is run.
- A confirmation will be sent to the phone (ex. "OK, turned on the light")
- Be sure to add the email to the SENDER and RECIPIENT variables, and the phone number to the PHONE variable.
Follow python-sms-responder
Other Useful Business Software
The All-in-One Commerce Platform for Businesses - Shopify
Shopify is a leading all-in-one commerce platform that enables businesses to start, build, and grow their online and physical stores. It offers tools to create customized websites, manage inventory, process payments, and sell across multiple channels including online, in-person, wholesale, and global markets. The platform includes integrated marketing tools, analytics, and customer engagement features to help merchants reach and retain customers. Shopify supports thousands of third-party apps and offers developer-friendly APIs for custom solutions. With world-class checkout technology, Shopify powers over 150 million high-intent shoppers worldwide. Its reliable, scalable infrastructure ensures fast performance and seamless operations at any business size.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of python-sms-responder!