-
Notifications
You must be signed in to change notification settings - Fork 299
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
WIP: Adapter ZiGate #241
WIP: Adapter ZiGate #241
Conversation
Cool! Your pr looks ok (added one small comment). You marked your pr as wip, but can this already be integrated? (or do you want to do more testing first?) Note to self: after this merge: Koenkk/zigbee2mqtt#4737 |
Thank you, I accidentally committed that line. I think for a general test it is better to merge this and give dev a chance to test a wide range of people. Functionally, this adapter does not overlap with the others, so it should not cause problems for the majority of users. WIP: I marked it because the functionality does not fully cover the capabilities and not everything is implemented, but it should be enough for basic use. But I will definitely not have the opportunity to implement it in the near future. An approximate list of problems:
and others I don't know ... I'm not an expert in ZigBee) |
rollback .npmignore remove forgotten debug
Thanks! |
Sorry, I messed up. When merging this commit bd5c5b4 , it so happened that the line with the port opening was lost. as a result, nothing works. What can I do now ? to open a new PR? |
yes please open a new pr |
Update zigbee-herdsman and converters
My comrades (@devbis, @kirovilya) and I prepared an initial implementation of an adapter for interacting with NXP JN5168 / JN5169 chips
We are using zigbee2mqtt on a xiaomi gateway with openwrt operating system.
https://github.com/openlumi
Some places are not yet sufficiently perfected and I have not managed to implement all of them, but I want to share with the community so that my efforts are not wasted.
For successful operation, you need to use the firmware for the chip with a memory leak fix, it will be released in the ZiGate 3.1d firmware, but it is not stable yet, I added this fix to 3.1c
You can download the firmware or source codes here https://github.com/openlumi/ZiGate/releases/tag/snapshot-20201008
After flashing, you need to do a hard reset or
./zigate.sh erase_pdm
(script next to the firmware)You can flash using official utilities from NXP for windows or
https://github.com/Jerome-PS/JennicModuleProgrammer
What you can try as a coordinator
Xiaomi gateway DGNWG05LM, ZHWG11LM
End devices from xiaomi https://github.com/Jerome-PS/JN516xSniffer
Ready modules https://www.seeedstudio.com/Mesh-Bee-Open-Source-Zigbee-Pro-Module-with-MCU-JN516-p-1751.html
DIY module + TTL adapter
E75-2G4M10S Zigbee JN5169 aliexpress.com/item/32973411720.html
Thanks to the creators of these libraries (@Neonox31 , @nouknouk), they helped in understanding the protocol and implementation of this adapter.
https://github.com/Neonox31/zigate
https://github.com/nouknouk/node-zigate