Problem with Associating devices!

Discussions about RaZberry - Z-Wave board for Raspberry computer
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Problem with Associating devices!

Post by vga »

Hi everybody!

i want to associate a "Fibaro Wall Plug" switch to a remote controller.
So what i do is going to Expert UI -> Configuration -> choose the Fibaro Wall Plug device ("Binary_switch_8") -> browse to "Association" and add my remote controller to an association-group (tried two different remote controllers: "Everspring Push-Button", and "z-wave.me Wall Controller" -> and click "Save into Device"
Now, when push the button, the switch does´t change state.

tried the same association-process with different devices, but never got it working.
Am I doing something fundamental wrong?
Would be great if someone can help me.

Best regards
dave
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Problem with Associating devices!

Post by pofs »

Associations are working in the opposite direction: you need to add Fibaro Wall Plug into the association group of Push-Button or whatever, not vice versa. Then it will send commands to devices from its assoc group.
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Re: Problem with Associating devices!

Post by vga »

Thanks pofs!
OK, so i added the switch to the z-wave.me Wall Controller associate-group, but also the switch doesn´t change state.
And the Everspring Push-Button remote controller doesn´t has the opinion of an associate-group.
So i´m a little confused about this, cause these are my first tries with associations.
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Re: Problem with Associating devices!

Post by vga »

purely by chance i found an article in zwave-wiki:
Assigned Association of Multi Channel Devices by Remote Controls and Wall Controller fails

Background
Most remote controls and wall controllers can be used to set associations either to their own buttons or even to other sources. In order to identify the association target - the device a command is supposed to be sent to – this device needs to send out a Node Information Frame to announce the Node ID to be set into the association group. The NIF however only identifies the device itself and can not differentiate between different channels. Hence the association will not be set to a specific channel but to the device only. The fall back of the device will make sure that in most cases the first channel will receive the command sent.

Devices infected
All devices with multi channel actuators with all existing battery wall controllers and remote controls.

Remedy
Please use a software such as Z-Way to set the correct multi channel associations.
Link: http://wiki.zwaveeurope.com/index.php?t ... _in_Z-Wave

Looks like it has something to do with my problem I think, and nice to know that there is a remedy. :)
But i miss a more detailed discription, so it helps, or not?
Can someone please help me and explain what exactly to do?

best regards
dave
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: Problem with Associating devices!

Post by dolpheen »

vga wrote:Can someone please help me and explain what exactly to do?
Can you tell what z-way version and what model of wall controller do you use?
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Re: Problem with Associating devices!

Post by vga »

I am using these devices:
razberry with z-way server 2.0.1-rc10

As slave/receiver:
Binary-Switch: Fibaro Wall-Plug FGWPE/F-101
Binary-Switch: Fibaro Wall-Plug FGWPE/F-101
IMG_3099.JPG (19.65 KiB) Viewed 16415 times
As Controller:
Portable Remote Controller: Everspring TAC06-0
Portable Remote Controller: Everspring TAC06-0
IMG_3098.JPG (16.38 KiB) Viewed 16415 times
And
Portable Remote Controller: Z-Wave.me Wall Controller ZME_054436
Portable Remote Controller: Z-Wave.me Wall Controller ZME_054436
IMG_3097.JPG (21.01 KiB) Viewed 16415 times
Last edited by vga on 09 Mar 2015 22:12, edited 1 time in total.
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Re: Problem with Associating devices!

Post by vga »

The problem of Everspring Remote Controller, there are no association-groups to add the Switch.
Everspring Remote Controller Config:
Everspring Remote Controller Config:
Bildschirmfoto 2015-03-09 um 19.57.14.png (95.82 KiB) Viewed 16415 times
Everspring Remote Controller Association
Everspring Remote Controller Association
Bildschirmfoto 2015-03-09 um 19.57.29.png (36.19 KiB) Viewed 16415 times
With the Z-Wave.me Wall Remote Controller i assigned the switch to the first association-group, but when press and hold a button, the switch does´t react.
Wall Remote Controller Association
Wall Remote Controller Association
Bildschirmfoto 2015-03-09 um 19.58.40.png (81.4 KiB) Viewed 16415 times
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: Problem with Associating devices!

