@erocm1231 I have couple of Flush 2 Relays, and tried your handler.
On each I cannot get power reporting on change event. I can refresh and get actual power consumtion but auto update doesn’t work.
Also another bug noticed is, when trying to turn ALL on or OFF. Child devices are enabled/disabled, but main switch hangs on “Turning ON” or “Turning OFF”.
Tried to factory reset relays couple times, and it seems to work fine in the begining, if I don’t configure anything.
If I try to configure any value, or relay gets out of powe, then bugs comes back again.
Can it be something due to associations ?
I have installed Zwave-tweaker and run Scan Assoc Groups and gave me following:
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:23: info Association Group #8 has name: Tempera
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:22: info Association Group #8 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:22: info Association Group #8 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:21: info Association Group #7 has name: K2Meter
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:20: info Association Group #7 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:19: info Association Group #7 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:18: info Association Group #6 has name: K2SwitchReport
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:18: info Association Group #6 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:17: info Association Group #6 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:16: info Association Group #5 has name: K2BasicSet
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:15: info Association Group #5 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:14: info Association Group #5 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:14: info Association Group #4 has name: K1Meter
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:13: info Association Group #4 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:12: info Association Group #4 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:11: info Association Group #3 has name: K1SwitchReport
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:10: info Association Group #3 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:10: info Association Group #3 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:09: info Association Group #2 has name: K1BasicSet
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:08: info Association Group #2 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:07: info Association Group #2 contains destinations: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:06: info Association Group #1 has name: Lifeline
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:06: info Association Group #1 contains nodes: [] (hexadecimal format)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:01:05: info Association Group #1 contains destinations: [] (hexadecimal format)
Scan general:
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:08:05: info Version Report: Application Version: 1.01, Z-Wave Protocol Version: 4.05, Z-Wave Library Type: 03 (Enhanced Slave)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:08:05: info Switch All Mode: 255: Device is included in the all on/all off functionality.
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:08:03: info Powerlevel Report: Power: NormalPower, Timeout: 0
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:08:02: info Manufacturer-Specific Report: Manufacturer ID: 0159, Manufacturer Name: null, Product Type ID: 0002, Product ID: 0051
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:08:00: info scanGeneral(): Scanning for common device attributes.
When I Turn ON main switch, child switches are enabled, but main hangs on Turning ON. Here are the logs:
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:25: debug Parsed BasicReport(value: 255) to [null]
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:25: debug BasicReport BasicReport(value: 255)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:17: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2) to [null]
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:17: debug SwitchBinaryReport SwitchBinaryReport(value: 255)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:17: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 2)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:16: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1) to [null]
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:16: debug SwitchBinaryReport SwitchBinaryReport(value: 255)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:16: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 0, parameter: [255], sourceEndPoint: 1)
3d8ab076-2738-47f8-9b0e-be926034d4b4 13:20:14: debug on()