Logo
Brennenstuhl Connect Premium-Line Power Strip
EU
Model reference: WS PL01
Brennenstuhl Connect Premium-Line

Available from:
Reichelt.de




Manufacturer:
Brennenstuhl.com

Install method:
Tuya-Convert

GPIO #Component
GPIO00 Button 3
GPIO01 Button 2
GPIO02 None
GPIO03 Button 1
GPIO04 Relay 1
GPIO05 Relay 2
GPIO09 None
GPIO10 None
GPIO12 Led 1
GPIO13 None
GPIO14 Button 4
GPIO15 Led 2
GPIO16 LedLinki
GPIO17 None
Template
{"NAME":"WS PL01 DE","GPIO":[34,33,0,32,224,225,0,0,288,0,35,289,576,0],"FLAG":0,"BASE":18}
Tuya-Convert might not be possible for this device since the template was added (2021-05-16). All new Tuya devices have firmware preventing flash but it is still possible to Tuya-Convert old stock devices without connecting them to the Tuya app.

This ruleset will make the All ON/OFF and Learn button work. All ON/OFF is self-explaining. Pressing the Learn button will publishes a timestamp Json object to MQTT.

Backlog Rule1 ON Power1#Boot DO Add1 %value% ENDON ON Power2#Boot DO Add1 %value% ENDON ON Power1#state=1 DO Add1 1 ENDON ON Power1#state=0 DO Sub1 1 ENDON ON Power2#state=1 DO Add1 1 ENDON ON Power2#state=0 DO Sub1 1 ENDON ON Var1#state>1 DO Var2 0 ENDON ON Var1#state<2 DO Var2 1 ENDON ON Button3#state DO Power0 %var2% ENDON ON Button4#state DO Publish stat/%topic%/Learn {""timestamp"":""%timestamp%""} ENDON; Rule1 ON

https://github.com/Line40/Tasmota_Brennenstuhl_WS-EL01-DE