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

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 58

  • @SmartHomeMakers
    @SmartHomeMakers  Рік тому +5

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

  • @Th31Th3Only
    @Th31Th3Only Рік тому

    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.

  • @JMX246
    @JMX246 8 місяців тому

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

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

  • @DanCatanase
    @DanCatanase 9 місяців тому

    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?

  • @provaid82
    @provaid82 3 місяці тому

    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

  • @PileofKyle
    @PileofKyle Рік тому

    I appreciate that you break things down and explain everything

  • @trt969
    @trt969 Рік тому

    Thanks I have learned a lot....

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

  • @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 Рік тому

      You can also create notification groups in Home Assitant :)

  • @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  Рік тому +1

      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

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

  • @LuUkaSs1994
    @LuUkaSs1994 Рік тому

    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?

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

  • @EricMorin
    @EricMorin Рік тому

    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  Рік тому

      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
    @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  Рік тому +1

      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.

  • @pupupuia
    @pupupuia Рік тому +1

    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  Рік тому

      Thanks pupupuia for your contribution!

    • @atvking535
      @atvking535 3 місяці тому

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

  • @1983yuval
    @1983yuval Рік тому

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

    • @SmartHomeMakers
      @SmartHomeMakers  Рік тому +1

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

  • @rolandboni8057
    @rolandboni8057 Рік тому +1

    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.

  • @casadeymse6934
    @casadeymse6934 10 місяців тому

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

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

  • @ViktorH-o1o
    @ViktorH-o1o Рік тому

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

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

  • @DanielSchless
    @DanielSchless Рік тому

    Great idea

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

  • @lotablet
    @lotablet Рік тому

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

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

  • @bertivogts9368
    @bertivogts9368 Рік тому

  • @Two_And_A_Half_Ben
    @Two_And_A_Half_Ben Рік тому

    First!