diff --git a/TuyaMCU.md b/TuyaMCU.md index f73a003e..c7803ac7 100644 --- a/TuyaMCU.md +++ b/TuyaMCU.md @@ -107,7 +107,8 @@ TYA: FnId=21 is set for dpId=2 TYA: RX Dim State=7 ``` -Now using the hardware buttons increase the dimmer to its maximum and observe the log. The `Dim State=XXX` shows the current dimmer level reported by MCU. Once the dimmer is at max, use this number. Now we need to tell Tasmota to use this as maximum. This controlled by [SetOption43](Commands#Setoption43). We can set it using `SetOption43 XXX` where `XXX` is the maximum dimmer state reported in logs. +Now using the hardware buttons increase the dimmer to its maximum and observe the log. The `Dim State=XXX` shows the current dimmer level reported by MCU. Once the dimmer is at max, note this number. Again using hardware buttons decrease dimmer to minimum and note the number for minimum. +Now we need to tell Tasmota to use maximum and minimum values. This controlled by [DimmerRange] command (Commands#DimmerRange). We can set it using `DimmerRange ,` where `` is the minimum dimmer state and `` maximum dimmer state reported in logs. Once set, try `dimmer 100` in the Console and check if the brightness of bulb is same is the same as when the maximum was set using hardware buttons. @@ -186,13 +187,6 @@ In the `RX Packet` we are interested in the 3 digits before last 2 digits. For e ``` 13. Power and current should change on dimming high / low. The Tasmota web UI should show power values now. -#### Dimming less than 10% -By default Tasmota blocks dimming less than 10% for dimmers. Some dimmers can handle less than 10% very well. - -1. Turn the dimmer to lowest using hardware button. -2. Check the `Dim state=` in logs to see what is the minimum. -3. If `Dim state` is less than 10% of maximum range that was set, you need to clear [SetOption69](Commands#Setoption69) by invoking `SetOption69 0`. - ### Setting up Switches For switches we need to 1. Configure the number of relays.