Page 1 of 1

Difference between device and element

Posted: 12 Mar 2017 20:47
by kenneth
It is a bit confusing for me to see the differences between devices and elements.
I have a node that has two buttons. I would call that for one device with two elements + one element for measuring battery. Would that be correct?
I also have one motionsensor device with 4 elements.

I get all devices and elements by api as showned on the picture, but I cannot see a relation between device and element.
I can see that the deviceId 4, is implemented in elementId ZWayVDev_zway_4-0-128. Is that the way they are related?

Perhaps devices and elements are not two different things, but how do I then know that the two buttons are related to "Remotec Scene Master"?

I hope you guys can help me.

Re: Difference between device and element

Posted: 14 Mar 2017 09:26
by PoltoS
Your assumption is correct.
The name of vDev ZWayVDev_Z_D-I-C-A have a well defined structure:
Z stands for Z-Way binding name
D for device Id (Z-Wave node Id)
I for instance Id in this device
C is the Comman Class Id
A is the additional type/scale/feature in Command Class