Z-Wave.me ZME_RC2

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Z-Wave.me ZME_RC2

Post by TheSpanishInq »

In order to comply with the WAF and to please my self as well I bought a Z-Wave.me ZME_RC2 to control our first Z-Wave dimmers and switches, only to find it didn't work out of the box.
Hardware:
2x Fibaro FGD-211
2x TKB TZ68-G (Many thanks to @ro. for explaining how to include the switch 8-) )
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"/>
ZME_RC2-Rev20150425.xml (right-click save-as)

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>
It's still a WIP, some entries may need modification, some may even need to be deleted but it seems to work for now.

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:
Image

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
Off:

Code: Select all

Info, Node010, Received Scene Activation set from node 10: scene id=92 via configuration. Sending event notification
Scenes are in group 9, 10 and 11 not visible on the screenshot. In order for it to work I had to add node 1 to that group.

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.
Last edited by TheSpanishInq on Wednesday 13 April 2016 14:05, edited 3 times in total.
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
strips
Posts: 1
Joined: Tuesday 10 March 2015 7:01
Target OS: -
Domoticz version: V2.2313
Location: Norway, Åros
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by strips »

Interesting. Something I will have to try, but I do have the DUWI-version of the remote.

Thanks for the how to. Just hope it works for me to :)
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

I don't know the Duwi remote but according to it's description it's an other device in itself...

I've modified the TP to reflect the version of the ZME_RC2.xml. Ran 'make xmltest' on the file yesterday and it found some errors which I cleaned up. Also added the names of the Command Classes to make it more complete.

ZME_RC2-Rev20150426.xml (rightclick save-as and rename to ZME_RC2.xml)

Current Zwave-Group associations:
Image

Adding groups to the ZME_RC2 is something you want to think through before you start. You can't configure all-groups by simply adding them in the Domoticz interface. After each change in the interface you'll have to wake-up the remote. Therefor, re-arranging the buttons is even more tedious as you first have to remove the assignment and then apply the right one.
During this process the ZME_RC2 sometimes needs a 'cool down' period because it stops responding to user input completely...

With this setup I can control both Fibaro dimmers and both TKB-switches. Scenes work too, the buttons are recognized by Domoticz. Only thing that doesn't work is 'All On/Off'. Sometimes one light goes on sometimes an other but never switch off with 'All Off'.

Every now and then I see this message in the debug log:

Code: Select all

Warning, Exception: Manager.cpp:1482 - 101 - Invalid ValueID passed to GetValueLabel
The lights won't respond to a button when that happens. Not sure if this is a Domoticz or an xml issue (wrong input/parameter to OpenZwave-library)...
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by Domosapiens »

Thanks TheSpanishInq,
I will follow you,
before I put my batteries in my new ZME_RC2.
Domosapiens
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

All On/Off still not working. Added node 1 to group 12, didn't help. Both dimmers switch off when 'All Off' is pressed, only 1 dimmer switches on when 'All On' is pressed. Neither TKB switch reacts, had hoped to fix that by adding node 1.

Overview of the ZME_RC2 settings in Domotics (Setup> Hardware> Setup on USB-stick line > Click on the line which describes the RC2). Don't be alarmed if Domoticz doesn't show the current config, as the RC2 is asleep most of the time, Domotics only shows the current config if you click the 'Request current settings from device' button and wake-up the remote.
I've changed parameter 12, 13 and 14 to '2' - Switch On/Off only (send Basic Set)
Image

Et voila:
Image
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by Domosapiens »

@TheSpanishInq,
any news on the RC2 front?

I have your ZME_RC2.xml in use (ZME_RC2-Rev20150426.xml).

Do you understand this wake-up value of 604800 sec. ?
Where does it come from?
Are you able to change it?
I tried 6000 (10 min) without any luck (after many back-button wake-ups)
Wake-up interval.JPG
Wake-up interval.JPG (20.64 KiB) Viewed 13240 times
Is the number 2000 in front of it, a lack of definition in the ZME_RC2.xml ?

Your help is appreciated,
Domosapiens
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

Sorry for the late reply, I was on holiday for the last two weeks.
The remote still isn't functioning entirely as I would like it to be, so still a wip. Just haven't had the time/prio lately, was trying to get the Aotec Gen5 Multisensor to work properly as well... I'm therefor running a some what beta version of Domoticz and the OZW-library, which makes testing the RC2 even harder. :|

AFAIK 604800 is the default. I wasn't able to change it either.
Not sure about the number '2000' or where it came from. I'm still learning about OZW and Domoticz...

