Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Linear WD500Z-1 dimmer switch: openHAB not seeing results of physical button presses #1321

Closed
Human opened this issue Aug 4, 2014 · 109 comments
Assignees

Comments

@Human
Copy link

Human commented Aug 4, 2014

In Z Wave binding version 1.5.0.201403252204, openHAB sees and reacts to the results of physical button presses on binary switches, both in terms of updating its UI and firing rules. Working example:

Switch Fan_SF "Fan" (SF, Fans) {zwave="4:command=switch_binary"}

However, it does not see or react to physical button presses on multilevel (dimmer) switches. Non-working example:

Dimmer Light_SF "Ceiling Light [%d %%]" (SF, Lights) {zwave="5:restore_last_value=true"}

It does, however, work when using a GUI like the web UI or the Android client, so it can successfully feed changes forward to the physical dimmer switch, but it seems to be unable to notice any changes from the physical dimmer switch.

@cdjackson
Copy link
Contributor

What type of dimmer is it? Have you configured an association? 

Chris

Sent from Samsung Mobile

-------- Original message --------
From: Bob Igo [email protected]
Date:04/08/2014 21:20 (GMT+00:00)
To: openhab/openhab [email protected]
Subject: [openhab] Z Wave Dimmer: openHAB not seeing results of physical button presses (#1321)
In Z Wave binding version 1.5.0.201403252204, openHAB sees and reacts to the results of physical button presses on binary switches, both in terms of updating its UI and firing rules. Working example:

Switch Fan_SF "Fan" (SF, Fans) {zwave="4:command=switch_binary"}

However, it does not see or react to physical button presses on multilevel (dimmer) switches. Non-working example:

Dimmer Light_SF "Ceiling Light [%d %%]" (SF, Lights) {zwave="5:restore_last_value=true"}

It does, however, work when using a GUI like the web UI or the Android client, so it can successfully feed changes forward to the physical dimmer switch, but it seems to be unable to notice any changes from the physical dimmer switch.


Reply to this email directly or view it on GitHub.

@Human
Copy link
Author

Human commented Aug 6, 2014

The switch is a Linear WD500Z-1. I only added it to my z wave network (registered it with my Z Stick) and didn't associate it with any groups, if that's what you're asking. In openHAB, it's part of the SF (Second Floor) group, but I don't see any indication that it's grouped as far as the Z Wave network is concerned. If that's not what you're asking, please let me know.

@jspuij
Copy link
Contributor

jspuij commented Aug 6, 2014

http://www.vesternet.com/knowledgebase/technical/kb-3

Although slightly different symtoms, I've experienced this myself with the fibaro dimmer. The controller needs to be in association group 3 to function correctly and receive updates from the dimmer. Other options are non working return routes. If you have incorrect return routes in the dimmer, it will not be able to reach the controller on it's own.

@Human
Copy link
Author

Human commented Aug 6, 2014

Is it possible to tell the z stick (my controller) to be in "association group 3" using habmin or any tools in openhab?

@cdjackson
Copy link
Contributor

I’m not sure what the Fibaro has to do with this? The switch is a different one…

For Fibaro, then yes, for most Fibaro switches you need to set an association with group 3, but this switch is a different product so it’s likely to be a different group (assuming of course that it handles associations at all). If this device is recognised in HABmin (I don’t see Linear as a known manufacturer), then you can set up the associations easily by going to the associations folder. If the device isn’t recognised, then you need to find the information - either the manufacturers instructions if they provide the configuration/association information, or preferably, in the pepper1 database.

If you can find this, then I’ll add it to the database. The next question will be if it supports associations.

Chris

@Human
Copy link
Author

Human commented Aug 6, 2014

I installed the latest HABmin master HEAD and deployed the 1.6.0 snapshot jars for both habmin and zwave (and removed the 1.5.0 jars). I looked for Association Groups for all my z wave devices, as shown here but I don't have that field for my z wave devices. Is Association Groups what you mean by the "associations folder" or is that a separate thing?

HABmin does see the device, but it just reports its HEX IDs and not human-readable names, so I don't know if that counts as it recognizing it. Here's how it looks:
linear_dimmer_habmin I do see the WD500Z-1 in pepper1. What should I do next?

@cdjackson
Copy link
Contributor

Perfect - thanks for the info. I’ll add this to the database - probably tomorrow. One more question though - can you also send the node5.xml file from /etc/zwave/1.6 folder. I just want to check that associations are supported - pepper says there are 2 association groups, but it also says that association command class isn’t supported, so one much be wrong. The XML file should show what the device actually reports.

Cheers
Chris

@Human
Copy link
Author

Human commented Aug 6, 2014

node5.xml (it wouldn't let me attach it)

  <deviceClass>
    <basicDeviceClass>ROUTING_SLAVE</basicDeviceClass>
    <genericDeviceClass>MULTILEVEL_SWITCH</genericDeviceClass>
    <specificDeviceClass>SCENE_SWITCH_MULTILEVEL</specificDeviceClass>
  </deviceClass>
  <version>4</version>
  <manufacturer>0x14f</manufacturer>
  <deviceId>0x3034</deviceId>
  <deviceType>0x4457</deviceType>
  <listening>true</listening>
  <frequentlyListening>false</frequentlyListening>
  <routing>true</routing>
  <supportedCommandClasses>
    <entry>
      <commandClass>SCENE_ACTIVATION</commandClass>
      <sceneActivationCommandClass>
        <version>1</version>
        <instances>0</instances>
      </sceneActivationCommandClass>
    </entry>
    <entry>
      <commandClass>CONFIGURATION</commandClass>
      <configurationCommandClass>
        <version>1</version>
        <instances>0</instances>
        <configParameters/>
      </configurationCommandClass>
    </entry>
    <entry>
      <commandClass>SWITCH_MULTILEVEL</commandClass>
      <multiLevelSwitchCommandClass>
        <version>1</version>
        <instances>0</instances>
      </multiLevelSwitchCommandClass>
    </entry>
    <entry>
      <commandClass>NO_OPERATION</commandClass>
      <noOperationCommandClass>
        <version>1</version>
        <instances>0</instances>
      </noOperationCommandClass>
    </entry>
    <entry>
      <commandClass>BASIC</commandClass>
      <basicCommandClass>
        <version>1</version>
        <instances>0</instances>
      </basicCommandClass>
    </entry>
    <entry>
      <commandClass>VERSION</commandClass>
      <versionCommandClass>
        <version>1</version>
        <instances>0</instances>
        <libraryType>LIB_UNKNOWN</libraryType>
      </versionCommandClass>
    </entry>
    <entry>
      <commandClass>MANUFACTURER_SPECIFIC</commandClass>
      <manufacturerSpecificCommandClass>
        <version>1</version>
        <instances>0</instances>
      </manufacturerSpecificCommandClass>
    </entry>
  </supportedCommandClasses>
  <nodeNeighbors/>
  <lastUpdated>2014-08-06 16:21:20.599 UTC</lastUpdated>
  <queryStageTimeStamp>2014-08-06 16:21:20.598 UTC</queryStageTimeStamp>
  <nodeStage>DONE</nodeStage>

@cdjackson
Copy link
Contributor

Thanks. It doesn’t seem to include associations, but then there are a number of other classes that aren’t reported here either. I think I’ll make a version that includes associations, and you can see if it works. Alternatively, maybe you can see if there’s any other info on the web anywhere that supports (or not) that the device has associations?

Chris

On 6 Aug 2014, at 17:56, Bob Igo [email protected] wrote:

node5.xml (it wouldn't let me attach it)

ROUTING_SLAVE MULTILEVEL_SWITCH SCENE_SWITCH_MULTILEVEL 4 0x14f 0x3034 0x4457 true false true SCENE_ACTIVATION 1 0 CONFIGURATION 1 0 SWITCH_MULTILEVEL 1 0 NO_OPERATION 1 0 BASIC 1 0 VERSION 1 0 LIB_UNKNOWN MANUFACTURER_SPECIFIC 1 0 2014-08-06 16:21:20.599 UTC 2014-08-06 16:21:20.598 UTC DONE``` — Reply to this email directly or view it on GitHub.

@Human
Copy link
Author

Human commented Aug 6, 2014

I'd be happy to test any potential fixes :)

It looks like the WD500Z-1 does support assocations:

The WD500Z-1 supports the Association command.

The behavior is slightly confusing to me, though. According to the manual, it will only send to groups 2 or 3 if you double or triple tap the switch, so it shouldn't be sending any association/group commands on single taps.

@cdjackson
Copy link
Contributor

I note on the pepper database it shows groups 2 and 3 - maybe there’s also a group 1 for 1 press? I’ll add 3 groups and you can give it a go - I don’t think it can down harm (!).

@Human
Copy link
Author

Human commented Aug 6, 2014

I would hope that they'd document it being part of group 1 if it were designed to send something to group 1. Would you be willing to try it with just groups 2 and 3 first? Then I can try it again with it added to group 1. To me, it just seems odd that a single tap would send commands to a group.

@Human
Copy link
Author

Human commented Aug 6, 2014

I also wanted to add this observation from another angle of the problem: If I, say, adjust the light to 60% via the web UI or Android GUI, the light changes as expected. Then, if I tap the OFF button on the device, it shuts off, but in either UI, it still shows as 60%. openHAB ends up with a different idea of what state the device is in. That may have been clear, but I wanted to make sure.

@cdjackson
Copy link
Contributor

If I add all 3 groups, you don’t need to use group 1 and I can always remove it. The Fibaro devices do send association commands on a single press - it allows you to (for example) have the switch turn on a separate light at the same time as the connected load. It’s also used to send notifications to a controller - this is the purpose of group 3 in the Fibaro devices (and this is what you need).

@cdjackson
Copy link
Contributor

That’s clear - this is the purpose of the association. Without the association, the device doesn’t send its status to the controller…

There are other ways to do this if we find that the association route doesn’t work, but associations are the most common way to provide updates to the controller.

@Human
Copy link
Author

Human commented Aug 6, 2014

Cool. Thanks for looking into this! I'll be able to test at your convenience. (Will you be making the changes on a public branch that I can get to?)

@cdjackson
Copy link
Contributor

I’ve pushed the changes to the main OH repo. You can either wait for Thomas to merge this, or if you want to pull it from my branch and compile yourself that should also be possible - I think you should be able to follow the reference to the PR that’s hopefully shown above.

@Human
Copy link
Author

Human commented Aug 8, 2014

I updated my copy of the master branch and manually imported your changes (I wasn't sure how to merge your fork's commit, since I didn't fork the project.) In any case, the metadata is now present, making me confident that my manual merge was successful, but I still don't see anything about associations in the UI or the logs. The behavior is the same as well (which may or may not be expected without the ability to configure associations).
linear_zwave

I also checked that I'm using all the jars and other files from the build I made from master. (So, all 1.6.0 snapshot versions.)

@cdjackson
Copy link
Contributor

Try grabbing it again - I forgot to add something...

@Human
Copy link
Author

Human commented Aug 8, 2014

I rebuilt with your change to wdz500-1.xml but I see similar behavior as before.
linear_dimmer Your change just affects the zwave binding jar, correct?

@cdjackson
Copy link
Contributor

Yes - it’s just the zwave. What do you see if you look in the product explorer - does it show associations there? I’m guessing not, but if not, this is likely an issue with the static definition - the thing I added was to put command class 85 (associations) into the XML and this should have been enough to add it in the GUI…

@Human
Copy link
Author

Human commented Aug 8, 2014

I don't see associations in the product explorer.
product_explorer

@cdjackson
Copy link
Contributor

Sorry - big oops on my part - I forgot to reference the file!
Give it a go now...

@Human
Copy link
Author

Human commented Aug 9, 2014

I see Association Groups in the product explorer now. The devices view now has Association Groups, but there's nothing under it.

product_explorer

linear_dimmer

@cdjackson
Copy link
Contributor

Is there any error logged in the log file? Also, is there anything under Configuration Parameters?

I think some time soon we’re going to strike a problem we can’t solve - and that is that the device doesn’t appear to want to own up to supporting associations. This means once we get one more step (I think) it won’t allow us to actually do anything since the command class doesn’t exist. You could try deleting the XML file (in the etc folder) to see if it changes next time it initialises...

@Human
Copy link
Author

Human commented Aug 9, 2014

From startup to full readiness:
Launching the openHAB runtime... osgi> java.io.IOException: Bad file descriptor at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:272) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at org.apache.felix.gogo.runtime.threadio.ThreadInputStream.read(ThreadInputStream.java:77) at org.apache.felix.gogo.shell.Console.getLine(Console.java:117) at org.apache.felix.gogo.shell.Console.run(Console.java:53) at org.apache.felix.gogo.shell.Shell.console(Shell.java:203) at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.felix.gogo.shell.Activator.run(Activator.java:75) at java.lang.Thread.run(Thread.java:744) 20:51:43.437 INFO o.o.c.internal.CoreActivator[:61] - openHAB runtime has been started (v1.6.0). 20:52:04.230 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'rrd4j.persist' 20:52:05.960 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'logging.persist' 20:52:06.187 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'exec.persist' 20:52:06.322 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'db4o.persist' 20:52:17.263 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'igo.items' 20:52:27.783 INFO o.o.i.s.i.DiscoveryServiceImpl[:72] - mDNS service has been started 20:52:31.683 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'igo.sitemap' 20:52:36.465 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'igo.script' 20:52:54.323 INFO o.o.io.rest.RESTApplication[:143] - Started REST API at /rest 20:53:01.996 INFO o.o.u.w.i.s.WebAppServlet[:79] - Started Classic UI at /openhab.app 20:53:22.500 INFO o.o.m.c.i.ModelRepositoryImpl[:79] - Loading model 'igo.rules' 20:53:36.701 INFO o.o.i.habmin.HABminApplication[:181] - Started HABmin REST API at /services/habmin 20:53:42.914 INFO o.o.b.z.i.ZWaveActiveBinding[:301] - Update config, port = /dev/ttyUSB0 20:53:42.939 INFO o.o.c.s.AbstractActiveService[:169] - ZWave Refresh Service has been started 20:53:43.222 INFO o.o.b.z.i.p.ZWaveController[:136] - Starting Z-Wave controller 20:53:43.232 INFO o.o.b.z.i.p.ZWaveController[:141] - Z-Wave timeout is set to 5000ms. 20:53:43.241 INFO o.o.b.z.i.p.ZWaveController[:299] - Connecting to serial port /dev/ttyUSB0 RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0 20:53:43.986 INFO o.o.b.z.i.p.ZWaveController[:312] - Serial port is initialized 20:53:45.236 INFO o.o.c.s.AbstractActiveService[:169] - HTTP Refresh Service has been started 20:53:46.484 INFO o.o.c.s.AbstractActiveService[:169] - NTP Refresh Service has been started 20:53:46.613 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:57] - NODE 1: Node found 20:53:46.620 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:57] - NODE 2: Node found 20:53:46.627 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:57] - NODE 3: Node found 20:53:46.633 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:57] - NODE 4: Node found 20:53:46.639 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:57] - NODE 5: Node found 20:53:46.651 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:65] - ZWave Controller using Controller API 20:53:46.657 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:66] - ZWave Controller is Primary Controller 20:53:46.663 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:67] - ------------Number of Nodes Found Registered to ZWave Controller------------ 20:53:46.671 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:68] - # Nodes = 5 20:53:46.677 INFO o.o.b.z.i.p.s.SerialApiGetInitDataMessageClass[:69] - ---------------------------------------------------------------------------- 20:54:04.234 INFO runtime.busevents[:26] - Light_FF_Pantry_Ceiling state updated to OFF 20:54:05.619 INFO runtime.busevents[:26] - Light_SF_Bedside state updated to OFF 20:54:07.143 INFO runtime.busevents[:26] - Fan_SF_Daphne state updated to OFF 20:54:08.296 INFO runtime.busevents[:26] - Light_SF_Daphne state updated to 0 20:55:53.574 INFO o.openhab.model.script.Dimmer [:53] - 0 20:56:26.253 INFO org.openhab.model.script.Fan [:53] - OFF 20:56:33.855 INFO o.openhab.model.script.pantry[:53] - turned OFF

After tapping the dimmer's ON button at ~21:02, there was no additional logging.

@Human
Copy link
Author

Human commented Aug 9, 2014

Also, I have been deleting the XML files for nodes 3-5 each time I've tried a new build. Should I try deleting all of them?

@cdjackson
Copy link
Contributor

No - deleting the other XMLs won’t make any difference. I assume each time they come back they don’t show the associations class?

I don’t see anything wrong in the log either.

I had a scan around the web and it seems other controllers have this problem as well with this device (i.e. the device seems to report that it doesn’t support the association command class, so it doesn’t allow associations). (http://forum.micasaverde.com/index.php?topic=23122.0). I think this link also indicates that there is a group 1, and that it’s used in Vera to report the device status, so I think this confirms my suspicions on how to se this up (i.e. group 1 is likely to be the “1 click” group.

Something to try - don’t delete the XML files, but add the following into the supportedCommandClasses part -:

<entry>
  <commandClass>ASSOCIATION</commandClass>
  <associationCommandClass>
    <version>1</version>
    <instances>0</instances>
    <configAssociations>
      <entry>
        <int>1</int>
        <associationGroup>
          <Index>1</Index>
          <Nodes/>
        </associationGroup>
      </entry>
      <entry>
        <int>2</int>
        <associationGroup>
          <Index>2</Index>
          <Nodes/>
        </associationGroup>
      </entry>
      <entry>
        <int>3</int>
        <associationGroup>
          <Index>3</Index>
          <Nodes>
          </Nodes>
        </associationGroup>
      </entry>
    </configAssociations>
  </associationCommandClass>
</entry>

This should fool the binding into thinking the device has reported this command class, and it should (hopefully!) allow you to set up the associations.

Let me know how this goes...

@Human
Copy link
Author

Human commented Aug 10, 2014

I forgot to add that there is content under Configuration Parameters.

configuration

@benmargolin
Copy link

Debug log from startup, hope it helps. openhab_linear_dimmers_nodes235.txt

Big thanks, Chris, really appreciate your diligence! If you think I should upgrade my entire tree to the 1.9.0 snapshot I can give that a try too, I guess -- probably tomorrow, need to get some sleep shortly. Thanks again!

@cdjackson
Copy link
Contributor

Sorry - one more important step I forgot to add - you need to delete the XML file for the node. This will ensure that OH does a full discovery of the device and we get all the information logged.

@benmargolin
Copy link

benmargolin commented Aug 22, 2016

OK, done. Removed the XML files first. New log and node2.xml attached:
openhab_log.txt
node2_xml.txt

Thanks again.

EDIT: Oh and also, still no association groups in habmin for those nodes. Seems like they should match up with the DB entry in file "database/linear/wdz500-1.xml", but...??

@cdjackson
Copy link
Contributor

Thanks. So the device doesn’t report that it supports association command class which is why it’s not showing up. This is also shown in the pepper1 database (http://www.pepper1.net/zwavedb/device/482 http://www.pepper1.net/zwavedb/device/482).

Please email me directly at chris -at- cd-jackson.com and I’ll create a version that forces this class into the configuration and we can see what happens then...

@djarvis
Copy link

djarvis commented Sep 5, 2016

I am also interested in the outcome of this thread. I have found that only the Linear dimmers work satisfactorily with LED bulbs so I would like to see this working without having to turn on so much polling. I have forced the appearance of associations through hacking up the XML file but adding an association back to the controller through any of these makes no difference, which is the same outcome as Human saw. I have not yet poked around at any log files, as I just got started with this not too long ago.

Thanks!

@cdjackson
Copy link
Contributor

I believe we concluded that the device doesn't support associations.

@djarvis
Copy link

djarvis commented Sep 5, 2016

Oh ok. For group 1 or for all groups? The manual says it supports associations for groups 2 and 3. When I use habmin to add a device into these groups it doesn't seem to stick.

@djarvis
Copy link

djarvis commented Sep 5, 2016

The reason why I am asking is because I want to program this switch so that if I double tap on the up position I want the light to go to 100% instead of the last remembered position. Figured I could use association group #2 for that.

@djarvis
Copy link

djarvis commented Sep 5, 2016

I also got a couple of these: http://www.thesmartesthouse.com/products/zooz-z-wave-plus-dimmer-light-switch-zen22. They are still in the box so I haven't tested them yet. They say they support group 1 associations. Is there a device configuration in OpenHAB for this device? I couldn't find it at cd-jackson.com under "zen22" but perhaps it's under a different name.

If these happen to work with my LED bulbs then I will likely move forward with more purchases of these.

@cdjackson
Copy link
Contributor

I think all groups didn’t work. Note that starting association numbers from 2 is not allowed, so if the device did do this, it would be non compliant to the zwave protocol.

@benmargolin
Copy link

Wow @djarvis , those Zooz dimmers look kind of awesome for the $ -- actual screw/push terminals, screwless faceplate, and Zwave+ for $27? Makes me want to replace some of my Linears if they work well with LEDs (says min 15W load, I don't have that everywhere, sadly). Please report back if you got them working, and with associations, etc.

Also, btw, the Linears claim to have "shade control" via double(+)-tap on top and bottom. I haven't had a chance to try and configure this, I think (sincerely hope) it means it'll send out UP/DOWN events to associated devices in those cases. Manual: http://www.nortekcontrol.com/pdf/manuals/WD500Z1_manual.pdf (Note that yes, it also claims they do association with group 2 & 3, not sure if this works or not, I understand if it wouldn't meet zwave spec).

@djarvis
Copy link

djarvis commented Sep 7, 2016

Yes, @benmargolin , I was happy to see what appeared to be a quality LED dimmer at a decent price. I still have two of these in their boxes- I haven't tried them yet.

However, naturally there is no silver bullet with any of this. There can't just exist a nice quality LED dimmer with all the Z-wave support to satisfy, it's against some sort of law that we can't quite understand yet- like gravity, or dark matter, or something.

I got an email from thesmartesthouse.com about these ZEN22's that I bought. Apparently there is a minor annoyance issue with these in that the paddle-up turns the light off and paddle-down turns the paddle on. AND, these do not support the configuration command class at all so there is no command available to reverse the polarity on these (like you see with a lot of other switches). They are working on resolving the issue somehow, and asked if I wanted to just return them or keep them for a few days until they work something out. I told her I was going to keep them. So, I'm waiting to hear back from her with what they come up with.

There is also no companion auxiliary switch available for these for a traditional 3-way wired installation (using the traveler terminal). One can, however, use a standalone switch to do it through zwave/software.

@benmargolin
Copy link

@djarvis ho ho ho you must be kidding about the flipped on/off... that is crazy! That would be a dealbreaker for my wife. Hard to believe they both got the default wrong and didn't include a config to flip it. Sigh. Maybe "Zooz" is about the quality you'd expect based on the name :)

Seeing how the instant-update patent seems to be expired, I'm hopeful for an update to the Linear switches that:
(a) have screw terminals instead of wires
(b) have z-wave plus
(c) support instant update
for hopefully about the same price. I'd actually replace/upgrade some of mine if that were the case.

As usual, we get bitten for being any kind of early adopter, but such is life!

@djarvis
Copy link

djarvis commented Sep 8, 2016

Yes, I got an update with regard to their faulty inventory:

We are still negotiating with the factory regarding inventory exchange but it looks like somehow these switches were just designed this way. We are scratching our heads how this could have ever been approved and the only idea that comes to mind is that nobody tests switches mounted on the wall. Our technicians are usually focused on wiring and Z-Wave operation, they either have the switches laid down on the table or hold them in hand. And since we have never come across a similar issue before, it's so basic that nobody would check this detail in particular.

It looks like right now we are stuck with this inventory and will not be able to offer an exchange until the next production cycle which may be a few months away. At this point, we can take the switches back for a refund or offer additional 10% off to at least partially make up for the inconvenience if you decide to keep them.

Please let me know how you would like to move forward and we will finalize accordingly.

So unless I want to install the switches upside-down I suppose I'll just get a refund. Here's hoping they can work it out in their next batch.

@djarvis
Copy link

djarvis commented Sep 10, 2016

Anyway, back the linear WD500Z switch topic. @cdjackson was it really determined that association groups 2 and 3 completely just did not work? I was hoping to include my controller in the group 2 association such that I can respond to the double-tap event and do something with it. @Human : did you try getting groups 2 or 3 to work with any success?

When I include my controller in group 2, I get this in the logs:

2016-09-10 12:28:27.018 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 11 NIF event during initialisation stage PING
2016-09-10 12:28:27.018 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 12 NIF event during initialisation stage PING
2016-09-10 12:28:27.019 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 4 NIF event during initialisation stage PING
2016-09-10 12:28:27.019 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 9 NIF event during initialisation stage PING
2016-09-10 12:28:27.020 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 3 NIF event during initialisation stage PING

Still a beginner with this stuff, I'm not sure with a NIF event is, nor can I really verify if anything is being sent to the controller, nor would I really understand how I could create a rule to respond to this event if indeed all is correct up to this point.

Any help or recommendations on how to instigate/troubleshoot and/or follow the thread of events to figure this out would be super awesome. I hope to learn enough to reduce the need to ask around.

Thanks!

@cdjackson
Copy link
Contributor

I don’t think we tried groups 2 and 3, but it would be invalid for the device to support groups 2 and 3 and not support group 1. The protocol states that groups must start from 1.

When I include my controller in group 2, I get this in the logs:

This doesn’t really mean anything. What are you actually doing to include it in group 2?

@djarvis
Copy link

djarvis commented Sep 10, 2016

​Hmm. Then I suppose I likely lack complete understanding. By that, I
mean this:

[image: Inline image 1]

For the Double Tap association group, I included my zwave controller as
one of the members.

On Sat, Sep 10, 2016 at 12:55 PM, Chris Jackson [email protected]
wrote:

I don’t think we tried groups 2 and 3, but it would be invalid for the
device to support groups 2 and 3 and not support group 1. The protocol
states that groups must start from 1.

When I include my controller in group 2, I get this in the logs:

This doesn’t really mean anything. What are you actually doing to include
it in group 2?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1321 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBEEeTdYVy7KS1A05-7Y-TvFK9zrhM1ks5qouDugaJpZM4CT8Gt
.

@djarvis
Copy link

djarvis commented Sep 10, 2016

I guess my inline image didn't show.

I have this in my node13.xml:

<entry>
            <int>2</int>
            <associationGroup>
              <Index>2</Index>
              <Nodes>
                <int>1</int>
              </Nodes>
            </associationGroup>
          </entry>

So I have my controller, node 1, in the group.

@cdjackson
Copy link
Contributor

Please reply using Github, otherwise you can't send images.

@cdjackson
Copy link
Contributor

Maybe groups 2 and 3 are supported then, which would mean the device violates the protocol and shouldn't have been approved...

If you already have it associated in your device, then you should be able to test what happens? I don't have this device, so I can't do any testing.

@djarvis
Copy link

djarvis commented Sep 11, 2016

Ok well, I guess that was my question... if on a double tap on the device I only see this in the logs:

2016-09-10 12:28:27.018 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 11 NIF event during initialisation stage PING
2016-09-10 12:28:27.018 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 12 NIF event during initialisation stage PING
2016-09-10 12:28:27.019 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 4 NIF event during initialisation stage PING
2016-09-10 12:28:27.019 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 9 NIF event during initialisation stage PING
2016-09-10 12:28:27.020 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 3 NIF event during initialisation stage PING

...what would be an example, in terms of items and rules, that I could set up in order to try to receive this event in a rule?

@cdjackson
Copy link
Contributor

You can’t receive this event in a rule at all. It’s an internal event only. This really can’t be all that is in the log as there is no receive frame logged here. However, if the device is only sending a NIF, then this isn’t something you can detect directly in a rule either since it’s a low level frame.

Please provide more information in the log.

@djarvis
Copy link

djarvis commented Sep 11, 2016

Yep, you're right. When I associate my controller in "group 2" and double-tap UP I get this:

2016-09-11 10:27:30.391 [DEBUG] [eController$ZWaveReceiveThread:1530]- Receive Message = 01 11 00 49 84 0D 0B 04 11 04 26 2B 2C 27 73 70 86 72 C5
2016-09-11 10:27:30.392 [DEBUG] [eController$ZWaveReceiveThread:1446]- Receive queue ADD: Length=1
2016-09-11 10:27:30.392 [DEBUG] [b.z.i.protocol.ZWaveController:1194]- Receive queue TAKE: Length=0
2016-09-11 10:27:30.393 [DEBUG] [o.b.z.i.protocol.SerialMessage:243 ]- Assembled message buffer = 01 11 00 49 84 0D 0B 04 11 04 26 2B 2C 27 73 70 86 72 C5
2016-09-11 10:27:30.394 [DEBUG] [b.z.i.protocol.ZWaveController:1195]- Process Message = 01 11 00 49 84 0D 0B 04 11 04 26 2B 2C 27 73 70 86 72 C5
2016-09-11 10:27:30.395 [DEBUG] [b.z.i.protocol.ZWaveController:194 ]- Message: class = ApplicationUpdate (0x49), type = Request (0x00), payload = 84 0D 0B 04 11 04 26 2B 2C 27 73 70 86 72
2016-09-11 10:27:30.398 [DEBUG] [.ApplicationUpdateMessageClass:49  ]- NODE 13: Application update request. Node information received.
2016-09-11 10:27:30.399 [DEBUG] [b.z.i.protocol.ZWaveController:648 ]- Notifying event listeners: ZWaveNodeInfoEvent
2016-09-11 10:27:30.400 [DEBUG] [.z.internal.ZWaveActiveBinding:449 ]- ZwaveIncomingEvent
2016-09-11 10:27:30.400 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 11 NIF event during initialisation stage PING
2016-09-11 10:27:30.400 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 4 NIF event during initialisation stage PING
2016-09-11 10:27:30.401 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 12 NIF event during initialisation stage PING
2016-09-11 10:27:30.401 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 10 NIF event during initialisation stage PING
2016-09-11 10:27:30.401 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 3 NIF event during initialisation stage PING
2016-09-11 10:27:30.401 [DEBUG] [z.i.p.i.ZWaveNodeStageAdvancer:1082]- NODE 13: 9 NIF event during initialisation stage PING
2016-09-11 10:27:30.402 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:66  ]- Sent message Message: class = SendData (0x13), type = Request (0x00), payload = 06 03 32 01 10
2016-09-11 10:27:30.403 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:67  ]- Recv message Message: class = ApplicationUpdate (0x49), type = Request (0x00), payload = 84 0D 0B 04 11 04 26 2B 2C 27 73 70 86 72
2016-09-11 10:27:30.403 [DEBUG] [.z.i.p.s.ZWaveCommandProcessor:68  ]- Checking transaction complete: class=ApplicationUpdate, expected=ApplicationCommandHandler, cancelled=false

Same exact log data for a double-tap down.

@djarvis
Copy link

djarvis commented Sep 11, 2016

Really, at the end of the day, I was hoping to automatically dim the lights to 100% immediately on a double-tap up and to 0% immediately on a double-tap down.

Perhaps I can just ignore these wonky association groups and write a rule that counts single taps in a short range of time and send the dim commands accordingly.

@cdjackson
Copy link
Contributor

Ok - so this is the device NIF frame - kind of like a ‘I’m here’ message. We can use this to initiate polling, but that will just give you the device state - it won’t detect button presses.

@cdjackson
Copy link
Contributor

There’s no real way to detect ‘taps’ though, so I don’t see how you can write a rule to do this. Using the NIF frame will be very unreliable. I’m also not sure it will send multiple NIFs if you press the button multiple times quickly - that’s not the purpose of the NIF.

@jspuij
Copy link
Contributor

jspuij commented Sep 29, 2016

The NIF is for inclusion, removal etc and is indeed sent on double tap of the bottom paddle (from the manual):

Also, when a controller prompts you to “Send Node ID” or to “Press
Button on Unit”, quickly tap the top or bottom of the switch once to
satisfy those instructions.

It could be that the Dimmer detects that the controller is not a dimmable device and refuses to either include it in Group 2, or ignores it when sending the appropriate commands.

There is a solution for this: Creating a virtual device on the Z-Wave controller and associating and catching the commands sent to this device. The binding does not implement this however.

You could try and enable parameter 14 on the device (and keep the controller associated in group 2): This enables shade control for group 2 and could trigger another path in the firmware of the device. This is all speculation however, so please send a log again if you try this, success by no means guaranteed.

Manual is here: http://www.nortekcontrol.com/pdf/manuals/WD500Z1_manual.pdf

hubermi pushed a commit to hubermi/openhab that referenced this issue Jan 10, 2017
@abedwardsw
Copy link

Just wanted to add to this thread that using HABMIN with OH2 you can go to the "Device Configuration" and update the "Polling Period" to 10 which solved the issue for me. Obviously a workaround...

I am using OH2.0.

Prior to this, I tried adding my controller to Association Group 1, but this seemed to have no effect. I won't be buying another one of these switches ;-) I have a GE and HomeSeer and both of them report their status almost immediately.

Attaching my node.xml file just in case
node2.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests