From 727bdb623a6a3c3d35d117e64abdceaa83aef3a3 Mon Sep 17 00:00:00 2001 From: Nerivec <62446222+Nerivec@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:27:34 +0100 Subject: [PATCH] fix deconz form channel --- src/adapter/deconz/adapter/deconzAdapter.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/adapter/deconz/adapter/deconzAdapter.ts b/src/adapter/deconz/adapter/deconzAdapter.ts index bea48cc2da..e21d906f99 100644 --- a/src/adapter/deconz/adapter/deconzAdapter.ts +++ b/src/adapter/deconz/adapter/deconzAdapter.ts @@ -129,6 +129,11 @@ class DeconzAdapter extends Adapter { // this path should never be reached throw new Error('This adapter does not support backup'); } else { + await this.driver.writeParameterRequest( + PARAM.PARAM.Network.CHANNEL_MASK, + ZSpec.Utils.channelsToUInt32Mask(this.networkOptions.channelList), + ); + await Wait(500); await this.driver.writeParameterRequest(PARAM.PARAM.Network.PAN_ID, this.networkOptions.panID); await Wait(500); await this.driver.writeParameterRequest(PARAM.PARAM.Network.APS_EXT_PAN_ID, this.networkOptions.extendedPanID!);