**************************************************************
Chris Kaltsos(Χρήστος Κάλτσος)
Electronic Engineer (B.Sc.)
MSc in Ubiquitous Computing
Internet of Thing ( IoT ) Specialist
Mobile: +306971567588
e-mail: chris.f...@gmail.com
**************************************************************
--
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/234ed7b6-1301-4754-953e-1272ea826b88n%40googlegroups.com.
As I said try PulseTime you don’t need a Rule to achieve what you want pulsetime 5 will turn the relay off after 500ms.
Blink is sometimes a better option as it uses power1 3 as a trigger. If sometimes you want a device to stay on you can send power1 1 but if you want it to stay on for a minute you can set BlinkCount 1 and BlinkTime 600 and send the command power1 3.
The issue maybe using a Button. You said earlier that you are using a PIR. A Button ‘toggles’ the Relay - a Switch only operates the Relay when it’s closed. If the PIR has an adjustable on time adjust it to the minimum.
You are also better to use power1 1 and power1 0 rather than just power. You should probably insert a delay in the Rule too.
Regards
Phil K
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/11e78790-c407-4f3e-af73-20e48b941653n%40googlegroups.com.