mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
36_KeyValueProtocol: corrected commandRef
git-svn-id: https://svn.fhem.de/fhem/trunk@13540 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
068dae0914
commit
68d9856d03
@ -231,17 +231,17 @@ sub KeyValueProtocol_Parse($$) {
|
|||||||
<a name="KeyValueProtocol_Attr"></a>
|
<a name="KeyValueProtocol_Attr"></a>
|
||||||
<b>Attributes</b>
|
<b>Attributes</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Dictionary<br>
|
<li>Mapping<br>
|
||||||
The Dictionary attribute can optionally be used to translate the Keys.<br>
|
The Mapping attribute can optionally be used to translate the Keys.<br>
|
||||||
The format is: ReceivedKey1=NewKey1,ReceivedKey2=NewKey2, ...<br>
|
The format is: ReceivedKey1=NewKey1,ReceivedKey2=NewKey2, ...<br>
|
||||||
The Sketch can then send short Keys, which will get translated to long names.<br>
|
The Sketch can then send short Keys, which will get translated to long names.<br>
|
||||||
Example: attr myKVP Dictionary T=Temperature,H=Humidity<br>
|
Example: attr myKVP Mapping T=Temperature,H=Humidity<br>
|
||||||
If the sketch then sends: OK VALUES T=12,H=70<br>
|
If the sketch then sends: OK VALUES T=12,H=70<br>
|
||||||
you will get the readings Temperature and Humidity with the Values 12 and 70<br>
|
you will get the readings Temperature and Humidity with the Values 12 and 70<br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<a name="KeyValueProtocol_Readings"></a>
|
<a name="KeyValueProtocol_Readings"></a>
|
||||||
<b>Readings</b><br>
|
<b>Readings</b><br>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user