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

feat: add support for EU Long Range

Open AlCalzone opened this issue 1 year ago • 3 comments

Keeping this as draft until there's device support. We'll also have to wait for a Serial API command to detect supported regions or add another SDK version check.

Note: This can be tested now on 800 series devkits using Simplicity Studio and the new Simplicity SDK from Silicon Labs. Unfortunately as of 7.22.0 (SDK 2024.6.0), the Serial API Controller application has a small bug that causes erratic behavior in Z-Wave JS.

As a workaround, create a project instead of running the sample app, choose copy SDK sources during project creation, then modify app.c as follows:

- eSerialAPIStartedCapabilities capabilities = (RadioConfig->eRegion == REGION_US_LR) ? SERIAL_API_STARTED_CAPABILITIES_L0NG_RANGE : 0;
+ eSerialAPIStartedCapabilities capabilities = (RadioConfig->eRegion == REGION_US_LR || RadioConfig->eRegion == REGION_EU_LR) ? SERIAL_API_STARTED_CAPABILITIES_L0NG_RANGE : 0;

Now right-click the project, choose "run as" -> Silicon Labs ARM program. After flashing, the controller is ready.

7.22.1 (SDK 2024.6.1) is supposed to fix this.

AlCalzone avatar Apr 10 '24 07:04 AlCalzone

@zwave-js-bot pack this

AlCalzone avatar Jul 18 '24 12:07 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Jul 18 '24 12:07 zwave-js-bot

😥 Unfortunately I could not publish the new packages. Check out the logs to see what went wrong.

zwave-js-bot avatar Jul 18 '24 12:07 zwave-js-bot

@zwave-js-bot automerge

AlCalzone avatar Aug 30 '24 07:08 AlCalzone