How to associate 2 devices (Fibaro parameter discussion starts post #20)

Hello,

I have those dimmers up and running both included in the same ST.
I want to associate them one to command the other. When I turn ON/OFF or dimm one the other execute the same.

I added group and node ID one to each other. Do not work. How could I associate them?

Note: in this momment Z-Wave Tweaker DH is enabled.

Thank you.

It applies the modifications regardless mobile app or desktop interface.
Why do you say these untrue things?

I am sorry [deleted]. Everybody can upset. But not everybody can help.
I tried also the mobile app. It does the exact same thing and the devices are still not associated. I don’t even know if it’s ok like I tried to associate giving each other the node and group.

Thank you [deleted] for answering.

I restored the original DH for each. Still nothing. But I wonder if I proceed correctly: I give one each other the same association group and the network ID of the other. That is how it should work the association? That should be the steps?

Thank you.

I will try and comeback with details.
THX.

I got this working recently - details here:

I’ve only done a one way association for now - from a Dimmer 2 behind a light switch connected to a 2 gang switch (toggle for now, but searching for the right momentary) and each switch controls one association group.

Here’s what’s in my Dimmer 2 DTH settings (@zcapr17’s DTH)

This works so that when either physical switch is toggled, the associated device gets the corresponding command.

@daniionescubrasov do you have Dimmer 2’s physically wired up? I noticed that when i changed the Dimmer 2 on/off state via the ST app, the command did not look like it was send to the associated devices.

1 Like

I have physically wired up one Fibaro Dimmer 2 and one TKB Home Wall Dimmer Dual Paddle. Both works separately and are connected to the same ST.

I assume you’re also using @zcapr17 DTH? What do your logs show?

Here’s what i get when I press the switch (this is a different switch - same setup but a 1 gang).

The switch logs (node id 15)

> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:22: info New sensor reading: Name: power, Value: 0.0, Unit: W
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:22: trace zwaveEvent(): SensorMultilevelReport received: SensorMultilevelReport(precision: 1, scale: 0, scaledSensorValue: 0.0, sensorType: 4, sensorValue: [0, 0], size: 2)
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:22: trace parse(): Parsing raw message: zw device: 15, command: 3105, payload: 04 22 00 00
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:10: info Dimmer level is 100%
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:09: info Dimmer turned on.
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:09: trace zwaveEvent(): Switch Multilevel Report received: SwitchMultilevelReport(value: 99)
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:09: trace zwaveEvent(): Security Encapsulated Command received: SecurityMessageEncapsulation(commandByte: [99], commandClassIdentifier: 38, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false)
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:09: trace parse(): Parsing raw message: zw device: 15, command: 9881, payload: 00 26 03 63
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:04: info New sensor reading: Name: power, Value: 0.2, Unit: W
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:04: trace zwaveEvent(): SensorMultilevelReport received: SensorMultilevelReport(precision: 1, scale: 0, scaledSensorValue: 0.2, sensorType: 4, sensorValue: [0, 2], size: 2)
> b785f54e-94a4-41f6-a2f4-f4c16aa61013  10:57:04: trace parse(): Parsing raw message: zw device: 15, command: 3105, payload: 04 22 00 02 

And the Dimmer 2 connected to the light itself (node id 18)

> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:11: info New sensor reading: Name: power, Value: 41.4, Unit: W
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:11: trace zwaveEvent(): SensorMultilevelReport received: SensorMultilevelReport(precision: 1, scale: 0, scaledSensorValue: 41.4, sensorType: 4, sensorValue: [1, 158], size: 2)
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:11: trace parse(): Parsing raw message: zw device: 18, command: 3105, payload: 04 22 01 9E
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:10: info Dimmer level is 61%
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:10: info Dimmer turned on.
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:10: trace zwaveEvent(): Switch Multilevel Report received: SwitchMultilevelReport(value: 60)
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:10: trace zwaveEvent(): Security Encapsulated Command received: SecurityMessageEncapsulation(commandByte: [60], commandClassIdentifier: 38, commandIdentifier: 3, reserved13: 0, secondFrame: false, sequenceCounter: 0, sequenced: false)
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:10: trace parse(): Parsing raw message: zw device: 18, command: 9881, payload: 00 26 03 3C
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:05: info New sensor reading: Name: power, Value: 3.5, Unit: W
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:05: trace zwaveEvent(): SensorMultilevelReport received: SensorMultilevelReport(precision: 1, scale: 0, scaledSensorValue: 3.5, sensorType: 4, sensorValue: [0, 35], size: 2)
> 346169e9-109e-4b69-b86a-b29e3d01c1c7  10:57:05: trace parse(): Parsing raw message: zw device: 18, command: 3105, payload: 04 22 00 23

I just need an explanation like this:

The association between devices should be made like this:

  • assign(associate) device nodes to the same group or
  • assign(associate) device nodes one to another
  • both from above

So, the association process itself is not clear for me how to do it. The theory part. Did anyone could explain me the association procedure how should be made?

Thank you.

Sorry, i’m not clear what your setup is so can’t really add any more at the moment. Its not clear if you have one Fibaro Dimmer 2 and one TKB Home Dimmer or two Dimmer 2s and how they’re connected.

I’d go with @anon36505037’s suggestion and do a one way association to start with.

I’m assuming you’ve read the Dimmer 2 manual section on associations? This may also help:

https://www.vesternet.com/resources/application-notes/apnt-109

I come back with more clear description:
I have:

  1. a Fibaro Dimmer 2 with node ID: 42
  2. a TKB Home dimmer with node ID: 50

I assigned both to Association Group 2 (zwtAssocGroupId 2). And to TKB Home also to the Fibaro Dimmer Node ID zwtAssocGroupMembers 42. This is how it looks the Z-Wave Tweaker logs for TKB Home dimmer:

info Association groups [4]:
Association Group #1: [id:1, maxNodesSupported:5, name:Lifeline, nodes:[01]]
Association Group #2: [id:2, maxNodesSupported:5, name:OnoffDimmer1, nodes:[42]]
Association Group #3: [id:3, maxNodesSupported:5, name:OnoffDimmer2, nodes:[]]
Association Group #4: [id:4, maxNodesSupported:5, name:Wireless, nodes:[]]

and this is how Fibaro Dimmer 2 logs looks like:

info Association groups [5]:
Association Group #1: [id:1, maxNodesSupported:1, multiChannel:true, name:Lifeline, nodes:[01]]
Association Group #2: [id:2, maxNodesSupported:8, multiChannel:true, name:On/Off(S1), nodes:[]]
Association Group #3: [id:3, maxNodesSupported:8, multiChannel:true, name:Dimmer(S1), nodes:[]]
Association Group #4: [id:4, maxNodesSupported:8, multiChannel:true, name:On/Off(S2), nodes:[]]
Association Group #5: [id:5, maxNodesSupported:8, multiChannel:true, name:Dimmer(S2), nodes:[]]

They do not associate. They did not sync one with the other.

Print screen with the associations made:

It looks that associations are some “black magic box” in the ST world. Everybody knows about them but no one knows how to…

Thanks for the additional info. I presume these two devices are not connected together? What load is connected to the Dimmer 2?

It looks like there’s no association from the Dimmer 2 though (groups 2, 3, 4 and 5), but you do have one the other way. I’ve only done Dimmer 2 -> other device.

Have you tried setting it up that way to see if the association works? I’d recommend the DTH i posted above - you can set the associations in the settings.

Thank you Paralytic. I do the association like in your printscreen (unidirectional) and it worked!

Hey I am trying to set up an association between 2 switches and 3 plug in modules.

The switches are not wired to each other so it would be all wireless through the Z-wave ST controller.

I am trying to create a wireless 3 way switch that will control the plug in modules. So when I walk into the room I can hit either switch from either door and have the lamps turn on/off depending on their starting state.

I want to be able to set the dimmers to different levels based on the time of day when you hit the switch. is this possible?

You cannot set the dimmers to different levels based on time of day if all you were using is direct association. It doesn’t allow you to do anything beyond “hit the switch, turn on the socket“. No restrictions.

(“Direct association“ has a very specific meaning on the SmartThings platform, and refers to a feature in the Z wave specification which allows one zwave device to talk to another Z wave device without having the messages go through the hub first . If you just mean you want a smart switch to be able to turn on a smart socket without running wires between them, that would be a different conversation. :sunglasses: )

If you are using SmartThings to handle the communication between the switch and the socket Buy rounding the messages through the hub , rather than relying on zwave direct association, then you can have the restrictions, but that would be offtopic for this particular thread.

In either case we would need to know the exact brand and model numbers of the switch and the socket, unless you haven’t bought them yet.

edited to add

I see you already asked this question in a different thread. I have answered you there. :sunglasses:

Hoping someone can help. I recently upgraded my SmartThings hub from v2 to v3. I therefore reset all my Fibaro modules, including many Fibaro Dimmer 2s and Fibaro Single and Double Switches.

Before the move my Associations between my bathroom lights (Fibaro Dimmer 2) worked perfectly, switching on and off my bathroom fans which are on either Fibaro Double or Single switch modules.

I successfully used the Codersaur Fibaro Dimmer 2 DTH, to set the association settings, and then switched back to the native smartsthings Fibaro Dimmer 2 DTH, as general operation only worked properly this way. And everything worked fine previously.

However, when I try set up exactly the same associations, the same way, now that I have switched Hub and locations (everything is now on the new Hub and Location) it simply fails to respond to associations.

I am very bad at ‘observing the logs’, so if there is a way to investigate using this, please provide guidance. I’ve given screenshots of the IDE display for the bathroom lights, which should send the on/off association to the fan.


Apologies, naming JD Roberts as he has been extremely helpful in the past as was Robin Winbourne, who has unfortunately moved on from these parts. @JDRoberts

thanks!

First thought: the device IDs are probably different on the new hub as they are given out in the order in which the devices are added to the hub. So are you sure you have the right IDs? :thinking:

Remember That Zwave direct association is set up by giving the trigger device the list of IDs that it is allowed to send direct messages to without going through the hub. So you need the IDs of the target devices to put in the list created for the trigger device.

In your case the switch is the trigger and the fan is the target. So you put the fan’s ID in the association list when you configure the switch.

Thanks. I am pretty sure I am using the correct new IDs, as I am reading them from the SmartThings IDE and the devices are both assigned to the new location. See photo attached. The two relevant devices are circled, with the target device being the Bathroom Fan with ID = 1A. You should be able to see 1A in my associated devices in the other picture I sent.

But I’m still hoping that you are somehow right so that I can fix this!

Nobody have any additional suggestions? Could it have something to do with either of these:

  • the CoderSaur DTH no longer works? I notice that the calibrate dimmer setting, for example, no longer results in the calibration process starting, so maybe an indication that this DTH no longer works?

  • the fact that the trigger switch, ie Family Bathroom, has connected to the SmartThings hub via other Fibaro modules and not directly?

Any ideas?

thanks!
David.

I know multiple people have reported a lot of issues with the few borrow devices and the new platform/new app, I honestly don’t know what works right now and what doesn’t. You may need to search the forum for that specific device to see recent discussions.

It looks like there should be a stock DTH for those, but that may not let you set the associations.

Did you try the Z wave Tweaker? That’s a generic Z wave DTH that can be used to set associations. The original version no longer works, but. Another community member has contributed an updated one that does.

[BETA] Z-Wave Tweaker (See post #209 for new V3 app version) - #209 by mwav3