Closed walthowd closed 3 years ago
Hi, I'm not really sure why this would do what you're describing. Firstly, I'm a little surprised that you need to change CTUNE - I've never done that with any customers etc (which have produced thousands of devices), and as I understand this is factory tuned so unless it is changed, I wouldn't have thought it should need setting again.
This library just uses the library at https://github.com/zsmartsystems/com.zsmartsystems.zigbee. I can't really answer if this does anything differently than what the other applications are doing though, since I don't know those applications. The sniffer does a basic startup of the NCP, then puts it into MFGLIB mode which allows it to receive all traffic, so that will definitely be different to how an application would use it since the MFGLIB is normally used for testing (eg for certification).
Sorry - I'm probably not so helpful.
Chris
Thanks Chris for the insight. Just not sure on this one. I put the Sonoff stick back into pairing mode with ZHA on channel 25 and sniffed with another non-sonoff EZSP adapter on channel 25.
I attempted to join a single zigbee bulb and could see it's beacon requests on 25, but nothing transmitted from the sonoff in coordinator mode. Truly weird. Some low level hardware or firmware bug it seems.
Thanks again!
Hi Chris! This is a weird one, feel free to close/ignore if you are busy!
We are attempting to test the new Sonoff / ITead EFR32 stick with Home Assistant under ZHA and zigbee2mqtt.
https://www.itead.cc/zigbee-3-0-usb-dongle.html
In both ZHA and z2m, the sonoff radio appears to be unable to hear/process/receive any frames from any joining device. Running in verbose logging, the network gets opened for joining but no beacons, join requests, anything is ever logged as received.
There has been some talk that the EFR32 onboard may be frequency mis-tuned and Sonoff has released a new firmware to fix the issue with CTUNE set to 128. However, that doesn't seem to help at all.
https://github.com/xsp1989/zigbeeFirmware/issues/4
What is weird, is your sniffer application seems to work with the out of the box firmware and the updated tuned firmware. I can sniff my production network on channel 15 and see all traffic, all with reasonable LQI/RSSI values.
Any ideas? Is there any option for initializing the NCP in a different way that perhaps ZHA or z2m is missing?
Really at a loss on this one.