This device has 3 endpoints in addition to the default association groups (endpoint 0?).
Endpoint 2-3 (buttons 2+3, instances 2+3 in zway) have these association groups:
* Group 1: Lifeline group, 0 nodes allowed.
* Group 2: basic on/off (triggered at change of the input I2 state and
* reflecting its state) up to 16 nodes.
* Group 3: Notification Report (triggered at change of the input I2 state
and reflecting its state) up to 16 nodes.
* Group 4: Binary Sensor Report (triggered at change of the input I2
state and reflecting its state) up to 16 nodes.
i want to use these two inputs for advanced scenes/logic , etc, i.e let zway do some actions when the buttons are pushed. I have tried associating the different groups (2-4) with node 1 (uzb1), but regardless of which group I use there is a problem with the endpoint/instance number reported: It is always 0.
Example:
1. I set up association for endpoint 3/Group 4 to zway:
http://192.168.1.34:8083/ZWave.zway/Run ... ].Set(4,1)
2. Logs confim that it worked:
Code: Select all
[2016-01-03 00:28:28.148] [I] [zway] Node 15:3 CC Association: Group 4 report
[2016-01-03 00:28:28.148] [D] [zway] SETDATA devices.15.instances.3.commandClasses.133.data.4.max = 16 (0x00000010)
[2016-01-03 00:28:28.148] [D] [zway] SETDATA devices.15.instances.3.commandClasses.133.data.4.nodes = byte[1]
[2016-01-03 00:28:28.148] [D] [zway] ( 01 )
Code: Select all
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.data.lastReceived = 0 (0x00000000)
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.instances.0.commandClasses.113.data.7.eventParameters = byte[0]
[2016-01-03 00:16:25.129] [D] [zway] ( zero-length buffer )
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.instances.0.commandClasses.113.data.7.event = 8 (0x00000008)
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.0.commandClasses.113.data.7.eventString = "Motion detected, location unknown"
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.0.commandClasses.113.data.7.status = 255 (0x000000ff)
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.0.commandClasses.113.data.7 = Empty
I would have expected instance number 3 in the logs instead of 0; something like this:
Code: Select all
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.data.lastReceived = 0 (0x00000000)
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.instances.3.commandClasses.113.data.7.eventParameters = byte[0]
[2016-01-03 00:16:25.129] [D] [zway] ( zero-length buffer )
[2016-01-03 00:16:25.129] [D] [zway] SETDATA devices.15.instances.3.commandClasses.113.data.7.event = 8 (0x00000008)
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.3.commandClasses.113.data.7.eventString = "Motion detected, location unknown"
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.3.commandClasses.113.data.7.status = 255 (0x000000ff)
[2016-01-03 00:16:25.132] [D] [zway] SETDATA devices.15.instances.3.commandClasses.113.data.7 = Empty
My conclusion is that there is either a bug in
A) the Qubino dimmer's firmware which uses the incorrect endpoint/instance id when reporting back to my uzb1/zway, OR
B) the zway software/uzb1 firmware which doesn't interpret the endpoint/instance correctly from the dimmer.
I sure hope for the zway/uzb1 to be at fault since that is probably easier to get fixed. Could someone from zwave.me please check this part of the source code?
Thanks.
/Geir