Updated TuyaMCU (markdown)

Shantur Rathore 2019-10-11 12:27:15 +01:00
parent f95ea96849
commit b91515f307
1 changed files with 2 additions and 8 deletions

@ -107,7 +107,8 @@ TYA: FnId=21 is set for dpId=2
TYA: RX Dim State=7 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 <Min>,<Max>` where `<Min>` is the minimum dimmer state and `<Max>` 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. 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. 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 ### Setting up Switches
For switches we need to For switches we need to
1. Configure the number of relays. 1. Configure the number of relays.