I use the qubino dimmer with openhab2 and latest zwave build. All works fine with bi-stable switch, but when I use a pushbutton it is not possible to turn the light off when on and the other way around.
Probably you have to configure the device - for most devices there is an option to use a mono or bistable switch - you should check that this is correct for your configuration in the device parameters. Have a read of the manual - it should say there.
Chris, i did configure the device and the hardware works just fine. When I push the button the lights go on and off. In openHAB it reports the dimmer status correctly. The problem is that the switch and dimmer in openHAB cannot turn the lights off when they are on and on when they are off. The light flashes en returns (slowly) to the previous state. I looks like the zwave binding acts like a bi-state switch…
So you can turn it on and of if you use a physical bistable button?
But it doesn’t work when you use a physical pushbutton?
If we’re just talking about physical buttons, then isn’t this a physical problem?
Can you provide a debug log please. The commands normally sent are simply ON and OFF, so it should be down to the device to interpret that appropriately.
If I use a bi-stable physical switch connected to the dimmer on L1 everything works as expected. Light turn on/off with the physical switch and via the virtual dimmer/switch in openHAB.
When I change the physical bi-state switch for a physical mono-stable switch (push-button) and configure the device accordingly the physical part works. The light go on after one push an turn off after another push of the physical button. Now the tricky part begins. The virtual switch/dimmer do not work in combination with the physical push button. If I turn on the light with the physical switch and try to turn it off with the virtual switch the light turn off quickly and return to the on state dimmed/slowly. Where I expect it to dim slowly to the off state.
17:37:26.813 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_binary' received command ON
17:37:26.815 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_binary changed from OFF to ON
17:37:28.656 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_binary' received command OFF
17:37:28.658 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_binary changed from ON to OFF
17:37:30.293 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_binary' received command ON
17:37:30.295 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_binary changed from OFF to ON
17:37:32.340 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_dimmer' received command ON
17:37:32.343 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_dimmer changed from 0 to 100
17:37:34.163 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_dimmer' received command OFF
17:37:34.165 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_dimmer changed from 100 to 0
17:37:37.456 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'zwave_device_688ad3c3_node5_switch_dimmer' received command ON
17:37:37.458 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_688ad3c3_node5_switch_dimmer changed from 0 to 100
replaced the physical mono-stable switch with a bi-stable switch. Changed the config (1) for mono to bi-stable. The light is off and send the on command via the virtual switch; resulting in the light turning on slowly: