Notifications with Rules API

Is it possible to send push notifications to the app using the Rules API?

Need that functionality for some automations, for example to give a headsup if a device isn’t drawing power at a certain time etc.

Hey, @Sedda

What comes to my mind is that from the Rules Breakdown at the CommandActions description, set the Health Check capability, and the just write the proper If Action logic… Not a notification itself, but maybe some kind of command to let me notice it… maybe trigger a knock from the Multi Purpose Sensor… still thinking about it.

Share if you have more ideas.

Cheers.

Thanks for the input @erickv. Could use something similar as a workaround I guess.

Things I’ve done as of late is downloaded the Swagger specification from here
https://smartthings.developer.samsung.com/docs/api-ref/st-api.html#
Didn’t find anything interesting to be able to create notifications, but haven’t digged in that deep yet.

Created an automation using the new Smartthings app and tried retrieving it using the Rules API
https://smartthings.developer.samsung.com/docs/api-ref/st-api.html#tag/behaviors
Response came up empty, so those are probably not done in the same way.

May not be possible to create notifications at this time using the Rules API. Had some other more complex use cases for automations that would benefit from notifications, but perhaps I got to rethink how to solve those.

1 Like

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.