Replies: 48 comments 107 replies
-
this is really cool, could you possibly add the ability to add attachments so images can be included in a notification? |
Beta Was this translation helpful? Give feedback.
-
Could there be an option to add arbitrary data to the |
Beta Was this translation helpful? Give feedback.
-
Also, to comment on this subflow - this has opened up a whole new world for me. I'm working to rewrite it for iOS notifications, and it'll greatly simplify my flows. Thanks for the example! |
Beta Was this translation helpful? Give feedback.
-
Hi there, great work... very impressive. I'm currently using PUSH OVER messaging service which works well as I am able to send photo snapshots which I believe is not available for android push notifications but am looking to replace all other system messages outside alerts to send actionable messages using your solution... its awesome. Question, is it possible to execute a function node to set the payload title, message, action title 1 etc? I have tested this but does not work as the values don't appear to pass through to the actionable subflow? Do I have my syntax wrong? Thanks |
Beta Was this translation helpful? Give feedback.
-
EDIT: I copied again, now it's working. 1 tip and 1 question however. Can you please make the examples with a separate sub-flow if possible upon copying a new in node red it copies a second subflow but this is not needed. Question: I only get the notifications on android when the screen is turned on, can this be changed somewhere? |
Beta Was this translation helpful? Give feedback.
-
Does anyone else get the following error? |
Beta Was this translation helpful? Give feedback.
-
Hi @zachowj , quick quesiton... I get this error when trying to call the "mobile_app_jason" service. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Greetings, I'm seeing an issue where as soon as I enter a URI for an action it no longer outputs from the node. i.e It puts a stop to my flow. P.S. Sorry for any language errors, I'm very new to Node-Red :) |
Beta Was this translation helpful? Give feedback.
-
Hello, Great work, this subflow and your examples have helped me tremendously. Someone asked it above, but I didn't see a response. Is there anyway to include an attachment within this? I'm using it for a doorbell notification and have the flow taking a snapshot at the doorbell cam, but can't figure out how to include it. Thanks for sharing this with the community!! |
Beta Was this translation helpful? Give feedback.
-
Another question about this flow for the trigger "Override with image and action". What is this meant for? To send a picture along? I can't get this going... What should I do?
|
Beta Was this translation helpful? Give feedback.
-
Hi Zach, I am getting following error: "Call-Service attempted without connection to server." when I try testing the demo flow by just replacing the "Notify Service" env variable with the reference of my phone. What am I doing wrong? Please help. |
Beta Was this translation helpful? Give feedback.
-
Fantastic recipe! My question, which is sort of answered in part above: How to adjust the properties of the subflow and service call for HA instances with more than one mobile device? ie: send the notification to one of the mobiles registered with HA. The only solution I could envision is not using a subflow, or making multiple copies of the subflow for each mobile device. (But that would then defeat the purpose of the subflow...) Any suggestion on how to pass the notify service to the subflow to allow for multiple mobile_app_{{device_id}} ? |
Beta Was this translation helpful? Give feedback.
-
This looks fantastic. I am also getting this error I believe it may have to do with this node What part did I not do right haha. When I first opened this node up it was blank, just had |
Beta Was this translation helpful? Give feedback.
-
Hi zachowj and thank you so much for putting the time and support into this subflow. I didn't even know NR was capable of these things, which is gonna get me really digging into it. I've read this thread 3 times now as well as picking through the code but can't find a solution: can the notification be removed from android's status bar once the action has been pressed? I see the sticky tick box, but ticked or unticked the notification stays. Once the action is over (I'm using it to open the HA app to a certain lovelace dash) I do see in NR the subflow text at the bottom says "cleared" with date and time. But I'd like it to clear the notification on press of the action button. Am I missing something? Edit to add: with the sticky box unticked if I tap the notification itself it opens HA and the notification gets removed. But if I click Action 1 (which is a uri: "/lovelace/mail") it launched the correct dashboard but keeps the notification in the status bar. One more edit: I just looked over your Expiration Date Monitor in your cookbook and realize you're the one that helped me with that almost two years ago. Dang! Thanks for all that you do! |
Beta Was this translation helpful? Give feedback.
-
I moved one of my home assistant os installs to a simple docker compose of home assistant and nodded, now I'm getting this error suddenly
Which is occurring where the function node hands-off the payload with notify options to the notify service node. I can't find an explination. Has anyone run into this? |
Beta Was this translation helpful? Give feedback.
-
How do I use the action From the HA documentation about actions: This subflow fantastic, many thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for this, it's super helpful to me and many others.
This appears to be set "node-red-wide" and not just for a specific call to "actionable notifications." My goal would be able to have perhaps more than one copy of the function so I could set more than one channel. Is this possible? Thanks again @zachowj Dovy |
Beta Was this translation helpful? Give feedback.
-
Thanks so much, adding a channel field and env.get("channel"), appears to have worked super well and was super easy to implement! If I may bother you for another question, I'm trying to warn myself that the garage door has been open for x minutes. For some reason, the notification that comes in only says "The garage door has been open for minutes," not parsing the {{minutes}} as a variable. What do I need to change?
(yes I know the 30 minute timer is currently only 1 minute long, did that for testing purposes) |
Beta Was this translation helpful? Give feedback.
-
This is probably one of my most used nodes in Home Assistant so thank you! Do you have any ideas on how I can generate multiple messages from a single trigger event without the messages overwriting each-other? I've modified it fairly heavily so I can use nodes earlier in the flow to dynamically change different fields like the services/title/message/etc. I recently ran into an issue where I'm trying to trigger multiple messages off of one trigger event. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to get an example of setting the overrides via a Function node? I'm having trouble mapping the actions portion. Thanks.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
How would I change the title on the fly for a notification? I have tried
In a function node immediately prior to the notification node, but no luck. |
Beta Was this translation helpful? Give feedback.
-
Just noticed this had stopped working for me - I use it for a flow that triggers when I go on holiday and when I went on holiday I got no notification I assume this is due to the way that notifications changed in HA recently, but I'm not quite sure - I don't see a new version on the main page tho so can anyone help me to understand how to fix this?! |
Beta Was this translation helpful? Give feedback.
-
One thing I noticed, the node takes the actionIDs and stores them as flow variables. This used to get stored in the primary flow where I called this node, but I'm not seeing it there anymore. Anyone else realize this? It's affecting some of my notifications. |
Beta Was this translation helpful? Give feedback.
-
Is it only me, or was anyone else getting the I fixed it by changing the create service call node from this: services.trim().split(/,\s*/).forEach(service => {
if(!service) return;
msg.payload = {
action: `notify.${service}`,
data,
};
node.send(msg);
}); to this: services.trim().split(/,\s*/).forEach(service => {
if(!service) return;
msg.payload = {
service,
data,
};
node.send(msg);
}); |
Beta Was this translation helpful? Give feedback.
-
Is the code on the main page the latest? Comment says v1.1.0, comment in the code says 1.0.2. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help, it's now working. One thing that I noticed doesn't work is notification icon on Android phone. I also added "icon_url" which allows a small image (100x100px) to be displayed next to the notification. then in the "create service call" object, add/edit the following: /media/local/ is the 'media' folder in home assistant Hopefully these changes can be added to your master code. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Actionable Notifications Subflow for Android
Questions and comments here.
Beta Was this translation helpful? Give feedback.
All reactions