I’ve had these GE/Jasco In-Wall 3-Speed Fan Control 55258 / ZW4002 working reliably for a year+ using the old zwave. Under the new zwave, there appear to be some status reporting issues when turning the fan off. Here’s an extract from the zwavejs log.
In the first line I turn the fan on. 4 seconds later the device responds
The next sequence is odd (looks like a timing problem), it reports the value going to off 2ms before it logs the command, then 50ms reports it as being on. I go out and look at the fan and it is indeed of.
The third sequence is me turning the swich off again in lovelace and which point its state is updated correctly.
2022-04-04 16:14:20.832 INFO ZWAVE: Node 12: value updated: 38-0-targetValue 0 => 255
2022-04-04 16:14:24.844 INFO ZWAVE: Node 12: value updated: 38-0-currentValue 0 => 6
2022-04-04 16:14:43.145 INFO ZWAVE: Node 12: value updated: 38-0-currentValue 6 => 0
2022-04-04 16:14:43.147 INFO ZWAVE: Node 12: value updated: 38-0-targetValue 255 => 0
2022-04-04 16:14:43.197 INFO ZWAVE: Node 12: value updated: 38-0-currentValue 0 => 6
2022-04-04 16:15:57.519 INFO ZWAVE: Node 12: value updated: 38-0-currentValue 6 => 0
2022-04-04 16:15:57.520 INFO ZWAVE: Node 12: value updated: 38-0-targetValue 0 => 0
2022-04-04 16:15:57.534 INFO ZWAVE: Node 12: value updated: 38-0-currentValue 0 => 0
Turn switch on OWZ_Log.txt. - First, the response comes back 15ms later, then another 4 seconds later. It seems like zwave_js is missing that first response.
2022-04-04 16:36:23.773 Info, Node012, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 255
2022-04-04 16:36:23.773 Info, Node012, SwitchMultilevel::Set - Setting to level 255
2022-04-04 16:36:23.774 Info, Node012, Sending (Send) message (Callback ID=0x85, Expected Reply=0x13) - SwitchMultilevelCmd_Set (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x26, 0x01, 0xff, 0x25, 0x85, 0x91
2022-04-04 16:36:23.798 Info, Node012, Request RTT 24 Average Request RTT 24
2022-04-04 16:36:23.798 Info, Node012, Sending (Send) message (Callback ID=0x86, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x26, 0x02, 0x25, 0x86, 0x6c
2022-04-04 16:36:23.823 Info, Node012, Request RTT 24 Average Request RTT 24
2022-04-04 16:36:23.838 Info, Node012, Response RTT 40 Average Response RTT 39
2022-04-04 16:36:23.838 Info, Node012, Received SwitchMultiLevel report: level=6
2022-04-04 16:36:27.816 Info, Node012, Received SwitchMultiLevel report: level=6
Turns off the switch. It does send a 6 back first (.645), few ms later it sends to zero (675).
2022-04-04 16:41:01.596 Info, Node012, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 0
2022-04-04 16:41:01.596 Info, Node012, SwitchMultilevel::Set - Setting to level 0
2022-04-04 16:41:01.597 Info, Node012, Sending (Send) message (Callback ID=0x9f, Expected Reply=0x13) - SwitchMultilevelCmd_Set (Node=12): 0x01, 0x0a, 0x00, 0x13, 0x0c, 0x03, 0x26, 0x01, 0x00, 0x25, 0x9f, 0x74
2022-04-04 16:41:01.622 Info, Node012, Request RTT 25 Average Request RTT 24
2022-04-04 16:41:01.622 Info, Node012, Sending (Send) message (Callback ID=0xa0, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x26, 0x02, 0x25, 0xa0, 0x4a
2022-04-04 16:41:01.645 Info, Node012, Response RTT 22 Average Response RTT 30
2022-04-04 16:41:01.645 Info, Node012, Received SwitchMultiLevel report: level=6
2022-04-04 16:41:01.659 Info, Node012, Request RTT 36 Average Request RTT 30
2022-04-04 16:41:01.675 Info, Node012, Response RTT 52 Average Response RTT 41
2022-04-04 16:41:01.675 Info, Node012, Received SwitchMultiLevel report: level=0
2022-04-04 16:41:02.598 Info, Node012, Sending (Send) message (Callback ID=0xa1, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x26, 0x02, 0x25, 0xa1, 0x4b
2022-04-04 16:41:02.623 Info, Node012, Request RTT 24 Average Request RTT 27
2022-04-04 16:41:02.638 Info, Node012, Response RTT 40 Average Response RTT 40
2022-04-04 16:41:02.638 Info, Node012, Received SwitchMultiLevel report: level=0
2022-04-04 16:41:03.598 Info, Node012, Sending (Send) message (Callback ID=0xa2, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=12): 0x01, 0x09, 0x00, 0x13, 0x0c, 0x02, 0x26, 0x02, 0x25, 0xa2, 0x48
2022-04-04 16:41:03.623 Info, Node012, Request RTT 24 Average Request RTT 25
2022-04-04 16:41:03.638 Info, Node012, Response RTT 40 Average Response RTT 40
2022-04-04 16:41:03.638 Info, Node012, Received SwitchMultiLevel report: level=0
I think there are several issues here:
a) zwave_js is missing messages
b) zwave_js has an ordering issue processing in correct order.