--
You received this message because you are subscribed to the Google Groups "SonoffUsers" 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/847daa21-3b4f-4862-994a-33f8520a70dc%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" 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/847daa21-3b4f-4862-994a-33f8520a70dc%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/847daa21-3b4f-4862-994a-33f8520a70dc%40googlegroups.com.
On Sun, 21 Jul 2019, 21:54 Christopher, <NasInf...@gmail.com> wrote:
--Hello!It is about the following problem:I would like to install an external button on my Sonoff 4CH R2 (tasmota 6.6.0).I would like to use GPIO2 for that. As far as I've read so far, this is anyway PullUP. Even if its not, that would be no problem to pull him up with a resistor.The bigger problem is the software solution.I'll give you a few guesses:- I have to define the button in the menu at GPIO2 as Switch5 (or 5n?).- the Switch5(n) has to setup as a toggle?- Then I have to create a rule that turns all lamps on / off when the external button is toggled.I also use the Sonoff 4ch via MQTT via ioBroker. Therefore, the default settings for the 4 switches should be preserved.Is there perhaps already a HowTo which I have not found so far?If not, how do I solve the software part?Are there better ideas?The background is: Even if my Raspberry Pi fails, I'd like to have the ability to turn on all the lights with a simple hardware push-button.A kind of emergency switch.Because the Sonoff himself sits in a hard to reach place.By the way, for me it may also be a switch instead of a button.I think a button is idiot-safe because of the FlashBoot.The chance that the button is pressed exactly in the moment when the Sonoff voltage is supplied is very unlikely. : DThank you for your help!
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
SwitchState5 1
Rule2 on switch5#state=1 do backlog power1 on; power2 on; power3 on; power4 on endon
Rule3 on switch5#state=0 do backlog power1 off; power2 off; power3 off; power4 off endon