grafalex82 / hellozigbee Goto Github PK
View Code? Open in Web Editor NEWHello NXP JN5169 Zigbee
Hello NXP JN5169 Zigbee
Hello,
Firstly, I wanted to congratulate you for the amazing work and the high quality documentation.
I have many no neutral switches (QBKG03LM and the other model with 1 button) and one of them dropped out from the network and stopped responding to any command, even button press. The leds stopped blinking as well.
I swapped the power / high voltage board LM15-NN-B-T4 (that hosts the two relays) with a new one and the switch returned to work, so the LM15-NN-A-T2 board is actually healthy and the failure is limited to high voltage board.
Have you encountered any similar issue or do you have any idea what could be the issue?
From a visual inspection, I can't see anything wrong with it.
On a different note, do you plan to extend support to the no neutral switches as well?
Hi, when I'm trying to build with command cmake -G "MinGW Makefiles" -DTOOLCHAIN_PREFIX=C:/NXP/bstudio_nxp/sdk/Tools/ba-elf-ba2-r36379 -DSDK_PREFIX=C:/NXP/bstudio_nxp/sdk/JN-SW-4168 ..
I got and error:
CMake Error at src/CMakeLists.txt:92 (ADD_LIBRARY):
Cannot find source file:
C:/nxp/bstudio_nxp/sdk/JN-SW-4168/Components/ZigbeeCommon/Source/app_zps_link_keys.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at src/CMakeLists.txt:92 (ADD_LIBRARY):
No SOURCES given to target: ZigBee
CMake Generate step failed. Build files cannot be regenerated correctly.
Can you help me?
I ran the code (just added a custom endpoint) and while sleeping it resets. If the sleep time is 1 minute, then rarely, if 10 minutes, then very often. Time between sleep and reset is random, can be 30s or 8min
reset during wakeup(with timestamp and delta):
do you know what it could be? tested on E75 and on custom PCB, changed power source, with or without UART. I've read documentation and other examples - found nothing.
I can paste the code, but it's almost same as on main
branch
PS pullup resistor 10kOhm to RST didn't fix issue
Hi mate,
It's so hard to find any comprehensive guides on Zigbee implementation, especially in combinations with Z2M converters.
I must say your "hello zigbee" series is frankly the most detailed and thorough work on Zigbee I've seen.
I have a small project that I'd like to implement as a Zigbee device, the hardware is trivial and is already taken care of, and the logic isn't complex either. I gave it a try but I really struggled with arranging all the endpoints / clusters / entities. It's pretty custom and I couldn't manage to work around the standard Zigbee specs.
(There is a simple version of it working on ESP-HOME, but in that solution all the logic has to be on the 'outside' of the device which makes a mess).
I have a detailed spec document if you'd like to take a peek - no obligations.
It's basically an integration into HA of an older (and out of support) AC systems which was fairly popular a decade ago. A lot of it has been done by community (but not the Zigbee part), and I plan to keep it fully public and open-source, that should help quite a few people out there.
And if you're up to it your work will be compensated, as I mentioned.
Drop me a message if you're interested.
Cheers.
Hello @grafalex82 , I really appreciate your work you done here. I'm having very similar story. I built new flat and bought many of QBKG11LM and QBKG12LM. For long time I used them only as "dumb" switches and this year I finally got them connected to home assistant. After half of year using them in smart mode I am very disappointed with the result, I may not fully understand whats wrong with the switches, but my biggest problem is they are randomly turning off, as I described here Koenkk/zigbee2mqtt#18369
I suspect that it is caused by many reconnecting events.
After many hours of trying to solve the issue I came to the same conclusion as you. The problem is most likely in the firmware of the switches itself. I disassembled the switch itself and saw the chip JN5169 inside. Googling if there is some other firmware option out there and bang, I've found your repository.
My goal is pretty same as yours. Since I have many of the switches, I don't want to throw them to trash bin, but rather make them work. If there is something I could help you with, please let me know. Do you need some money to further development? I see you work over year on this, I know that's hard to keep focus and motivation on such long project, but looking in your plan, you came really long way. Seems that you already have the schematics (article pending). Maybe I can check it and compare it to QBKG11LM. As I understand you only have QBKG12LM at your home?
Hi, could I just swap the JN5169 chip over TLSR825x that’s usually on tuya switches and flash the firmware?
Is it similar to swapping esp with non esp chip to install tasmota/esphome?
Hello @grafalex82 , can you publish prebuilt .ota files? I would like to try the FW on my switches, but build it myself is lot of hassle.
Hi, just viewed your articles on z2m binding/group and they've been very helpful to help better understand how the entire thing work. Since there's no discussion tab here I'll be posting my question here
Is it possible to use multipress to send specific command to binded devices/groups? For example I wanted to cycle between cold or warm lights with double press action
On the philips hue button, there's a single button to switch between 2 scenes
https://www.zigbee2mqtt.io/devices/929002398602.html#philips-929002398602
Koenkk/zigbee-herdsman-converters#3815 (comment)
Отличный проект , могли бы расширить проект и реализовать не только on/off но и pwm ? Или подсказать что добавить переделать в проекте для того чтоб получить pwm сигнал ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.