Raspberry Pi as SMS Gateway with google hangout access - Raspberry Pi Forums
just thought of sharing 1 interesting applications of raspberry pi:
using raspberry pi , huawei-e173, able send/receive sms google hangout.
setup includes:
1)raspberry pi b+
2)micro sdcard
3)huawei e173 usb 3g stick
4)prepaid sim card local mobile operator.
5)5v/2a power supply.
6)two gmail accounts(one me , second 1 raspi-xmpp-chat-bot)
note:
1)make both of google accounts known each other authorizing contact.
2)in raspi-chat-bot's google account, change security settings "allow less secure apps: on"(because of xmpp access)
kept setup connected internet behind home router's firewall, when raspi powered, within minute, can see raspi-chat-bot becoming online on hangout account. sending chat messages e.g("sendsms <phone-num> <message>") able achieve sms send/receive functionality. no matter on planet, long connected internet, able chat bot time
details see link below:
http://albert-david.blogspot.de/2016/01 ... m-sim.html
technical details:
1)raspi linux built scratch using buildroot.
2)for xmpp, lib-gloox used.
3)for gsm/sim card access, lib-gammu used.
4)lib-gloox , lib-gammu wrapped inside userspace application written in c++(source code available on github).
let me know if facing issues when repeating setup.
using raspberry pi , huawei-e173, able send/receive sms google hangout.
setup includes:
1)raspberry pi b+
2)micro sdcard
3)huawei e173 usb 3g stick
4)prepaid sim card local mobile operator.
5)5v/2a power supply.
6)two gmail accounts(one me , second 1 raspi-xmpp-chat-bot)
note:
1)make both of google accounts known each other authorizing contact.
2)in raspi-chat-bot's google account, change security settings "allow less secure apps: on"(because of xmpp access)
kept setup connected internet behind home router's firewall, when raspi powered, within minute, can see raspi-chat-bot becoming online on hangout account. sending chat messages e.g("sendsms <phone-num> <message>") able achieve sms send/receive functionality. no matter on planet, long connected internet, able chat bot time
details see link below:
http://albert-david.blogspot.de/2016/01 ... m-sim.html
technical details:
1)raspi linux built scratch using buildroot.
2)for xmpp, lib-gloox used.
3)for gsm/sim card access, lib-gammu used.
4)lib-gloox , lib-gammu wrapped inside userspace application written in c++(source code available on github).
let me know if facing issues when repeating setup.
raspberrypi
Comments
Post a Comment