ID of zwave devices

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

ID of zwave devices

Post by ropske »

Hi,

does anyone has a list of what ID's has what kind of function of zwave devices?
9.jpg
9.jpg (159.84 KiB) Viewed 499 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
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ID of zwave devices

Post 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
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: ID of zwave devices

Post by ropske »

So how can we see the highlighted id?
Thank you
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ID of zwave devices

Post 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
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: ID of zwave devices

Post by ropske »

I'm running now V4.10717 and default theme, but it is not in anymore it seems
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ID of zwave devices

Post 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
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: ID of zwave devices

Post by ropske »

Can i install your patch manually? And if yes, how todo it?
Thank you
User avatar
jvdz
Posts: 2445
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: ID of zwave devices

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest