Battery-powered Cooper RF9500 Z-Wave switch

PR is in if you would like to test. https://github.com/home-assistant/home-assistant/pull/2698

First of all, thank you for patching it so quickly.

The good news is, there is a switch in HA. The bad news, is that the button press does not trigger a state change by itself, except for one time I pressed it (out of a few hundred). I’m testing by toggling a lifx light group. After some experimentation, I figured out a way to force it to change. If I toggle the switch in the HA frontend, and then immediately press the button, it usually triggers. Pressing the button on the switch does nothing by itself, nor does changing the state of the switch in the frontend by itself.

I suspect this has something to do with the fact that this is a device that goes to sleep, since it’s battery powered. Below is a sequence of first me flipping the toggle in the frontend, and then within a couple of seconds pressing the button on the RF9500.

2016-08-01 21:26:02.571 Info, Node015, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 
2016-08-01 21:26:02.571 Info, Node015, SwitchMultilevel::Set - Setting to level 1
2016-08-01 21:26:02.571 Detail, Node015, Queuing (Send) SwitchMultilevelCmd_Set (Node=15): 0x01, 0x0a, 0x00, 0x13, 0x0f, 0x03, 0x26, 0x01, 0x01, 0x25, 0x5d, 0xb4
2016-08-01 21:26:02.571 Detail, Node015, Queuing (Send) SwitchMultilevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x26, 0x02, 0x25, 0x5e, 0xb7
2016-08-01 21:26:02.571 Detail, 
2016-08-01 21:26:02.571 Info, Node015, Sending (Send) message (Callback ID=0x5d, Expected Reply=0x13) - SwitchMultilevelCmd_Set (Node=15): 0x01, 0x0a, 0x00, 0x13, 0x0f, 0x03, 0x26, 0x01, 0x01, 0x25, 0x5d, 0xb4
2016-08-01 21:26:02.578 Detail, Node015,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-08-01 21:26:02.578 Detail, Node015,   ZW_SEND_DATA delivered to Z-Wave stack

2016-08-01 21:26:05.462 Detail, Node015,   Received: 0x01, 0x11, 0x00, 0x49, 0x84, 0x0f, 0x0b, 0x04, 0x12, 0x00, 0x77, 0x86, 0x75, 0x73, 0x85, 0x72, 0xef, 0x26, 0xf8
2016-08-01 21:26:05.463 Detail, 
2016-08-01 21:26:05.463 Info, Node015, UPDATE_STATE_NODE_INFO_RECEIVED from node 15
2016-08-01 21:26:05.463 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2016-08-01 21:26:05.463 Detail, Node015, QueryStage_Dynamic
2016-08-01 21:26:05.463 Detail, Node015, QueryStage_Configuration
2016-08-01 21:26:05.463 Detail, Node015, QueryStage_Complete
2016-08-01 21:26:05.463 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2016-08-01 21:26:05.463 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2016-08-01 21:26:05.463 Detail, Node015, Notification: NodeQueriesComplete
2016-08-01 21:26:05.486 Detail, Node015,   Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0f, 0x02, 0x20, 0x02, 0xdc
2016-08-01 21:26:05.487 Detail, 
2016-08-01 21:26:05.530 Detail, Node015,   Received: 0x01, 0x07, 0x00, 0x13, 0x5d, 0x00, 0x01, 0x28, 0x9f
2016-08-01 21:26:05.530 Detail, Node015,   ZW_SEND_DATA Request with callback ID 0x5d received (expected 0x5d)
2016-08-01 21:26:05.530 Info, Node015, Request RTT 2960 Average Request RTT 1524
2016-08-01 21:26:05.530 Detail,   Expected callbackId was received
2016-08-01 21:26:05.530 Detail,   Expected reply was received
2016-08-01 21:26:05.530 Detail,   Message transaction complete
2016-08-01 21:26:05.530 Detail, 
2016-08-01 21:26:05.530 Detail, Node015, Removing current message
2016-08-01 21:26:05.530 Detail, 
2016-08-01 21:26:05.531 Info, Node015, Sending (Send) message (Callback ID=0x5e, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x26, 0x02, 0x25, 0x5e, 0xb7
2016-08-01 21:26:05.539 Detail, Node015,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-08-01 21:26:05.539 Detail, Node015,   ZW_SEND_DATA delivered to Z-Wave stack
2016-08-01 21:26:05.556 Detail, Node015,   Received: 0x01, 0x07, 0x00, 0x13, 0x5e, 0x00, 0x00, 0x02, 0xb7
2016-08-01 21:26:05.556 Detail, Node015,   ZW_SEND_DATA Request with callback ID 0x5e received (expected 0x5e)
2016-08-01 21:26:05.556 Info, Node015, Request RTT 25 Average Request RTT 774
2016-08-01 21:26:05.556 Detail,   Expected callbackId was received
2016-08-01 21:26:05.566 Detail, Node015,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x0f, 0x03, 0x26, 0x03, 0x01, 0xda
2016-08-01 21:26:05.566 Detail, 
2016-08-01 21:26:05.566 Info, Node015, Response RTT 35 Average Response RTT 116
2016-08-01 21:26:05.566 Info, Node015, Received SwitchMultiLevel report: level=1
2016-08-01 21:26:05.566 Detail, Node015, Refreshed Value: old value=1, new value=1, type=byte
2016-08-01 21:26:05.566 Detail, Node015, Changes to this value are not verified
2016-08-01 21:26:05.566 Detail, Node015,   Expected reply and command class was received
2016-08-01 21:26:05.566 Detail, Node015,   Message transaction complete
2016-08-01 21:26:05.566 Detail, 
2016-08-01 21:26:05.566 Detail, Node015, Removing current message
2016-08-01 21:26:05.566 Detail, Node015, Notification: ValueChanged
2016-08-01 21:26:07.567 Info, mgr,     Refreshing node 7: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance = 1 (to confirm a reported change)
2016-08-01 21:26:07.567 Detail, Node007, Queuing (Send) SwitchMultilevelCmd_Get (Node=7): 0x01, 0x09, 0x00, 0x13, 0x07, 0x02, 0x26, 0x02, 0x25, 0x5f, 0xbe
2016-08-01 21:26:07.567 Detail, 
2016-08-01 21:26:07.567 Info, Node007, Sending (Send) message (Callback ID=0x5f, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=7): 0x01, 0x09, 0x00, 0x13, 0x07, 0x02, 0x26, 0x02, 0x25, 0x5f, 0xbe
2016-08-01 21:26:07.574 Detail, Node007,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-08-01 21:26:07.574 Detail, Node007,   ZW_SEND_DATA delivered to Z-Wave stack
2016-08-01 21:26:07.613 Detail, Node007,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x07, 0x03, 0x26, 0x03, 0x00, 0xd3
2016-08-01 21:26:07.613 Detail, 
2016-08-01 21:26:07.613 Info, Node007, Response RTT 45 Average Response RTT 198
2016-08-01 21:26:07.613 Info, Node007, Received SwitchMultiLevel report: level=0
2016-08-01 21:26:07.613 Detail, Node007, Refreshed Value: old value=0, new value=0, type=byte
2016-08-01 21:26:07.613 Detail, Node007, Changes to this value are not verified
2016-08-01 21:26:07.613 Detail, Node007, Notification: ValueChanged
2016-08-01 21:26:07.995 Detail, Node007,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x07, 0x03, 0x26, 0x03, 0x00, 0xd3
2016-08-01 21:26:07.995 Detail, 
2016-08-01 21:26:07.995 Info, Node007, Response RTT 428 Average Response RTT 313
2016-08-01 21:26:07.995 Info, Node007, Received SwitchMultiLevel report: level=0
2016-08-01 21:26:07.996 Detail, Node007, Refreshed Value: old value=0, new value=0, type=byte
2016-08-01 21:26:07.996 Detail, Node007, Changes to this value are not verified
2016-08-01 21:26:07.996 Detail, Node007, Notification: ValueChanged
2016-08-01 21:26:08.127 Detail, Node007,   Received: 0x01, 0x07, 0x00, 0x13, 0x5f, 0x00, 0x00, 0x38, 0x8c
2016-08-01 21:26:08.127 Detail, Node007,   ZW_SEND_DATA Request with callback ID 0x5f received (expected 0x5f)
2016-08-01 21:26:08.127 Info, Node007, Request RTT 561 Average Request RTT 353
2016-08-01 21:26:08.127 Detail,   Expected callbackId was received
2016-08-01 21:26:08.265 Detail, Node007,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x07, 0x03, 0x26, 0x03, 0x00, 0xd3
2016-08-01 21:26:08.265 Detail, 
2016-08-01 21:26:08.265 Info, Node007, Response RTT 698 Average Response RTT 505
2016-08-01 21:26:08.265 Info, Node007, Received SwitchMultiLevel report: level=0
2016-08-01 21:26:08.265 Detail, Node007, Refreshed Value: old value=0, new value=0, type=byte
2016-08-01 21:26:08.265 Detail, Node007, Changes to this value are not verified
2016-08-01 21:26:08.265 Detail, Node007,   Expected reply and command class was received
2016-08-01 21:26:08.265 Detail, Node007,   Message transaction complete
2016-08-01 21:26:08.265 Detail, 
2016-08-01 21:26:08.265 Detail, Node007, Removing current message
2016-08-01 21:26:08.265 Detail, Node007, Notification: ValueChanged
2016-08-01 21:26:09.884 Detail, Node007,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x07, 0x03, 0x26, 0x03, 0x00, 0xd3
2016-08-01 21:26:09.884 Detail, 
2016-08-01 21:26:09.884 Info, Node007, Received SwitchMultiLevel report: level=0
2016-08-01 21:26:09.884 Detail, Node007, Refreshed Value: old value=0, new value=0, type=byte
2016-08-01 21:26:09.884 Detail, Node007, Changes to this value are not verified
2016-08-01 21:26:09.884 Detail, Node007, Notification: ValueChanged
2016-08-01 21:26:11.885 Info, mgr,     Refreshing node 15: COMMAND_CLASS_SWITCH_MULTILEVEL index = 0 instance = 1 (to confirm a reported change)
2016-08-01 21:26:11.885 Detail, Node015, Queuing (Send) SwitchMultilevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x26, 0x02, 0x25, 0x60, 0x89
2016-08-01 21:26:11.885 Detail, 
2016-08-01 21:26:11.885 Info, Node015, Sending (Send) message (Callback ID=0x60, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x26, 0x02, 0x25, 0x60, 0x89
2016-08-01 21:26:11.892 Detail, Node015,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-08-01 21:26:11.892 Detail, Node015,   ZW_SEND_DATA delivered to Z-Wave stack
2016-08-01 21:26:14.740 Detail, Node015,   Received: 0x01, 0x07, 0x00, 0x13, 0x60, 0x01, 0x01, 0x1d, 0x96
2016-08-01 21:26:14.740 Detail, Node015,   ZW_SEND_DATA Request with callback ID 0x60 received (expected 0x60)
2016-08-01 21:26:14.740 Info, Node015, WARNING: ZW_SEND_DATA failed. No ACK received - device may be asleep.
2016-08-01 21:26:14.740 Info, Node015,   Node 15 has been marked as asleep
2016-08-01 21:26:14.740 Info, Node015, Node not responding - moving message to Wake-Up queue: SwitchMultilevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x26, 0x02, 0x25, 0x60, 0x89
2016-08-01 21:26:14.740 Detail, Node015, Notification: Notification - Node Asleep

Again, thank you so much for making the change so quickly. Any ideas on how to proceed? I do not think it’s exactly related, but I don’t think this should be considered a “light” – it could just as easily be used to turn on and off anything, or dim up/down a fan, etc.

@josh did you ever get this working? I’m running into similar issues.

@sdsanders I did not, but I took a little hiatus from HA for a few weeks to get some other priorities done. Was hoping for a little more maturity out of the whole code base in the meantime, and it looks like that has happened nicely, so will revisit this soon. How about you – have you been trying to get this to work also?

In OZWCP, I see info printed for every action I take with this device. However, in hass, while I can get the device to be recognized sometimes, after the first time being pressed, no further events are shown even though I’m pressing buttons. I suspect this is a command class not getting recognized, or something of the sort. I am hoping that @turbokongen will have one more look to see if anything looks amiss. Here is the output from ozwcp. First, the FIRST button press:

2016-10-10 23:38:20.086 Detail, Node015, Received: 0x01, 0x11, 0x00, 0x49, 0x84, 0x0f, 0x0b, 0x04, 0x12, 0x00, 0x77, 0x86, 0x75, 0x73, 0x85, 0x72, 0xef, 0x26, 0xf8
2016-10-10 23:38:20.086 Detail,
2016-10-10 23:38:20.087 Info, Node015, UPDATE_STATE_NODE_INFO_RECEIVED from node 15
2016-10-10 23:38:20.087 Detail, Node015, AdvanceQueries queryPending=1 queryRetries=0 queryStage=CacheLoad live=1
2016-10-10 23:38:20.087 Info, Node015, Node 15 has been marked as awake
2016-10-10 23:38:20.087 Detail, Node015, Queuing (Query) Query Stage Complete (CacheLoad)
2016-10-10 23:38:20.087 Detail, Node015, Notification: Notification - Node Awake
2016-10-10 23:38:20.087 Info, Notification: Notification home d5663088 node 15 Awake
2016-10-10 23:38:20.087 Detail, Node015, Query Stage Complete (CacheLoad)
2016-10-10 23:38:20.087 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Associations live=1
2016-10-10 23:38:20.087 Detail, Node015, QueryStage_Associations
2016-10-10 23:38:20.087 Info, Node015, Number of association groups reported for node 15 is 1.
2016-10-10 23:38:20.087 Info, Node015, Get Associations for group 1 of node 15
2016-10-10 23:38:20.087 Detail, Node015, Queuing (Send) AssociationCmd_Get (Node=15): 0x01, 0x0a, 0x00, 0x13, 0x0f, 0x03, 0x85, 0x02, 0x01, 0x25, 0x25, 0x6c
2016-10-10 23:38:20.087 Detail, Node015, Queuing (Query) Query Stage Complete (Associations)
2016-10-10 23:38:20.087 Detail,
2016-10-10 23:38:20.087 Info, Node015, Sending (Send) message (Callback ID=0x25, Expected Reply=0x04) - AssociationCmd_Get (Node=15): 0x01, 0x0a, 0x00, 0x13, 0x0f, 0x03, 0x85, 0x02, 0x01, 0x25, 0x25, 0x6c
2016-10-10 23:38:20.093 Detail, Node015, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-10-10 23:38:20.093 Detail, Node015, ZW_SEND_DATA delivered to Z-Wave stack
2016-10-10 23:38:20.110 Detail, Node015, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0f, 0x02, 0x20, 0x02, 0xdc
2016-10-10 23:38:20.110 Detail,
2016-10-10 23:38:20.110 Info, Node015, Response RTT 22 Average Response RTT 22
2016-10-10 23:38:20.153 Detail, Node015, Received: 0x01, 0x07, 0x00, 0x13, 0x25, 0x00, 0x00, 0x06, 0xc8
2016-10-10 23:38:20.153 Detail, Node015, ZW_SEND_DATA Request with callback ID 0x25 received (expected 0x25)
2016-10-10 23:38:20.153 Info, Node015, Request RTT 65 Average Request RTT 65
2016-10-10 23:38:20.153 Detail, Expected callbackId was received
2016-10-10 23:38:20.162 Detail, Node015, Received: 0x01, 0x0c, 0x00, 0x04, 0x00, 0x0f, 0x06, 0x85, 0x03, 0x01, 0x05, 0x00, 0x01, 0x7d
2016-10-10 23:38:20.162 Detail,
2016-10-10 23:38:20.162 Info, Node015, Response RTT 75 Average Response RTT 48
2016-10-10 23:38:20.162 Info, Node015, Received Association report from node 15, group 1, containing 1 associations
2016-10-10 23:38:20.162 Info, Node015, The group contains:
2016-10-10 23:38:20.162 Info, Node015, Node 1
2016-10-10 23:38:20.162 Info, Node015, Querying associations for node 15 is complete.
2016-10-10 23:38:20.162 Detail, Node015, Expected reply and command class was received
2016-10-10 23:38:20.162 Detail, Node015, Message transaction complete
2016-10-10 23:38:20.162 Detail,
2016-10-10 23:38:20.162 Detail, Node015, Removing current message
2016-10-10 23:38:20.162 Detail, Node015, Query Stage Complete (Associations)
2016-10-10 23:38:20.162 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Neighbors live=1
2016-10-10 23:38:20.162 Detail, Node015, QueryStage_Neighbors
2016-10-10 23:38:20.162 Detail, Requesting routing info (neighbor list) for Node 15
2016-10-10 23:38:20.162 Detail, Node015, Queuing (Command) Get Routing Info (Node=15): 0x01, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x03, 0x74
2016-10-10 23:38:20.162 Detail, Node015, Queuing (Query) Query Stage Complete (Neighbors)
2016-10-10 23:38:20.162 Detail,
2016-10-10 23:38:20.162 Info, Node015, Sending (Command) message (Callback ID=0x00, Expected Reply=0x80) - Get Routing Info (Node=15): 0x01, 0x07, 0x00, 0x80, 0x0f, 0x00, 0x00, 0x03, 0x74
2016-10-10 23:38:20.165 Detail, Node015, Received: 0x01, 0x20, 0x01, 0x80, 0xc1, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x97
2016-10-10 23:38:20.165 Detail,
2016-10-10 23:38:20.165 Info, Node015, Received reply to FUNC_ID_ZW_GET_ROUTING_INFO
2016-10-10 23:38:20.165 Info, Node015, Neighbors of this node are:
2016-10-10 23:38:20.165 Info, Node015, Node 1
2016-10-10 23:38:20.165 Info, Node015, Node 7
2016-10-10 23:38:20.165 Info, Node015, Node 8
2016-10-10 23:38:20.165 Info, Node015, Node 12
2016-10-10 23:38:20.165 Detail, Node008, Expected reply was received
2016-10-10 23:38:20.165 Detail, Node008, Message transaction complete
2016-10-10 23:38:20.165 Detail,
2016-10-10 23:38:20.165 Detail, Node015, Removing current message
2016-10-10 23:38:20.165 Detail, Node015, Query Stage Complete (Neighbors)
2016-10-10 23:38:20.165 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Session live=1
2016-10-10 23:38:20.165 Detail, Node015, QueryStage_Session
2016-10-10 23:38:20.165 Detail, Node015, Queuing (Query) PowerlevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x73, 0x02, 0x25, 0x26, 0x9a
2016-10-10 23:38:20.165 Detail, Node015, Queuing (Query) ProtectionCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x75, 0x02, 0x25, 0x27, 0x9d
2016-10-10 23:38:20.165 Detail, Node015, Queuing (Query) NodeNamingCmd_LocationGet (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x77, 0x05, 0x25, 0x28, 0x97
2016-10-10 23:38:20.165 Detail, Node015, Queuing (Query) WakeUpCmd_IntervalGet (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x84, 0x05, 0x25, 0x29, 0x65
2016-10-10 23:38:20.165 Detail, Node015, Queuing (Query) Query Stage Complete (Session)
2016-10-10 23:38:20.165 Detail,
2016-10-10 23:38:20.165 Info, Node015, Sending (Query) message (Callback ID=0x26, Expected Reply=0x04) - PowerlevelCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x73, 0x02, 0x25, 0x26, 0x9a
2016-10-10 23:38:20.170 Detail, Node015, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-10-10 23:38:20.170 Detail, Node015, ZW_SEND_DATA delivered to Z-Wave stack
2016-10-10 23:38:20.186 Detail, Node015, Received: 0x01, 0x07, 0x00, 0x13, 0x26, 0x00, 0x00, 0x02, 0xcf
2016-10-10 23:38:20.186 Detail, Node015, ZW_SEND_DATA Request with callback ID 0x26 received (expected 0x26)
2016-10-10 23:38:20.186 Info, Node015, Request RTT 21 Average Request RTT 43
2016-10-10 23:38:20.187 Detail, Expected callbackId was received
2016-10-10 23:38:20.195 Detail, Node015, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0f, 0x04, 0x73, 0x03, 0x00, 0x00, 0x8a
2016-10-10 23:38:20.195 Detail,
2016-10-10 23:38:20.196 Info, Node015, Response RTT 30 Average Response RTT 39
2016-10-10 23:38:20.196 Info, Node015, Received a PowerLevel report: PowerLevel=Normal, Timeout=0
2016-10-10 23:38:20.196 Detail, Node015, Initial read of value
2016-10-10 23:38:20.196 Detail, Node015, Initial read of value
2016-10-10 23:38:20.196 Detail, Node015, Expected reply and command class was received
2016-10-10 23:38:20.196 Detail, Node015, Message transaction complete
2016-10-10 23:38:20.196 Detail,
2016-10-10 23:38:20.196 Detail, Node015, Removing current message
2016-10-10 23:38:20.196 Detail, Node015, Notification: ValueChanged
2016-10-10 23:38:20.196 Info, Notification: Value Changed Home 0xd5663088 Node 15 Genre system Class POWERLEVEL Instance 1 Index 0 Type list
2016-10-10 23:38:20.196 Detail, Node015, Notification: ValueChanged
2016-10-10 23:38:20.196 Info, Notification: Value Changed Home 0xd5663088 Node 15 Genre system Class POWERLEVEL Instance 1 Index 1 Type byte
2016-10-10 23:38:20.196 Detail,
2016-10-10 23:38:20.196 Info, Node015, Sending (Query) message (Callback ID=0x27, Expected Reply=0x04) - ProtectionCmd_Get (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x75, 0x02, 0x25, 0x27, 0x9d
2016-10-10 23:38:20.200 Detail, Node015, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-10-10 23:38:20.200 Detail, Node015, ZW_SEND_DATA delivered to Z-Wave stack
2016-10-10 23:38:20.217 Detail, Node015, Received: 0x01, 0x07, 0x00, 0x13, 0x27, 0x00, 0x00, 0x02, 0xce
2016-10-10 23:38:20.217 Detail, Node015, ZW_SEND_DATA Request with callback ID 0x27 received (expected 0x27)
2016-10-10 23:38:20.217 Info, Node015, Request RTT 21 Average Request RTT 32
2016-10-10 23:38:20.217 Detail, Expected callbackId was received
2016-10-10 23:38:20.226 Detail, Node015, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x0f, 0x03, 0x75, 0x03, 0x00, 0x88
2016-10-10 23:38:20.226 Detail,
2016-10-10 23:38:20.226 Info, Node015, Response RTT 29 Average Response RTT 34
2016-10-10 23:38:20.226 Info, Node015, Received a Protection report: Unprotected
2016-10-10 23:38:20.226 Detail, Node015, Initial read of value
2016-10-10 23:38:20.226 Detail, Node015, Expected reply and command class was received
2016-10-10 23:38:20.226 Detail, Node015, Message transaction complete
2016-10-10 23:38:20.226 Detail,
2016-10-10 23:38:20.226 Detail, Node015, Removing current message
2016-10-10 23:38:20.226 Detail, Node015, Notification: ValueChanged
2016-10-10 23:38:20.226 Info, Notification: Value Changed Home 0xd5663088 Node 15 Genre system Class PROTECTION Instance 1 Index 0 Type list
2016-10-10 23:38:20.226 Detail,
2016-10-10 23:38:20.226 Info, Node015, Sending (Query) message (Callback ID=0x28, Expected Reply=0x04) - NodeNamingCmd_LocationGet (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x77, 0x05, 0x25, 0x28, 0x97
2016-10-10 23:38:20.230 Detail, Node015, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-10-10 23:38:20.230 Detail, Node015, ZW_SEND_DATA delivered to Z-Wave stack
2016-10-10 23:38:20.247 Detail, Node015, Received: 0x01, 0x07, 0x00, 0x13, 0x28, 0x00, 0x00, 0x02, 0xc1
2016-10-10 23:38:20.247 Detail, Node015, ZW_SEND_DATA Request with callback ID 0x28 received (expected 0x28)
2016-10-10 23:38:20.247 Info, Node015, Request RTT 20 Average Request RTT 26
2016-10-10 23:38:20.247 Detail, Expected callbackId was received
2016-10-10 23:38:20.256 Detail, Node015, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x0f, 0x03, 0x77, 0x06, 0x00, 0x8f
2016-10-10 23:38:20.256 Detail,
2016-10-10 23:38:20.256 Info, Node015, Response RTT 30 Average Response RTT 32
2016-10-10 23:38:20.256 Info, Node015, Received the location: .
2016-10-10 23:38:20.257 Detail, Node015, Expected reply and command class was received
2016-10-10 23:38:20.257 Detail, Node015, Message transaction complete
2016-10-10 23:38:20.257 Detail,
2016-10-10 23:38:20.257 Detail, Node015, Removing current message
2016-10-10 23:38:20.257 Detail, Node015, Notification: NodeNaming
2016-10-10 23:38:20.257 Info, Notification: Node Naming Home d5663088 Node 15 Genre basic Class NO OPERATION Instance 0 Index 0 Type bool
2016-10-10 23:38:20.257 Detail,
2016-10-10 23:38:20.257 Info, Node015, Sending (Query) message (Callback ID=0x29, Expected Reply=0x04) - WakeUpCmd_IntervalGet (Node=15): 0x01, 0x09, 0x00, 0x13, 0x0f, 0x02, 0x84, 0x05, 0x25, 0x29, 0x65
2016-10-10 23:38:20.262 Detail, Node015, Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2016-10-10 23:38:20.262 Detail, Node015, ZW_SEND_DATA delivered to Z-Wave stack
2016-10-10 23:38:20.278 Detail, Node015, Received: 0x01, 0x07, 0x00, 0x13, 0x29, 0x00, 0x00, 0x02, 0xc0
2016-10-10 23:38:20.278 Detail, Node015, ZW_SEND_DATA Request with callback ID 0x29 received (expected 0x29)
2016-10-10 23:38:20.278 Info, Node015, Request RTT 21 Average Request RTT 23
2016-10-10 23:38:20.278 Detail, Expected callbackId was received
2016-10-10 23:38:30.257 Error, Node015, ERROR: Dropping command, expected response not received after 1 attempt(s)
2016-10-10 23:38:30.257 Detail, Node015, Removing current message
2016-10-10 23:38:30.258 Detail, Node015, Notification: Notification - TimeOut
2016-10-10 23:38:30.258 Info, Notification: Notification home d5663088 node 15 Timeout
2016-10-10 23:38:30.258 Detail, Node015, Query Stage Complete (Session)
2016-10-10 23:38:30.258 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2016-10-10 23:38:30.258 Detail, Node015, QueryStage_Dynamic
2016-10-10 23:38:30.258 Detail, Node015, QueryStage_Configuration
2016-10-10 23:38:30.258 Detail, Node015, QueryStage_Complete
2016-10-10 23:38:30.258 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2016-10-10 23:38:30.258 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2016-10-10 23:38:30.258 Detail, Node015, Notification: NodeQueriesComplete
2016-10-10 23:38:30.258 Info, Notification: Node 15 Queries Complete

Then after waiting a minute or so I press the large button on the front again and I get this, and get this for all subsequent presses:

2016-10-10 23:38:42.700 Detail, Node015, Received: 0x01, 0x11, 0x00, 0x49, 0x84, 0x0f, 0x0b, 0x04, 0x12, 0x00, 0x77, 0x86, 0x75, 0x73, 0x85, 0x72, 0xef, 0x26, 0xf8
2016-10-10 23:38:42.700 Detail,
2016-10-10 23:38:42.700 Info, Node015, UPDATE_STATE_NODE_INFO_RECEIVED from node 15
2016-10-10 23:38:42.700 Detail, Node015, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2016-10-10 23:38:42.700 Detail, Node015, QueryStage_Dynamic
2016-10-10 23:38:42.700 Detail, Node015, QueryStage_Configuration
2016-10-10 23:38:42.700 Detail, Node015, QueryStage_Complete
2016-10-10 23:38:42.700 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2016-10-10 23:38:42.700 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2016-10-10 23:38:42.700 Detail, Node015, Notification: NodeQueriesComplete
2016-10-10 23:38:42.700 Info, Notification: Node 15 Queries Complete
2016-10-10 23:38:42.723 Detail, Node015, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0f, 0x02, 0x20, 0x02, 0xdc
2016-10-10 23:38:42.723 Detail,

Pressing dimmer up:

2016-10-10 23:40:54.430 Detail, Node015, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0f, 0x04, 0x26, 0x04, 0x20, 0x01, 0xf9
2016-10-10 23:40:54.430 Detail,
2016-10-10 23:40:54.467 Detail, Node015, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0f, 0x04, 0x26, 0x04, 0x20, 0x01, 0xf9
2016-10-10 23:40:54.467 Detail,
2016-10-10 23:40:54.529 Detail, Node015, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0f, 0x02, 0x26, 0x05, 0xdd
2016-10-10 23:40:54.529 Detail,

And pressing dimmer down:

2016-10-10 23:40:57.999 Detail, Node015, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0f, 0x04, 0x26, 0x04, 0x60, 0x01, 0xb9
2016-10-10 23:40:57.999 Detail,
2016-10-10 23:40:58.037 Detail, Node015, Received: 0x01, 0x0a, 0x00, 0x04, 0x00, 0x0f, 0x04, 0x26, 0x04, 0x60, 0x01, 0xb9
2016-10-10 23:40:58.037 Detail,
2016-10-10 23:40:58.119 Detail, Node015, Received: 0x01, 0x08, 0x00, 0x04, 0x00, 0x0f, 0x02, 0x26, 0x05, 0xdd
2016-10-10 23:40:58.119 Detail,

Finally, the entry in ZWCFG:

<Node id="15" name="CooperRF9500" location="" basic="4" generic="18" specific="0" type="Remote Switch" listening="false" frequentListening="false" beaming="false" routing="true" max_baud_rate="40000" version="2" query_stage="CacheLoad">
	<Manufacturer id="1a" name="Cooper">
		<Product type="5342" id="0" name="Unknown: type=5342, id=0000" />
	</Manufacturer>
	<CommandClasses>
		<CommandClass id="32" name="COMMAND_CLASS_BASIC" version="1" request_flags="4" after_mark="true">
			<Instance index="1" />
			<Value type="byte" genre="basic" 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="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="1" after_mark="true" innif="true">
			<Instance index="1" />
			<Value type="byte" genre="user" instance="1" index="0" label="Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="1" />
			<Value type="button" genre="user" instance="1" index="1" label="Bright" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
			<Value type="button" genre="user" instance="1" index="2" label="Dim" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
			<Value type="bool" genre="system" instance="1" index="3" label="Ignore Start Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
			<Value type="byte" genre="system" instance="1" index="4" label="Start Level" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
		</CommandClass>
		<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
			<Instance index="1" />
		</CommandClass>
		<CommandClass id="115" name="COMMAND_CLASS_POWERLEVEL" version="1" request_flags="4" innif="true">
			<Instance index="1" />
			<Value type="list" genre="system" instance="1" index="0" label="Powerlevel" units="dB" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="0" size="1">
				<Item label="Normal" value="0" />
				<Item label="-1dB" value="1" />
				<Item label="-2dB" value="2" />
				<Item label="-3dB" value="3" />
				<Item label="-4dB" value="4" />
				<Item label="-5dB" value="5" />
				<Item label="-6dB" value="6" />
				<Item label="-7dB" value="7" />
				<Item label="-8dB" value="8" />
				<Item label="-9dB" value="9" />
			</Value>
			<Value type="byte" genre="system" instance="1" index="1" label="Timeout" units="seconds" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
			<Value type="button" genre="system" instance="1" index="2" label="Set Powerlevel" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
			<Value type="byte" genre="system" instance="1" index="3" label="Test Node" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
			<Value type="list" genre="system" instance="1" index="4" label="Test Powerlevel" units="dB" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="0" size="1">
				<Item label="Normal" value="0" />
				<Item label="-1dB" value="1" />
				<Item label="-2dB" value="2" />
				<Item label="-3dB" value="3" />
				<Item label="-4dB" value="4" />
				<Item label="-5dB" value="5" />
				<Item label="-6dB" value="6" />
				<Item label="-7dB" value="7" />
				<Item label="-8dB" value="8" />
				<Item label="-9dB" value="9" />
			</Value>
			<Value type="short" genre="system" instance="1" index="5" label="Frame Count" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-32768" max="32767" value="0" />
			<Value type="button" genre="system" instance="1" index="6" label="Test" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
			<Value type="button" genre="system" instance="1" index="7" label="Report" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
			<Value type="list" genre="system" instance="1" index="8" label="Test Status" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="0" size="1">
				<Item label="Failed" value="0" />
				<Item label="Success" value="1" />
				<Item label="In Progress" value="2" />
			</Value>
			<Value type="short" genre="system" instance="1" index="9" label="Acked Frames" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-32768" max="32767" value="0" />
		</CommandClass>
		<CommandClass id="117" name="COMMAND_CLASS_PROTECTION" version="1" request_flags="4" innif="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" innif="true">
			<Instance index="1" />
		</CommandClass>
		<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="0" request_flags="2">
			<Instance index="1" />
			<Value type="int" genre="system" instance="1" index="0" label="Wake-up Interval" units="Seconds" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="3600" />
		</CommandClass>
		<CommandClass id="133" name="COMMAND_CLASS_ASSOCIATION" version="1" request_flags="4" innif="true">
			<Instance index="1" />
			<Associations num_groups="1">
				<Group index="1" max_associations="5" label="Group 1" auto="true">
					<Node id="1" />
				</Group>
			</Associations>
		</CommandClass>
		<CommandClass id="134" name="COMMAND_CLASS_VERSION" version="1" request_flags="4" innif="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="3" />
			<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="2.24" />
			<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="1.11" />
		</CommandClass>
	</CommandClasses>
</Node>

Any updates on this? I’m researching the best in wall switches, to outfit my house with… And it’s between z-wave and lutron caseta.

But it seems that neither are flushed out and fully working with Home Assistant yet (based on this thread and this one on caseta: Lutron Caseta Interface)?

Did anyone ever get any traction on this? I use one of these in my office and I’m moving over from SmartThings to HA just got my usb zwave in today and started the migration of devices.

Anyone got any thoughts on how to configure this switch to behave itself? Thanks.

I would head over to the OpenZwave database and see if the device is “supported”. If it is in the database, OZW likely has support for the Zwave command classes the device uses. If not, you may be able to get someones ear at the OpenZwave developers group. https://groups.google.com/forum/#!forum/openzwave

1 Like

thank you @zarthan this is all new to me, since I’m moving over to HA from SmartThings.

There may be Zwave devices that don’t have full support in OZW. I don’t know much about ST but you can use the ST hub for some or all of your Zwave devices and use HomeAssistant for our control and automation of those devices.

Yeah thats what I’ve been doing but in order to keep the WAF at > 95% no cloud control is a must. I might end up just moving this one device back to ST.

It would be worth checking with the OZW developers. You also may be able to detect a state change once the device is added. You may not have the full capabilities but???

Yeah I’ve been watching for it to do a state change but no love. There is some love for it on OZW so I’m reading through posts there. Looks like I’m going to need to edit the XML file for it. All of this because I want to have a light switch to control 2 outlets on the other side of the room lol. I tried initially to use a regular zwave light switch but due to the patent on the polling sometimes the lights wouldn’t turn on for 30 seconds. Lets see what happens when we touch some xml.

Any luck on this? I’m doing the same thing moving from ST to HA and have one of these. It never even worked that great in ST.

I apologize for my delay in the response as I’ve been out in the woods for the last week so I’m just now getting caught up on the slew of emails.

In the short no I never got this to work with HA, however I did have it working fine with ST. If you want to PM me I can send you the DH for it. I have it tied in with HA via the MQTT ST Bridge and then I have appdaemon handling the button presses to control the two lights that are in my office.

One thing that I was able to do with it was have it independently control the lights via the zwave groups but of course that rules HA out from controlling since HA can’t tell the bloody thing to turn on or off it just always reports all the time as being on. So while I knew I would never be able to fully retire all of ST from my house (to be honest its a great platform and it took me a long way) it will live on for certain devices (zigbee) for me for a long time. But most of my house is now controlled by HA with the zwave stick. If I can ever get HA to initialize the zigbee side of the stick it will be amazing but I just haven’t been motivated enough to tackle that.

I was able to get the switch to work through the Z-wave grouping in HA, it’s just when I use it, HA doesn’t know the state changed. I added them both to HA, then linked them with the HA Z-wave control. I may just go for a different switch since this one doesn’t send a specific on and off (unless you figured out a way to distinguish between the two paddles).

As for ZHA, mine works great after getting a replacement stick. If you have the Nortel/Go Control, then you may have gotten one of the bad batch ones. If HA doesn’t start up when you enable ZHA, that’s likely your problem. I spent a lot of time trying to figure out why it wouldn’t work as some people said it worked flawlessly and others said they couldn’t get it to work at all. Then I came across a post that said there was a batch that had a bad firmware flash. They sent it back and the new one worked fine. I an several others have also verified.

Yeah I thought about that and what not. Just depends on how motivated I feel to go re-pair all of my zwave devices to the new stick :slight_smile: If there was an easy method to move a device from A to B without removing it and then adding it back in I would totally do that.

@TheFuzz4 The Aeon stick has backup software that can restore to a new stick. You should check to see if similar software exists for your stick.

Yeah I’ll have to check in on that because that would be ideal. Thanks @zarthan for the tip