New Fibaro switches FGS-213/223


#1

Anyone tried the new Fibaro switches with Smartthings?

UPDATE:

Handlers are made for both devices

Single Relay:

Dual Relay:


[RELEASE] Fibaro FGS-213 Single Switch 2 (not 223)
Wireless Switch for New Light in UK - Best Solution?
Working on a solution for bringing a handicapped stair glide up/down
#2

I now got the new FGS-223 dual relay, but its not working with any of the dual relay handlers I could find. I think it got some extra security commands enabled or something. Its working with the “zwave switch secure” and “Aeon Secure Smart Energy Switch UK” but then of course only with one of the outputs

Tagging @erocm1231, you seem to be the expert on dual relays :slight_smile: Any idea how to get it to work with both switches?


(Eric M) #3

@cscheiene Out of curiosity, can you try the handler posted below? I took one of my dual relay handlers and added some security parsing and encapsulating. I do not have the device to test, so it is a long shot. Look at live logging and post it here if it doesn’t work.

https://github.com/erocm123/SmartThingsPublic/blob/master/devicetypes/erocm123/fibaro-fgs-223-dual-relay.src/fibaro-fgs-223-dual-relay.groovy


ST compatible Single Switch Device (UK) (Comments on Fibaro 213 or alternatives?)
#4

Thanks for taking the time to look at this.
I have installed the handler, but the device is not responding

Here are som logs:

Pressing the big on/off:

f705e370-1091-4840-a15f-1e313eed516a 16.56.06 CEST: error groovy.lang.MissingMethodException: No signature of method: script14734329666211055737792.secure() is applicable for argument types: (java.lang.String) values: [2705]
Possible solutions: remove(java.lang.String), section(java.lang.String), state(java.lang.String), section(), every(), render(java.util.Map) @ line 255

Pressing switch1:

f705e370-1091-4840-a15f-1e313eed516a 16.56.42 CEST: error groovy.lang.MissingMethodException: No signature of method: script14734330022891055737792.secure() is applicable for argument types: (java.lang.String) values: [600D0101250100]
Possible solutions: remove(java.lang.String), section(java.lang.String), state(java.lang.String), section(), every(), render(java.util.Map) @ line 271

Pressing switch2:

f705e370-1091-4840-a15f-1e313eed516a 16.57.08 CEST: error groovy.lang.MissingMethodException: No signature of method: script14734330282361055737792.secure() is applicable for argument types: (java.lang.String) values: [600D0202250100]
Possible solutions: remove(java.lang.String), section(java.lang.String), state(java.lang.String), section(), every(), render(java.util.Map) @ line 285


(Eric M) #5

@cscheiene Thanks for the logs, I found the error they are referring to. I’m going in blind on this one, so I appreciate it. I have uploaded a new version. Can you try it and post logs again?


#6

Good progress!

I can now control both outputs. But switch no2 does not update status if I switch it on/off from the wall-switch. There is nothing in the logs when I use the switch on the wall. No1 is updating correctly.

The big on off switch does not do anything, but changes status if one switch is on or both are off.

Here are some logs:

Pressing the wall switch on switch no1:

