a simple sms gateway using a 3G dongle
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
server.py

README.md

sms-gateway

install

pip install flask
pip install git+https://github.com/pmarti/python-messaging.git

setting env variables

set username and password as environment variables.

export SMS_GATEWAY_USER=username
export SMS_GATEWAY_PASS=yourpassword

running on startup

add following to /etc/rc.local file.

nohup python /home/pi/projects/sms-gateway/server.py >/home/pi/sms.log 2>&1 &

related blog post