I’ve been trying to get Notifications working via the Rules API for a long time but I just can’t get the syntax right. Every now and again I have another go in the hope it will suddenly become clear but it never does so I am stuck waiting for it to be documented.
I also would like to be able to do a notification via the Rules API. This tutorial seems to demonstrate the lack of such capability.
While the tutorial is supposed to show a ‘notify me when’ capability, the notification consists of turning on a light. Not really what people want to do.
@nayelyz is there any plan to implement an ability for an actual notification via app in the Rules API? The Rules creation in the app allows creating notifications even to specific users but this capability is missing from the Rules API. So, the Rules API has more extensive capability than creating Rules in the app but is also limited. Seems like anything you can do in the app should be available in the API. Perhaps we need an ‘app’ device that we can command?
This has been mentioned before by other developers. However, there isn’t an option to send notifications. I’ll ask the team again to know if there’s any update.
Is there an update on this? Specifically, I am interested in showing a notification with text and image of a security camera when motion detected, doorbell ring, etc. This would be very useful on my Samsung phone or Samsung TV (Frame).
I attempted to use a routine but there was not enough control over the trigger and the notification was only sent to my phone, not my TV. I will attempt to use the API. Can you link the documentation please. Thank you!
I was just asking because sending notifications from the Rules API isn’t currently available. I’m discussing this with the engineering team.
Also, AFAIK, notifications are only present in the mobile app. I don’t have any more information about notifications on the TV. In that case, you should contact SmartThings Customer Support to know if it’s possible using the Routines tool.
Your own example on your API documentation doesn’t compile (Rules | Developer Documentation | SmartThings). Can anyone ever save anything on your platform or this whole system is a gigantic bug?
I have been getting the same error for hours and there is no way to bypass it. I have no usage of word “type” in my code.
Just wondering if you have heard back on this yet?
I haven’t found any way to show custom notifications on my TV through SmartThings.
Ring doorbell pro can show a notification on a button press, and like others have mentioned; when a washer is finished that will also send a notification. It seems like the underlying capability is present, but just not exposed.
Is there anyway to achieve this at the moment? and if not, are there any plans to make it available?
I’m getting this error: Error adding rule "Turn on a switch based on another one". 422 The request is malformed. Unknown target: Malformed body on line 1:59
On my Samsung Bespoke refrigerator I have noticed that I don’t receive any push notifications on my phone when the fridge door is left open — even though the SmartThings app correctly shows the door status as “open.” and all notification with device are already enabled.
Also in the “Routines” section, the only trigger available for the refrigerator is temperature — there’s no option to select door status as a condition.
To work around this, I explored the SmartThings Rules API. I was able to successfully create a rule that detects when the door is open. But unfortunately, I couldn’t find any capability or command in the API to push a notification to the phone.
Hi, @nileshlande12. Welcome to the SmartThings Community!
Sending push notifications isn’t supported through the Rules API. So, the suggestion from @mocelet is a good alternative.
This generally happens when the manufacturer doesn’t configure those capabilities to appear in those views.
I remember another user mentioned his Fridge supported the notifications after the door was left open but it triggered after 5 minutes. It also made a “bip” sound. Have you checked if that is supported in yours?