Link to blog post for code! leonardosmarthomemakers.com/control-your-smart-home-with-actionable-notifications/
@Th31Th3Only
10 ай бұрын
This is fantastic. I had something similar in HA automations but I much prefer Node Red as it's easier to visualize. I' followed it all and it worked first time. I'll be using this for a lot of things now.
@pouceo
Жыл бұрын
Great post. Used it to send a notification to my phone if someone leave and my garage door is open, giving me the option to close it from the notification. One thing I would find more useful than the way presented is in the link to the blog post, the code is just all smooshed. If it was tabbed out and maybe commented I would have felt more comfortable using it.
@PileofKyle
Жыл бұрын
I appreciate that you break things down and explain everything
@SmartHomeMakers
Жыл бұрын
Appreciate you taking the time to watch!
@provaid82
15 күн бұрын
Hi great post , but is any fix "On Device Activity" or still not ,because many ppl complained it's not working any more . If is matter I am in UK
@JMX246
6 ай бұрын
Great info! thanks for posting - new to Node Red - this really helps
@SmartHomeMakers
6 ай бұрын
Glad it was useful!
@DanCatanase
7 ай бұрын
This is really good. Is there a way of using a similar node red flow to send a pop-up notification to your phone with a snapshot from the video doorbell when someone rings the bell?
@user-qw3vb2rw9x
Жыл бұрын
in case you cannot change the {{message}}: in the Data field switch from JASONata to JSON editor
@rolandboni8057
Жыл бұрын
You don't need to format json. All can be in one line. It's just easier to read when formatted.
@SmartHomeMakers
Жыл бұрын
Thanks Roland for the tip!
@BryanNystrom
Жыл бұрын
In addition to what Roland said, you could just type it out all in one line and then hit the "format json" button that is in the upper right corner and have the editor "pretty format" it for you.
@trt969
Жыл бұрын
Thanks I have learned a lot....
@SmartHomeMakers
Жыл бұрын
Appreciate you tuning in!
@sycope
Жыл бұрын
Thanks for the code and video, I don't know if something has changed but I do not get the actionable part and clicking the notification just opens the companion app. I've been trying everything to get the actions but nothing.
@cjramseyer
Жыл бұрын
Excellent video, and good explanation. Thank you for sharing. The demo helped me work out my own example. Do you have some examples of how you use this in your own setup?
@SmartHomeMakers
Жыл бұрын
Good idea for the next video!
@pupupuia
10 ай бұрын
Thanks a lot! This helpt me a lot. But "unfortunately" it didn't work for me the way you showed the json. I had to format it like this to make it work (Without the "{{}}" ) { "message": message, "title": title, "data": { "actions": [ { "action": action, "title": actionTitle } ] } }
@SmartHomeMakers
10 ай бұрын
Thanks pupupuia for your contribution!
@atvking535
19 күн бұрын
Thank you! I thought I was going crazy trying to get the variables to work with the curly brackets!
@1983yuval
Жыл бұрын
Great, I've been looking for something like this for a long time, can you share the automation code
@SmartHomeMakers
Жыл бұрын
Hi Yuval! The code is in the blog! thanks for watching!
@DanielSchless
Жыл бұрын
Great idea
@SmartHomeMakers
Жыл бұрын
Thanks Daniel! Are you thinking of creating one ?
@phoenixmetodical
10 ай бұрын
tired to import your code but it say is not a JSON array
@robmiller3246
Жыл бұрын
Love this video, great work! I do have a question. How to add the option critical and how do you add destructive/true and volume level to the message text to json In HA automation I can add heses and it works perfect. I can not figure out how to in nodered though. Thank you
@SmartHomeMakers
Жыл бұрын
Can't remember on the fly! It should be part of the payload that you send over to node red! similar to how the data: section works in YAML
@robmiller3246
Жыл бұрын
@@SmartHomeMakers Yea I ahve tried to put it everywhere and to avail. lol
@Error-403
Жыл бұрын
Hey @SmartHomeMarkers, how would you go about extending this to support multiple devices for the notification?
@SmartHomeMakers
Жыл бұрын
Just go the action / call service again for the second device
@pupupuia
10 ай бұрын
You can also create notification groups in Home Assitant :)
@casadeymse6934
8 ай бұрын
Awesome ....thanks al ot.......but (there is always a but :) The options on my phone both says "null" (norwegian for zero?)
@LuUkaSs1994
10 ай бұрын
Amigo lo habia logrado hace unas semanas atrás, y hoy no se puede. Es debido a una actualización? Yo uso android y logro llegar al punto en que me llega la notificación con los dos botones, pero al presionar cualquier botón, no hace nada. Intenté incluso copiando tu código y cambié las entitades y nada. A ti te funciona aún?
@TheRealAnthony_real
Жыл бұрын
This is wiked ! I'm just wondering if this would work with Alex .. so for example if the light in a room goes under a certain lux value for Alexa to ask if you want to turn on lights for a certain brighter lux value ..
@SmartHomeMakers
Жыл бұрын
Interesting use case! I think I have seen something like this around on the web
@SmartHomeMakers
Жыл бұрын
Don’t think it would be trivial but worth a try
@bertivogts9368
10 ай бұрын
❤
@Skydiverjoe2871
Жыл бұрын
If I have multiple flows that use the "events-all" node, how do you differentiate from the different flows? I have a flow that sends me a notification and I have the yes and no buttons working. If i create another flow using the same process, with yes and no buttons, how does the events-all node know the difference? When I select yes or no, both flows activate for yes. for instance, is the trash taken out "yes/no" is one flow the other, did you clean the pool filter "yes/no" If I click the yes, then both flows for yes get run.
@Skydiverjoe2871
Жыл бұрын
Figured out that if I create a unique action name then after the events-all node I use a switch node and use those unique names it will work. Thank you for the videos, they help ALOT!
@gastonparadis5368
Жыл бұрын
Great, a lot of detailed explanations. But, I cannot get it to work. I got the connection with my iPhone for message and Hello World, but entering the code I received a message « object Object ». I must have error in the text. Could you export your NodeRed flow so that I can import it. Thanks
@SmartHomeMakers
Жыл бұрын
Hi Gaston! That code should be in the blog post!
@SmartHomeMakers
Жыл бұрын
here is the link: leonardosmarthomemakers.com/control-your-smart-home-with-actionable-notifications/
@gastonparadis5368
Жыл бұрын
@@SmartHomeMakers Gre
@gastonparadis5368
Жыл бұрын
Great, It works
@jorgeelima
Жыл бұрын
Is it possible to have notifications and actions on different devices?
@SmartHomeMakers
Жыл бұрын
Sure you can pick setup a choose block and decide based on some logic who to alert!
@EricMorin
11 ай бұрын
Hi Gio! been enjoying all your smart home tutorials, especially on node red. This one has been very useful to point me in the right direction for actionable notifications for all kinds of ha events. One thing I noticed recently though in my v3.1.0 instance... I'm getting a "deprecated API warning" and subsequent error in the debug console. It appears to happen with all event types for the "event:all" node type (not just mobile_app_notification_actions). Do we need to enter something into the event data field or return done in the $outputData for the topic to prevent this?
@SmartHomeMakers
11 ай бұрын
It looks like the tutorial might be out of date, what does the message tell you? Does it point to some documentation? Thanks Eric for the info
@Joseph-ko2kl
Жыл бұрын
Thanks would love more NR info! Question- Maybe I missed it but the way this is set up is to notify you if you are not home correct? Did you just leave that part out? Assuming I understand what you did there is no way in the current flow for that part to happen unless you either added something to the current flow or connect the flow with a HA automation some how. I am correct? The way the example is set up the only way to currently make it work is to click the inject node?
@SmartHomeMakers
Жыл бұрын
Hi Joseph! You are correct! The video demonstrates a template or logic that you can then expand into whatever you want!
@Joseph-ko2kl
Жыл бұрын
@@SmartHomeMakers Thanks good to know I am not as dense as I thought I was! LOL.
@egarywi1
Жыл бұрын
Will this work for an Android phone as well
@BryanNystrom
Жыл бұрын
Yes, however icons are not supported, nor are images (for example sending a security cam still frame along with the message). Those are currently only supported on iOS.
@BryanNystrom
Жыл бұрын
Replying to my previous comment: However, I think you can still send icon info to the phone. It's just ignored and not shown....
Пікірлер: 58