I still have these issues:
- when I turn of the lights with the remote via a scene (scene 'group' 2, off-button pressed) it seems to add a device to Domoticz. Could be the beta sw I'm running. Will update both today to the latest and see if that fixes this issue.
- having trouble controlling the dimming level of the fibaro's. Just go to low or high when I hold a dim up or down button for a few seconds.
- Domoticz doesn't seem to pick up the state change of the TKB switches when I control them with the remote. When the switch is turned on via the remote, Domoticz still shows it state as off.

How's it working for you?
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by Domosapiens »

Thanks for your update TheSpanishInq,

While I'm now on holiday, I'm low on data and facts.

I'm still in the exploration phase:
My most recent activity was to modify your ZME_RC2.xml file with the correct versions according to pepper1.
( http://www.pepper1.net/zwavedb/device/576 ). A version other then 1 seems to be important.
After removing the RC2 section in the zwcfg_xxxx.xml file (procedure: disable Zwave, edit zwcfg_xxxx.xml, edit ZME_RC2.xml, allow new hardware, enable Zwave)
With version="2" f.i. for the COMMAND_CLASS_WAKE_UP you see the difference!
The Wake-up GUI component (with a useless figure, that can not be changed) is gone. The zwcfg_xxxx.xml gets 4 lines of code instead of 1.
In the zwcfg_xxxx.xml, where the last value is stored, I saw figures as 300 second, so, much more reasonable.

Make sure that during the Zwave start-up you push regulary the wake-up button on the back, to reach the query_stage="Complete"
( see the table here http://www.domoticz.com/forum/viewtopic ... 271#p40847 )
Sometimes a second start-up is needed.

Making the connection in the ZWave Network Information screen works for me also.
I can configure the connection to a switch there (ZWave associations as in your first post).
The switch is operating, but not always with a single click (if i remember correctly).
Switch off all works also (windows closing, switches go Off, wife angry because the TV also went OFF).
It seems that all devices in reach of the RC2 swich off, without consulting Domoticz.

The controller number 1 is in my configuration connected to all RC2 switches.
In the device list of Domoticz i have seen sometimes a battery indicator (where is it shown in the GUI?) and a switch of the type Lighting 2.
What I assumed to see was for each RC2 switch a contact (read only) in Domoticz: just as you report in your last post!

The connection with a Scene or Group is for me not working yet.
When I tried the learn function, all type of input from other sensors is catched as code, but not the button push on the RC2.
( see also Gizmocus post for the minimote concept of operation http://www.domoticz.com/forum/viewtopic ... ote#p19570 )
If I see your first post, It must be possible (perhaps I used the first 5 on/off, instead of the 3 scene buttons ? Can't remember)

About your issues:
Getting the device is great! You can use it for other switch purposes!
I'm still running V2.2365. Have to upgrade when I'm back.

You dimming problem sounds like latency. Is that via a Domoticz scene or directly via the ZWave association ?
Is a direct association between the dimmer and the RC2 possible? (just a suggestion, I have no dimmers)

To get-back the state of a switch into Domoticz, I'm afraid you have to switch polling on for that device. Not a big problem for a few switches, but it is, for a huge number of devices.

Keep-on sharing your results please, I will share mine.
Thanks
Domosapiens
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

Hadn't found the time/inspiration to continue working on the AB. For the most parts it works for us. (Plain On/Off and Scenes).
All On/Off is still an issue (not al the devices react on it) but I bypassed that by using a Scene, as is dimming (zwave association, increments are to big). For now I just rely on Events to switch on the lights with the right dimming level.

I didn't use the pepper1 xml file as it won't pass the OZW 'make xmltest'.

Pressing the wake-up button on the AB when Domoticz is started is no option for me as logrotate takes care of the restart at a time when I'm still asleep.
AB seems to be OK with that :)

Device count is stable with the Domoticz version I'm running currently: 2724.

I enabled switch polling for TKB-switch as you suggested, seems to do the trick. Thanx :)
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
Quax1507
Posts: 101
Joined: Tuesday 07 April 2015 21:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by Quax1507 »

I tried to follow Your description.

My remote is now correctly recognized as ZMW_RC2 controller.

When I go to Setup->Devices it only shows one device of type "Multilevel Switch".

Any idea why that happens?
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

Not really. I've no device of that type in my device list...
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by mcwieger »

Hi all, pretty new to Domoticz (and home automation in general), so apologies for asking beginner questions. I also bought a the zwaveme rc2 and I must say I'm lost here. I included the device in the network, but:
- It's asleep all the time, unless I re-include it manually
- It's showing in the network groups, but I can't see to add devices to any of its groups by using the Domoticz interface (I do seem to have assiociated a switch manually in group 1)
- Whichever button I push, nothing happens

Very much interested in getting this device to work. I saw you use a script: so is this required? And where should I place it?
EDIT: placed it under ../domoticz/Config/zwave.me/ and added device to manufacturer_specific.xml in ../domoticz/Config/
The additional config options are now visible.

Remaining questions:
- How to get the remote from sleep mode, without having to include every time?
- How to add devices in one of the groups of the remote so they can be controlled? Manual or via the Domoticz interface?

Thanks in advance!
I moved to HomeAssistant. It was fun while it lasted!
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

It's a bit tedious, but using the 'incl' button is the only way to get it to wake-up and receiver commands.
When you enable debugging on the Zwave-stick it starts writing debug info into OZW_Log.txt (main domoticz folder). You can see if the remote wakes up when you tail the file:
tail OZW_Log.txt

Add a group via the OpenZwave "Groups & Network" network interface (see screenshot above) to a button and quickly press the Incl button on the back of your remote 3x. In the OZW_Log.txt you'll see something like this:

Code: Select all

2015-12-12 13:31:12.177 Detail, Node010,   Received: 0x01, 0x18, 0x00, 0x49, 0x84, 0x0a, 0x12, 0x04, 0x12, 0x02, 0x75, 0x70, 0x85, 0x2d, 0x8
e, 0x80, 0x84, 0x86, 0x72, 0xef, 0x20, 0x26, 0x27, 0x2b, 0x60, 0x70
2015-12-12 13:31:12.177 Detail,
2015-12-12 13:31:12.177 Info, Node010, UPDATE_STATE_NODE_INFO_RECEIVED from node 10
2015-12-12 13:31:12.177 Detail, Node010, AdvanceQueries queryPending=1 queryRetries=0 queryStage=Probe1 live=1
2015-12-12 13:31:12.177 Info, Node010,   Node 10 has been marked as awake
2015-12-12 13:31:12.177 Detail, Node010, Queuing (Controller) Delete All Return Routes
2015-12-12 13:31:12.177 Detail, Node010, Queuing (Controller) Assign Return Route
2015-12-12 13:31:12.177 Detail, Node010, Queuing (Query) Query Stage Complete (Probe1)
2015-12-12 13:31:12.177 Detail, Node010, Notification: Notification - Node Awake
2015-12-12 13:31:12.177 Info, Deleting all return routes from node 10
2015-12-12 13:31:12.177 Detail, Node010, Queuing (Command) ControllerCommand_DeleteAllReturnRoutess (Node=10): 0x01, 0x05, 0x00, 0x47, 0x0a,
 0x63, 0xd4
2015-12-12 13:31:12.177 Detail, Notification: ControllerComand - Starting
2015-12-12 13:31:12.178 Detail,
2015-12-12 13:31:12.178 Info, Node010, Sending (Command) message (Callback ID=0x63, Expected Reply=0x47) - ControllerCommand_DeleteAllReturn
Routess (Node=10): 0x01, 0x05, 0x00, 0x47, 0x0a, 0x63, 0xd4
2015-12-12 13:31:12.204 Detail, Node010,   Received: 0x01, 0x04, 0x01, 0x47, 0x01, 0xbc
2015-12-12 13:31:12.204 Detail,
2015-12-12 13:31:12.204 Info, Node010, Received reply to FUNC_ID_ZW_DELETE_RETURN_ROUTE - command in progress
2015-12-12 13:31:12.204 Detail, Notification: ControllerCommand - InProgress
2015-12-12 13:31:12.972 Detail, Node010,   Received: 0x01, 0x05, 0x00, 0x47, 0x63, 0x00, 0xde
2015-12-12 13:31:12.972 Detail,
2015-12-12 13:31:12.972 Info, Node010, Received reply to FUNC_ID_ZW_DELETE_RETURN_ROUTE for node 10 - SUCCESS
2015-12-12 13:31:12.972 Detail,   Expected callbackId was received
2015-12-12 13:31:12.972 Detail,   Expected reply was received
2015-12-12 13:31:12.972 Detail,   Message transaction complete
2015-12-12 13:31:12.972 Detail,
2015-12-12 13:31:12.972 Detail, Node010, Removing current message
2015-12-12 13:31:12.973 Detail, Notification: ControllerCommand - Completed
If it doesn't work,

Code: Select all

2015-12-12 13:26:43.809 Info, Node010, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2015-12-12 13:26:43.809 Info, Node010,   Node 10 has been marked as asleep
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Delete All Return Routes
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Delete All Return Routes
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Delete All Return Routes
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Delete All Return Routes
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.809 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Delete All Return Routes
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving controller command to Wake-Up queue: Assign Return Route
2015-12-12 13:26:43.810 Info, Node010, Node not responding - moving QueryStageComplete command to Wake-Up queue
2015-12-12 13:26:43.810 Detail, Node010, Notification: Notification - NoOperation
2015-12-12 13:26:43.810 Detail, Node010, Notification: Notification - Node Asleep
try again... ;)

Recently changed button 7 to "Send Scenes" and added group 1 to button 7, took me 6 or 7 times to get it to work.
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by mcwieger »

TheSpanishInq wrote:It's a bit tedious, but using the 'incl' button is the only way to get it to wake-up and receiver commands.
Currently I go to Domoticz > Hardware > Controller Setup, select Include and press the button 3 times to wake it up. Can that be done more easily?
TheSpanishInq wrote:Add a group via the OpenZwave "Groups & Network" network interface (see screenshot above) to a button and quickly press the Incl button on the back of your remote 3x.
The groups are already there (all 12), with a plus sign in each group for the Zwave device. With "add a group to a button", do you mean I should click the plus sign, enter the node ID and then press the include button 3x?
I moved to HomeAssistant. It was fun while it lasted!
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

Currently I go to Domoticz > Hardware > Controller Setup, select Include and press the button 3 times to wake it up. Can that be done more easily?
Not sure why you should do that at all.

If you want Domoticz to see Button-1 on the remote, you should add node 1 (this is the Z-stick) to group 2 off the remote (examine the screenshot off the groups above). And yes, you do that via the plus sign below the group, on the node off the remote (node 10 in the screenshot).
Do you have ssh access to you NAS? If so, use the trace function of the stick to monitor if the stick received the 3x incl wake-up and if it has send the command you gave it -> Assign node 1 (Z-stick) to the remote group 2.
"add a group to a button"
My bad, this should be "add a node to a button". My apologies for the confusion :oops:

To enable tracing on the stick:
Domoticz > Setup > Hardware > Click the Setup button next to OpenZWave USB > Click on the line which says Z-Stick USB -> below you get the options which are available for the stick. One off them is 'Enable Debug'. Change that to one (1) and press Apply configuration for this device (at the bottom).
You now can tail OZW.log to trace the progress of your configuration actions on the remote.
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by mcwieger »

Strangely enough, the behaviour of my setup appears to be the complete opposite of TS.

Well, not completely. To start: the device is sleeping:
Image

However, when I press All On/Off, the device works: all nodes attached (in this case Lamp and Lamp 2) are switched on and off. Perfect! But strange, as I don't have to use Include at all.

And looking at the nodes, this is the current config:
Image

So no nodes in any of the groups (also not in groups 9-12). But when I select the remote, the situation is as follows:
Image

Not sure what it means when you have the 'thin' connection to the node. It's probably not that it can be controlled, or is it? Because that would mean that the remote (secondary controller) can control the Aeon stick (primary controller). Not sure if that's the case.

Then adding a node to a group. I added all nodes to group 2, resulting in this log:

2015-12-21 11:46:45.101 OpenZWave: added node: 1 (0x01) instance 0 in group: 2 of node: 4 (0x04)
2015-12-21 11:46:54.032 OpenZWave: added node: 2 (0x02) instance 0 in group: 2 of node: 4 (0x04)
2015-12-21 11:46:59.418 OpenZWave: added node: 5 (0x05) instance 0 in group: 2 of node: 4 (0x04)

This does not result in any of the nodes being included (visibly) in the group.

With regards to logging: I'm doing all file transfers etc from the command line using SSH, but haven't seen OZW.log. Is that the same log as displayed under Setup > Log?

There's probably a config file where inclusion in groups is managed. Can I update that manually (though not preferred)?
I moved to HomeAssistant. It was fun while it lasted!
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by mcwieger »

Found the OZW log. On my Synology it's in /var and called OZW_Log.txt (just putting in info like this for other users, if any).

New lines are added in the log for On and Off commands:

Code: Select all

2015-12-22 17:39:02.313 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x04, 0x04, 0x02, 0x27, 0x04, 0xd2
2015-12-22 17:39:02.341 Detail, 
2015-12-22 21:34:38.288 Detail, Node004,   Received: 0x01, 0x08, 0x00, 0x04, 0x04, 0x04, 0x02, 0x27, 0x05, 0xd3
2015-12-22 21:34:38.288 Detail,
Other buttons don't result in any new lines.

Adding new nodes in a group of the remote results in this:

Code: Select all

2015-12-22 21:40:41.163 Info, Node004, Association::Set - Adding node 2 to group 3 of node 4
2015-12-22 21:40:41.163 Detail, 
2015-12-22 21:40:41.163 Detail, Node004, Queuing (WakeUp) AssociationCmd_Set (Node=4): 0x01, 0x0b, 0x00, 0x13, 0x04, 0x04, 0x85, 0x01, 0x03, 0x02, 0x25, 0x21, 0x66
2015-12-22 21:40:41.163 Info, Node004, Get Associations for group 3 of node 4
2015-12-22 21:40:41.163 Detail, 
2015-12-22 21:40:41.163 Detail, Node004, Queuing (WakeUp) AssociationCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x85, 0x02, 0x03, 0x25, 0x22, 0x62
2015-12-22 21:40:47.752 Info, Node004, Association::Set - Adding node 5 to group 3 of node 4
2015-12-22 21:40:47.753 Detail, 
2015-12-22 21:40:47.753 Detail, Node004, Queuing (WakeUp) AssociationCmd_Set (Node=4): 0x01, 0x0b, 0x00, 0x13, 0x04, 0x04, 0x85, 0x01, 0x03, 0x05, 0x25, 0x23, 0x63
2015-12-22 21:40:47.753 Info, Node004, Get Associations for group 3 of node 4
2015-12-22 21:40:47.753 Detail, 
2015-12-22 21:40:47.753 Detail, Node004, Queuing (WakeUp) AssociationCmd_Get (Node=4): 0x01, 0x0a, 0x00, 0x13, 0x04, 0x03, 0x85, 0x02, 0x03, 0x25, 0x24, 0x64
So it appears they are added, however no nodes are added in the UI, nor do the buttons do anything.
I moved to HomeAssistant. It was fun while it lasted!
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

Great! You now can add the buttons you've made available to a switch or scene :)
UI takes time to update, a 'Heal network' can help speeding this up. (need to press incl 3x to make it work as OZW requests all nodes their status...)

Sorry for the misspelling of the log... Working on a completely different project ATM.
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
mcwieger
Posts: 107
Joined: Tuesday 08 December 2015 9:59
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by mcwieger »

Ok, think I'm there...Quick wrap-up how I got it to work.

1. Include device in hardware: go to Setup > Hardware. Select primary controller (Aeon Stick) and click Setup. Go to Node Management > Include Node and click Incl. button on remote 3x.
2. Enable configuration for device: place ZME_RC2.xml file (see this forum topic) in ../domoticz/Config/zwave.me/ folder and add device to manufacturer_specific.xml in ../domoticz/Config/ (see start post)
3. Include devices (nodes) to be controlled by remote to remote goups: go to Setup > Hardware. Select primary controller (Aeon Stick) and click Setup. Go to Node Management > Groups & Network. Click the + sign in a group and add the node to be added in that group. Note: Group 2 in this screen is Group 1 on your remote, 3=2, 4=3, etc.
4. If the node is not added in the screen immediately: click the Incl. button on remote 3x. Close the Groups & Network screen and re-open. The nodes should now be visible in the groups.
5. In order to control scenes with the remote: First add primary controller to Group 9/10/11. Then go to Scenes > Add Scene. Create a scene and edit it. Go to Activation Devices > Add device. Click Up (or Down) button of Scene 1/2/3 on the remote 3x

I can now control the selected devices with the configured buttons, including All On/Off (didn't do anything to enable this) and control scenes.

Final open issue: control groups (in Scenes). Guess it's not really needed, as you can create Scenes instead, but if you run out of Scene buttons, it may come in handy. Anyone managed to get it to work?

@SpanishInq: thanks a lot for your help!
I moved to HomeAssistant. It was fun while it lasted!
User avatar
TheSpanishInq
Posts: 31
Joined: Saturday 18 April 2015 14:04
Target OS: Linux
Domoticz version: 2020.2
Location: The Netherlands
Contact:

Re: Z-Wave.me ZME_RC2 WIP

Post by TheSpanishInq »

You're welcome.
Good to see you got it working! You can modify the buttons on the remote to send scene commands BTW, instead off on/off/dim. And you can add several switches to a scene (and call it a group :) ).
Domoticz on Debian AMD64 with Aeon Z-Stick. V2020.2 (build 12900)
ZME_RC2
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest