Not entirely sure I know what you’re trying to achieve but the simple thing to understand is there are 4 possible commands that you can send to a Tasmota output
OFF – 0 – turn the output OFF
ON – 1 – turn the output ON
TOGGLE – 2 – if OFF turn ON, if ON turn OFF
BLINK -3 – flash the output
If you send an OFF to an output which is already OFF it will not change the state – it will just accept the command
If you send BLINK to an output which is already OFF it will blink the output ON for the BlinkTime length of time for the BlinkCount number of times then return to OFF.
From the sound of it just sending 0 will be enough.
Regards
Phil K
Sent from Mail for Windows
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/c61cd00c-bcbb-436e-8931-e4426c34f70cn%40googlegroups.com.
You set a GPIO as a relay, PWM, sensor, switch etc and it monitors the state.

To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/817bd9e2-727c-4e08-b938-f0421692de05n%40googlegroups.com.
The command for MQTT (or http) is cmnd/xxx/power1 3 or cmnd/xxx/power2 3.
You can detach the inputs from the outputs using SetOption114 1
While the inputs and outputs are ‘linked’ a switch input will maintain the output for as long as it is operated (much like a light switch).
If you detach the outputs you will lose the ability to monitor the status as easily.
Not exactly sure what you’re doing but you could have A1 & A2 (Alarm input) AS1 & AS2 (Alarm status output) and R1 & R2 (reset output)
A1 – D5 – Switch1
A2 – D6 – Switch2
AS1 – D7 – Relay1 – virtual but could drive status LED
AS2 – D8 – Relay2 - ditto
R1 – D1 – Relay3
R2 – D2 – Relay4
If you have 2 ESP8266s (one at the panel and one in your room) you can transmit the signal from the panel to your room – using LEDs on the room ESP8266 to indicate the panel status). You could then use buttons on the room ESP8266 to send the reset signal back to the panel to set/reset the alarm.
Regards
Phil K
Sent from Mail for Windows
From: Alwyn van Jaarsveldt
Sent: 12 March 2022 07:28
To: TasmotaUsers
Subject: Re: Noob - Tasmota - Press remote, but use separate pin as status
Hi Phil
So, I had some time to play with this mini-project last night and this morning.
What I have so far is that I have set up 2 pins that will "press" the remote control buttons, and I can trigger them using HTTP (I still need to figure out how to do this with MQTT though). I've set the BlinkCount to 1 and the BlinkTime to 5 so that the press is once for 0.5 seconds. This part is what I call my "output" side.
My configuration looks like this:
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/24ec209b-cec4-4ada-ac20-539f77b202aan%40googlegroups.com.