Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: automatically prefer LR-capable RF regions over their non-LR counterparts #6843

Merged
merged 2 commits into from
May 13, 2024

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented May 13, 2024

With this PR, Z-Wave JS automatically prefers LR-capable RF regions over their non-LR counterparts, e.g. USA -> USA (Long Range), during startup and when setting the region with setRFRegion.

Although there should be no downside to using the LR capable region, this behavior can be disabled by setting the rf.upgradeToLRRegion driver option to false.

NOTE: #6845 renames the driver option to preferLRRegion

@AlCalzone AlCalzone changed the title feat: automatically prefer LR-capable RF regions during startup feat: automatically prefer LR-capable RF regions over their non-LR counterparts May 13, 2024
@AlCalzone
Copy link
Member Author

@robertsLando when implementing this, please verify that the RF region dropdown gets updated.
image
This is currently not the case when setting or refreshing the region. I have to reload the page for this.

@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

@zwave-js-bot zwave-js-bot enabled auto-merge (squash) May 13, 2024 10:25
@zwave-js-bot zwave-js-bot merged commit 8b7e331 into master May 13, 2024
17 checks passed
@zwave-js-bot zwave-js-bot deleted the auto-lr branch May 13, 2024 10:27
AlCalzone added a commit that referenced this pull request May 14, 2024
### Features
* Automatically prefer LR-capable RF regions over their non-LR counterparts (#6843, #6845)
* Add `destroy` method to Zniffer to free serial port (#6848)
* Expose more Long Range RF settings as methods, controller properties and driver options (#6841)

### Config file changes
* Disable Supervision for Everspring EH403 (#6847)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants