Updated TuyaMCU (markdown)

blakadder 2019-10-28 12:59:22 +01:00
parent 5ad397946d
commit 1b0c4a11da
1 changed files with 10 additions and 0 deletions

@ -112,6 +112,16 @@ There are 4 different commands, one for each [data type](#data-type-table).
- `TuyaSend4` -> Sends enum (Type 4) data (`0/1/2/3/4/5`) to dpId (Max data length 1 bytes)
> `TuyaSend4 103,2` sends value `2` to dpId=103 to set fan speed to high
<a id="data-type-table"></a>
#### Data Type
|Hex|Tasmota Command|Decription|Max length|
|---|---|---|---|
|0x01|TuyaSend1|boolean data `0/1`|1 byte|
|0x02|TuyaSend2|value data. If a value contains less than 4 bytes, 0 is supplemented before|4 bytes|
|0x00|TuyaSend3|string data|unknown|
|0x04|TuyaSend4|enum data `0/1/2/3/4/5`|1 byte|
|0x05|###|fault data, report only|8 bytes|
# TuyaReceived
**Requires latest development version, not supported in 6.7.1**