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

Ability to set RF region for Z-Wave 700 series USB sticks like the SLUSB001A #1674

Closed
Hedda opened this issue Feb 9, 2021 · 3 comments · Fixed by #2500
Closed

Ability to set RF region for Z-Wave 700 series USB sticks like the SLUSB001A #1674

Hedda opened this issue Feb 9, 2021 · 3 comments · Fixed by #2500
Labels
enhancement New feature or request
Projects

Comments

@Hedda
Copy link
Contributor

Hedda commented Feb 9, 2021

Please consider adding support for adjusting/setting "RF region" for Z-Wave 700 series USB sticks/dongles like the SLUSB001A.

Adapters like SLUSB001A (SLUSB7000A) UZB-7 USB stick should be able to support all radio frequencies by setting "RF regions".

As I understand it, the host must change the actual "RF region" (ZWRFRegion) to be used by the Z-Wave radio controller.

https://community.silabs.com/s/article/z-wave-700-how-to-change-the-region-on-controller-devices

https://www.silabs.com/community/wireless/z-wave/knowledge-base.entry.html/2019/03/01/z-wave_700_how_toc-iQk2

https://www.silabs.com/community/wireless/z-wave/forum.topic.html/uzb_7_backwards_compatiblewithuzb3-mFu8

https://community.silabs.com/s/article/z-wave-700-how-to-change-the-region-on-controller-devices?language=en_US

RF region information will then be stored permanently on the SLUSB UZB-7 stick after being set by the host controller:

https://www.silabs.com/wireless/z-wave/global-regions

PS: This is a follow-up feature request to #1357 which was about adding support for SLUSB001A (SLUSB7000A) UZB-7 USB stick.

@Hedda Hedda added the enhancement New feature or request label Feb 9, 2021
@zwave-js-bot zwave-js-bot added this to Needs triage in Triage Feb 9, 2021
@AlCalzone AlCalzone moved this from Needs triage to Backlog in Triage Feb 12, 2021
Triage automation moved this from Backlog to Closed May 4, 2021
@altShiftDev
Copy link

Can anyone confirmed if they've been able to set force a different region on an Aeotec Z-Stick 7? The US version is sold out everywhere and this reddit comment suggests it could be done.

@Hedda
Copy link
Contributor Author

Hedda commented Sep 6, 2021

@altShiftDev Probably best you post a new discussion asking about that in https://github.com/zwave-js/node-zwave-js/discussions

node-zwave-js v7.4.0 release did list "Implement get/setPowerlevel, get/setRFRegion controller methods" reffering to #2500

https://github.com/zwave-js/node-zwave-js/releases/tag/v7.4.0

If you do post https://github.com/zwave-js/node-zwave-js/discussions then link to #1674 and #2500 as well as #1245 as reference.

According to this reddit post you can change region, however unlike SLUSB001A, Aeotec has tuned antenna hardware for each region, which should mean that changing from EU frequency to the USA frequency or vice versa would not be recommended because their frequencies difference so much, but smaller changes like from EU frequency to Russia frequency should work fine.

https://www.reddit.com/r/homeassistant/comments/pcqkt4/has_anyone_been_successful_in_altering_the_region/

The steps to change it are:

In zwavejs2mqtt, go to Actions at the top of the nodes page, then Advanced. Go to Driver Function. Delete the example code and paste the below, changing the region code to your needs.

To list your region:

const region = await driver.controller.getRFRegion();

console.log(\Controller region is ${region});

To change your region:

const region = 0x00; // Europe

const result = await driver.controller.setRFRegion(region);

console.log(\Setting region resulted in ${result});

Region codes:

Europe = 0x00

USA = 0x01 [This is what Aeotec ships set as for US]

USA (Long Range) = 0x09

Australia/New Zealand = 0x02

Hong Kong = 0x03

India = 0x05

Israel = 0x06

Russia = 0x07

China = 0x08

Japan = 0x20

Korea = 0x21

Unknown = 0xfe

Default (EU) = 0xff

Note: These come from the spec, so not all may be actually supported.

@AlCalzone
Copy link
Member

As a matter of fact, I did a few days ago. I switched mine from EU to US and back. While on the US frequency, I didn't see any traffic, so it definitely worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Triage
Closed
3 participants