Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Garyhlucas on July 16, 2016, 05:13:48 PM

Title: Text messaging from DoMore
Post by: Garyhlucas on July 16, 2016, 05:13:48 PM
Currently using a C-More to do text messaging for alarms. Someone asked if text messaging could be done right out of DOMore without a C-More attached. Is that possible?
Title: Re: Text messaging from DoMore
Post by: BobO on July 16, 2016, 05:19:41 PM
Currently using a C-More to do text messaging for alarms. Someone asked if text messaging could be done right out of DOMore without a C-More attached. Is that possible?


Pretty sure yes, since you can text on most providers via email.
Title: Re: Text messaging from DoMore
Post by: plcnut on July 17, 2016, 09:40:18 PM
Yes you can. I have used Do-more with Gmail (Mark posted an example somewhere), and I have also used Do-more with an email account on a godaddy server. Both will text a verizon phone fine (TenDigitPhoneNumber@vtext.com).
Title: Re: Text messaging from DoMore
Post by: Dean on July 18, 2016, 09:54:08 AM
Just to add ATT to the mix, use TenDigitPhoneNumber@txt.att.net. For other service providers, here's a handy list. http://www.emailtextmessages.com/
Title: Re: Text messaging from DoMore
Post by: Garyhlucas on July 19, 2016, 10:15:52 PM
Okay,
So emails can be done as well? What instructions would one use to set this up?
Title: Re: Text messaging from DoMore
Post by: Dean on July 20, 2016, 10:07:56 AM
@Email is a device that can be added and configured via Do-More Designer System Configuration/Device Configuration. It is super easy. If you know the server name of your Email host, the setup even has a DNS lookup tool, that will find the IP address for you. After the @Email device is setup, then there is an EMAIL instruction that will sit on the coil side of the ladder, that basically looks like you are composing an email message. Recipients, CC, BCC, Subject, Message, plus Success and Error bits. I'm sure others will explain it better than I, but if I can figure it out, I suspect most anybody can.
Title: Re: Text messaging from DoMore
Post by: BobO on July 20, 2016, 10:30:15 AM
Only other consideration is dealing with services that don't normally support unencrypted clients. Most of the major services provide alternative support for unencrypted clients, but sometimes it isn't as straightforward as you might hope. Not hard, but it has to be done right. In many cases, you will have to use the DNSLOOKUP instruction to get an IP address that's good for the next few seconds (they rotate), and then update the email device's IP address by using DEVWRITE. Pretty sure we have some of this covered in the help and/or and FAQ...although I would have to check with the guys that actually take care of that stuff.
Title: Re: Text messaging from DoMore
Post by: Controls Guy on July 20, 2016, 11:19:49 AM
The other thing to be aware of is servers that require POP before SMTP authentication, yet have different POP and SMTP IPs.  This used to be impossible, but can now (as of v1.3 I think?) be worked around with DEVWRITE.
Title: Re: Text messaging from DoMore
Post by: plcnut on July 20, 2016, 12:48:46 PM
Franji1 posted a gmail example an the second reply to this thread (https://forum.automationdirect.com/forum/general-applications/11278-do-more-email-question).
Title: Re: Text messaging from DoMore
Post by: BobO on July 20, 2016, 01:52:44 PM
Franji1 posted a gmail example an the second reply to this thread (https://forum.automationdirect.com/forum/general-applications/11278-do-more-email-question).

That was a fun thread...