Hardware:
2x Fibaro FGD-211
2x TKB TZ68-G (Many thanks to @ro. for explaining how to include the switch )
Aeotec USB2
Aeotec Multisensor Gen5 (still boxed, haven't come around to it, seems to have it's own compatibility issues).
After some extensive research, I'm new to OpenZwave, I came up with this (thanks @Domosapiens for pointing me in the right direction, the Openhap xml is unfortunately not compatible with OpenZwave).
Entry in the manufacturer_specific.xml
Code: Select all
<Manufacturer id="0115" name="Z-Wave.Me">
...
<Product type="1000" id="0300" name="ZME_RC2 Remote Controller" config="zwave.me/ZME_RC2.xml"/>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!--Taken from http://manuals.zwaveeurope.com/make.php?lang=en&type=&sku=ZME_RC2-->
<!--And https://github.com/cdjackson/HABmin/issues/197-->
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration Parameters -->
<!--IMPORTANT: Controllers may only allow to configure signed values.
In order to set values in the range 128?255 for parameters 4, 5 and 6 the
value sent in the application shall be the desired value minus 256.
For example: to set parameter 4 in Window Blind to 200? sit may be needed
to set a value of 200?256=?56.
Similar rule applies to parameter 2: to set values in range 32768?65535
use value equal to desired value minus 65536. For example, to set auto
switch off period to 10 hours =36000s it may be needed to set a value
36000?65536=?29536.-->
<CommandClass id="112">
<Value type="list" index="10" genre="config" label="Command to Control Group No1 (association group 2)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No1 when the related button is pressed (association group 2)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="11" genre="config" label="Command to Control Group No2 (association group 3)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No2 when the related button is pressed (association group 3)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="12" genre="config" label="Command to Control Group No3 (association group 4)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No3 when the related button is pressed (association group 4)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="13" genre="config" label="Command to Control Group No4 (association group 5)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No4 when the related button is pressed (association group 5)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="14" genre="config" label="Command to Control Group No5 (association group 6)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No5 when the related button is pressed (association group 6)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="15" genre="config" label="Command to Control Group No6 (association group 7)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No6 when the related button is pressed (association group 7)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="16" genre="config" label="Command to Control Group No7 (association group 8)" units="" min="1" max="5" value="1" size="1">
<Help>This parameter defines the command to be sent to devices of control group No7 when the related button is pressed (association group 8)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="17" genre="config" label="Command to Control Scene No1 (association group 9)" units="" min="1" max="5" value="4" size="1">
<Help>This parameter defines the command to be sent to devices of control scene group No1 when the related button is pressed (association group 9)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="18" genre="config" label="Command to Control Scene No2 (association group 10)" units="" min="1" max="5" value="4" size="1">
<Help>This parameter defines the command to be sent to devices of control scene group No2 when the related button is pressed (association group 10)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="19" genre="config" label="Command to Control Scene No3 (association group 11)" units="" min="1" max="5" value="4" size="1">
<Help>This parameter defines the command to be sent to devices of control scene group No3 when the related button is pressed (association group 11)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="20" genre="config" label="Command to Control Group No11 (association group 12)" units="" min="1" max="5" value="3" size="1">
<Help>This parameter defines the command to be sent to devices of control group All On/Off when the related button is pressed (association group 12)</Help>
<Item label="Disabled" value="0" />
<Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1" />
<Item label="Switch On/Off only (send Basic Set)" value="2" />
<Item label="Switch All" value="3" />
<Item label="Send Scenes" value="4" />
<Item label="Send Preconfigured Scenes" value="5" />
</Value>
<Value type="list" index="21" genre="config" label="Send the following Switch All commands" units="" min="1" max="255" value="255" size="1">
<Help>Send the following Switch All commands</Help>
<Item label="Switch off only" value="1" />
<Item label="Switch on only" value="2" />
<Item label="Switch all on and off" value="255" />
</Value>
</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="12">
<Group index="1" max_associations="5" label="Lifeline. Send to controller battery level and WakeUp Notification" auto="false"/>
<Group index="2" max_associations="5" label="The buttons of group No1" auto="false" />
<Group index="3" max_associations="5" label="The buttons of group No2" auto="false" />
<Group index="4" max_associations="5" label="The buttons of group No3" auto="false" />
<Group index="5" max_associations="5" label="The buttons of group No4" auto="false" />
<Group index="6" max_associations="5" label="The buttons of group No5" auto="false" />
<Group index="7" max_associations="5" label="The buttons of group No6" auto="false" />
<Group index="8" max_associations="5" label="The buttons of group No7" auto="false" />
<Group index="9" max_associations="5" label="The buttons of scene No1" auto="false" />
<Group index="10" max_associations="5" label="The buttons of scene No2" auto="false" />
<Group index="11" max_associations="5" label="The buttons of scene No3" auto="false" />
<Group index="12" max_associations="5" label="The buttons of All On/Off" auto="false" />
</Associations>
</CommandClass>
<CommandClass id="33">
</CommandClass>
<CommandClass id="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="1">
<Instance index="1" />
<Value type="byte" genre="user" instance="1" index="0" label="Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
<Value type="button" genre="user" instance="1" index="1" label="Bright" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
<Value type="button" genre="user" instance="1" index="2" label="Dim" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
<Value type="bool" genre="system" instance="1" index="3" label="Ignore Start Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
<Value type="byte" genre="system" instance="1" index="4" label="Start Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
</CommandClass>
<CommandClass id="39" name="COMMAND_CLASS_SWITCH_ALL" version="1" request_flags="4">
<Instance index="1" />
<Value type="list" genre="system" instance="1" index="0" label="Switch All" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="0" size="1">
<Item label="Disabled" value="0" />
<Item label="Off Enabled" value="1" />
<Item label="On Enabled" value="2" />
<Item label="On and Off Enabled" value="255" />
</Value>
</CommandClass>
<CommandClass id="43" name="COMMAND_CLASS_SCENE_ACTIVATION" version="1" request_flags="4" after_mark="true">
<Instance index="1" />
</CommandClass>
<!-- COMMAND_CLASS_MULTI_CHANNEL_V2 -->
<CommandClass id="96" version="2">
</CommandClass>
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4">
<Instance index="1" />
</CommandClass>
<CommandClass id="117">
</CommandClass>
<!-- COMMAND_CLASS_BATTERY. -->
<CommandClass id="128" name="COMMAND_CLASS_BATTERY">
<Value type="byte" genre="user" index="0" label="Battery Check" units="%" min="20" max="100" value="">
<Help>
The users can also enquire the battery status of the unit by sending
BATTERY_GET command via Z-Wave Controller. Once the unit receives the
command, it will return BATTERY_REPORT command. The unit will send
Battery_Level = 255 (0xFF) command to the Z-Wave Controller to inform that
the unit is in low battery status.
</Help>
</Value>
</CommandClass>
<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="1" request_flags="2">
<Instance index="1" />
</CommandClass>
<CommandClass id="143">
</CommandClass>
</Product>
The trick is in waking up the ZME_RC2 in order for it to receive the OpenZwave configuration commands. Sometimes it needs to wake up again in order to complete a change.
Have debug set to 1 in your OpenZwave Controller to see if the remote actually does anything. Have a tail of the logfile open to see the results (if any).
Wake-up seemed to work best when pressing a group button for about 2 secs (blue light blinks), wait for about 2 secs and press the 'incl' button at the back 3x.
NOTE: To include the ZME_RC2 press the include button 3x, when the led blinks green, press Group 1 on.
I currently have my groups set up like this:
I'm able to control 1 Fibaro (node 4 even though the GroupMap says it should be node 5...) and the two TKBs and added scenes to Scene button 1 and two.
Strange thing with the scenes is that I have to configure a scene (on-button) in Domoticz to switch the lights on and a seperate scene (off-button) to switch the lights off. The scene-ids are different for the buttons:
On:
Code: Select all
Info, Node010, Received Scene Activation set from node 10: scene id=91 via configuration. Sending event notification
Code: Select all
Info, Node010, Received Scene Activation set from node 10: scene id=92 via configuration. Sending event notification
Edit 2016-04-13: changed topic description as it's no longer a WIP. Remote is available in both Openzwave and Domoticz when using the latest version.