This page last changed on Jan 29, 2015 by mobaer.

Hi,

I've finally setup my raspberry pi with the razberry module and openremote with the new zwave release.
It uses /dev/AMA0 as the serial port and I could disable the Z-Way server of the razberry.
Thanks for the good work guys!
I have some switches, wall-plugs and shutters running fine. However there is one problem with the Fibaro FGS-221:
Both ports can be steered without problems in openremote. Switching the devices with their physical switches does not work.
Using a physical switch of any other device works good, and I can see the messages in the zwave-debug.log, however when switching one or both ports of the FGS-221 not even one log entry appears in the debug log. Did I miss something in the Setup? Is there a special mode that needs to be set for the FGS-221?

Here is the configuration for that specific node. It is the generated one, no changes done so far.

<?xml version="1.0" encoding="UTF-8"?>
<node id="4">
  <manufacturer id="271">Fibargroup</manufacturer>
  <basic-device-class id="0x04">BASIC_TYPE_ROUTING_SLAVE</basic-device-class>
  <generic-device-class id="0x10">GENERIC_TYPE_SWITCH_BINARY</generic-device-class>
  <specific-device-class id="0x01">SPECIFIC_TYPE_POWER_SWITCH_BINARY</specific-device-class>
  <product-type id="0x0200" />
  <product id="0x100A" />
  <listening>true</listening>
  <routing>true</routing>
  <command-classes>
    <command-class id="0x60" version="2" name="COMMAND_CLASS_MULTI_CHANNEL_V2" type="supported" />
    <command-class id="0x70" version="1" name="COMMAND_CLASS_CONFIGURATION" type="supported" />
    <command-class id="0x20" version="1" name="COMMAND_CLASS_BASIC" type="supported" />
    <command-class id="0x72" version="1" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" type="supported" />
    <command-class id="0x85" version="2" name="COMMAND_CLASS_ASSOCIATION_V2" type="supported" />
    <command-class id="0x25" version="1" name="COMMAND_CLASS_SWITCH_BINARY" type="supported" />
    <command-class id="0x86" version="1" name="COMMAND_CLASS_VERSION" type="supported" />
    <command-class id="0x8E" version="1" name="COMMAND_CLASS_MULTI_INSTANCE_ASSOCIATION" type="supported" />
    <command-class id="0x60" version="2" name="COMMAND_CLASS_MULTI_CHANNEL_V2" type="controlled" />
    <command-class id="0x25" version="1" name="COMMAND_CLASS_SWITCH_BINARY" type="controlled" />
  </command-classes>
  <endpoints>
    <endpoint number="1">
      <generic-device-class id="0x10">GENERIC_TYPE_SWITCH_BINARY</generic-device-class>
      <specific-device-class id="0x01">SPECIFIC_TYPE_POWER_SWITCH_BINARY</specific-device-class>
      <command-classes>
        <command-class id="0x25" version="1" name="COMMAND_CLASS_SWITCH_BINARY" type="supported" />
      </command-classes>
    </endpoint>
    <endpoint number="2">
      <generic-device-class id="0x10">GENERIC_TYPE_SWITCH_BINARY</generic-device-class>
      <specific-device-class id="0x01">SPECIFIC_TYPE_POWER_SWITCH_BINARY</specific-device-class>
      <command-classes>
        <command-class id="0x25" version="1" name="COMMAND_CLASS_SWITCH_BINARY" type="supported" />
      </command-classes>
    </endpoint>
  </endpoints>
  <configuration hash="7F34045B013D6E938A787765C321BD93">
    <associations>
      <association-group id="1" capacity="5">
        <association>
          <node>1</node>
          <endpoint>1</endpoint>
        </association>
        <association>
          <node>1</node>
        </association>
      </association-group>
      <association-group id="2" capacity="5">
        <association>
          <node>1</node>
          <endpoint>2</endpoint>
        </association>
        <association>
          <node>1</node>
        </association>
      </association-group>
      <association-group id="3" capacity="1">
        <association>
          <node>1</node>
        </association>
      </association-group>
    </associations>
    <parameters>
      <parameter>
        <number>14</number>
        <value>0</value>
        <size>1</size>
      </parameter>
    </parameters>
  </configuration>
</node>

Any help would be appreciated as I need to switch back to Z-Way in case there is no solution for the problem.
Cheers
Jochen

I have the Fibaro Double Relay Switch FGS-221 and it works with the following settings even if the device is controlled locally with attached physical switches:

<associations>
  <association-group id="1" capacity="5" />
  <association-group id="2" capacity="5" />
  <association-group id="3" capacity="1">
    <association>
      <node>1</node>
    </association>
  </association-group>
</associations>
<parameters>
  <parameter>
    <number>14</number>
    <value>0</value>
    <size>1</size>
  </parameter>
</parameters>

OpenRemote Designer Commands (example: Z-Wave node ID=4):

Enpoint 1

Z-Wave nodeID: 4:1
Command: ON

Z-Wave nodeID: 4:1
Command: OFF

Z-Wave nodeID: 4:1
Command: STATUS

OR (endpoint number is not needed for first endpoint)

Z-Wave nodeID: 4
Command: ON

Z-Wave nodeID: 4
Command: OFF

Z-Wave nodeID: 4
Command: STATUS

Endpoint 2

Z-Wave nodeID: 4:2
Command: ON

Z-Wave nodeID: 4:2
Command: OFF

Z-Wave nodeID: 4:2
Command: STATUS

The <association> section differs from my configuration. It seems that Z-Way has added 2 additional associations (group1, group2) that are not necessarily needed.

I'ld suggest that you 'exclude' the node from the Z-Wave network and afterwards 'include' it to the network in order to reset the device and configure the commands as specified.

OpenRemote configures the FGS-221 so that it can be used in combination with momentary switches. If you have toggle switches you have to edit the <parameter> section as follows:

<parameter>
  <number>14</number>
  <value>1</value>
  <size>1</size>
</parameter>

How to configure parameters see New Z-Wave 2.0.0 Release

Posted by rhitz at Jan 29, 2015 13:15

Danke Rainer!

It's been the configuration for the toggle switches.
I stopped OR,
Changed the nodeX.xml to the parameters you suggested (as I have toggle switches)
and started OR again.

Now everything works as expected.

Thanks again
Jochen

Posted by mobaer at Jan 29, 2015 14:13
Document generated by Confluence on Jun 05, 2016 09:39