Page 1 of 1
ID of zwave devices
Posted: Wednesday 02 October 2019 9:33
by ropske
Hi,
does anyone has a list of what ID's has what kind of function of zwave devices?

- 9.jpg (159.84 KiB) Viewed 501 times
is there also an idea to know what ID is linked to what hardware?
sometimes very diffycult to know what ID is linked to what device
thanks
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 9:55
by jvdz
A patch was made to make this easy to figure but reverted due as "not needed".
A compromise was reached by highlighting the ZWAVEID in de Device ID column in de Devices view.
See the detailed discussion:
https://github.com/domoticz/domoticz/co ... 17e275f09b
Jos
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 10:27
by ropske
So how can we see the highlighted id?
Thank you
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 11:44
by jvdz
I should show up in the Devices list for the ZWAVE devices in the standard theme as shown in the thread I pointed you to.
I can't check whether that is still the case or not as I am not running any of the recent versions, but in your list it seems to be missing.
Jos
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 12:16
by ropske
I'm running now V4.10717 and default theme, but it is not in anymore it seems
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 12:35
by jvdz
I am sorry to see this rather simply patch I made has met so much objection. There are several threads in this forum about it and a couple in Github, where you can see how many have argued for having this patch in but it aint happening. You probably seen I sort-of gave up arguing.
I will simply apply a patch to each new release I load to facilitate this for myself.
Jos
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 13:50
by ropske
Can i install your patch manually? And if yes, how todo it?
Thank you
Re: ID of zwave devices
Posted: Wednesday 02 October 2019 14:27
by jvdz
This is the original thread where the proposal was posted and further discussed:
https://www.domoticz.com/forum/viewtopi ... 36#p163786 and resulted in this initial pull request with these code changes:
https://github.com/domoticz/domoticz/pull/2033/files
This patch will show the ZWAVEID in HEX behind the DeviceID.
It was then changed to Highlight by this patch:
https://github.com/domoticz/domoticz/pull/2664/files.
I haven't installed the 4.**** version as yet as my current setup is rocksolid. My test system is running 4.10262, but it seems changes were made after that version to the filestructure as the file /www/app/DevicesController.js doesn't exist anymore in the latest Beta.
A quick search found that in file www/app/Devices.js line 255 contains the part that was modified originally in the second patch:
Code: Select all
var ID = device.ID;
if (typeof(device.HardwareTypeVal) != 'undefined' && device.HardwareTypeVal == 21) {
if (device.ID.substr(-4, 2) == '00') {
ID = device.ID.substr(1,device.ID.length-2) + '<span class="ui-state-default">' + device.ID.substr(-2, 2) + '</span>';
} else {
ID = device.ID.substr(1,device.ID.length-4) + '<span class="ui-state-default">' + device.ID.substr(-4, 2) + '</span>' + device.ID.substr(-2, 2);
}
}
So I have no idea why it doesn't highlight for you, but you could try to check in Chrome with the developer mode (F12) and check out the generated source for the page/device to see if it is there. Also check if the class "ui-state-default" is still valid and different from the rest of the formatting.
Jos