Sendmail - Send email and text notifications, (notification device) no local server needed

Email2sms gateways are being exploited to send spam. It’s not surprising that AT&T is shutting theirs down.

Wouldn’t surprise me if other carriers follow suit.

3 Likes

Wouldn't be surprised at all. Verizon's gateway has been horribly inconsistent over the years. Shutting it down would actually be beneficial to the users - at least they know it doesn't work at all - and spam would decrease.

Has anyone tried Use Phone Link to Sync Your Android or iPhone to Your Windows Computer | Microsoft ? Wondering if there might be a way to reverse engineer the text sending protocol to send messages.

Just talking out loud idea. Since Pushover is it's own app, I'm thinking you can put it prominently next to your main texting/messaging app. And messages to Pushover would be only from Hubitat, so harder to miss? If using iOS, there is a setting to make an app's notifications remain at the top of the screen until dismissed instead of auto disappearing after a few seconds. There's probably an Android version of that feature. In this way, a Pushover notification can never be missed.

None of this is a text message, but ideas on how to make the situation work for free. Well, there is that one time $5 for Pushover after the one month free trial.

With the upcoming Pushover community driver feature of auto-destruct, you can set certain messages a time to live after which they disappear. Use case: have garage door notifications disappear after say 60 minutes to keep the Pushover app less cluttered.

T-mobile email to SMS has been less than reliable for quite some time.

I now use the Hubitat app to deliver time-sensitive notifications. It has been 100% reliable for me for the several months I have been using it and it is free.

I use email for non-time-sensitive stuff. I have an always-on Raspberry pi running Postfix. It accepts connections from the LAN and forwards things via gmail.

Marc

2 Likes

If you are Android & willing to pay$4, Tasker can designate notifications persistent and they can only be deleted if you specifically do so. They don't clear when you do blanket clearing of notifications. I use that for reminders to feed dog and take medication.

I switched to a discord integration. It's free and the messages are permanent in whichever Discord channel you send them to. It's free to host your own Discord server, so I have multiple channels set up for the various integrations in my house.

1 Like

Is this a notification driver that is publicly available?

2 Likes

Start a new thread not relavant here deleting.

Random thought with the text notification ability via sendmail likley being shutdown by cell providers. I, along with many here, am a SmartThings convert. I still have my smart things hub and ST is able to send SMS messages to a phone. I'm trying to think of an efficient way to utlized that to send a message.

A very crude way could be a simple virtual switch. HE turns the switch on. ST sees that switch via MIRA and then ST knows when that switch is on to send a text message alert. Pretty crude. I'm betting there is a smarter way to do this than via virtual switches, but I can't think of one.

I'm new to HE and in process of migrating my set up from Vera. I need to be able send notifications via email. I installed LGK Sendmail device using Hubitat package manager but am struggling to successfully send a test email message from the device Commands page. I am trying to send email via Gmail smtp server. Logs seem to indicate that my request is timing out.

Google recently eliminated the "less secure apps" gmail setting which allowed legacy third party apps to authenticate. So maybe that is the trouble here?

Screenshot of my Preferences settings:



Screenshot of Log:



Any suggestions would be appreciated.

Is that the password for your Google account?

Or did you create an app password for this particular instance of Sendmail running on your Hubitat hub?

You need to do the latter for this to work. Read the instructions at this link on how to create and manage app passwords:

1 Like

Also remember the User/Pass must be Base64 encoded (manually, by you) -
Your screenshot for the username is showing plaintext - See:

This has bitten me in the past.

That said, I'm using a private SMTP server for my domain, and I'm not using gmail SMTP - I also believe Google requires SSL (465) or TLS (587) for their incoming SMTP traffic - I'm using 587/TLS for my SMTP server, if that's any help, so that may be worth trying

1 Like

Google has disabled that ability as of May 1. I had used that feature previously with some legacy third party apps.

To eliminate google SMTP server as the issue, I substituted my ISP SMTP server, userid and pw. I also Base64 encoded login and password. No change. Same timeout messages in the log. Still unable to send an email. I must be missing something here.



I don't think so.

I can still create new ones .... I just made one 2 minutes ago as a test. Google does require that you have two-step verification turned on for your account before you can create app passwords.

Timeout message sounds like network to me - Either 587 or 465 is either getting blocked (via FW or ?), or these ports aren't open on the remote email server -

What I see for charter.net, also implies SMTP/25 is open - See: Charter Email Settings: POP3, IMAP, and SMTP Server Settings
I might also try using SMTP.charter.net per the above.

Finally, I would focus initially on connectivity, to avoid the timeout - Can you verify at least the 3way handshake via telnet, or CURL on 25 or 587 - Verify that you can at least connect to the port versus "Connection Refused", before working on SMTP HELO's, etc. - Try getting a working set of credentials/ports in Outlook or some other local client, that you can verify before transposing this into HE.

Just my suggestions on how to troubleshoot.

1 Like

ya as mentioned it looks like it is not even connecting. .try telnetting on port 587 you should get something

ya that will not work hubitat does not support ssl or tls over telnet which is what sendmail is using and if you look at charters/spectrums docs they say ssl/tls must be enabled.

1 Like

@scottmattsinger In your situation where tls/ssl is a restriction, you may want to try Google Calendar, Task, and Gmail Search and Gmail Notification Device, specifically because of

2 Likes