Control your smart home with ACTIONABLE Notifications (Node-Red & Home Assistant)

Ғылым және технология

The first 1,000 people to use the link will get a 1 month free trial of Skillshare:
skl.sh/smarthomemakers12221
Home assistant actionable notifications how to with Node-red
★My Gear★
kit.co/smarthomemakers/gettin...
kit.co/smarthomemakers/how-to...
kit.co/smarthomemakers/conten...
★★Connect with me ★★
☕Coffee☕ www.buymeacoffee.com/natureboss
🌐Web🌐 leonardosmarthomemakers.com/b...
📘Facebook📘 / leonardosmarthomemakers
🐦Twitter🐦 / smarthomemaker2
#smarthomemakers #homeassistant #smartthome
★★ Contents ★★
00:00 - Project Explained
00:40 - Skillshare Sponsor
01:46 - Node Red Template
03:02 - Create a simple notification
06:48 - Notifications with variables
08:36 - Adding buttons to notifications
13:21 - Using buttons to trigger automations
16:21 - Demo
DISCLAIMER: This KZread video description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This allows us to continue to make videos like this.
DISCLAIMER 2: This video has been sponsored by Skillshare which have reviewed the ad content. Skillshare had no say in the contents of the video or the title.

Пікірлер: 58

  • @SmartHomeMakers
    @SmartHomeMakers Жыл бұрын

    Link to blog post for code! leonardosmarthomemakers.com/control-your-smart-home-with-actionable-notifications/

  • @Th31Th3Only
    @Th31Th3Only9 ай бұрын

    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.

  • @PileofKyle
    @PileofKyle Жыл бұрын

    I appreciate that you break things down and explain everything

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Appreciate you taking the time to watch!

  • @JMX246
    @JMX2465 ай бұрын

    Great info! thanks for posting - new to Node Red - this really helps

  • @SmartHomeMakers

    @SmartHomeMakers

    5 ай бұрын

    Glad it was useful!

  • @pouceo
    @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.

  • @trt969
    @trt969 Жыл бұрын

    Thanks I have learned a lot....

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Appreciate you tuning in!

  • @DanCatanase
    @DanCatanase6 ай бұрын

    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?

  • @cjramseyer
    @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

    @SmartHomeMakers

    Жыл бұрын

    Good idea for the next video!

  • @DanielSchless
    @DanielSchless Жыл бұрын

    Great idea

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Thanks Daniel! Are you thinking of creating one ?

  • @provaid82
    @provaid822 күн бұрын

    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

  • @sycope
    @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.

  • @robmiller3246
    @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

    @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

    @robmiller3246

    Жыл бұрын

    @@SmartHomeMakers Yea I ahve tried to put it everywhere and to avail. lol

  • @1983yuval
    @1983yuval Жыл бұрын

    Great, I've been looking for something like this for a long time, can you share the automation code

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Hi Yuval! The code is in the blog! thanks for watching!

  • @Error-403
    @Error-403 Жыл бұрын

    Hey @SmartHomeMarkers, how would you go about extending this to support multiple devices for the notification?

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Just go the action / call service again for the second device

  • @pupupuia

    @pupupuia

    10 ай бұрын

    You can also create notification groups in Home Assitant :)

  • @Joseph-ko2kl
    @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

    @SmartHomeMakers

    Жыл бұрын

    Hi Joseph! You are correct! The video demonstrates a template or logic that you can then expand into whatever you want!

  • @Joseph-ko2kl

    @Joseph-ko2kl

    Жыл бұрын

    @@SmartHomeMakers Thanks good to know I am not as dense as I thought I was! LOL.

  • @bertivogts9368
    @bertivogts93689 ай бұрын

  • @EricMorin
    @EricMorin10 ай бұрын

    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

    @SmartHomeMakers

    10 ай бұрын

    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

  • @LuUkaSs1994
    @LuUkaSs19949 ай бұрын

    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?

  • @rolandboni8057
    @rolandboni8057 Жыл бұрын

    You don't need to format json. All can be in one line. It's just easier to read when formatted.

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Thanks Roland for the tip!

  • @BryanNystrom

    @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.

  • @user-qw3vb2rw9x
    @user-qw3vb2rw9x Жыл бұрын

    in case you cannot change the {{message}}: in the Data field switch from JASONata to JSON editor

  • @jorgeelima
    @jorgeelima Жыл бұрын

    Is it possible to have notifications and actions on different devices?

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Sure you can pick setup a choose block and decide based on some logic who to alert!

  • @TheRealAnthony_real
    @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

    @SmartHomeMakers

    Жыл бұрын

    Interesting use case! I think I have seen something like this around on the web

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Don’t think it would be trivial but worth a try

  • @Skydiverjoe2871
    @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

    @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!

  • @phoenixmetodical
    @phoenixmetodical9 ай бұрын

    tired to import your code but it say is not a JSON array

  • @gastonparadis5368
    @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

    @SmartHomeMakers

    Жыл бұрын

    Hi Gaston! That code should be in the blog post!

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    here is the link: leonardosmarthomemakers.com/control-your-smart-home-with-actionable-notifications/

  • @gastonparadis5368

    @gastonparadis5368

    Жыл бұрын

    @@SmartHomeMakers Gre

  • @gastonparadis5368

    @gastonparadis5368

    Жыл бұрын

    Great, It works

  • @pupupuia
    @pupupuia10 ай бұрын

    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

    @SmartHomeMakers

    10 ай бұрын

    Thanks pupupuia for your contribution!

  • @atvking535

    @atvking535

    6 күн бұрын

    Thank you! I thought I was going crazy trying to get the variables to work with the curly brackets!

  • @egarywi1
    @egarywi1 Жыл бұрын

    Will this work for an Android phone as well

  • @BryanNystrom

    @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

    @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....

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Thanks Bryan for the reply!

  • @casadeymse6934
    @casadeymse69347 ай бұрын

    Awesome ....thanks al ot.......but (there is always a but :) The options on my phone both says "null" (norwegian for zero?)

  • @Two_And_A_Half_Ben
    @Two_And_A_Half_Ben Жыл бұрын

    First!

  • @SmartHomeMakers

    @SmartHomeMakers

    Жыл бұрын

    Nice one Ben!

Келесі