AliciaCrane
Posts: 11
Joined: Sat Jul 23, 2016 1:09 am

What are the ways to send message

Tue Sep 20, 2016 5:57 am

I'm using raspberry pi 3 and i saw lots of working example for sending message but not very sure which will be the best and a confirm working method.
I like to just send message to my phone when my sensor detects motion. It will be best if it works for both iphone and android but either or is fine.

I want to ask if anyone has any idea which gsm/gprs module best for raspberry pi 3? (I'm using python 3)
And also without gsm/gprs module, what is the best way to achieve sending message?

mattmiller
Posts: 2245
Joined: Thu Feb 05, 2015 11:25 pm

Re: What are the ways to send message

Tue Sep 20, 2016 6:33 am

It really depends on how/where you want to receive messages from your Pi

Do the messages HAVE to get through or just try to?

Twitter can be quite useful for doing this but there is a fair amount of faffing around to set your Pi up to tweet using Python.

But once you've set it up then its quite flexible and you can use all the features of a Twitter app on your phone to alert you to the messages.

AliciaCrane
Posts: 11
Joined: Sat Jul 23, 2016 1:09 am

Re: What are the ways to send message

Tue Sep 20, 2016 7:04 am

mattmiller wrote:It really depends on how/where you want to receive messages from your Pi

Do the messages HAVE to get through or just try to?

Twitter can be quite useful for doing this but there is a fair amount of faffing around to set your Pi up to tweet using Python.

But once you've set it up then its quite flexible and you can use all the features of a Twitter app on your phone to alert you to the messages.
The message must get through, my phone receives it and i can view it. Like normal phone message. What about gsm? I saw many are using sim900 add on but i'm not sure if works 100%.

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: What are the ways to send message

Tue Sep 20, 2016 7:51 am

AliciaCrane wrote:
mattmiller wrote:It really depends on how/where you want to receive messages from your Pi

Do the messages HAVE to get through or just try to?

Twitter can be quite useful for doing this but there is a fair amount of faffing around to set your Pi up to tweet using Python.

But once you've set it up then its quite flexible and you can use all the features of a Twitter app on your phone to alert you to the messages.
The message must get through, my phone receives it and i can view it. Like normal phone message. What about gsm? I saw many are using sim900 add on but i'm not sure if works 100%.
Finding any solution that works 100% of the time tends to get very expensive and very complex. Managing 99.9% is usually much easier.

At least some 3G dongles can also be used to send SMS messages, but as you want to improve reliability you'll need to be able to check it's got through to the network and then hope they deliver it in a timely manner. Depending on the use case, multiple dongles on different mobile networks may help (if one doesn't have service hopefully one of the others does).

I've seen some use cases where relying on SMS messages alone could have a 50% failure rate, other such use cases might get a 99.99% success rate.

mattmiller
Posts: 2245
Joined: Thu Feb 05, 2015 11:25 pm

Re: What are the ways to send message

Tue Sep 20, 2016 2:10 pm

What exactly are you trying to acheive - a burglar alarm of some sorts?

AliciaCrane
Posts: 11
Joined: Sat Jul 23, 2016 1:09 am

Re: What are the ways to send message

Wed Sep 21, 2016 4:36 am

mattmiller wrote:What exactly are you trying to acheive - a burglar alarm of some sorts?
A security alert system. I'm using PIR so when there is a motion, it will send a message to my phone.

Return to “Beginners”