1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-07 22:29:19 +00:00

ZWave: doc added to neighbour commands.

git-svn-id: https://svn.fhem.de/fhem/trunk@5639 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-04-25 06:45:14 +00:00
parent ddff26c5b4
commit 486143e27e
2 changed files with 16 additions and 4 deletions

View File

@ -645,6 +645,12 @@ ZWDongle_Ready($)
device upon reception of the answer. Used for previously included nodes,
see the nodeList get command below.</li>
<li>neighborUpdate<br>
Requests controller to update his routing table which is based on
slave's neighbor list. The update may take significant time to complete.
With the event "done" or "failed" ZWDongle will notify the end of the update process.
To read node's neighbor list see neighborList get below.</li>
</ul>
<br>
@ -665,6 +671,10 @@ ZWDongle_Ready($)
<li>nodeInfo<br>
return node specific information. Needed by developers only.</li>
<li>neighborList id<br>
returns the list of neighbor nodeIds of specified node.
Provides insights to actual network topology.
List includes dead links and non-routing neighbors</li>
<li>raw<br>
Send raw data to the controller. Developer only.</li>
@ -689,6 +699,8 @@ ZWDongle_Ready($)
</li>
<li>UNDEFINED ZWave_${type6}_$id ZWave $homeId $id $classes"
</li>
<li>ZW_REQUEST_NODE_NEIGHBOR_UPDATE [started|done|failed]
</li>
</ul>
</ul>

View File

@ -628,13 +628,13 @@ ZWave_Parse($$@)
} elsif($cmd eq "ZW_REQUEST_NODE_NEIGHBOR_UPDATE") {
if ($id eq "21") {
$evt = 'STARTED';
$evt = 'started';
} elsif ($id eq "22") {
$evt = 'DONE';
$evt = 'done';
} elsif ($id eq "23") {
$evt = 'FAILED';
$evt = 'failed';
} else {
$evt = 'unknown';
$evt = 'unknown'; # should never happen
}
}