Smart Home Automation Forum

Full Version: coding support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
greetings,

I would like to do the followings
3 digital input and one digital output

the trouble that digital input 3 should be permissive low to activiate relay 1.
then I would  the software while the relay 1 is activiated, to monitor digital input 3.
if it is remain high, keep relay 1
if it is switch to low , de activate relay 1

if ( digital input 1 == high and digital input 2 == high and digital input 3 ==  low ( this is will be permissive signal ) )
digital output 1 == high

if ( digital input 1 = low and digital input 2== low )
digital output 1 == low

if ( digital input 3 == low )
delay 1 minute 
digital output 1 = low
you can download KCS firmware, set IFTTT. here is online guide of KCS v2: https://www.kincony.com/esp32-kcsv2-firmware.html