LoraTap SC400W-EU
Curtain Switch

Available from:
Manufacturer:
Loratap.com
Flashed with:
Tuya-Convert
GPIO # | Component |
---|---|
GPIO00 | None |
GPIO01 | None |
GPIO02 | None |
GPIO03 | Button3 |
GPIO04 | None |
GPIO05 | Button1 |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Button2 |
GPIO13 | Relay2 |
GPIO14 | None |
GPIO15 | Relay1 |
GPIO16 | None |
FLAG | None |
Template
{"NAME":"Loratap SC400W","GPIO":[0,0,0,19,0,17,0,0,18,22,0,21,0],"FLAG":0,"BASE":18}
Tuya-Convert might not be possible for this device if the manufacturer started using newest Tuya firmware since this template was published (2020-03-29).
WARNING! LoraTap is using ESP8266 and Realtek Wi-Fi modules on same model devices. Check seller descriptions or contact them before buying!
As of August 2020 model SC400W-EU V3 does not have an ESP chip anymore.
# GPIO3 Button3 Pause
# GPIO5 Button1 Open
# GPIO12 Button2 Close
# GPIO13 Relay2 Close L2
# GPIO15 Relay1 Open L1
# ShutterMode 0 First relay: OFF/DOWN, Second relay: OFF/UP
SetOption80 1
ShutterRelay1
# interlock relays
Backlog Interlock 1,2; Interlock ON
# turn off PulseTimes (just in case they were previously enabled)
Backlog PulseTime1 0; PulseTime2 0
# assign UP and DOWN buttons
Backlog ShutterButton1 1 up 1; ShutterButton1 2 down 1
# durations: opening takes 5 seconds, closing takes 4 seconds
Backlog ShutterOpenDuration1 44; ShutterCloseDuration 41
# enable pause button
Rule1 on Button3#state do ShutterStop1 endon
Rule1 1