v2.5 designer Switch only taking command for the off position

155 views
Skip to first unread message

orct...@gmail.com

unread,
Jul 23, 2016, 12:47:48 AM7/23/16
to OpenRemote
HI

any one run in to an issue where a Switch for Zwave only works in one direction i.e. OR2.5 seems to execute command only for the OFF position- in other words when i press the switch button from the app, it will only execute the command assigned to the switch off position.

i have attached some screenshot showing the configuration in the designer.
1.png
2.png
3.png
4.png

Guy levesque

unread,
Jul 23, 2016, 1:59:57 PM7/23/16
to OpenRemote
command (on) -----You put remotec command OFF ??? should be: ON
command (off) ----You put remotec command ON ??? should be OFF

orct...@gmail.com

unread,
Jul 24, 2016, 3:24:08 AM7/24/16
to OpenRemote
This is only for testing purposes. Like i mentioned, the command i put in the command(off) is the only one that seems to be executed when i press the switch from the mobile app. If i link off to command(off) and if the switch is on, it will turn off the switch but when i press it again, it does not turn the switch on and vice versa.

any suggestions why this could be happening?

Richard Turner

unread,
Jul 24, 2016, 3:48:50 AM7/24/16
to OpenRemote
Sounds like the status of your switch is not updating check that your sensor command is working correctly (use it in a label to ensure it correctly shows on/off).

Switches are stateful so they read the current state and when you click on them they perform the appropriate action (i.e. if your switch status = on then when you click the switch it will send an off command but if the status then doesn't update to off the next click will also send an off command).

Rainer Hitz

unread,
Jul 24, 2016, 4:07:50 AM7/24/16
to openremot...@googlegroups.com
For test purposes I'ld recommend that you add two buttons and link them with the ON and OFF command respectively. In addition add a label and link it with the STATUS command. When pressing the ON button you should see the 'ON' status on the label. The same is true for the OFF button. If this works as expected the switch configuration should also work.

The following problems could occur:

1.) ON button doesn't turn on the light
2.) OFF button doesn't turn off the light
3.) Light is turned on/off but the text of the status label is not updated

Which of these steps (1, 2, 3) fails ?

orct...@gmail.com

unread,
Jul 27, 2016, 11:19:20 PM7/27/16
to OpenRemote
Thank you for taking the time to review. The button concept is working fine. When i have 2 button one linked to ON command and another to off command, and a label tied to the STATUS command, the switch turns ON and OFF perfectly and the label shows the correct status. However, when i use a switch instead of 2 buttons, only the command in the command (off) position for the switch seems to be executed each time :(

is there any additional information / screenshots i can provide that will help troubleshoot this issue?

c steele

unread,
Jul 31, 2016, 2:16:26 PM7/31/16
to OpenRemote
I have the same problem. Today I added a new switch plus dimmer to OR2.5 and the switch button only displays the ON graphic. Pressing it sends only the off command. The dimmer/slider works properly. Once on via the Slider, the switch does indeed turn off the device. However, the slider does not move to zero and the switch graphic continues to show the ON image.

The switch is not toggling, repeated presses shows in zwave.log (because my device is a zwave device) that only

/code
DEBUG 2016-07-31 11:13:55,510 (Z-Wave): Command_Builder             : Building Z-Wave command
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Command_Builder             : Z-Wave command: nodeId = '44', endPoint = '1'
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Command_Builder             : Z-Wave command: command = off
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Command_Builder             : Z-Wave command: paramValue = null
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Command_Builder             : Z-Wave command created successfully
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): CCMultiLevelSwitch          : Node '44:0' : [COMMAND_CLASS_SWITCH_MULTILEVEL::SWITCH_MULTILEVEL_SET, Value='0']
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Controller_API              : Enqueue (queue count=1) Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'.
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): Controller_API              : Dequeue (queue count=0) Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'.
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): TX_Session_Layer            : Executing Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'...
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): TX_Session_Layer            : Send (repeat count=1) Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x45)' request (callback ID=0x45).
DEBUG 2016-07-31 11:13:55,511 (Z-Wave): TX_Frame_Layer              : Send data frame [0x01, 0x0A, 0x00, 0x13, 0x2C, 0x03, 0x26, 0x01, 0x00, 0x05, 0x45, 0xAE].
DEBUG 2016-07-31 11:13:55,514 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x06]
DEBUG 2016-07-31 11:13:55,514 (Z-Wave): RX_Frame_Layer              : ACK -> Data frame [0x01, 0x0A, 0x00, 0x13, 0x2C, 0x03, 0x26, 0x01, 0x00, 0x05, 0x45, 0xAE] transmission OK.
DEBUG 2016-07-31 11:13:55,514 (Z-Wave): RX_Session_Layer            : ACK -> Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x45)' has been successfully sent - waiting 5,000 [ms] for response frame.
DEBUG 2016-07-31 11:13:55,519 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x01]
DEBUG 2016-07-31 11:13:55,519 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x04, 0x01, 0x13, 0x01]
DEBUG 2016-07-31 11:13:55,520 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0xE8]
DEBUG 2016-07-31 11:13:55,520 (Z-Wave): RX_Frame_Layer              : Data frame [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] has been received.
DEBUG 2016-07-31 11:13:55,520 (Z-Wave): RX_Session_Layer            : 'ZW_SendData' response [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] with status 'RETURN_VALUE_TRUE' received (callback ID=0x45).
DEBUG 2016-07-31 11:13:55,520 (Z-Wave): RX_Session_Layer            : Waiting 64,992 [ms] for 'ZW_SendData' callback frame (callback ID=0x45).
DEBUG 2016-07-31 11:13:55,537 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x01]
DEBUG 2016-07-31 11:13:55,537 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x07, 0x00, 0x13, 0x45, 0x00, 0x00, 0x02]
DEBUG 2016-07-31 11:13:55,538 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0xAC]
DEBUG 2016-07-31 11:13:55,538 (Z-Wave): RX_Frame_Layer              : Data frame [0x01, 0x07, 0x00, 0x13, 0x45, 0x00, 0x00, 0x02, 0xAC] has been received.
DEBUG 2016-07-31 11:13:55,538 (Z-Wave): RX_Session_Layer            : Callback [0x01, 0x07, 0x00, 0x13, 0x45, 0x00, 0x00, 0x02, 0xAC] (callback ID=0x45) with state 'TRANSMIT_COMPLETE_OK' received -> Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x45)' successfully executed.
DEBUG 2016-07-31 11:13:55,538 (Z-Wave): CCMultiLevelSwitch          : Node '44:0' : [COMMAND_CLASS_SWITCH_MULTILEVEL::SWITCH_MULTILEVEL_SET, Value='0'] succeeded



