Re: Can my python program send me a text message?

2019-03-20 Thread mm0fmf

On 19/03/2019 18:23, Steve wrote:

I have a program that triggers a reminder timer.  When that timer is done, I 
would like to receive a text message on my phone to tell me that it is time to 
reset the experiment.

Can this be done using Python?

Steve

Yes. After playing with assorted "free" systems I gave up being a 
cheapskate and got a paid account with a telephony as a service provider.



--
https://mail.python.org/mailman/listinfo/python-list


RE: Can my python program send me a text message?

2019-03-20 Thread Steve
This is a very good point since I am already finding that the arrival of
texts, and voice mail, seem to be irregular with respect to delivery times
with my phone as it is.

On the other hand, I was not thinking fourth dimensionally when I thought
about using text mail for this project. Since I am planning to migrate this
program into my phone eventually, I can just use the beep in the phone
instead.  When I get the transfer done, I can then think about how to get
the phone to make the sounds.

Still, Python-to-text messaging code is an interesting concept to explore
should I want to use it the future. 


Footnote:
98% of lawyers give the other 2% a bad name.


-Original Message-
From: Python-list  On
Behalf Of Rhodri James
Sent: Wednesday, March 20, 2019 9:20 AM
To: python-list@python.org
Subject: Re: Can my python program send me a text message?

On 19/03/2019 19:33, Abdur-Rahmaan Janhangeer wrote:
> - 1) use pi with gsm module.
> or
> - 2) find some free sms api for python then use

Slightly off-topic, but you (the OP) should be aware that carriers do not
guarantee that texts will be delivered in a timely manner.  In fact they
don't guarantee to deliver the texts at all.  We have had clients become
very unhappy when confronted with the reality of that.

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-20 Thread Rhodri James

On 19/03/2019 19:33, Abdur-Rahmaan Janhangeer wrote:

- 1) use pi with gsm module.
or
- 2) find some free sms api for python then use


Slightly off-topic, but you (the OP) should be aware that carriers do 
not guarantee that texts will be delivered in a timely manner.  In fact 
they don't guarantee to deliver the texts at all.  We have had clients 
become very unhappy when confronted with the reality of that.


--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-19 Thread Terry Reedy

On 3/19/2019 10:56 PM, Steve wrote:

Thanks for all the suggestions.  It is going to take a while to sift through
them.  I will continue to watch for more discussion and will check back in
if/when I get something working or if I get stuck.

Steve


Footnote:
Fight the hand that feeds the hate.

-Original Message-
From: Python-list  On
Behalf Of Larry Martell
Sent: Tuesday, March 19, 2019 3:46 PM
To: Python 
Subject: Re: Can my python program send me a text message?

On Tue, Mar 19, 2019 at 3:30 PM Steve  wrote:


I have a program that triggers a reminder timer.  When that timer is done,

I would like to receive a text message on my phone to tell me that it is
time to reset the experiment.


Can this be done using Python?


You can send a text with email if you know the carrier:

Alltel [insert 10-digit number]@message.alltel.com
AT [insert 10-digit number]@txt.att.net
Boost Mobile [insert 10-digit number]@myboostmobile.com
Cricket Wireless [insert 10-digit number]@mms.cricketwireless.net
Sprint [insert 10-digit number]@messaging.sprintpcs.com
T-Mobile [insert 10-digit number]@tmomail.net
U.S. Cellular [insert 10-digit number]@email.uscc.net
Verizon [insert 10-digit number]@vtext.com
Virgin Mobile [insert 10-digit number]@vmobl.com


Since I know my carrier, I tried this and it works.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


RE: Can my python program send me a text message?

2019-03-19 Thread Steve
Thanks for all the suggestions.  It is going to take a while to sift through
them.  I will continue to watch for more discussion and will check back in
if/when I get something working or if I get stuck.

Steve


Footnote:
Fight the hand that feeds the hate.

