Logo
Gosund P1 Power Monitoring Power Strip
EU
Model reference: P1
Gosund P1

Available from:
Amazon.de
Alzashop.com
Banggood.com


Manufacturer:
Alibaba.com

Install method:
Tuya-Convert

GPIO #Component
GPIO00 None
GPIO01 CSE7766 Tx
GPIO02 LedLink
GPIO03 CSE7766 Rx
GPIO04 None
GPIO05 Relay4i
GPIO09 None
GPIO10 None
GPIO12 Relay2
GPIO13 Relay3
GPIO14 Relay1
GPIO15 None
GPIO16 Button1
FLAG Analog
Configuration (old version)
{"NAME":"Gosund_P1","GPIO":[0,145,157,146,0,32,0,0,22,23,21,0,17],"FLAG":1,"BASE":18}
For more accurate energy consumption measurements this device requires power monitoring calibration.

Tuya-Convert might not be possible for this device since the template was added (2020-04-18). 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.

Main device button is used to control the on/off of the USB ports and for that we need to setup a rule, otherwise the button will control the first relay instead.

Rule1
  ON Button1#State DO Power4 2 ENDON

And enable it with Rule1 1

3 analog buttons also need a rule to control the relays, I’ve used range because the values have been stable.

Rule2 
  ON Analog#A0div10<30 DO Power3 2 BREAK 
  ON Analog#A0div10<60 DO Power2 2 BREAK 
  ON Analog#A0div10<80 DO Power1 2 ENDON

Relation of analog button

Then enable it with Backlog Rule1 1; Rule2 1; Rule2 5

Serial flash

internals internals