DEBUG 2016-07-31 11:14:02,908 (Z-Wave): Command_Builder             : Building Z-Wave command
DEBUG 2016-07-31 11:14:02,908 (Z-Wave): Command_Builder             : Z-Wave command: nodeId = '44', endPoint = '1'
DEBUG 2016-07-31 11:14:02,908 (Z-Wave): Command_Builder             : Z-Wave command: command = off
DEBUG 2016-07-31 11:14:02,908 (Z-Wave): Command_Builder             : Z-Wave command: paramValue = null
DEBUG 2016-07-31 11:14:02,908 (Z-Wave): Command_Builder             : Z-Wave command created successfully
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): CCMultiLevelSwitch          : Node '44:0' : [COMMAND_CLASS_SWITCH_MULTILEVEL::SWITCH_MULTILEVEL_SET, Value='0']
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): Controller_API              : Enqueue (queue count=1) Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'.
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): Controller_API              : Dequeue (queue count=0) Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'.
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): TX_Session_Layer            : Executing Z-Wave function call 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x00)'...
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): TX_Session_Layer            : Send (repeat count=1) Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x46)' request (callback ID=0x46).
DEBUG 2016-07-31 11:14:02,909 (Z-Wave): TX_Frame_Layer              : Send data frame [0x01, 0x0A, 0x00, 0x13, 0x2C, 0x03, 0x26, 0x01, 0x00, 0x05, 0x46, 0xAD].
DEBUG 2016-07-31 11:14:02,912 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x06]
DEBUG 2016-07-31 11:14:02,912 (Z-Wave): RX_Frame_Layer              : ACK -> Data frame [0x01, 0x0A, 0x00, 0x13, 0x2C, 0x03, 0x26, 0x01, 0x00, 0x05, 0x46, 0xAD] transmission OK.
DEBUG 2016-07-31 11:14:02,912 (Z-Wave): RX_Session_Layer            : ACK -> Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x46)' has been successfully sent - waiting 5,000 [ms] for response frame.
DEBUG 2016-07-31 11:14:02,917 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x01]
DEBUG 2016-07-31 11:14:02,917 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x04, 0x01]
DEBUG 2016-07-31 11:14:02,918 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x13]
DEBUG 2016-07-31 11:14:02,918 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x01, 0xE8]
DEBUG 2016-07-31 11:14:02,918 (Z-Wave): RX_Frame_Layer              : Data frame [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] has been received.
DEBUG 2016-07-31 11:14:02,918 (Z-Wave): RX_Session_Layer            : 'ZW_SendData' response [0x01, 0x04, 0x01, 0x13, 0x01, 0xE8] with status 'RETURN_VALUE_TRUE' received (callback ID=0x46).
DEBUG 2016-07-31 11:14:02,918 (Z-Wave): RX_Session_Layer            : Waiting 64,992 [ms] for 'ZW_SendData' callback frame (callback ID=0x46).
DEBUG 2016-07-31 11:14:02,935 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x01]
DEBUG 2016-07-31 11:14:02,935 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0x07, 0x00, 0x13, 0x46, 0x00, 0x00, 0x02]
DEBUG 2016-07-31 11:14:02,936 (Z-Wave): RX_Serial_Port_RXTX         : Data bytes read : [0xAF]
DEBUG 2016-07-31 11:14:02,936 (Z-Wave): RX_Frame_Layer              : Data frame [0x01, 0x07, 0x00, 0x13, 0x46, 0x00, 0x00, 0x02, 0xAF] has been received.
DEBUG 2016-07-31 11:14:02,936 (Z-Wave): RX_Session_Layer            : Callback [0x01, 0x07, 0x00, 0x13, 0x46, 0x00, 0x00, 0x02, 0xAF] (callback ID=0x46) with state 'TRANSMIT_COMPLETE_OK' received -> Z-Wave function 'ZW_SendData(NodeID=44, Payload=[0x26, 0x01, 0x00], TxOptions=[TRANSMIT_OPTION_AUTO_ROUTE, TRANSMIT_EXPLORE_OPTION_ACK], CallbackID=0x46)' successfully executed.
DEBUG 2016-07-31 11:14:02,937 (Z-Wave): CCMultiLevelSwitch          : Node '44:0' : [COMMAND_CLASS_SWITCH_MULTILEVEL::SWITCH_MULTILEVEL_SET, Value='0'] succeeded
^C
/code

