-
Notifications
You must be signed in to change notification settings - Fork 22
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
[SUGGESTION] Increase default configuration parameters in firmware ITead Zigbee 3.0 USB Dongle #6
Comments
@xsp1989 Again I am not a firmware developer but maybe also increase "Address Table Size" to 32 and "Source Routes" to 200?
At least that is what I understand in zigpy/bellows#397 that tube0013 has configurated his EFR32MG21 based gateway to use? https://github.com/tube0013/tube_gateways/blob/main/tube_zb_gw_efr32/README.md Because the EFR32 gateways uses some higher firmware settings it is recommended set them in the configuration.yaml so bellows will utilize them. Add these lines to your configuration.yaml file:
|
Looks like Elelabs which uses older and slower EFR32G13 (and EFR32MG12) MCUs is using similar increased values as well: https://github.com/zha-ng/EZSP-Firmware/blob/master/Elelabs-ELU013/README.md
So might be a good idea to set higher values for "Address Table Size", "Child Table Size", and "Source Routes" for EFRM32G21? @xsp1989 What do you think about a new firmware these suggested higher values below?
...and what about increasing "NEIGHBOR TABLE SIZE" maximum to 26? Should any other values be increased for "pro" devices?
@tube0013 Would you maybe mind sharing your insight and experience with these higher values for EFR32MG21 MCUs? https://github.com/tube0013/tube_gateways/blob/main/tube_zb_gw_efr32/README.md Specific Configuration for the Tube EFR32 GatewaysBecause the EFR32 gateways uses some higher firmware settings it is recommended set them in the configuration.yaml so bellows will utilize them. Add these lines to your configuration.yaml file:
|
Recommend higher values in firmware for "pro" configuration as per zigpy/bellows#397 and xsp1989#6 also see https://github.com/tube0013/tube_gateways/blob/main/tube_zb_gw_efr32/README.md
@silabs-RaoulvB What are your opinions on these EmberZNet config parameters for EFR32MG21 for Zigbee Coordinator purpose? And is it also a good idea to change some other default values for a powerful Zigbee Coordinator based on EFR32MG21?
|
@Hedda the config parameters are Zigbee stack parameters and are not depending on the HW (e.g. MG12 versus MG21) and mostly have influence on your network capabilities, so whatever was done for MG12/13 can (and should) also be done on MG21, but not for the reason of the soc used, but for your network functionality. The advantage of the MG21 versus MG12/13 is mainly in faster speed, lower power consumption and improved radio performance, but please keep in mind that a Zigbee network is a system composed of many components and in the end there will be a "weakest" link somewhere. |
The suggestion here of increasing default configuration parameters in a standard firmware image for ITead Zigbee 3.0 USB Dongle is based on the assumption that it will primarily be used as a Zigbee Coordinator in DIY home automation hubs/gateways/bridges. Since it is relatively inexpensive you could probably also assume that it will be bought by a lot of users who are new to Zigbee so it is therefore very important that the default firmware for it will be pre-configured with the optimized parameters out-of-the-box. I think that the concept to aim for should be as much "plug-and-play" as possible for all users who is new to Zigbee who might just buy this Zigbee 3.0 USB Dongle and a bunch of battery-operated sensors as their first purchase of Zigbee devices. Yes I know that do you need Zigbee Router devices to cover a large and get a good network mesh but it would be great if it also works great with a couple of mains-powered Zigbee Router devices and loads of battery-operated sensors Zigbee end devices. Again, ITead marketing should maybe make it more clear that the target audience for this relatively inexpensive Zigbee 3.0 USB Dongle product is primarily users of the most popular DIY home automation software applications such as Home Assistant, OpenHAB, Zigbee2MQTT, IoBroker, Jeedom, etc. ...and the reason for that target audience is clearly for ITead to sell more of their mostly battery-operated Sonoff branded Zigbee devices to that DIY home automation market (following the attach rate business concept). With users of DIY home automation software applications so clearly being the target audience for this Zigbee 3.0 USB Dongle product the default firmware for it should really come fully pre-configured with optimized parameters tuned for that purpose out-of-the-box, e.g. optimized for plugging it into Raspberry Pi type single-board-computers then connecting and controlling anything from a few to a few of hundreds (maybe ~ 20-200) Zigbee devices that are similar to the relatively inexpensive Sonoff branded Zigbee devices (whether they are powered by mains-power or battery-operated). |
Closed without comment? |
Suggest increasing some of the default configuration parameters in firmware for ITead Zigbee 3.0 USB Dongle and SM-011.
That in firmware would make ITead Zigbee 3.0 USB Dongle and SM-011 be classified as a "pro" device as per zigpy/bellows#397
I do not think that changing those should cause any regressions as max can be set in the application or inherit from the NCP.
EFR32MG21 MCU used in ITead Zigbee 3.0 USB Dongle and SM-011 is certainly powerful/sized enough to support it.
Note that while this is supported by zigpy/bellows zigpy/bellows#397 but cannot yet be utilized in downstream HA's ZHA.
PS: This has been tested by tube0013 with his EFR32 based gateway/bridge
See example of used in real life
https://github.com/tube0013/tube_gateways
https://github.com/tube0013/tube_gateways/blob/main/tube_zb_gw_efr32/README.md
Specific Configuration for the Tube EFR32 Gateways
Because the EFR32 gateways uses some firrmware settings different than the bellows defaults it is recommended set them in the configuration.yaml so bellows will utilize them.
For EFR32 Series 2 Gateways with Firmware based on the 6.9.2 SDK or later please use the following config
Add these lines to your configuration.yaml file:
https://github.com/tube0013/tube_gateways/blob/main/tube_zb_gw_efr32/README.md
The text was updated successfully, but these errors were encountered: