added pin assignments on curtain motor

Gerard Sharp 2019-09-13 19:20:52 +12:00
parent f89a4bd33b
commit 326f3be17e
1 changed files with 4 additions and 4 deletions

@ -260,12 +260,12 @@ there may first be a reply of 65 02 00 04 <oldvalue.32> <chksum> before the moto
```
#### Tasmota
1. `module 54` # TuyaMCU
2. \# check or change GPIO assignments (need to double check this bit)
3. `tuyamcu 21,101` # declare curtain as a dimmer
1. `module 54` # TuyaMCU (will reboot)
2. `backlog gpio1 0; gpio3 0; gpio15 107; gpio13 108` # change GPIO assignments. The dongle uses gpio15 for U1TX and gpio13 for U1RX (will reboot)
3. `tuyamcu 21,101` # declare curtain as a dimmer (will reboot)
4. \# no idea what a good tuyamcu xx,102 is
5. \# no idea what a good tuyamcu xx,103 is
6. `setoption 69 0` # allow dimmer below 25% or 10%.
6. `setoption 69 0` # allow dimmer below 25% or 10%. (won't reboot)
With these settings, the `dimmer` command can adjust the curtain from 100% (closed) to 1% (almost fully open, 0% is the motor limit, but 1% is the Tasmota limit?)