Available from:
Cloudfree.shop
Install method:
Tasmota pre-installed
GPIO # | Component |
---|---|
GPIO00 | Button 1 |
GPIO01 | None |
GPIO02 | None |
GPIO03 | None |
GPIO04 | None |
GPIO05 | Switch 1 |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Relay 1 |
GPIO13 | LedLinki |
GPIO14 | Switch 2 |
GPIO15 | None |
GPIO16 | None |
GPIO17 | None |
{"NAME":"CloudFree SWM1","GPIO":[32,0,0,0,0,160,0,0,224,576,161,0,0,0],"FLAG":0,"BASE":18}
To expose the motion and daylight sensors to Home Assistant, these commands are used:
SwitchMode1 2;
SwitchMode2 1;
SetOption114 1
Sensors are decoupled by default. SwitchMode1 2
sets the motion sensor to inverted-follow,
which results in the switch showing on
when motion is detected. SwitchMode2 1
sets the
ambient light sensor to follow, so on
represents light detected. And SetOption114 1
sends
the switch status via MQTT. The button will still operate the relay.