I think we have a problem here. I want to have a voice output when the speed is over 15 km/h and one of 4 doors is open, but only the first door works, all others are ignored.
Create a trigger for each door, so they all work perfectly.
but is not the ideal solution, and also triggers multiple times if several doors should be open
That’s how I’ll answer you. Without learning the logical operations and without reading the relevant literature, you can close the trigger menu and just ride with the light bulbs))Because you were really advised a very competent approach, but instead of listening and adapting the solution to suit yourself, you criticized it. My advice is to read a couple of books about logical combinations and construction algorithms.
What? Who are you all of a sudden?
If you please take the time to look at the screenshot, it’s correct, but it doesn’t work. I’m not criticizing anyone here. What’s wrong with you?
Dude, if you want all the doors to work, you’ll have to create a trigger and action for each door. The “AND” function adds triggers, the “OR” function activates the action by one or the other trigger. So create a trigger for each door and use the same action for all of them.
That’s how I did it, but if 2 doors are open, then 2 sounds are played at the same time, and that shouldn’t be the case, or should I use only one sound and not an individual sound for each door
Use the same action you did for all the doors. This way the sound will be the same.
I thought you could also assign the sounds individually, for example “driver’s door open” or “passenger door open”, that doesn’t seem to work
You can make individual sounds for each door, but if more than one is open the sounds will overlap, the ideal is to create a specific sound for all doors and on the dashboard create images specifying which door is open, text or both.
Well, this is not a closed discussion. It appears in the feed of the latest forum events. I don’t want to offend, but to advise. Triggers really don’t work as easily as they seem. That’s why they need to be studied. I’m sorry if I hurt your pride))
you think you wrote this:
vss1 and (door1 or door2 or door3 or door4)
but it turned out to be this:
vss1 and door1 or door2 or door3 or door4.
you only need to create two triggers, one to check the doors, the result of which is placed in a dummy-variable, and the second to compare the speed and this dummy-variable.
to fix the problem, I use additional variables and describe the operations in xml. for example, you have the id 5de section.