Hi @pukka
Thanks for your efforts on this - I’ve installed a Fibaro FGS222 using your modified version of @erocm1231’s device handler. I’m getting a recurring problem however,and I’m not sure if it’s an issue with parameters or something else (could be wiring but I’m pretty sure I did that right…
Switch 1 works fine, from both wall switch and mobile app (via a simulated switch)
Switch 2 misbehaves when using the wall switch only. From the off state, when switched on, the light rapidly turns on/off/on and sometimes then off again.
I’ve captured the logs below, of first switch 1 being turned on and off, and then switch 2 - any pointers much appreciated!
Cheers
Matt
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:35 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 2) to [['name':switch2, 'value':'on', 'isStateChange':true, 'displayed':true, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is on]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:35 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to [['name':switch1, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:34 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:34 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:34 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:34 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:33 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:33 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:33 GMT: debug Parsed BasicSet(value: 0) to [physicalgraph.device.HubMultiAction@1239e651]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:32 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 2) to [['name':switch2, 'value':'on', 'isStateChange':true, 'displayed':true, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is on]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:32 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to [['name':switch1, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:31 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:31 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:31 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:31 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:30 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:30 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:30 GMT: debug Parsed BasicSet(value: 0) to [physicalgraph.device.HubMultiAction@50811de]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:26 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 2) to [['name':switch2, 'value':'on', 'isStateChange':true, 'displayed':true, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is on]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:26 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:26 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:25 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:25 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:25 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to [['name':switch1, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:24 GMT: debug Parsed BasicSet(value: 0) to [physicalgraph.device.HubMultiAction@3757d2c2]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:24 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:24 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:12 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:12 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:12 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 2) to [['name':switch2, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug Parsed MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1) to [null]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug multichannelv3.MultiChannelCapabilityReport MultiChannelCapabilityReport(commandClass: [37], dynamic: false, endPoint: 2, genericDeviceClass: 16, specificDeviceClass: 1)
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to [['name':switch1, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:11 GMT: debug Parsed BasicSet(value: 255) to [physicalgraph.device.HubMultiAction@3a20acda]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:01 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 2) to [['name':switch2, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:00 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to [['name':switch1, 'value':'off', 'isStateChange':true, 'displayed':true, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:20:00 GMT: debug Parsed BasicSet(value: 0) to [physicalgraph.device.HubMultiAction@2ba538ef]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:19:56 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 2) to [['name':switch2, 'value':'off', 'isStateChange':false, 'displayed':false, 'linkText':'WC relay', 'descriptionText':WC relay switch2 is off]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:19:55 GMT: debug Parsed MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 1) to [['name':switch1, 'value':'on', 'isStateChange':true, 'displayed':true, 'linkText':'WC relay', 'descriptionText':WC relay switch1 is on]]
9523dc52-74fe-44c9-bef9-19d6a8dfe861 08:19:55 GMT: debug Parsed BasicSet(value: 255) to [physicalgraph.device.HubMultiAction@66545331]