Page 1 of 1

Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Wednesday 02 March 2022 10:18
by rezzalex
Hello,

I have successfully migrated from Openzwave to Zwavejs2mqtt.
I have 1st discovered all my nodes without any fancy names and location.
Now that I have entered this info in Zwavejs2mqtt Control Panel, I would like my devices to Automatically (if possible) change their ID with names and location.

I tried to play a bit with the "retain " parameter", both in section *MQTT" and "Home Assistant" of Zwavejs2mqtt settings, without success

thanks a lot.

regards

Re: Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Friday 11 March 2022 15:04
by Ragdag
Would like to have this as well, current;y the only way for me to achieve this is by deleting the Domoticz ZwaveJS2MQTT devices and let them auto import again.

Re: Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Tuesday 05 April 2022 13:07
by gizmocuz
How about you name the nodes with a correct name and location ? But maybe I don't understand it 100%...

Re: Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Sunday 24 April 2022 11:35
by rezzalex
Hello.

You are right, it seems names and location, when set in Zwaje2MQTT, are automatically replacing the precious discovered device names in DZ.

In DZ, I had to do some devices clean-up some days after, for removing the remaining wrong named devices.
Also, when performing this, there is probably some clean-up to do in MQTT retained topics, with MQTT explorer.

Re: Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Tuesday 20 September 2022 21:36
by roblom
If you rename a device in Zwave2MQTT after it is discovered in Domoticz, will it create a new device or does it rename the exciting one also in Domoticz after a rediscovery?

Re: Force Zwavejs2mqtt devices to change ID in domoticz, so that it can include name and location

Posted: Thursday 22 September 2022 12:56
by Ragdag
I've added a Feature Request for this here: https://github.com/domoticz/domoticz/issues/5342