mirror of https://github.com/arendst/Tasmota.git
minor formatting
parent
cd9778e5e7
commit
3b706f3108
11
TuyaMCU.md
11
TuyaMCU.md
|
@ -34,15 +34,14 @@ The TuyaMCU command value consists of two comma separated parameters: FunctionID
|
||||||
```
|
```
|
||||||
TuyaMCU <fnId>,<dpId>
|
TuyaMCU <fnId>,<dpId>
|
||||||
```
|
```
|
||||||
where `<fnId>` is FunctionID and `<dpId>` is the DpId to map the function to.
|
where `<fnId>` is FunctionID and `<dpId>` is the DpId to map the function to.
|
||||||
|
- `TuyaMCU 11,1` maps Relay1 (FunctionID 11) to DpId 1.
|
||||||
|
|
||||||
If any existing entry with same `fnId` or `dpId` is already present, it will be updated to the new value.
|
If any existing entry with same `fnId` or `dpId` is already present, it will be updated to the new value.
|
||||||
|
|
||||||
If `fnId` or `dpId` is `0` the entry is removed.
|
Entry is removed when `fnId` or `dpId` is `0`.
|
||||||
|
|
||||||
If no parameters are provided `TuyaMCU` prints the current mapped values.
|
When no parameters are provided `TuyaMCU` prints the current mapped values.
|
||||||
|
|
||||||
- `TuyaMCU 11,1` - maps Relay1 (FunctionID 11) to DpId 1.
|
|
||||||
|
|
||||||
## Identification of FunctionIDs and DpIds
|
## Identification of FunctionIDs and DpIds
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue