Teepao Curtain Switch

Available from:

GPIO #Component
GPIO00 LedLinki
GPIO01 Led3i
GPIO02 Relay3
GPIO03 Button2
GPIO04 Relay2
GPIO05 Button3
GPIO09 None
GPIO10 None
GPIO12 Led1i
GPIO13 Relay1
GPIO14 Led2i
GPIO15 None
GPIO16 Button1
Configuration (old format, will be converted to new template when applied)
Requires configuring shutter support.

Tested with tasmota (sonoff.bin) on 5 teepao. And tested on tasmota 8.5.1 (tasmota.bin) on 2 teepao. Also working fine for the 5 teepao upgraded from (sonoff.bin) to 8.5.1 (tasmota.bin) => trough OTA upgrade!.

  • All 3 buttons light blue 24/7 => if someone has an improvement to avoid it, feel welcome to propose it!
  • Top button blink blue when registering an order,
  • Bottom or Top button light red during movement, and stop immediatly when the position is reached,
  • Stop button is working perfectly (blink red when pressed).
template {"NAME":"Teepao","GPIO":[158,58,23,18,22,19,0,0,56,21,57,0,17],"FLAG":0,"BASE":18}
module 0
interlock on
interlock 1,2,3
PulseTime1 0
PulseTime2 0
PulseTime3 1
sleep 0
setoption80 1
setoption81 1
PowerOnState 0
SetOption1 1
ButtonTopic 1
switchmode3 5
setoption61 1
restart 1

Backlog command (one ring to control them all):

Backlog template {"NAME":"Teepao","GPIO":[158,58,23,18,22,19,0,0,56,21,57,0,17],"FLAG":0,"BASE":18}; module 0; interlock on; interlock 1,2,3; PulseTime1 0; PulseTime2 0; PulseTime3 1; sleep 0; setoption80 1; setoption81 1; PowerOnState 0; SetOption1 1; ButtonTopic 1; switchmode3 5; setoption61 1; restart 1

Don’t forget to configure durations !

shutteropenduration 21
shuttercloseduration 20