Newer units come with a WBR3 module, in which case, it can be replaced with a ESP-12F module. In this case, use the template above that sets the TuyaTx/TuyaRx functions on GPIO1/GPIO3 respectively (it also incorporates the two TuyaMCU mappings described below).
`TuyaMCU 11,7` to move the relay to an uncontrollable dpId. WebUI toggle will have no effect.
`TuyaMCU 21,2` maps the position command to dimmer, will not update position state on its own without the following rule.
Feedback is sent on dpId 3 while the position is controlled using dpId 2. To have regular dimmer updates use:
```console Rule1 ON TuyaReceived#DpType2Id3 DO Dimmer %value% ENDON ```
Enable the rule with `Rule1 1`. The rule watches dimmer status dpId and forwards them to Dimmer command.
This setup might create some micromovements on reboot or certain value dimmer commands due to difference in how the MCU calculates position value!
## Functions `dpID 1` motor control: `0 = open / 1 = stop / 2 = close / 3 = conti