Replies: 3 comments 1 reply
-
Hi @spudwebb The
The driver itself has a 'local only' cache of a node' name and location, and will survive a reboot of the Node JS runtime (given its written to cache) So these values get updated regardless, even if setting HOWEVER, it will attempt to 'burn' (is that the right word) these values to the device itself if it supports the ability to hard write the values to the Devices memory - if setting You can see this check happening here in the Server that the .NET lib connects to:
I am more interested in this - The .NET Class instance of a Node should be updated (providing the the call to the server is successful) can you trace this call - to see if its successful? In theory there are these copies.
|
Beta Was this translation helpful? Give feedback.
-
Hi @marcus-j-davies, I now realize that my problem is specifically with ZWave JS UI, I expected my update calls to also update the name and location that are displayed in the ZWave JS UI page, but it seems that ZWave JS UI uses its own instance of name and locations that are saved in store/nodes.json and they do not use the ZWave JS Local cache version to populate those fields. I will create an issue in the ZWave JS UI project. |
Beta Was this translation helpful? Give feedback.
-
This issue has been fixed in ZWave JS UI, see zwave-js/zwave-js-ui#3591 |
Beta Was this translation helpful? Give feedback.
-
I'm trying to set the local name and location of a node from my application. Basically the fields you see in ZWave JS UI in the screenshot below
For that, I'm using the
ZWaveNode.SetName()
andZWaveNode.SetLocation()
methods from ZWaveJS.NET, but those calls seem to always try to update the name and location of the "Node Naming and Location" command class even if the device does not supports it, and even if the updateCC parameter is false, and more importantly they never update the local name and location properties.I don't know where the problem is exactly, any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions