diff --git a/TuyaMCU.md b/TuyaMCU.md index 8d08471a..35c1c0df 100644 --- a/TuyaMCU.md +++ b/TuyaMCU.md @@ -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 + +#### 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**