 | ZWManagerSetNodeLocation Method |
Set the location of a node.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic void SetNodeLocation(
uint homeId,
byte nodeId,
string location
)
Public Sub SetNodeLocation (
homeId As UInteger,
nodeId As Byte,
location As String
)
public:
virtual void SetNodeLocation(
[InAttribute] unsigned int homeId,
[InAttribute] unsigned char nodeId,
[InAttribute] String^ location
) sealed
Parameters
- homeId
- Type: SystemUInt32
The Home ID of the Z-Wave controller that manages the node. - nodeId
- Type: SystemByte
The ID of the node to query. - location
- Type: SystemString
A string containing the node's location.
RemarksThe node location is a user-editable string that would normally be handled by the Node Naming
commmand class, but many devices do not support it. So that a node can always report its
location, OpenZWave stores it with the node data, and provides access through this method
and GetNodeLocation, rather than reporting it via a command class Value object.
If the device does support the Node Naming command class, the new location will be sent to the node.
See Also