Im changing my doorbell setup and I want to to the following.
Ik have a Wemos D1 flashed with Tasmota. It has 2 inputs, button1 and button2 and 2 outputs, relay1 and relay2.
It has connected a fire alarm siren to the outputs via a transistor.
I want the the relay1 turned on for 8 seconds if button1 is pressed.
I have used the command pulseTime1 108 for that’s and that works.
But… if button1 is presses within that 8 seconds again it toggles OFF. And that’s not what I want.
Is there a way to ignore button presses within the time te relay is on?
I’ve tried setOption40, but that dos not work.
I do want this to work from the Tasmota side, so if for some reason Mqtt is not working, the doorbell still functions.
I am not familiair with rules, so if you can get me some good examples, I will appreciate that.
Anyone find the answer to this? I’m also searching! For accuracy/synchronicity, I need to disable my button for one second each time it is pressed. My home assistant automation requires about one second to run, and will not keep up with multiple button presses within that time.