Route Hubitat Notifications to SmartThings (App and Driver)

SMS notifications have been working well for me since I usually stay under the limit. I mainly use it if something is left open. I was looking for a backup though until Hubitat has their app released. I didn't want any extra accounts or additional apps to worry about. The Pushover option seemed pretty good but requires purchasing the apps. I'm still using ST for presence so it seemed like the best option. I finally wrapped this up tonight and got it posted on github.

It's a pretty simple app that exposes an endpoint on SmartThings and creates a push notification with whatever text it receives.

  1. Add the SmartApp code on SmartThings. Enable OAuth and install a new instance of the app. Then tap Enable API in the app.
  2. In the SmartThings IDE navigate to My Locations > smartapps. Click the Notification Endpoint app and save the endpointURL and endpointSecret variables.
  3. Add the Hubitat to ST Notification Pusher Driver on your hub and add a new virtual device.
  4. Paste the endpointURL and endpointSecret values from step 2. Add a prefix if you'd like to identify Hubitat notifications from ST notifications. Might be helpful if you're still getting notification from ST.

Hopefully this helps in the interim while Hubitat is brewing up their mobile apps!

@ogiewon posted a great walkthrough for using Rule Machine to send notifications with the Pushover driver here. This same process works for this driver as well.

9 Likes

Going to have to try this later. I'm in the same boat, I don't want to have to rely on a 3rd party app for notifications. It really should be built into Hubitat. I guess that means I can't get rid of my ST hub quite yet...

I have a potentially stupid question. I have this built and working. I tested by putting a string in the box of the HE virtual device and clicked the button. The test message was received on my mobile device with the "Hubitat:" prefix.

I would like to use this much the same way I used the "Notify Me When" app in ST.

Would it make sense to attempt to port over the "Notify Me When" app? I'm not sure I know how to proceed . . .

Thanks,

Eric

What would the advantage be versus notifications with HSM and/or RM?

Uh Oh! You lost me in acronyms (and I work for the Government!). Is RM Rules Machine? I have not experimented with that yet. What is HSM? I've only been in this environment for a bit more than a week and I am definitely still climbing the learning curve.

The functionality I am looking for is (similar to what I had on ST) to receive a push message when certain types of events occur (doors/windows open or close, motion detected in certain areas, attic fan switches on, etc.). I am not wedded to any technical approach - the push messages from ST work now and I won't be ripping that hub out soon so I thought I would utilize that. I am open to better solutions!

Eric

Yes, RM = Rule Machine. It is the native rules engine, developed and supported by the Hubitat Team. It can easily be configured to send notifications, speak messages, etc...

HSM = Hubitat Safety Monitor. It is the native home monitoring application, supported by the Hubitat Team. It is similar to ST's Smart Home Monitor.

Many of us are successfully using the tools supplied and supported natively within Hubitat. For most of us, this has led to a very stable and fast performing platform for home automation.

1 Like

Thank you!

I am reading up on both!

I have a hybrid solution working now. I have setup rule machine to send a message when motion is detected and I am using (for now) the Hubitat to ST Notification Pusher to deliver the message. This is working nicely. As I phase out ST, it should be fairly simple to switch over to another PUSH service.

Thank you!

Hi

Installed all the required components on both HE & ST.
Double-checked all URL & Secret values.

Sending a test via the HE device shows NO logs being generated... Needless to say, ST didn't get anything either.

Any ideas?

Thanks
J

Re: Pushover requiring an app purchase
Pushbullet is free.
If you do not have the ST app anymore or wish to break free from it:

Hello,

I'm getting this error when I try to install the pusher driver on HE:

How can I fix it?

Thanks

What's a pusher driver?

I think this is what he is referring to from the first post.

Correct

Add the Hubitat to ST Notification Pusher Driver 10 on your hub and add a new virtual device.

Why not use the built in Pushover driver? This one seems to require an App and driver and was written in March. A lot has changed since then.

1 Like

Yes, after looking option I discovered Pushover, I paid $5 but this is necessary after ST migration. Thanks.

Well worth the money if you read up on the API and use it to its potential.
I use Pushover to send me various Hubitat notifications in different ways depending on the alert (silent push for logging/sound push for alerts/reoccuring alerts for safety alerts...that I have to acknowledge before they stop).

I use it with IFTTT/Alexa to send a recurring alert to help find my phone (and my wife's phone).

I use it with my old IP cameras to receive motion and sound alerts (through a pushover email that route notifications to my phone).

There are other examples of how I use this app but I think you get the idea...Possibilities are almost endless.

1 Like

Thanks for the IP cameras idea, I will try that soon.

I never got around to trying this (still in a hybrid hubitat/ST... I had hoped we'd see a mobile app by now). But to this question: it just seems silly to still have to rely on a 3rd party for what should be an integrated solution. At least, just simple notifications.

While I agree that notifications should be included (and will be in the mobile app, eventually), I really like Pushover. It has a lot more functionality than ST’s uber simplistic push notification functionality. With Pushover, I can create a Hubitat Pushover Device for each member of the family, and thus send targeted push notifications. I can also use the Emergency [E] feature to create recurring notifications for things like a water leak or intrusion. Probably the best $5 app I have ever bought.

2 Likes