From 326f3be17e68f173f5d341fbb2d077ef1d3bb8fe Mon Sep 17 00:00:00 2001 From: Gerard Sharp <43923557+SittingDuc@users.noreply.github.com> Date: Fri, 13 Sep 2019 19:20:52 +1200 Subject: [PATCH] added pin assignments on curtain motor --- TuyaMCU.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TuyaMCU.md b/TuyaMCU.md index 06f1b058..87de824f 100644 --- a/TuyaMCU.md +++ b/TuyaMCU.md @@ -260,12 +260,12 @@ there may first be a reply of 65 02 00 04 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?)