Home Assistant Actionable Notifications on Android and iOS - Everything You Need to Know!

  Рет қаралды 59,953

Everything Smart Home

Everything Smart Home

Күн бұрын

Пікірлер: 119
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Hey guys, there is an updated video on this here: kzbin.info/www/bejne/rGnJlKqeoNRkoZY
@cgolebio
@cgolebio 3 жыл бұрын
To answer your question, I think I spend way too much time planning the whole thing, the bigger picture, before doing a small component at a time. Then when I get to a component I research the heck out of it before doing it when if I just got out of my own way it would have been done by now and I could be onto the next thing... On a separate note, I really like your explanations and videos. I believe, though, there is some misinformation which may need to be corrected. For the automation on iOS, in this section where you enter... action_data: - identifier: HEAT_ON title: Heat on - identifier: HEAT_OFF title: Heat off It doesn't seem to do anything. According to the docs, it passes anything in this section back to the listener. The only thing necessary is the category, which will display whatever actions you define for the category. When the button is pressed, it's passed as the actionName. And whatever is entered statically in the action_data is passed also... so you could do some template variables here or something to make the listener automation more dynamic. Here is a quick excerpt from the listener I set up when testing. { "event_type": "ios.notification_action_fired", "data": { "action_data": [ { "identifier": "HEAT_ON", "title": "Heat on" }, { "identifier": "HEAT_OFF", "title": "Heat off" } ], "actionName": "HEAT_OFF", "categoryName": "heating", ..... So all you really need is this... correct me if I am wrong? title: Temperature update message: "The current temperature is {{states(''sensor.living_room_temperature'')}}" data: push: category: 'heating' Appreciate the feedback and clarification.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Let me know, what's the longest time you've ever spent automating a simple task? 😅
@snipercision
@snipercision 4 жыл бұрын
A whole weekend once, like from Friday after work all night then through to Sunday! Then to realise on the Sunday evening I missed a colon in my secrets yaml. I was so annoyed.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
That's the worst! It's always those damn semi colons!
@058Jacko
@058Jacko 4 жыл бұрын
Spent weeks using helpers to set if a person was home or not. Then another if house was empty. So.. House Occupied: Yes User 1 - Away User 2 - Work User 3 - Home Guest Mode - Off
@KevinHoogdorp
@KevinHoogdorp 3 жыл бұрын
About a week... and of course the cause was human error. I made a sensor template to change the visual state of a binary sensor from "on " and "off" to "open" and "closed". In the automation I set the trigger to the template's "open" and "closed" while setting the binary sensor as the entity smh. I'll never forget that one
@verwaeststijn
@verwaeststijn 3 жыл бұрын
well i spend 3 months looking at home assistant so :p
@tuanha2000vn
@tuanha2000vn 3 жыл бұрын
Could you please update the guide for Home Assistant 2021.5. There's a major change in iOS notification mechanic. Thank you.
@SandroPages
@SandroPages 3 жыл бұрын
I have been playing with home-assistant for about 2 weeks and this have become m favourite go to channel to learning! So thanks! 🙏
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Ah amazing thanks! Very much appreciate it! Hope your enjoying home assistant! 😅
@JJnATX
@JJnATX 4 жыл бұрын
Nice starter video. Do you have an equivalent node-red flow you could share here? Also how could I look through several binary sensors (windows) to determine which of them is open?
@TinWhistler
@TinWhistler 4 жыл бұрын
So inspirational, thank you.
@MartinPugh
@MartinPugh 4 жыл бұрын
Thanks for a really simple explanation of the Android notifications, especially the actionable ones. I've had a play with this on a few occasions but somehow the parts just never clicked into place for me until today. Tested again with the simple text and temperature template notifications worked first time. The actionable one stumped me for a while though. The notification was reaching my phone but the button press did nothing. Then I discovered the typo.... It's a real shame the "event type" on the Event trigger doesn't spell check... "mobile_app_notificaition_action" is never gonna work. Typo fixed and a simple action to enable away mode works fine. Now I'm down the rabbit hole again because I have to start rebuilding the automations I was going to use this for but hay, that's the fun of home automation.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
That's awesome, makes me very happy that you were able to follow along and understand it, that's my whole goal with this channel! Thanks for the support!
@Neejoh
@Neejoh 4 жыл бұрын
I spend hours and hours automating an incredibly dump 20yo washing machine. The moment I was done, it broke and I had to get a new ‘smart’ washer.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Oh no that must have been soul destroying 😭
@matejfoltyn
@matejfoltyn 3 жыл бұрын
jesus, lol
@MaxGoddur
@MaxGoddur 3 жыл бұрын
First time playing with notifications and right about 2:49 in your video timeline you call out a service entry which was: notify.mobile_app_andriod. My drop-down does not have that entry and wondering did you create it if so how did you create it. Only listing close to the one you called out were: notify.notify and notify.persistant_notification. Thank you.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Do you have your mobile device registered with your HA instance?
@MaxGoddur
@MaxGoddur 3 жыл бұрын
@@EverythingSmartHome, yeah kind of figured it was a missing step that I know nothing about. Do you have a video showing how that gets done? Thank you for your reply.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
I think I mentioned in the video you need to have your device registered. I do not have a video on this but you know where we are on the discord server if you need help :)
@MaxGoddur
@MaxGoddur 3 жыл бұрын
​@@EverythingSmartHome thanks. So if I do a search on how to "have my device registers:" I should be able to find what I need?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
It's not really something you need a guide for, you just open the mobile app and login :)
@Refugado
@Refugado 4 жыл бұрын
Great video, learned a lot. Thank you!! I'm facing an issue about notifications on my Android. Sometimes if the phone display is off, it won't pop up the notifications but if I unlock the phone, the notification appears. Already enabled all notification permission to HA app. Any clue on what may be happening?
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you very much! It's most likely that your phone is putting the HA app to sleep, make sure that HA is not put to sleep in your phone's power options!
@PersonXes
@PersonXes 4 жыл бұрын
Did you solve your problem? I have disabled all the power saving options etc on the home assistant app on Android bit the notifications are still having some problems
@Refugado
@Refugado 4 жыл бұрын
@@PersonXes Unfortunately not. Reviewed all permissions to guarantee that no power saving is enabled. Using a Xiaomi Mi 9T as mobile phone.
@apc4884
@apc4884 2 жыл бұрын
Tick the box that says "Data" then insert the following: ttl: 0 priority: high
@pabll0
@pabll0 Жыл бұрын
can you make a tutprial ...how to install usb coral tpu on virtual machine and working with Frigate in home assistant?
@tambikhout9310
@tambikhout9310 Ай бұрын
i wonder 4 years video if u can responds to my issue pls same script that u put to get temp notification but nothing i get but the message out side data box. data box no info from it.
@Bruno-vz8vk
@Bruno-vz8vk 3 жыл бұрын
Thanks a lot. Does the personn detection solution works with multiples caméras?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks for watching! Sure you can add multiple cameras!
@Bruno-vz8vk
@Bruno-vz8vk 3 жыл бұрын
@@EverythingSmartHome thanks for your answers, would you make a video about multiples cameras setings?
@romanykemp9042
@romanykemp9042 3 жыл бұрын
So I need the ability for my phone to sound some kind of alarm for certain things - house on fire, etc - even if I have it on vibrate. Does the HA automation part gives you that ability or is that dependent on configuring notifications on your phone? Certain alerts a pop up message is fine - others I want to know about NOW - and need to be woke up if I'm sleeping...looking for any suggestions you may have. Thanks!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Hello! Check out the priority notifications in the docs, there is ways of doing alarm notifications I think depending on your device
@thatyoutubechannel5453
@thatyoutubechannel5453 4 жыл бұрын
I think the 10 hours automating for a 20 second task hits close to home for me 😂
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Me too, I feel like I personally attacked myself 😂
@davidtjac
@davidtjac 3 жыл бұрын
Is it possible to call a script as the action. If so what would the service data look like? Thanks
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Yeah it definitely would just use the toggle script option from the UI
@davidtjac
@davidtjac 3 жыл бұрын
@@EverythingSmartHome not sure I understand. My Action is call service which is a notify.phone then in the service data I have the message and want a clickable image that calls a script (the script is a momentary switch for a Mqtt gate opener).
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Ah sorry I see what your saying. So the easiest way would be to have the action call an automation which calls the script. So combine the image example and the actionable notification example from this video and in your "action" automation, call the script from there. It should work like that in theory but I haven't tested it
@davidtjac
@davidtjac 3 жыл бұрын
@@EverythingSmartHome thanks. I'll give it a go and report back.
@BenSycha
@BenSycha 4 жыл бұрын
Great video. Just the right amount of information. Cheers!
@caiosaoliveira
@caiosaoliveira 4 жыл бұрын
Great content! Thanks for sharing! Also, which is your camera and lens setup? Looks well! Maybe an idea for a video to share your setup ;)
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you for watching! Thanks for the idea, definitely will add that to the list!
@boopeshkumarprabhakaran
@boopeshkumarprabhakaran 2 жыл бұрын
image not getting updated in notifications...shows old snap...but even I check locally with file manager ...it's the latest image...any way to fix this?
@paulmurphy3735
@paulmurphy3735 4 жыл бұрын
Thanks for this great tutorial! I always thought you had to pay for an notification service to use this feature. Many thanks
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Glad it could help!
@sgaard49
@sgaard49 4 жыл бұрын
hi nice video, i love it :) But i have a question, how does i make it to a persistent notification :D
@Kiloptero
@Kiloptero Жыл бұрын
hi! the path for the image detection.. how you get that? /local/doods.jpg ? its something like camera name jpg?
@edpete97
@edpete97 4 жыл бұрын
Great video. I'm having trouble making sense of the doods integration. The automation works when I press the 'Execute' button and I get the .jpg as well as the live feed when I tap. What's not happening is the automation. I would expect that if a Person or Car is detected, I would get a push notification, correct?
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hey Erik, that's correct so that would indicate that the trigger in the automation isn't working, what is the trigger you are using?
@mrstepien1
@mrstepien1 3 жыл бұрын
A dumb question : does the remote access to your Home Assistant instance has to be enabled for the notifications to work?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Certainly not a dumb question! Remote access doesn't need to be enabled for notifications to be sent, but you will need them for the actionable bit to happen
@Cstraider
@Cstraider 3 жыл бұрын
Love the vid! QQ, is there any way to do the opposite? receive a notification from an android device on home assistant and trigger an automation?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you! Yes it's in this video, the bit where you press a button from the android notification and it triggers an automation on home assistant
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
@@Cstraider I think so, I think you can achieve this with telegram
@MarkGhali
@MarkGhali 4 жыл бұрын
Yeah this is exactly what I needed! good up-to-date info!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Glad I could help, thanks for watching!
@Ajicles
@Ajicles 4 жыл бұрын
I second this. Most of the other android videos use old code that doesn't seem to work anymore :/
@foxcanaa
@foxcanaa 4 жыл бұрын
What a useful video, I don't speak English but from the images I'll be able to do these automations
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you, glad it helped!
@frogeye22
@frogeye22 4 жыл бұрын
Great video. Looking forward to seeing this logged in your 'How to' guides!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hey, thank you! Sorry I don't understand the last bit, where do you mean sorry?
@frogeye22
@frogeye22 4 жыл бұрын
@@EverythingSmartHome , I mean I was hoping you may document this in your blog on your own website
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Oh I see, there is actually a how to guide already there for notification just not quite the same examples but I cover how to do everything 😃
@onnodekker6799
@onnodekker6799 4 жыл бұрын
Thank you for this awesome tutorial, it helped me very much. I integrated the camera notification in my alarm automation, so when the alarm is triggered I receive a message with picture on my phone. But when my alarm is triggered I want also to hear an alarm sound on my Android phone, even when my phone is on mute or on vibrate. I read it can be done with Android and has something to do with channels. But I can't get it to work. Do you have an idea? Thank you and keep up the good work in 2021!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks, appreciate it! 🙏 I think you can yes make sure to check the docs. Happy new year to you!
@M1L31
@M1L31 3 жыл бұрын
Woohoo! exact i was looking for!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
My man, your on a roll today!
@M1L31
@M1L31 3 жыл бұрын
@@EverythingSmartHome YOU are the guy who makes it possible - I was struggeling with my smart home since November last year - just found your channel and BOOM - 2 days and got all working - NICE!
@Usafle
@Usafle 3 жыл бұрын
I must be messing something up. My 'actionable buttons' only come up as the word NULL after the message notification. I checked and triple checked the whole {data: /actions: / -action:} code but still, comes up NULL after the message.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Hmm that is strange, have you checked your HA logs? That should tell you where you are going wrong
@Usafle
@Usafle 3 жыл бұрын
@@EverythingSmartHome You leave off one stupid quotation mark along the way and everything falls apart apparently. LoL Fixed. My fault. Thank you for the video.
@pedrotomaz5259
@pedrotomaz5259 4 жыл бұрын
Hello, is there anyone who has tried to send notifications from home assistant tts to android smartphone through the channel: alarm_stream? I did it for a few days, but I had to go back with a snapshot and I still hadn't recorded this automation and as much as I try now I can't do it at all !! Can anyone help? I have HA on windows.
@garysteo3398
@garysteo3398 4 жыл бұрын
Nice video. I assume the app on your phone will always have to be open
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks! No it works in the background if thats what you mean. So long as you don't disable the app manually you will receive the notifications at anytime. Hope that helps!
@xxPaulMxx
@xxPaulMxx 3 жыл бұрын
nice video .. but is not easy to reproduce in the 2021 versions , can we have an updated version please :D
@nigelholland24
@nigelholland24 4 жыл бұрын
cannot get this nto work i get the notiforcation but no picture alias: camera triggered description: '' trigger: - platform: state entity_id: binary_sensor.phillips_motion_sensor from: 'off' to: 'on' condition: [] action: - service: camera.snapshot data: filename: /config/www/cctv/shapshot.jpg entity_id: camera.ipcam_mainstreamprofile - service: notify.mobile_app_rmx2001 data: title: Dectection alert message: Dectection data: image: /config/www/cctv/snapshot.jpg clickaction: /lovelace/camera mode: single
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hi Nigel, you'll want to change the path, it should be "/local/cctv/snapshot.jpg"
@rob1971
@rob1971 4 жыл бұрын
Another really helpful video, thanks Lewis 👍🏻
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks Rob, very much appreciated 🙏
@rob1971
@rob1971 4 жыл бұрын
@@EverythingSmartHome I'm just getting started with Home Assistant and still looking for things to automate and ways to do it, so finding your your videos very informative and inspirational.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Oh awesome, welcome to the amazing world of Home Assistant! Let me know if you have any suggestions for what you want to see
@rob1971
@rob1971 4 жыл бұрын
@@EverythingSmartHome I've been using the Loop system to get my electricity and gas usage readings into HA, but Loop are shutting down the older platform later this month meaning I'll have no way to access the informtation anymore. I'm due to get smart meters installed in about a month and have read in a few places that it's possible to pull the data from them into HA. I'd imagine quite a few other folks would like to be able to view their energy usage in HA, so perhaps that's a topic worth exploring?
@dablet
@dablet 4 жыл бұрын
very helpful. thank you!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you for watching!
@giordanogobbo
@giordanogobbo 4 жыл бұрын
Amazing ! Thanks a lot!
@sshlomi
@sshlomi 4 жыл бұрын
Thanks so much for the video. You can make a video How can this be done in telegram? Most of the KZbin videos on HA & Telegram are very basic and I am looking for something more advanced. Again, thank you so much great channel!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Sure, telegram is nice to use also!
@marclievens9864
@marclievens9864 4 жыл бұрын
Nice video. Thx
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks for watching!
@vcrahul
@vcrahul 3 жыл бұрын
Man you're the best
@irtibatkisileri222
@irtibatkisileri222 2 жыл бұрын
with a kid at home it takes months to finalize an automation. : )
@waelkambris6188
@waelkambris6188 3 жыл бұрын
Amazing videos....just slow down a bit so we can follow the steps
@HetH92
@HetH92 3 жыл бұрын
pause option ?
@ahmedzaki2668
@ahmedzaki2668 4 жыл бұрын
you are doing amazing videos. I was waiting for this video to check my notification configuration for the Doods camera. It's the same as you but not working. I can get a live stream from the same camera but not Doods alias: person detected description: send a notification and switch on 1f hall light when a person detected trigger: - platform: state entity_id: image_processing.doods_entrancemjpeg attribute: total_matches from: '0' condition: [] action: - service: notify.mobile_app_zaki data: title: person detected message: a person has been detected in your entrance data: attachment: url: /config/www/doods/doods.jpg entity_id: camera.doods_cam mode: single
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you, appreciate the support! Try using a template as the state instead: {{ state_attr('image_processing.doods_cam', 'total_matches') | int > 0}}
@ahmedzaki2668
@ahmedzaki2668 4 жыл бұрын
@@EverythingSmartHome Thanks for the hint. I will try it and lit you know 🙏🏻
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Please do, hope it works!
@ahmedzaki2668
@ahmedzaki2668 4 жыл бұрын
@@EverythingSmartHome my dear. no words can explain how I appreciate your effort. thank you. it did work. but can't get the image. only basic notification. alias: person detected description: send a notification and switch on 1f hall light when a person detected trigger: - platform: template value_template: >- {{ state_attr('image_processing.doods_entrancemjpeg', 'total_matches') | int > 0}} condition: [] action: - service: light.turn_on data: {} entity_id: light.d21_4f_hallway - service: notify.mobile_app_zaki data: title: 人間を監視しました。 message: 玄関に人がいま す。 data: attachment: url: /config/www/doods/doods.jpg url: /lovelace/test mode: single
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Please change image path to "/local/doods.jpg" - the www folder is translate to the local folder
@zp3727
@zp3727 4 жыл бұрын
Wooow nice!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you!
@apaex1
@apaex1 3 жыл бұрын
Great!!!
@MaxGoddur
@MaxGoddur 3 жыл бұрын
I explained this to someone in this fashion. If you are going through the steps for setting up notifications and do not see the notify.mobile then you have not setup your mobile phone with the mobile app. This is what creates the notify.mobile_xxx_xxx that is shown in the video. If you don't set up the mobile app then notify.mobile_xxx_xxx in the step shown will not appear. Got it working with some help.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
That's right yep
@Huy0035
@Huy0035 3 жыл бұрын
@1:29 So this isnt an everything you need to know guide? lol
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
How to setup the app isn't related to notifications, since it does far more than notifications. Also, how did you manage to ignore the pinned comment saying that there is an updated video? lol
@Huy0035
@Huy0035 3 жыл бұрын
@@EverythingSmartHome just messin with ya. Cheers.
@Huy0035
@Huy0035 3 жыл бұрын
@@EverythingSmartHome actually I was hoping to find out how to integrate my android device in home assistant. Ill check out that pinned comment. Thanks!
@DavePawson
@DavePawson 3 жыл бұрын
Rather (too) hurried for me? Please slow down.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Check the pinned comment on this video, there is an updated guide :) also, feel free to use the slow motion button..
@scout-ww4ck
@scout-ww4ck 3 жыл бұрын
um......the 9:48 ''' actionName: "NO_MATTER_WHAT_YOU_PUT_IN_CONFIGURATION.YAML 8:56 ______THIS_MUST_BE_UPPER_CASE!!!!!!!!" ''' wasted lots of time on this LOL
@kwclarksr
@kwclarksr 2 жыл бұрын
medical alerts
This is SO Much Better! Getting Started with ESPHome 2021
29:42
Everything Smart Home
Рет қаралды 340 М.
11 Essential Tips For Home Assistant Beginners!
14:49
Everything Smart Home
Рет қаралды 112 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Watch Out For FAKE iPads... They're Impressive
14:09
Phone Repair Guru
Рет қаралды 66 М.
Local Smart Home Voice Control Is AMAZING
22:52
Everything Smart Home
Рет қаралды 58 М.
ChatGPT in Home Assistant for LESS than $0.01 a DAY!!!
19:30
Daniel Barczak
Рет қаралды 885
Home Assistant Actionable Notifications on iOS AND Android
10:30
Everything Smart Home
Рет қаралды 105 М.
This Just Made Face Recognition So Much Better!
12:28
Everything Smart Home
Рет қаралды 117 М.
5 FRONTEND HACS (Cards and Elements)
26:31
Mark Watt Tech
Рет қаралды 137 М.
🔴SECRET Firestick Master CODE ! - GET ALL APPS !
8:29
TechDoctorUK
Рет қаралды 26 М.
6 ESSENTIAL Beginner's Tips After Installing Home Assistant
10:49
Everything Smart Home
Рет қаралды 171 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН