Zwave extension restarting repeatedly, triggering unwanted scene execution

Since the latest firmware release (my hub is running 2.0.48.2397.3), it seems I get regular, repeated restarts of the zwave extension. This triggers a scene to run, turning lights in my living room on on unwanted times of day.

I thought this was due to the FGD-212 support included in the firmware, but it might be unrelated to that.

This is what I get in the ha-extensions_manager.log:

2023-12-22 11:02:53.424311 INFO : Running plugin script: HUB:foscam/scripts/handlers/foscam_events_handler
2023-12-22 11:06:09.651812 INFO : Addon stopped: zwave-1.0.2397.3
2023-12-22 11:06:16.442614 INFO : Addon started: zwave-1.0.2397.3
2023-12-22 11:06:16.442825 INFO : Plugin restarted: zwave-1.0.981
2023-12-22 11:06:16.465354 INFO : init: GatewayPlugin: the gateway (zwave) got registered for the plugin (zwave-1.0.981)
2023-12-22 11:06:16.481052 INFO : Plugin: request to initialize migration(zwave-1.0.981, HUB:zwave/scripts/migration/initialize_migration)
2023-12-22 11:06:16.520583 INFO : Plugin: request to migrate device(zwave-1.0.981, HUB:zwave/scripts/migration/migrate_device)
2023-12-22 11:06:16.535099 INFO : Plugin: request to finalize migration(zwave-1.0.981, HUB:zwave/scripts/migration/finalize_migration)
2023-12-22 11:06:16.558351 INFO : Plugin: request to start the plugin (zwave-1.0.981, HUB:zwave/scripts/startup)

At the same time, this is logged in ha-zwaved.log:

ha-zwaved.log:2023-12-22 11:06:09 ERROR : Terminate instance...
ha-zwaved.log:2023-12-22 11:06:09 INFO  : Logs folder was changed: /var/log/firmware
ha-zwaved.log:2023-12-22 11:06:09 INFO  : addon.zwave: at-release/2397.2-3-g884510ea5eff55d2bc95912d [2023-11-27T22:03:00+0000]
ha-zwaved.log:2023-12-22 11:06:09 INFO  : addon.zwave: Spread: connected to "4803" with private group "#addon.zwav#localhost"
ha-zwaved.log:2023-12-22 11:06:12.578288 INFO : zwaveModuleResetPinAssert: Assert reset on zwave chip
ha-zwaved.log:2023-12-22 11:06:12.579282 INFO : zwaveModuleResetPinRelease: Deassert reset on zwave chip
ha-zwaved.log:2023-12-22 11:06:13.080665 INFO : Zwave reset is completed
ha-zwaved.log:2023-12-22 11:06:13.125706 INFO : ZWave stack initialized successfully
ha-zwaved.log:2023-12-22 11:06:15.835271 INFO : Home ID: 0xE40D8454 Node ID: 1
ha-zwaved.log:2023-12-22 11:06:16.440269 INFO : znetInitFinish
ha-zwaved.log:2023-12-22 11:06:16.440652 INFO : activateMode Monitoring
ha-zwaved.log:2023-12-22 11:06:16.440796 INFO : znet_smart_start_listen_mode_enable
ha-zwaved.log:2023-12-22 11:06:16.440988 INFO : setUp: Zwave addon setup done !
ha-zwaved.log:2023-12-22 11:06:16.441027 INFO : activateMode Time synchronization
ha-zwaved.log:2023-12-22 11:06:16.441190 INFO : znet_smart_start_listen_mode_disable
ha-zwaved.log:2023-12-22 11:06:16.442257 INFO : activateMode Monitoring
ha-zwaved.log:2023-12-22 11:06:16.442575 INFO : znet_smart_start_listen_mode_enable

Not much else happing in the logs at that specific time, so not sure where to move from here.

This happens once per hour:

ha-watcher.log:2023-12-22 06:05:47.975427 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 06:05:48.768705 INFO : Z-Wave Service Restarted
ha-watcher.log:2023-12-22 07:05:52.215878 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 07:05:52.571624 INFO : Z-Wave Service Restarted
ha-watcher.log:2023-12-22 08:05:56.507681 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 08:05:56.842761 INFO : Z-Wave Service Restarted
ha-watcher.log:2023-12-22 09:06:00.778188 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 09:06:01.112585 INFO : Z-Wave Service Restarted
ha-watcher.log:2023-12-22 10:06:05.006261 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 10:06:05.343447 INFO : Z-Wave Service Restarted
ha-watcher.log:2023-12-22 11:06:09.566038 INFO : Z-Wave Service Restarting...
ha-watcher.log:2023-12-22 11:06:09.898669 INFO : Z-Wave Service Restarted```

Hopefully this can be fixed, or at least running of scenes can be suppressed during this event.

Hi @jouked

thanks for the detailed logs. We will have a look at this asap. The Zwave reconstruct should happen only at night at 3am daily. And Maybe after reconstruct also some of your devices are triggered. Need to check that as well.

Hello @jouked

We have created a support ticket for you (301476), so check your email, please.