Giter Club home page Giter Club logo

Comments (22)

oskarn97 avatar oskarn97 commented on June 22, 2024 1

Yes, the device limit refers to the number of devices that can be paired to a single coordinator. You can use more of course.

from zigbee2mqtt.

oskarn97 avatar oskarn97 commented on June 22, 2024 1

add the "TC_LINKKEY_JOIN" compile on the preprocessor option

from zigbee2mqtt.

ciotlosm avatar ciotlosm commented on June 22, 2024

Is there a way to get the a link to the firmware source code with details on how to build it as well?

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

@oskarn97 would it be possible to share any details on how you compiled this firmware?

from zigbee2mqtt.

oskarn97 avatar oskarn97 commented on June 22, 2024

It is not possible to increase the device limit beyond 48 devices since to memory limitation on the Chip. I compiled the Z Stack Home with IAR Embedded Workbench with some flags required for encryption and maximum device limit.

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

Would it be possible to reduce the size of the firmware so there is more memory left for devices? http://processors.wiki.ti.com/index.php/Optimizing_Flash_and_RAM_Usage_of_Z-Stack_for_CC2530

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

I doubt if NWK_MAX_DEVICE_LIST defines the maximum number of devices in the network. In this official Texas Instruments document chapter 4 Z-Stack Knobs they are talking about a 400+ nodes network while only having set NWK_MAX_DEVICE_LIST to 10. I have the feeling that when adding more routers to your network you can add more nodes to your network.

Maybe 48 devices is not the limit at all....

from zigbee2mqtt.

ioudeveldhuis avatar ioudeveldhuis commented on June 22, 2024

@oskarn97 Could you still tell us what you changed / done to compile the firmware and how to generate the .hex file ?

from zigbee2mqtt.

oskarn97 avatar oskarn97 commented on June 22, 2024

I've just increased the device limit and enabled secure link join. Apart from that I did not modify the default TI Z Stack Home.
bildschirmfoto 2018-05-21 um 10 28 45

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

By reducing the MAXMEMHEAP in OnBoard.h to e.g. 1000 I was able to compile with NWK_MAX_DEVICE_LIST 90.

@oskarn97 how did you enable secure link join?

from zigbee2mqtt.

ptvoinfo avatar ptvoinfo commented on June 22, 2024

@Koenkk Is it safe to reduce MAXMEMHEAP?

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

@ptvoinfo we need to do some tests with it.

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

I think it's not possible to reduce the heap size, I'm getting the same error as #65 in this case.

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

I've created a wiki page which explains how to add more than 48 devices to your network.

from zigbee2mqtt.

makuser avatar makuser commented on June 22, 2024

@Koenkk @oskarn97 wouldn't we solve the memory problem by using a dongle with a CC2538 SoC? It has up to 32KB instead of 8KB.

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

@makuser maybe; but that setup is much more expensive.

For now I don't see any problem when using the CC2531/CC2530 with the current firmwares. It's stable even for larger networks.

from zigbee2mqtt.

vpomax avatar vpomax commented on June 22, 2024

I have 32 xiaomi zigbee devices...
I need to use 1 coordinator e 2 router CC2531 to manage all 32 devices?

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

@vpomax could be a bit tricky, I would recommend adding another CC2531 router to be sure.

from zigbee2mqtt.

cmorlok avatar cmorlok commented on June 22, 2024

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

@cmorlok yes, but note that that firmware could have some downsides. It has less memory available which could lead to freezing and less responsive devices.

from zigbee2mqtt.

cmorlok avatar cmorlok commented on June 22, 2024

Is the limit for cc2530 the same?

from zigbee2mqtt.

Koenkk avatar Koenkk commented on June 22, 2024

Yes

from zigbee2mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.