mirror of https://github.com/arendst/Tasmota.git
Updated TuyaMCU (markdown)
parent
e4c1475ed6
commit
8991afeb4b
10
TuyaMCU.md
10
TuyaMCU.md
|
@ -112,16 +112,6 @@ 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` -> 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
|
> `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
|
# TuyaReceived
|
||||||
**Requires latest development version, not supported in 6.7.1**
|
**Requires latest development version, not supported in 6.7.1**
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue