I am moving my automation from HA to node-red.
For my Ariela notifications, I have initially just called the notify service from HA.
I am completely now to all of this, but learning quickly.
I was wondering if there was a palette (correct term?) to use with Ariela?
In my searching I did find node-red-contrib-fcm-push-node.
This appears to be the FCM push notification that Ariela uses, but I don’t know if it is this simple.
I guess I am wondering if it is worth the effort, or if it is just smarter to just call the HA notify service.
If your on a newer version of HA you can use the mobile API. Should be on by default but there is a page that talks about adding it to your config if you do not have default config specified.
The FCM in node red is not the exact same thing as the one Ariela uses. Yes the product is the same but Ariela integrates it into HA where you would call the service from node red vs calling FCM directly in node red.
Ariela recently integrated with the mobile app API so using it to get push notifications is very easy. Once its there you can call it from node red. If your not sure what your device is named, you can go into the service button in HA and type notify and all notify services should show up.
The JSON I use in the data field is as follows (Includes actionable notification)
{ "title": "Alarm Armed Home", "message": "The Alarm has been armed in Home Mode.", "data": { "actions": [ { "action": "disable_alarm", "title": "Disarm Alarm?" } ] }}
Fantastic explanation @jcbbas!
I am still using the HANotify that Ariela used before the mobile app component was implemented. I haven’t changed yet as I figured if it is working, there is no hurry - might as well wait for any bugs to be squashed first.
That being said, I am using the call service for HA just as you show (except it is calling a different service{):