From 8e07fb28d84e600a8ef750285a253c6bb60ff2a0 Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Tue, 24 Sep 2024 12:50:18 +0200 Subject: [PATCH] feat: add driver preset to disable watchdog --- packages/zwave-js/src/lib/driver/ZWaveOptions.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/zwave-js/src/lib/driver/ZWaveOptions.ts b/packages/zwave-js/src/lib/driver/ZWaveOptions.ts index 528c8edc7d1..76633f027a3 100644 --- a/packages/zwave-js/src/lib/driver/ZWaveOptions.ts +++ b/packages/zwave-js/src/lib/driver/ZWaveOptions.ts @@ -451,6 +451,16 @@ export const driverPresets = Object.freeze( }, }, + /** + * Prevents enabling the watchdog to be able to deal with controllers + * which frequently get restarted for seemingly no reason. + */ + NO_WATCHDOG: { + features: { + watchdog: false, + }, + }, + /** * Sends battery powered nodes to sleep more quickly in order to save battery. */