Enerwave Plug-In Dimmer Association bug

I just installed an Enerwave Plug-In Dimming Module. I already had some plug-in dimmers from Evolve, but they don’t support association. The association support is the main reason I bought. The Enerwave dimmer. I was hoping that pressing on the dimmer button to turn it on or off would be reported to OpenHAB and that it would update the interface.

The reality is that it does report. But OpenHAB reports the opposite of what is really happening.
When the light is on and I press the button, it turns off, but OpenHAB reports it is on. Conversely, if I start from off and press the button, the light turns on and OpenHAB reports that it turns off.

How can this be corrected? I could upload the debug trace of the communication between OpenHAB and the dimmer.

PS: On a practical note, the Evolve dimmer had one useful feature the Enerwave one does not have: starting from the dimmer being off, if you use a light’s switch to turn it off and then back on, the dimmer will turn back to full on. Nice for my night stand light, where I can reach the light switch more easily than the dimmer or my phone. Is there a plug-in dimmer that has both features?

PPS: The bug may simply be that the dimmer reports to OpenHAB as soon as the button is pressed and gives its power setting at that moment and then never reports the evolution. The log shows something to that effect.

Can you please provide a log when you click the switch, and also the XML file for this device (ie the one in /etc/zwave/nodeXX.xml).

Chris

Chris,
Sorry, I did not see your post earlier. I was on travel and could not have done the test anyway. But now I am back.
Here are both the general log and the z-wave log when turning on and off:

The line created in the events.log when starting from off and pressing the button to turn it on:

2015-09-22 09:21:18.315 [INFO ] [runtime.busevents             ] - PlugIn_Dimmer_2 state updated to 1

The zwave log is in pastebin: http://pastebin.com/MLzNYu7L

Going from on to off, in events.log I get:

2015-09-22 09:18:34.321 [INFO ] [runtime.busevents             ] - PlugIn_Dimmer_2 state updated to 28

And the zwave log is at http://pastebin.com/gYmHaz7t

It looks to me like the info sent by the dimmer in association mode is fairly soon after the button is pressed and it grabs a transition value rather than the final value.

Please can you provide the XML file for the device (as described above)?

Also, please confirm exactly what device this is you’re using.

Thanks
Chris

The device is the Enerwave ZWN-323.

I am currently unable to reach my home system, being on travel, but I did not understand what xml file you are talking about. there is no /etc/zwave/ directory.

Now that I have back home, I found the XML device file you are asking.
You can find it at http://pastebin.com/fMfnEbHQ