mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
36_KeyValueProtocol: corrected commandRef
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13540 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
693082f7c7
commit
f45f7a73be
@ -231,11 +231,11 @@ 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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user