node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

Zooz ZEN72 firmware update process times out after update is successful

Open kpine opened this issue 1 year ago โ€ข 4 comments

Is your problem within Home Assistant (Core or Z-Wave JS Integration)?

NO, my problem is NOT within Home Assistant or the ZWave JS integration

Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?

NO, my problem is NOT within Z-Wave JS UI

Checklist

Describe the bug

What causes the bug?

A ZEN72 is included with S2 Auth. I updated the firmware. Z-Wave JS discards an insecure firmware update success report, so it doesn't realize it completed. With 100% progress, eventually the process times out. As a result, the device is not automatically re-interviewed.

Well, I guess this is probably a device bug (sending an insecure report?), but I thought I'd start here.

What do you observe?

I updated a Zooz ZEN72 to the latest firmware. It completed, but Z-Wave JS reports it as timed out. This means it isn't automatically re-interviewed.

What did you expect to happen?

A successful completion is reported and the device re-interviewed.

Steps to reproduce the behavior:

Update a Zooz ZEN72 firmware?

Device information

Manufacturer: Zooz Model name: ZEN72 Node ID in your network: 43

How are you using node-zwave-js?

  • [X] zwave-js-ui (formerly zwavejs2mqtt) Docker image (latest)
  • [ ] zwave-js-ui (formerly zwavejs2mqtt) Docker image (dev)
  • [ ] zwave-js-ui (formerly zwavejs2mqtt) Docker manually built (please specify branches)
  • [ ] ioBroker.zwave2 adapter (please specify version)
  • [ ] HomeAssistant zwave_js integration (please specify version)
  • [ ] pkg
  • [ ] node-red-contrib-zwave-js (please specify version, double click node to find out)
  • [ ] Manually built from GitHub (please specify branch)
  • [ ] Other (please describe)

Which branches or versions?

version: node-zwave-js branch: 11.6.0 zwave-js-ui branch: 8.21.2

Did you change anything?

no

If yes, what did you change?

No response

Did this work before?

Don't know, this is a new device

If yes, where did it work?

No response

Attach Driver Logfile

You can see at the end of the firmware update there's a success report that is discarded due to being insecure. I re-interviewed after the timeout was reported and the version is updated.

zwave_js.log

kpine avatar Jul 27 '23 07:07 kpine

๐Ÿ‘‹ Hey @kpine!

It looks like you attached a logfile, but its filename doesn't look like it a driver log that came from Z-Wave JS. Please make sure you upload the correct one.

zwave-js-bot avatar Jul 27 '23 07:07 zwave-js-bot

Yep, seems like a device bug.

AlCalzone avatar Jul 27 '23 08:07 AlCalzone

Zooz ZEN17 firmware update hit this morning (node 43) and it timed out at finish. Upgraded from 1.4.1 to 1.40.2. As prior, a reinterview corrects the fw version display. Attached zwjs driver log covering that time. zwavejs_current.log

jeffjensen avatar Apr 05 '24 11:04 jeffjensen

Yep, same issue. The device is included with S2, but then sends the report without encryption:

2024-04-05T11:12:34.078Z DRIVER ยป [Node 043] [REQ] [SendDataBridge]
                                  โ”‚ source node id:   1
                                  โ”‚ transmit options: 0x25
                                  โ”‚ callback id:      113
                                  โ””โ”€[Security2CCMessageEncapsulation]
                                    โ”‚ sequence number: 200
                                    โ”‚ security class:  S2_Authenticated
                                    โ””โ”€[FirmwareUpdateMetaDataCCReport]
                                        report #: 6006
                                        is last:  true

...

2024-04-05T11:12:43.662Z CNTRLR   [Node 043] command was received at a lower security level than expected - disc
                                  arding it...
2024-04-05T11:12:43.663Z DRIVER ยซ [Node 043] [REQ] [BridgeApplicationCommand]                        [discarded]
                                  โ”‚ RSSI: -69 dBm
                                  โ””โ”€[FirmwareUpdateMetaDataCCStatusReport]
                                      status:    OK_RestartPending
                                      wait time: 0 seconds

AlCalzone avatar Apr 09 '24 07:04 AlCalzone