Page 1 of 1
No response from group 2 on Duwi.Me switch
Posted: Thu Jan 03, 2013 10:32 pm
by Michiel
Hi,
I Have some trouble getting updates from group 2 on my Duwi .Me wall switch.
Normal single click (on the switch) events are displayed directly in the Domotiga log, however, when I double click the switch I get no response from group 2.
The switch is displayed in the Z-Wave Commander as a Binary Switch as Z-Wave.Me.
In the debugging from Z-Wave and in the log see this when double clicking on the switch.
Code: Select all
2013-01-03 18:40:15:345 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0xff, 0x29
2013-01-03 18:40:15:346 Node006, Received Basic set from node 6: level=255. Sending event notification.
2013-01-03 18:40:15:595 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0xff, 0x29
2013-01-03 18:40:15:596 Node006, Received Basic set from node 6: level=255. Sending event notification.
In the zwcfg_0x014cfb84.xml I see that there is a group 1, 2 and 3.
I'm running Domotiga 1.0.002 and openzwave revision 571.
Am I missing something? Or did I make a mistake somewhere?
Thanks in advance.
Re: No response from group 2 on Duwi.Me switch
Posted: Sat Jan 05, 2013 2:02 pm
by uAlex73
Can you copy-paste the relevant part of the zwcfg*xml? It is possible the association is missing for group 2.
Re: No response from group 2 on Duwi.Me switch
Posted: Mon Jan 07, 2013 12:01 am
by Michiel
Here the part from my node 6:
Code: Select all
<Node id="6" name="" location="" basic="4" generic="16" specific="1" type="Binary Power Switch" listening="true" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
<Manufacturer id="0115" name="Z-Wave.Me">
<Product type="1000" id="0001" name="Unknown: type=1000, id=0001" />
</Manufacturer>
<CommandClasses>
<CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Value type="byte" genre="all" instance="1" index="0" label="Basic" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
</CommandClass>
<CommandClass id="37" name="COMMAND_CLASS_SWITCH_BINARY" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Value type="bool" genre="user" instance="1" index="0" label="Switch" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="2" min="0" max="0" value="False" />
</CommandClass>
<CommandClass id="39" name="COMMAND_CLASS_SWITCH_ALL" version="1" request_flags="4" create_vars="true">
<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="1" 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="112" name="COMMAND_CLASS_CONFIGURATION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
</CommandClass>
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
</CommandClass>
<CommandClass id="117" name="COMMAND_CLASS_PROTECTION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Value type="list" genre="system" instance="1" index="0" label="Protection" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="0" size="1">
<Item label="Unprotected" value="0" />
<Item label="Protection by Sequence" value="1" />
<Item label="No Operation Possible" value="2" />
</Value>
</CommandClass>
<CommandClass id="119" name="COMMAND_CLASS_NODE_NAMING" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
</CommandClass>
<CommandClass id="133" name="COMMAND_CLASS_ASSOCIATION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Associations num_groups="3">
<Group index="1" max_associations="8" label="Group 1" auto="true">
<Node id="1" />
</Group>
<Group index="2" max_associations="8" label="Group 2" auto="false">
<Node id="1" />
</Group>
<Group index="3" max_associations="8" label="Group 3" auto="false" />
</Associations>
</CommandClass>
<CommandClass id="134" name="COMMAND_CLASS_VERSION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Value type="string" genre="system" instance="1" index="0" label="Library Version" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="" />
<Value type="string" genre="system" instance="1" index="1" label="Protocol Version" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="" />
<Value type="string" genre="system" instance="1" index="2" label="Application Version" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="" />
</CommandClass>
<CommandClass id="135" name="COMMAND_CLASS_INDICATOR" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
<Value type="byte" genre="user" instance="1" index="0" label="Indicator" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
</CommandClass>
<CommandClass id="142" name="COMMAND_CLASS_MULTI_INSTANCE_ASSOCIATION" version="1" request_flags="4" create_vars="true">
<Instance index="1" />
</CommandClass>
</CommandClasses>
</Node>
It seems the config finds 3 groups.
At the part associations is group 1 "true" and group 2 and 3 "false". However, I cannot find if these settings are the correct ones for the double tap from this switch, and also how these can be changed.
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 08, 2013 8:52 am
by uAlex73
I checked the database:
http://www.pepper1.net/zwavedb/device/135
Paramter No. 14 Size 1 Default 0
Name Action on button double press or hold
Description Defines which command should be sent on button double press or press-hold. Basic commands are sent to Association group. Switch All commands are sent broadcast. If not disabled, the device will wait for a click timeout to see if the second click would be pressed. This will introduce a small delay for single click commands.
Type rangemapped
Values
0 -> Disabled (don't wait for double click)
1 -> Switch On, Off and dim using Basic Set
2 -> Switch All
That seems to control the double click of your device, and it seems by default it is disabled.
Can you got to the Z-Wave Commander and do the following:
- Click on the ZWave.me device
- Click on the configuration tab
- Fill in "14" in the parameter field
- Fill in "1" in the value field
- Click on "Set"
Only i don't think you will see a behavior change in DomotiGa, because the single and double click seem to use the *same* variable to send the info to the controller. The only difference is the group 1 and 2, which aren't passed on to the application (but i need to check the open-zwave code again).
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 08, 2013 8:58 am
by uAlex73
Ps. if you associate group 3 to the controller (node 1), then you will get automatic updates from the switch when pressing the button. Then you don't have to pull the device regularly (this is how i setup my zwave.me blind controller). This can be done by open-zwave, but then you require to submit a device profile as "issue":
http://code.google.com/p/open-zwave/issues/list
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 08, 2013 11:54 am
by Michiel
Thanks, I will try to find out if the OZW log receives the group 2 value after the parameter 14 is set.
Hopefully DomotiGa also detects a change so I can trigger an action with this event.
I Will let you know.
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 08, 2013 11:52 pm
by Michiel
Unfortunately it seems the openzwave wrapper does not recognize the double click as you thought.
This is the OZW log for the double click:
Code: Select all
2013-01-08 22:40:42:427 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0xff, 0x29
2013-01-08 22:40:42:428 Node006, Received Basic set from node 6: level=255. Sending event notification.
2013-01-08 22:40:44:168 Node006, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x06, 0x03, 0x20, 0x01, 0xff, 0x29
2013-01-08 22:40:44:168 Node006, Received Basic set from node 6: level=255. Sending event notification.
If I hold the button and release it, this is what I receive in the log:
Code: Select all
2013-01-08 22:40:46:268 Node006, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x06, 0x04, 0x26, 0x04, 0x20, 0x00, 0xf1
2013-01-08 22:40:46:269 Node006, ApplicationCommandHandler - Unhandled Command Class 0x26
2013-01-08 22:40:46:617 Node006, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x06, 0x02, 0x26, 0x05, 0xd4
2013-01-08 22:40:46:618 Node006, ApplicationCommandHandler - Unhandled Command Class 0x26
It seems it is not yet implemented in the openzwave wrapper....?
Re: No response from group 2 on Duwi.Me switch
Posted: Wed Jan 09, 2013 10:04 am
by uAlex73
This logging is from OZW (open-zwave library), not from the wrapper. The last one is interesting, because it is the MULTILEVEL commandclass, which isn't in your zwcfg*xml (then it will not be send to the wrapper). We should be able to add it in the product specific xml file and submit it to the open-zwave.
ps. i don't think the double-click will work as you hoped it work, it is just not in the z-wave spec/implementation of the device.
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 22, 2013 10:55 am
by Michiel
Sorry for the delay.
I Will wait whenever it is implemented in Open Zwave.
Thanks for the support.
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Jan 22, 2013 8:14 pm
by uAlex73
Is it this device:
http://www.pepper1.net/zwavedb/device/321
Here you can see the MultiLevel isn't in the NIF, what open-zwave is triggering on.
Can you send me your zwcfg*xml and tell me the Node Id. Then i will create a config file and submit it as an issue to the open-zwave library (else you can wait looooooong).
Re: No response from group 2 on Duwi.Me switch
Posted: Tue Feb 05, 2013 6:30 pm
by Michiel
Hi,
I Don't know the manufactor of the device, but it is this one:
http://www.hashop.nl/Webwinkel-Product- ... aeger.html
Attached is my zwcfg.
The node id is: 6
I'm look forward to an update
Thanks.
Re: No response from group 2 on Duwi.Me switch
Posted: Sun Mar 24, 2013 9:31 am
by christiand
I made an issue at the openzwave website to add this switch to the specific manufacturer xml file.
http://code.google.com/p/open-zwave/iss ... 1364110227