f705e370-1091-4840-a15f-1e313eed516a 19.49.41 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.41 CEST: debug Parsed Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]) to [[‘descriptionText’:Lys Kjøkkenbenk: Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.40 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.40 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.40 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [0], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@24d3e796]
f705e370-1091-4840-a15f-1e313eed516a 19.49.31 CEST: debug Parsed Crc16Encap(checksum: 132, command: 2, commandClass: 50, data: [33, 50, 0, 224, 0, 0, 203]) to [[‘descriptionText’:Lys Kjøkkenbenk: Crc16Encap(checksum: 132, command: 2, commandClass: 50, data: [33, 50, 0, 224, 0, 0, 203]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.29 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.28 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.28 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.49.28 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [255], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@422ba5ea]

switch no1 from app:

f705e370-1091-4840-a15f-1e313eed516a 19.50.41 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.40 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.40 CEST: debug Parsed Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]) to [[‘descriptionText’:Lys Kjøkkenbenk: Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.40 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.39 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [0], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@2dd0f7e9]
f705e370-1091-4840-a15f-1e313eed516a 19.50.37 CEST: debug Parsed Crc16Encap(checksum: 91, command: 2, commandClass: 50, data: [33, 50, 1, 111, 0, 0, 170]) to [[‘descriptionText’:Lys Kjøkkenbenk: Crc16Encap(checksum: 91, command: 2, commandClass: 50, data: [33, 50, 1, 111, 0, 0, 170]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.31 CEST: debug Parsed Crc16Encap(checksum: 227, command: 2, commandClass: 50, data: [33, 50, 0, 200, 0, 0, 228]) to [[‘descriptionText’:Lys Kjøkkenbenk: Crc16Encap(checksum: 227, command: 2, commandClass: 50, data: [33, 50, 0, 200, 0, 0, 228]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.30 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.28 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 19.50.28 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [255], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@3ce00600]

switch no2 from app:

f705e370-1091-4840-a15f-1e313eed516a 19.51.17 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 2, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is off], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.51.07 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 2, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is on]]

“Big on/off switch” in app:

f705e370-1091-4840-a15f-1e313eed516a 19.52.21 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch2 is off], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 19.52.19 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch1 is off], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]


ST compatible Single Switch Device (UK) (Comments on Fibaro 213 or alternatives?)
(Eric M) #7

@cscheiene Great, let’s focus on getting instant status updates working on switch 2. I uploaded a handler with some extra logging. Can you install that one, and then start to fiddle with switch 2 at the wall? Push it once and wait a few seconds, then push it again. I need to see if it sends anything at all.


#8

There is still nothing in the live log when I push the wall switch


#9

This is from the operation manual, does it have anything to do with reporting status?

The Switch 2 provides the association of five groups:
1st association group – “Lifeline” reports the device status and al-
lows for assigning single device only (main controller by default).
2nd association group – “On/Off (S1)” is assigned to switch connected to the S1 terminal (uses Basic command class).
3rd association group – “Dimmer (S1)” is assigned to switch connected to the S1 terminal (uses Switch Multilevel command class).
4th association group – “On/Off (S2)” is assigned to switch connected to the S2 terminal (uses Basic command class).
5th association group – “Dimmer (S2)” is assigned to switch connected to the S2 terminal (uses Switch Multilevel command class).


(Eric M) #10

@cscheiene It is like you read my mind. :slight_smile:

I have uploaded a new version that sets the associations for group 4 and 5. You will have to install the new handler and then click the configure icon for the device.

In the logs you should see something like:

“AssociationReport…”

At that point, go try the switch again and see if it is showing anything in the logs.


#11

This is what I get when I hit configure:

f705e370-1091-4840-a15f-1e313eed516a 22.47.24 CEST: error groovy.lang.MissingMethodException: No signature of method: script14734529260262074607005.logging() is applicable for argument types: (java.lang.String) values: [Setting association group 4]
Possible solutions: toString(), toString(), command(java.lang.String), main(java.lang.String) @ line 227
f705e370-1091-4840-a15f-1e313eed516a 22.47.24 CEST: debug configure() called


(Eric M) #12

Oops, dumb mistake on my part. Try again with the latest version.


#13

Still not updating status, but we now have something in the live log :slight_smile:

Wall switch 2 turning on:

f705e370-1091-4840-a15f-1e313eed516a 23.07.05 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 38, 1, 99, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 23.07.05 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 38, destinationEndPoint: 0, parameter: [99, 255], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 23.07.05 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 23.07.05 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 2)

Wall switch 2 turning off:

f705e370-1091-4840-a15f-1e313eed516a 23.07.38 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 38, 1, 99, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 23.07.38 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 38, destinationEndPoint: 0, parameter: [99, 255], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 23.07.38 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Lys Kjøkkenbenk’, ‘descriptionText’:Lys Kjøkkenbenk switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 23.07.38 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 2)


#14

After some more testing

Switch 1 updates as it should, and pressing switch 1 will also update the status of switch 2 correctly if its “out of sync”

Switch 2 updates correctly if the light is off and switches on, but not when switched off.

Switch 1 and 2 works fine from the app


#15

Have a look in the manual on page 20 and parameter 36 and 37 if you dont already know whats wrong :slight_smile:


(Eric M) #16

We are close and should be able to get it working. I am super busy this weekend, but will try to check it out when I get a chance.


#17

Great! Thanks again for taking time to help me out, let me know if there is anything I can do


(Eric M) #18

This is really strange. According to the documentation, we are supposed to be getting a value of 0 from endpoint 2 when the switch is turned off, and a 255 when it is turned on. The switch is sending 99 which is supposed to indicate a “double-click” of switch 2. Also, we are only getting Multilevel reports and not basic reports even though you should be associated in the 4th and 5th groups now.

Can you hit the configure button again. Then do the same thing you did a few posts above, but do all 4 actions? So:

Switch 1 on

Switch 2 on

Switch 1 off

Switch 2 off


#19

Im using momentary switches by the way (with parameter 20 set to 0) Does that have anything to do with it?

Anyway, here are some logs again:

Hit the configuration:

f705e370-1091-4840-a15f-1e313eed516a 10.41.11 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [5, 5, 0, 1], commandClassIdentifier: 133, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [1]
f705e370-1091-4840-a15f-1e313eed516a 10.41.11 CEST: debug AssociationReport AssociationReport(groupingIdentifier: 5, maxNodesSupported: 5, nodeId: [1], reportsToFollow: 0)
f705e370-1091-4840-a15f-1e313eed516a 10.41.07 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [4, 5, 0, 1], commandClassIdentifier: 133, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [1]
f705e370-1091-4840-a15f-1e313eed516a 10.41.07 CEST: debug AssociationReport AssociationReport(groupingIdentifier: 4, maxNodesSupported: 5, nodeId: [1], reportsToFollow: 0)
f705e370-1091-4840-a15f-1e313eed516a 10.41.04 CEST: debug Setting association group 5
f705e370-1091-4840-a15f-1e313eed516a 10.41.04 CEST: debug Setting association group 4
f705e370-1091-4840-a15f-1e313eed516a 10.41.04 CEST: debug configure() called

Starting with both switches off, then hit switch no 1 to turn it on:

f705e370-1091-4840-a15f-1e313eed516a 10.45.53 CEST: debug Parsed Crc16Encap(checksum: 59, command: 2, commandClass: 50, data: [33, 50, 1, 109, 0, 0, 196]) to [[‘descriptionText’:Fibaro Relay: Crc16Encap(checksum: 59, command: 2, commandClass: 50, data: [33, 50, 1, 109, 0, 0, 196]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’]]
f705e370-1091-4840-a15f-1e313eed516a 10.45.53 CEST: debug Unhandled event Crc16Encap(checksum: 59, command: 2, commandClass: 50, data: [33, 50, 1, 109, 0, 0, 196])
f705e370-1091-4840-a15f-1e313eed516a 10.45.52 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch2 is off]]
f705e370-1091-4840-a15f-1e313eed516a 10.45.52 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 10.45.51 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch1 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 10.45.51 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 1)
f705e370-1091-4840-a15f-1e313eed516a 10.45.51 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 10.45.51 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 1)
f705e370-1091-4840-a15f-1e313eed516a 10.45.51 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [255], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@fc6d16d]
f705e370-1091-4840-a15f-1e313eed516a 10.45.50 CEST: debug SwitchBinaryReport SwitchBinaryReport(value: 255)

Then hit switch no 2 to turn it on:

f705e370-1091-4840-a15f-1e313eed516a 10.46.45 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 38, 1, 99, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’]]
f705e370-1091-4840-a15f-1e313eed516a 10.46.45 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 38, destinationEndPoint: 0, parameter: [99, 255], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 10.46.45 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’]]
f705e370-1091-4840-a15f-1e313eed516a 10.46.45 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 2)

Then hit switch no 1 to turn it off:

f705e370-1091-4840-a15f-1e313eed516a 10.47.33 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 1, 37, 3, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch2 is on], [‘name’:‘switch’, ‘value’:‘on’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch is on]]
f705e370-1091-4840-a15f-1e313eed516a 10.47.33 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [255], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug Parsed Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]) to [[‘descriptionText’:Fibaro Relay: Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107]), ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’]]
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug Unhandled event Crc16Encap(checksum: 181, command: 2, commandClass: 50, data: [33, 50, 0, 0, 0, 0, 107])
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 1, 37, 3, 0], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch1 is off]]
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1)
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [1, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch1, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’]]
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 1)
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [0], commandClassIdentifier: 37, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [physicalgraph.device.HubMultiAction@3c0f3dee]
f705e370-1091-4840-a15f-1e313eed516a 10.47.32 CEST: debug SwitchBinaryReport SwitchBinaryReport(value: 0)

Then hit switch no 2 to turn it off:

f705e370-1091-4840-a15f-1e313eed516a 10.48.25 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 38, 1, 99, 255], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:false, ‘displayed’:false, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 10.48.25 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 38, destinationEndPoint: 0, parameter: [99, 255], sourceEndPoint: 2)
f705e370-1091-4840-a15f-1e313eed516a 10.48.25 CEST: debug Parsed SecurityMessageEncapsulation(commandByte: [2, 0, 32, 1, 99], commandClassIdentifier: 96, commandIdentifier: 13, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false) to [[‘name’:switch2, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’], [‘name’:‘switch’, ‘value’:‘off’, ‘isStateChange’:true, ‘displayed’:true, ‘linkText’:‘Fibaro Relay’, ‘descriptionText’:Fibaro Relay switch is off]]
f705e370-1091-4840-a15f-1e313eed516a 10.48.25 CEST: debug MultiChannelCmdEncap MultiChannelCmdEncap(bitAddress: false, command: 1, commandClass: 32, destinationEndPoint: 0, parameter: [99], sourceEndPoint: 2)


(EinarS) #20

Hi guys. Got a FGS-213 innstaled in a wall. Found no device code that support it fully yet. You getting close on this one?

X fingers :slight_smile: