jethome-ru / zigbee-firmware

130 stars 28 forks source link

2538 JOIN problem when routers are on the way #2

Closed hacker-cb closed 3 years ago

hacker-cb commented 3 years ago

In most cases it is impossible to join new devices if some routers are on the way.

hacker-cb commented 3 years ago

Fixed.

LeoDJ commented 3 years ago

A question, because I don't understand the repository structure very well (also @0x3EC): Can I use the JH_2538_2592_ZNP_USB_20201010.hex file for a Modkamru USB stick, or do I need to use MODKAMRU_V3/MODKAMRU_V3_USB.hex?

Because the latter one doesn't have this fix implemented and I noticed that I can't pair devices that are far away and only connected via routers.

Also: can I update the firmware of the coordinator without having to re-pair all my devices?

I'm asking because in the patch files for the JH ZNP USB firmware, there is also a #ifdef MODKAMRU_V3 but I couldn't determine where this define would be set during the build process that created the firmware file and so I'm not sure if the JH firmware would light the correct LEDs.

hacker-cb commented 3 years ago

You should use JH_2538_2592_ZNP_USB_20201010.hex fir modkamru stick. MODKAMRU_V3/MODKAMRU_V3_USB.hex is old one.

It is possible to update firmware without repairing if you will follow steps described here: https://github.com/jethome-ru/zigbee-firmware/blob/master/ti/coordinator/cc2538_cc2592/README.md

LeoDJ commented 3 years ago

Yes, that worked without a problem. Thank you very much!

daborbor commented 2 years ago

Is it required to flash the .patch file too?

hacker-cb commented 2 years ago

No, just download and flash firmware from the latest .zip file (usb or uart, depending on your hardware type)

daborbor commented 2 years ago

Cool thanks, I also have problems with pairing, can pair some devices, but some others fail. Even when they're really close to the coordinator. Will try another antenna today.

daborbor commented 2 years ago

For future reference; I had to delete the network and start over. After that it worked.