c steele

unread,
Aug 1, 2016, 9:55:58 AM8/1/16
to OpenRemote
More details:

Adding a pair of Buttons, works, as mentioned by OP. However, the slider still does not reflect the state. If I set the slider to 50%, that's where it will stay until I change it. On or Off button has no effect on the slider. The switch still only does the Off command, also without updating the slider to zero.

This behavior is ONLY on new switches added. The 2 dozen switches on the pre-existing 9 panels still all work correctly.

Rainer Hitz

unread,
Nov 16, 2016, 3:54:57 AM11/16/16
to OpenRemote
The following new version should fix the dimmer update problems :

Z-Wave 3.1.0 Beta1

You have to *replace* the zwave.jar file in the <OpenRemote Controller>/webapps/controller/WEB-INF/lib folder with the new jar file (delete the old zwave.jar file).

The new version requests a dim level status update after the lim level has been set.

Rainer Hitz

unread,
Nov 21, 2016, 3:39:55 AM11/21/16
to OpenRemote
Please use the following updated version - it fixes a bug related to multi instance and security enabled devices :

Erik Skogen

unread,
Dec 3, 2016, 6:34:57 PM12/3/16
to OpenRemote
I also am having an issue with a switch.  I have verified the function using the sensor and and 'on' and 'off' command.  I have also verified a working switch using the same commands and sensor but without the images: that works, but when I add the images it fails to toggle.  I have tried the images on another switch and it is not the images themselves.  My current thinking is that there is some limit to the number of switch images that can be used on a panel, could it be? 

In the web interface, all switches show, but the one that is giving be trouble shows no images and it toggles! What is going on here?

Thanks.

Rainer Hitz

unread,
Dec 6, 2016, 11:43:11 AM12/6/16
to OpenRemote
New version available that fixes the dimmer update issue.

Erik Skogen

unread,
Dec 21, 2016, 3:45:01 PM12/21/16
to OpenRemote
Rainer,

My problem is not Z-wave related, it is a switch that uses the Vera protocol to toggle a button on a Vera device (an IP controlled device, not a Z-wave controlled device).

Any other ideas? Thanks.

Mark S

unread,
Feb 26, 2017, 7:35:26 AM2/26/17
to OpenRemote
Hi Rainer,

I have recently setup up a new RPI and testing basic functionality like Erik. I have setup one switch to a Fibaro controller using basic HTTP API turnOn/Off commands and have the status reading back. If I create the commandOn/Off with an individual label, the light can be toggled ON/OFF with the status changing to 'ON' and 'OFF'. When I try to use a switch with two images just like Erik, the light will turn On with the switch but the image does not change to the ON image - it stays in the OFF image regardless of the status change. Erik and I seem to be having the same problem and we are both using IP commands not a direct Z-wave device.

Are you correct in stating the Z-Wave 3.1.2 update will fix this issue? I don't understand the relationship? Hopefully you can help as I am already loving the application.

Kind Regards,
Mark

Dirk-Jan Hoekstra

unread,
Aug 17, 2017, 2:24:25 PM8/17/17
to OpenRemote
I think the problem I'm having is similiar to yours. However my OR (running on a RPI) will work for a while (some months) and then suddenly device statussen from VERA won't get updated in OR anymore, causing they only can be swithed in one direction from OR.
https://groups.google.com/d/msg/openremotecommunity/vYfy8pvzcqg/s2LrFZGYBgAJ



Op zondag 26 februari 2017 13:35:26 UTC+1 schreef Mark S:

David Reboredo

unread,
Aug 26, 2018, 10:14:44 PM8/26/18
to OpenRemote
Hello 
I'm having this same problem, whereby some switches only send one command (ON or OFF.... it varies depending on the switch) and do not update their status. I tried downloading this fix (z-Wave 3.1.2 Beta1) from this link , but it no longer works. Can you send it again?

Thank You in advance. 
//David.

orct...@gmail.com

unread,
Aug 30, 2018, 9:49:48 PM8/30/18
to OpenRemote
I think there is a newer version of z-wave. I would suggest using controller 2.6 beta 3. That I think has newer version of z-wave file
Reply all
Reply to author
Forward
0 new messages