Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.74k stars 1.64k forks source link

Touchlink and max device list in firmware #134

Closed kirovilya closed 6 years ago

kirovilya commented 6 years ago

I found some intresting moments here https://github.com/Tropicao/zigbridge/blob/master/doc/firmware_instructions.md

NWK_MAX_DEVICE_LIST=0

Already there are remarks about the number of connected devices. This setting assumes that the device list is stored in the application, not in the cc253x. This presumably eliminates the problem with the count.

INTER_PAN

This allow to use touchlink mode for ZLL lamp.

It remains only to assemble the firmware and try to use it :)

Koenkk commented 6 years ago

I've compiled a firmware with these settings: https://github.com/Koenkk/Z-Stack-firmware/tree/experimental/coordinator/CC2531 (see bin folder). Currently working good with 1 motion sensor and 1 bulb, need to do more tests but looks promising!

This also allows us to set a very high MAXMEMHEAP which can improve stability.

kirovilya commented 6 years ago

@Koenkk Good! Need tester with many devices...

Koenkk commented 6 years ago

It seems to after testing again, I cannot connect more than one (end) device. Note that the link from OP uses Z-Stack 3.0.1 so there might be some differences here..

kirovilya commented 6 years ago

@Koenkk :( Bad... So... closing issue?

Koenkk commented 6 years ago

No, touchlink is still there! :smile:

Koenkk commented 6 years ago

Closing as the required options are enabled in the firmware.