-Original Message-
From: Python-list  On
Behalf Of Larry Martell
Sent: Tuesday, March 19, 2019 3:46 PM
To: Python 
Subject: Re: Can my python program send me a text message?

On Tue, Mar 19, 2019 at 3:30 PM Steve  wrote:
>
> I have a program that triggers a reminder timer.  When that timer is done,
I would like to receive a text message on my phone to tell me that it is
time to reset the experiment.
>
> Can this be done using Python?

You can send a text with email if you know the carrier:

Alltel [insert 10-digit number]@message.alltel.com 
AT [insert 10-digit number]@txt.att.net 
Boost Mobile [insert 10-digit number]@myboostmobile.com 
Cricket Wireless [insert 10-digit number]@mms.cricketwireless.net 
Sprint [insert 10-digit number]@messaging.sprintpcs.com 
T-Mobile [insert 10-digit number]@tmomail.net 
U.S. Cellular [insert 10-digit number]@email.uscc.net 
Verizon [insert 10-digit number]@vtext.com 
Virgin Mobile [insert 10-digit number]@vmobl.com

--
https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-19 Thread Dan Sommers

On 3/19/19 2:35 PM, Chris Angelico wrote:

On Wed, Mar 20, 2019 at 6:31 AM Steve  wrote:


I have a program that triggers a reminder timer.  When that timer is done, I 
would like to receive a text message on my phone to tell me that it is time to 
reset the experiment.

Can this be done using Python?



Yes! There are APIs that will help you with that. Search the web for
"text message api" and see what you can find. (Be aware that some of
them will ask you to pay money.) Then pick one of them and see if you
can access it from Python.


Some telephone carriers provide cost-free email-to-SMS
gateways.


Most of them will be HTTP-based APIs, so you will do well to use the
"requests" module.


Send email over SMTP; use Python's standard smtplib module.

Dan
--
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-19 Thread Larry Martell
On Tue, Mar 19, 2019 at 3:30 PM Steve  wrote:
>
> I have a program that triggers a reminder timer.  When that timer is done, I 
> would like to receive a text message on my phone to tell me that it is time 
> to reset the experiment.
>
> Can this be done using Python?

You can send a text with email if you know the carrier:

Alltel [insert 10-digit number]@message.alltel.com
AT [insert 10-digit number]@txt.att.net
Boost Mobile [insert 10-digit number]@myboostmobile.com
Cricket Wireless [insert 10-digit number]@mms.cricketwireless.net
Sprint [insert 10-digit number]@messaging.sprintpcs.com
T-Mobile [insert 10-digit number]@tmomail.net
U.S. Cellular [insert 10-digit number]@email.uscc.net
Verizon [insert 10-digit number]@vtext.com
Virgin Mobile [insert 10-digit number]@vmobl.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-19 Thread Chris Angelico
On Wed, Mar 20, 2019 at 6:31 AM Steve  wrote:
>
> I have a program that triggers a reminder timer.  When that timer is done, I 
> would like to receive a text message on my phone to tell me that it is time 
> to reset the experiment.
>
> Can this be done using Python?
>

Yes! There are APIs that will help you with that. Search the web for
"text message api" and see what you can find. (Be aware that some of
them will ask you to pay money.) Then pick one of them and see if you
can access it from Python.

Most of them will be HTTP-based APIs, so you will do well to use the
"requests" module.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can my python program send me a text message?

2019-03-19 Thread Abdur-Rahmaan Janhangeer
- 1) use pi with gsm module.
or
- 2) find some free sms api for python then use

Abdur-Rahmaan Janhangeer
http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ
Mauritius
-- 
https://mail.python.org/mailman/listinfo/python-list


Can my python program send me a text message?

2019-03-19 Thread Steve
I have a program that triggers a reminder timer.  When that timer is done, I 
would like to receive a text message on my phone to tell me that it is time to 
reset the experiment.

Can this be done using Python?

Steve

-- 
https://mail.python.org/mailman/listinfo/python-list