SMS Phase out

We do, as noted above. Also you can use, Low, Normal and High priority with [L], [N], [P].

[E] for emergency.

4 Likes

This is perfect. I had no idea that this was an option. It's difficult to keep up with all the developments on the platform. Thanks for the heads-up. I just tested it out and it works perfectly :slight_smile:

3 Likes

Trying to use the latest Twilio device, and I see I can enter Account SID and Auth token, and then enter a text message to send. But shouldn't I be able to specify more information? The "from" number and the "to" number? Trying to send a text message with the current driver triggers a "Bad request" error... What am I missing?

Step 6, click "Save Preferences":

https://docs.hubitat.com/index.php?title=Twilio_Notification

1 Like

Thanks a bunch; all set.

Here is the driver I created for that app:

And a few example of the actionable notifications you can create:

Three of the biggest selling points for me were the actionable notifications, the ability to use separate status bar icons for different notifications, and the ability to use the android Category system to truly have unlimited notification sound and display options. My nodered notifications look very different from my Hubitat messages. Some play a certain sound, others make no sound at all because they are informational only. This app lets your imagination loose quite a bit.

Biggest pluses of Pushover was that it supported both IOS and Android, and it also kept a nice sortable history of past notifications. I don't miss the second benefit any longer because I can access my past notifications (not as pretty of pushover) via my phone or pc.

2 Likes

What if the Hubitat was able to send an email if you are able to program in an smtp server and login credentials?

1 Like

Natively? No there is no function within HE to do that. That are solutions that are community developed to do so but most require a "man-in-the-middle" to perform the function of sending the message.

You never know with what they come up with in the future. It isn't that hard to program a SMTP option in and sending through it.

Wrong... the OS is a linux deviant of debian according to many sources thus any sort of mail program can be used.. postfix, sendmail and even the build-in mail command.

nmap -sV -O hub-ip

TCP/IP fingerprint:
OS:SCAN(V=7.70%E=4%D=7/27%OT=80%CT=1%CU=40863%PV=Y%DS=2%DC=I%G=Y%TM=5D3BFED
OS:B%P=x86_64-pc-linux-gnu)SEQ(SP=109%GCD=1%ISR=110%TI=Z%CI=I%TS=7)SEQ(SP=1
OS:09%GCD=1%ISR=110%TI=Z%TS=7)SEQ(SP=109%GCD=1%ISR=110%TI=Z%CI=RD%II=I%TS=7
OS:)OPS(O1=M5B4ST11NW7%O2=M5B4ST11NW7%O3=M5B4NNT11NW7%O4=M5B4ST11NW7%O5=M5B
OS:4ST11NW7%O6=M5B4ST11)WIN(W1=7120%W2=7120%W3=7120%W4=7120%W5=7120%W6=7120
OS:)ECN(R=Y%DF=Y%T=41%W=7210%O=M5B4NNSNW7%CC=Y%Q=)T1(R=Y%DF=Y%T=41%S=O%A=S+
OS:%F=AS%RD=0%Q=)T2(R=Y%DF=Y%T=41%W=0%S=Z%A=S%F=AR%O=%RD=0%Q=)T3(R=Y%DF=Y%T
OS:=41%W=0%S=Z%A=O%F=AR%O=%RD=0%Q=)T4(R=Y%DF=Y%T=41%W=0%S=A%A=Z%F=R%O=%RD=0
OS:%Q=)T5(R=Y%DF=Y%T=41%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=41%W=0%S
OS:=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%DF=Y%T=41%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U1(R
OS:=Y%DF=N%T=41%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DFI=N
OS:%T=41%CD=S)

Notice on the second line is says x86_64-pc-linux-gnu

The web server is Jetty

80/tcp open http Jetty 9.4.z-SNAPSHOT
443/tcp open ssl/http Jetty 9.4.z-SNAPSHOT
8080/tcp open http Jetty 9.4.z-SNAPSHOT
8081/tcp open http Jetty 9.4.z-SNAPSHOT
8443/tcp open ssl/http Jetty 9.4.z-SNAPSHOT

You took that sentence completely out of context. Read the whole post this time. If you have a way to send mail natively from Hubitat today, I'd love to see it.

2 Likes

Actually the OP asked this. Linux already has a smtp software. It's just a matter of adding that function to groovy.

So first sentence answer it's already there. Now HE just needs to support that java class and yes there is one.

Or you can use one of the solutions that works today rather than waiting for something that the Hubitat team has not committed to ever doing.

There are many advantages to running a local stmp server especially when the hub runs local. It all matters how you look at it.

But here is a simple script that does it.

https://gist.githubusercontent.com/quchie/3e02c5d5df8de804e8e0/raw/cfff612aaf5f380b4cf28841efa13a1f620b0499/Send%20Email.groovy

1 Like

Yes, but you can't do that locally on Hubitat at the moment, can we agree on that? So, that means you would have to run something on another device. Which is a community based solution that is out there already. I have an RPi that runs sendmail through a nodeJS server and allows me to send email from hubitat. There is documentation here on the forum for that.

Your idea might be technically possible but it requires you to either have OS access, which we don't, or for the Hubitat team to decide to implement an STMP server on the hub, which I highly doubt is anywhere in their plans. So, rather than just hope that changes, why not implement a solution today that works? You can always change to your perfect solution if it ever comes. Isn't something better than nothing even if it isn't perfect?

Anything that is a workable solution is better then nothing but many users aren't going to be willing to buy a pi or muchless install and learn how to run nodeJS. As you know most users that are just now coming here are point and click users.. yes they can learn but do they ? Most novice users won't.

My suggestion to add JavaMail is worth the exploration for HE hubs. It would also be the only hub that offers it aside the PI HA versions.

The solution would be as easy as this HOWTO...

https://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/

2 Likes

Does java mail send via SMTP (port 25)? What do you do about all those ISPs that block STMP on your home internet? That is very common here and even more common in Europe, from what I have read.

Gmail also offers port 465. ISP's do not block that port since it's SSL/TLS

submissions 465/tcp ssmtp smtps urd # Submission over TLS [RFC8314]

2 Likes

So, it would only work if you have a Gmail address to access it? I don't really think you've thought this 100% of the way through. Don't you think if it was as easy as you say, they would have done it already?

Dude nearly EVERY email service offers port 465 just for that reason. It's obvious you don't understand the way the internet works.

2 Likes

Download the Hubitat app