Device Configuration
If your switch is activating itself, you may need to run the following commands to decouple the sensors from the relay.
SwitchMode1 2
SwitchMode2 1
SetOption114 1
Once the switch is communicating via MQTT and is in Home Assistant, you’ll want to rename the sensors, currently listed as Switch1 and Switch2. Rename Switch1 as “<device name> Motion” and set the “Show as” field to Motion. Do the same thing for Switch2, the light sensor.
Templates
{"NAME":"CloudFree SWM1","GPIO":[32,0,0,0,0,160,0,0,224,576,161,0,0,0],"FLAG":0,"BASE":18}
Home Assistant Entities
Caleb Pryor (verified owner) –
These switches are magically good. Extremely high re-fire rate on the motion sensor.
I get a motion sensor showing up in tasmota along with controls of the switch with multi-press options for cool features:
With the default template provided with the switch I added the following commands to get the result I wanted:
backlog SwitchMode1 2; SwitchMode2 1; SetOption114 1
backlog Rule1 ON button1#state DO power1 toggle ENDON ON switch1#state=1 DO backlog power1 1; ruletimer1 300 ENDON ON rules#timer=1 DO power1 0 ENDON ON power1#state=0 DO ruletimer1 0 ENDON
Matt (verified owner) –
Really fast response on motion. Button has a good feel to it. I wish it had a second button!
Dre (verified owner) –
Fantastic little switch.