I will use this for my GreenHouse Irrigation project. A message when watering is going to on, a message when going to Off, amd a message if on for more than 40 minutes. Great Video.
Finally a clear example how to use a single automation that covers multi triggers and associated actions using "choose". Thank you kindly. This will definately help reduce the number of automation I have.
Thanks for the great video. I used your video and created an automation to announce on Google speaker via the cloud that the door is open, uit works however I want it to repeat till the door is closed. Like yours , how can you make it repeat the message till the door is closed , thanks
Thanks for the comment! Mine doesn't repeat it unfortunately. There is a way of doing it but a bit different way. HA has Alerts integration - that one is great for forgotten doors and windows - it will nag you about it until you close it. th-cam.com/video/KzPy3zeDB5g/w-d-xo.html - this is a bit older video I made, but it should still work.
Excellent video! I didn't realize how powerful they were until I saw your video and implemented them myself. I've cut the number of automations I had in half simply by using trigger ID's.
Thanks for the walk-through; it helped me get the concept. The next thing we need is the ability to "roll up" an action/condition sequence. if you have multiple actions with multiple conditions on each it can be easy to get lost. The trace navigation is awesome if you are comfortable with YAML.
@BeardedTinker Thanks for explaining how to use Trigger ID's. It has been a great help for me. I tried using a Condition like yours to detect when my phone was not_home, but it doesn't seem to work anymore. Maybe since recent updates? It wouldn't work with Condition Type: State. Instead I had to use the following: Condition type Device
Yes, my bad. This state is specific to tracker used - tado smart heating. It creates sensor with home / not_home state. You can use whatever you have as device/person tracker.
Great video i learn fast this way. I saw you use chat, is that a manor to see what we send to thwhome assistant ? is there anywhere some documentation for that.
Synology Chat is just on of the possible notification services where you can receive messages from Home Assistant. Here is video on it I made th-cam.com/video/0Reyu1HVyCc/w-d-xo.html There are a lot others available.
Thank you very much Andrew!! Not quite sure I understood the question. But if you have 3 different trigger ids, you could for each on create few choices in action. For example for each trigger, you can create first trigger action with condition "not home", and this will be checked first, next choice option would be with no condition for same trigger id. Then follow same thing, trriger ID 2 wit condition "not home", after that trigger id 2 without any conditions and so on. That would create total of 6 actions, each working differently based on whether you are home or not. There is also possibility to create default action that would be triggered if there is no specific condition that can be met in actions. Hope I managed to explain it 😃
Only had the problem in the German version to select the correct action, also to be able to select the ID. A little tip: use "Wenn-Dann" in the German version. Looks different in the UI after two years but still works the same. Thanks for that.👍😎 Übersetzt mit DeepL 🤪
Aaaaah, NOW I understand... Thanks for a very fine explanation - [Thumbs-Up] Did not catch the idea and practical use in the release-party (probarbly England-Denmark match had stolen my attention ;-) )
Great walkthrough but appears broken in the latest version, door open works but doesn't continue timing for forgotten or away. EDIT: I went back through the video and edited my automations and made a couple changes. Your video works as intended, found my mistake, automation works very well now.
Haven't noticed it - will have to test and see. But you should watch out for one thing - trigger id should be set in such a way that "default" state is last one, as it will stop processing automation after first condition is met.
You can combine trigger id with conditions - that way, one trigger can be matched against few conditions and if not, last trigger id without condition would be one triggering it. I've tested same trigger with 3 conditions and it works, you just need to be careful on how you set it up - again, first one it matches will be triggered.
@@BeardedTinker Yes, true, but you have to do the exact match, and can't use the more than 1 trigger ID. Next step should be rebuild automation config screen cause it becomes harder and harder build long automations. Today I did one of 8 trigger Ids, and my eyes have been lost 15 times... is this the reason for what the users install NodeRed!
@@EnricAragorn I don't use Node Red for any of my automation. Currently, all are inside Home Assistant, but I definitely agree that with added complexity using UI is really hard. Although I use UI just when recording videos, usually I do everything directly in YAML file.
@@BeardedTinker Yes, programing the code straight on the editor is the point. I learned C, Pascal, Cobol, Clipper, ASM, SQL, and some other languages 20 years ago. Nowadays I cannot understant Yaml! :S I like your channel dude, keep uploading good quality content, please! Have a nice xmas day!
Thank you so much for this clear example for using trigger ID's. Previously to turn things on or off, I either had to use 2 automations or mess with service templates. This will help me cut down on my automations and make them easier to follow.
I will use this for my GreenHouse Irrigation project.
A message when watering is going to on, a message when going to Off, amd a message if on for more than 40 minutes.
Great Video.
Thanks Per! This really does make it a bit easier to do more complex automation, yet easy to track them.
Finally a clear example how to use a single automation that covers multi triggers and associated actions using "choose". Thank you kindly. This will definately help reduce the number of automation I have.
Thank you Paul! Glad it was interesting. I still have to implement that at my own setup and reduce number of automation.
Today I discovered Trigger ID's, they look amazing.
Tomorrow I will try them out. Many thanks for your excellent video BT.
Glad you like it. Trigger IDs can really help improve automation.
Nice update. Hopefully should be able to clean up how many automations I have!
That will be harder part 😂. But I like how I can more easily fork them now and even add automation just but playing with additional triggers
Thanks for the great video. I used your video and created an automation to announce on Google speaker via the cloud that the door is open, uit works however I want it to repeat till the door is closed. Like yours , how can you make it repeat the message till the door is closed , thanks
Thanks for the comment! Mine doesn't repeat it unfortunately. There is a way of doing it but a bit different way. HA has Alerts integration - that one is great for forgotten doors and windows - it will nag you about it until you close it. th-cam.com/video/KzPy3zeDB5g/w-d-xo.html - this is a bit older video I made, but it should still work.
Excellent video! I didn't realize how powerful they were until I saw your video and implemented them myself. I've cut the number of automations I had in half simply by using trigger ID's.
Thanks!!! Yes, and just adding additional conditions in options a lot more stuff is possible.
same
Great video, thank you! This is better to understand than the actual documentation :D !
Andre, thank you for the comment - glad you liked the video!
That is a good future. I loo forward to set up some of my old automation. Thanks for the video.
Adi thanks! Yes, I still have to change mine, but I' already know it will be a bit simpler then now with Trigger ID.
Fantastic. Thanks for explaining so clearly.
Subbed.
Thank you desparky! Much appreciated!!!
Thank you for this nice clarify of the documentation , keep going
Thank you Mustafa, glad you liked it
Thank you, makes much more sense to me then the documentation does
Thank you big-ted! Glad you find it useful!
Thanks for the walk-through; it helped me get the concept. The next thing we need is the ability to "roll up" an action/condition sequence. if you have multiple actions with multiple conditions on each it can be easy to get lost. The trace navigation is awesome if you are comfortable with YAML.
Thank you Erica! Much appreciated
Yes, it would really help to be able to somehow group them for easier tracing.
@BeardedTinker Thanks for explaining how to use Trigger ID's. It has been a great help for me.
I tried using a Condition like yours to detect when my phone was not_home, but it doesn't seem to work anymore. Maybe since recent updates?
It wouldn't work with Condition Type: State. Instead I had to use the following:
Condition type
Device
Device
SM-G973F
Condition
SM-G973F is not home
Yes, my bad. This state is specific to tracker used - tado smart heating. It creates sensor with home / not_home state.
You can use whatever you have as device/person tracker.
Great video i learn fast this way.
I saw you use chat, is that a manor to see what we send to thwhome assistant ?
is there anywhere some documentation for that.
Synology Chat is just on of the possible notification services where you can receive messages from Home Assistant. Here is video on it I made th-cam.com/video/0Reyu1HVyCc/w-d-xo.html
There are a lot others available.
Really good video! Have subbed 😁
How would you add the option to notify you regardless of whether you are home or not for the later trigger types?
Thank you very much Andrew!!
Not quite sure I understood the question.
But if you have 3 different trigger ids, you could for each on create few choices in action. For example for each trigger, you can create first trigger action with condition "not home", and this will be checked first, next choice option would be with no condition for same trigger id.
Then follow same thing, trriger ID 2 wit condition "not home", after that trigger id 2 without any conditions and so on.
That would create total of 6 actions, each working differently based on whether you are home or not.
There is also possibility to create default action that would be triggered if there is no specific condition that can be met in actions.
Hope I managed to explain it 😃
@@BeardedTinker Thanks so much for the advice. Will give it a go 😁
Only had the problem in the German version to select the correct action, also to be able to select the ID. A little tip: use "Wenn-Dann" in the German version. Looks different in the UI after two years but still works the same. Thanks for that.👍😎
Übersetzt mit DeepL 🤪
Aaaaah, NOW I understand... Thanks for a very fine explanation - [Thumbs-Up]
Did not catch the idea and practical use in the release-party (probarbly England-Denmark match had stolen my attention ;-) )
Glad you find it useful!!! Yeah, next time HA team shouldn't time releases during Euro Cup :)
Thanks for the explanation, I reduced my automations from 119 to 85 :-)
Glad you like it. I'm still in the process of converting, but for some ZigBee buttons it's now 1 automation versus 4 that were before 😂
Great walkthrough but appears broken in the latest version, door open works but doesn't continue timing for forgotten or away.
EDIT: I went back through the video and edited my automations and made a couple changes. Your video works as intended, found my mistake, automation works very well now.
Haven't noticed it - will have to test and see.
But you should watch out for one thing - trigger id should be set in such a way that "default" state is last one, as it will stop processing automation after first condition is met.
I think than the trigger IDs are not well solved as a automation solution. Once 1 trigger matches, all the res are not checked.
You can combine trigger id with conditions - that way, one trigger can be matched against few conditions and if not, last trigger id without condition would be one triggering it. I've tested same trigger with 3 conditions and it works, you just need to be careful on how you set it up - again, first one it matches will be triggered.
@@BeardedTinker Yes, true, but you have to do the exact match, and can't use the more than 1 trigger ID.
Next step should be rebuild automation config screen cause it becomes harder and harder build long automations. Today I did one of 8 trigger Ids, and my eyes have been lost 15 times... is this the reason for what the users install NodeRed!
@@EnricAragorn I don't use Node Red for any of my automation. Currently, all are inside Home Assistant, but I definitely agree that with added complexity using UI is really hard.
Although I use UI just when recording videos, usually I do everything directly in YAML file.
@@BeardedTinker Yes, programing the code straight on the editor is the point. I learned C, Pascal, Cobol, Clipper, ASM, SQL, and some other languages 20 years ago. Nowadays I cannot understant Yaml! :S I like your channel dude, keep uploading good quality content, please! Have a nice xmas day!
Thank you very much for the nice words! And have safe and peaceful Christmas 😉
Thank you so much for this clear example for using trigger ID's. Previously to turn things on or off, I either had to use 2 automations or mess with service templates. This will help me cut down on my automations and make them easier to follow.
Glad it helped - had same problem, although still need to update a lot of automation to include trigger id.
Great video, thanks for such good, thorough and articulated explanation! You should work on HA Academy :). Keep up the good work!
Thank you Andrej (btw, we share same first name) really glad you found it useful! 😊
@@BeardedTinker Pozdrav iz Slovenije! :)
Hvala i pozdrav iz Hrvatske 😉
the sound is not good I am quite disappointed
Sorry about that, new mic and .... It happens! 😉