Post by dolpheen »

For Everspring push-button, I see that interview has not passed (no association command class in list), try to re-interview again.
I have a Fibaro wall-plug, but my z-wave.me controller of different type then you have, sorry I can not help you much on that. Just as a test you can try to run the following command in your browser address bar

Code: Select all

[you razberry ip]:8083/JS/Run/zway.devices[7].Association.Set(1,8)
This code will use normal association command between wall-controller and plug.

Update
After command execution you should wake-up your wall-controller for changes to be applayed (as it a battery device)
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
vga
Posts: 59
Joined: 18 Dec 2014 11:28

Re: Problem with Associating devices!

Post by vga »

Hey dolpheen!

i reincluded the everspring Push-Button, now the interview is complete. But the association screen looks the same. not possible to add a device for association.

this command was making it for the ZME Wall Controller! :)
Now, when i single press "up"-button on the wall Remote Controller, switch turns on, an single press "down"-button, switch turns off. :)
The association groups now looks like this:
Bildschirmfoto 2015-03-09 um 21.10.41.png
Bildschirmfoto 2015-03-09 um 21.10.41.png (83.2 KiB) Viewed 16410 times
As I see the command added "device 8" to the first group, instead of device 8.1, which I first added throw UI, right?
Or is there a "normal" association-group for real, which does´t shows up in the UI?
So what do you mean with "normal association", isn´t there a UI option to configure such a "normal" association?
dolpheen
Posts: 119
Joined: 10 Feb 2015 00:38

Re: Problem with Associating devices!

Post by dolpheen »

For Everspring you can post a z-way log file here with interview process.

As for association, there are 2 association types - 'Association' and 'MultiChannel Association'(MCA).
With 'Association', you can associate whole devices (like Wall-controller and WallPlug).
With 'MultiChannel Association', you can associate to distinct channels within device (like Wall-controller and 2nd channel of Fibaro 2x1,5KWh relay).
WallPlug has only one instance, I suppose it's wrongly used with MCA. So, there are some issues with that in 2.0.1 release candidate, and until it fixed, you can freely use the next commands fro your browser

To add 'Association'

Code: Select all

[you razberry ip]:8083/JS/Run/zway.devices[nodeId].Association.Set(GroupId, AssocNodeId)
where nodeId - is nodeId of device you want associate to. (like wall-controller)
GroupId - Association group number (for the list of groups you should refer to manual of your device)
AssocNodeId - is nodeId of device that will recieve commands from associated device(like your Wall-Plug)

To remove 'Association'

Code: Select all

[you razberry ip]:8083/JS/Run/zway.devices[nodeId].Association.Remove(GroupId, AssocNodeId)
To add 'MultiChannelAssociation'

Code: Select all

[you razberry ip]:8083/JS/Run/zway.devices[nodeId].MultiChannelAssociation.Set(GroupId, AssocNodeId, AssocInstanceId)
AssocInstanced - is instance Id of your device(ex. for 2nd channel of Fibaro 2x1.5kWh relay it's number 2)

To remove 'MultiChannelAssociation'

Code: Select all

[you razberry ip]:8083/JS/Run/zway.devices[nodeId].MultiChannelAssociation.Remove(GroupId, AssocNodeId)

I made also a workaround(temporary solution) in Expert UI for that, you can find it in attachment. It's also fixes parameter update issue.
Copy configuration.js to [your z-way-server directory]/htdocs/expert/app/core/controllers
Copy association.html to [your z-way-server directory]/htdocs/expert/app/views/configuration
Attachments
association-fix.zip
(10.49 KiB) Downloaded 453 times
Razberry B+ 2.0.1-rc25 on ZW500 + 15 devices / Razberry B 2.0.1-rc25 on ZW300 for test
Post Reply