#Multiple Automation Queuing?
1 messages · Page 1 of 1 (latest)
I smell a XY Problem. what is your use case? what are you actually trying to do?
I have two seperate webhooks, and they can both be triggered at any time. One webhook tells a light to flash one color, the other tells it to do another color. Unfortunately I cannot combine the automations, as the method through which the webhooks are triggered externally is different.
The issue is sometimes the first webhook triggers a split-second before the second, and blocks the second one from running.
And vice-versa
it seems like you could combine the automations by setting trigger ID's on the independent triggers then use a choose block in the actions to perform different actions based on which trigger started the automation. then you could could a queued mode automation.
is there a reason you couldn't do that?
Oh, I didn't know that there can be multiple triggers. Duh. That seems obvious now.
you use the edit id in the overflow to add the ability to give a trigger an id
then in a choose block condition you use the "triggered by" condition
Yeah, I see it now. Thanks!
no worries, good luck with it!
as you learn more about what tools are available you will find it easier to make more complex automations as and when needed 🙂
Yeah, I setup a light to flash different colors depending on what priority IT ticket came into the ticketing system. It's pretty cool.
Webhooks are fun
should make one of these for it https://github.com/martinwoodward/octolamp
fun project and relevent to the job 🙂
Nice. I actually have a tiny christmas tree that I threw a neo-pixel strip around, and left it up year-round.
I also submitted a PR to espHome to allow MQTT over Websockets, to allow secure communication witha remote HomeAssistant server, as I wasn't able to run one locally in the IT room.
The funny bit is of all things, after submitting that code, working out the JSON and webhook systems, I missed that there can be multiple triggers... 🤣