-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
pairing APsystem YC600 #4221
Comments
Looking for the same information... There is no reset button, powering off/on does not help either. I suspect we have to send a proprietary signal to trigger pairing. Maybe somene with an official ECU-R gateway can do a test and sniff? |
Hi all! Here is what I've found out (with my limited knowledge of Zigbee).
Next steps I'll try:
|
Nice stuff! Now we are one little step further and seem to understand why some people cannot see any packets. I have read on internet that the YC600 has a zigbee communication range of 10-20m. Also, AP systems has confirmed to someone posting on a forum, that they use a proprietary zigbee protocol. This also seems to be in line with your finding. We have to crack this stuff! I am going to order my own 2531 now :-) |
Great i cant wait |
Unfortunately, I had just a few minutes of sunlight left today... But here is what I did.
The I started zigbee2mqtt and sniffed the traffic using another 2531.
And that's about it... Then, the "link status" packets continued. No device joined. :-( What puzzles me a bit is that 0x26c7 responds with a Beacon?! I thought that the device trying to join sends a beacon request and then the coordinator answers with a beacon?! Any ideas where to go from here? Tomorrow, I'll try and enable zigbee-herdsman debugging, too. |
Apparently, the ECU-R (APSystem device to connect to the inverters) needs the inverters' UID. So perhaps there is some kind of authentication going on there?! See https://youtu.be/3UGMGZRTJQI?t=868 |
My zigbee knowledge is very limited, so I was reading some documentation to jump start my knowledge :-) What I understand is that it is always a zigbee device which is sending beacon requests and coordinator is responding with a beacon frame. If coordinator enables permitjoin and is shown in beacon frame, the device can decide to send association request to coordinator to join the network. So it is always the device who decides which network to join from the available/permitted networks. It seems, that the YC600 decides not to join your network, despite the fact that you coordinator permits it. Feeding in the ID of the inverter in the ECU APP (as shown in the video you have linked) is probably the key, I guess the ID somehow needs to be included in the beacon response frame of the coordinator. When de device recognizes the own ID in the frame, it will join. |
With herdsman logging enabled: still no luck. Nothing to see...
Yes, that is my understanding, too. However, here we see that the inverter (e.g. NOT the coordinator) seems to respond with a beacon! From the sniffing logs you cannot see which device sent the beacon request, but you can see that the inverter answers immediately. I too assume that you need to tell the inverter a "secret" (probably related to the UID). I don't have any idea how to accomplish this... A sniff from a successful pairing with a physical ECU-R would be very helpful, I guess... |
Yes, we have to find someone owning an ECU-R and able to make a sniff. Other option is we do some crowd-funding to buy an ECU-R for testing purposes. It costs around the 200 euro, I would not mind to donate some money if we can crack this thing. |
There is a German forum out there with people that are also interested in having home brewed solution for the YC600 so I have posted a message there to join our forces: https://knx-user-forum.de/forum/%C3%B6ffentlicher-bereich/knx-eib-forum/diy-do-it-yourself/1409938-pv-micro-inverter-diy-auswertung-m%C3%B6glich |
'franck102' in this discussion |
Thanks for the thread. He seems to have an ECU-C and not an ECU-R. Nevertheless, I have registered there and i am going to post a question about sniffing. An ECU-C sniff might also give some hints for us how to proceed. |
That would be great! I guess there isn't much of a difference between the ECU-C and -R when it comes to the zigbee connection. |
ECU-C seems to be the "bigger" device. With swiching output options and more. Zigbee section should work in the same way as in ECU-R. |
In case somebody who owns an ECU-R (or ECU-C) stumbles across this thread and is willing to help, I'll try to summarize the steps to obtain a successful sniff of the connection between the YC600 and ECU-R...
To anybody who is willing to help: Thanks a lot in advance! |
I'd like to order it from some trustworthy website like Amazon, opening it without leaving any marks, sniff the trafic, and then ship it back ;). Amazon doesn't have it, only PV retailers, but there's shipping costs and they're not very clear about return policies... |
Some statement from the manufacturer (not very useful) |
One more guy having the ECU-R and wants to use zigbee connection |
Thanks for the info. Registered there and posted a message :-) |
Creative :-) Let us hope someone out there with an ECU will voluntair to make a sniff. If no, I do nnot mind to help with the shipping costs. |
And there I am... Hope I can help out, I have a CC2531 available and the ECU-R paired with a YC600 and QS1. I’ll try the procedure above to sniff the traffic and post the results here. Might take a few days. |
Great, thx! |
Great, thank you very much! Let us know if any problems arise during logging where we might be able to help! |
One of my friends has a bunch of YC600's and en ECU-R. I've only got 4 YC600's, but I do have a CC2531 stick with sniffer firmware. We're planning to sniff next weekend (2020-10-03, CEST time zone, looking at how much of a morning person I am, I'd say in the afternoon). |
Great, I cannot wait! |
Great, I can not wait either. |
I gave it a try tonight but I'm not sure I've succeeded. I've not been able to find the Zigbee key. Removing the inverter is easy but to add it again I had to power cycle the ECU and inverters to get the process to 100% but still the automatic system check in the app fails. As it is dark right now I'm not able to check if the inverter is back in the network, I'll try tomorrow if it is light. Anyhow, I've attached the file so you can have a look. If there is anything interesting in there it is probably around line 327, here the connection process was finished according to the app. |
Thanks a lot! Let us see what we can learn from this sniff. |
please be aware that the yc600 is powered from dc, so it is only working when you have enough sun... (no sniffing at night ) |
I went through the sniff but could not find anything from the YC600 (similar like "46 198.040590 0x26c7 ZigBee 88 Beacon, Src: 0x26c7, EPID: 03:00:12:11:10:90:ff:ff"). Maybe it was not powered any more (no sun)? |
what is the zigbee command to retreive the APS Inverter Firmware version (ex for a DS3L) ? thks |
U
Ma
s
Öhgwzun ymw na mt ist ein
|
@kadzsol Thank you so much for this firmware to connect to APSystems inverters. |
@mi-hol > > You may use the latest cc2531 firmware available in this thread.
It is not applied and also not going to happen as APS does not use standard zigbee protocol. Why cannot you just use the set of available devices (CC2530+cc259x)? |
@kadzsol I understand that, but would like to understand "how is this specific firmware build" in order to:
Does your statement imply that code of this specific firmware is not open source? |
It is based on the standard zigbee 3.0.2 firmware. You may find build instructions here: https://github.com/Koenkk/Z-Stack-firmware/blob/master/coordinator/Z-Stack_3.0.x/COMPILE.md If you want to develop you need to setup your own development environment.
Sounds good, but for now there are no known issues with the firmware.
Correct. However, if there is a real use case we can talk about it. |
Well, then this firmware is a dead-end for me as it violates basic principles of open source collaboration. @patience4711 I'd suggest to add this important note "proprietary firmware with unavailable source code" to readme in your repository. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Updated package with support for DS3. |
HI
I Don't understand the error .. look like there is a communication but not the correct one .. Am I right ? To finish, I really want to thank you for the brilliant job you did and wish you an happy new year! |
Hi
|
What do you mean @mi-hol ? Every coördinator product is closed source at the beginning? Or did Philips provide the whole data to the platform? In my opinion the codes are open on the internet and many people want to integrate the values of the inverters in their home automation. Is there a way to implement these inverters in zigbee2mqtt? Hope you are willing to help!! |
Hi @kadzsol CC2530ZNP-with-SBL.hex It seems that both modules cc2530 and cc2531 work with CC2530ZNP-with-SBL.hex while the cc2531 doesn't work with CC2531ZNP-with-SBL.hex. I can't remember the reason for this, maybe CC2531ZNP-with-SBL.hex is the sniffer? Thank you in advance |
What do you mean by "not working"? Op 16 feb. 2023 12:49 schreef patience4711 ***@***.***>:
Hi @kadzsol
long time no see.
I have a small question regarding the zigbee firmwares you shared. We have
CC2530ZNP-with-SBL.hex
CC2531ZNP-with-SBL.hex.
It seems that both modules cc2530 and cc2531 work with CC2530ZNP-with-SBL.hex while the cc2531 doesn't work with CC2531ZNP-with-SBL.hex. I can't remember the reason for this, maybe CC2531ZNP-with-SBL.hex is the sniffer?
Thank you in advance
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Several people reported that, when flashed with CC2531ZNP-with-SBL.hex the cc2531 does not react on zigbee commands, there seem to be no serial communication. Maybe they did something else wrong but when they flashed the CC2530ZNP-with-SBL.hex all works as expected. An example here So the question is why we have CC2531ZNP-with-SBL.hex as it seems to be unnecessary. |
The cc2531 firmware has usb serial support added. If something is not working I advice to test setup with ztool. Also, the cc2531 needs some more time to wake up. So wait at least 1 minute before sending commands.Op 16 feb. 2023 13:37 schreef patience4711 ***@***.***>:
Several people reported that, when flashed with CC2531ZNP-with-SBL.hex the cc2531 does not react on zigbee commands, there seem to be no serial communication. Maybe they did something else wrong but when they flashed the CC2530ZNP-with-SBL.hex all works as expected.
An example here
So the question is why we have CC2531ZNP-with-SBL.hex as it seems to be unnecessary.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@kadzsol Oke clear. Thanks |
Hi @kadzsol , |
I think you are looking for this: https://github.com/patience4711/RPI-APS-inverters Uses my firmware for the radio device but application is running on a Pi . APS protocol is not standard zigbee and it will not work with zigbee2mqtt. |
Thanks, okay, I though with your Firmware I have „standard zigbee-communication on the serial UART port “ to the connected Host (RPi, ESP…). |
On the serial port you have serial communication. Zigbee is in the air :-) You can use an ESP too to drive the radio device. https://github.com/patience4711/read-APSystems-YC600-QS1-DS3 |
that’s clear ;-), I thought the serial communication is compatible to zigbee2mqtt okay, I got it… thanks |
If you are capable to do some python programming you could use the library https://github.com/No13/ApsYc600-Pythonlib which is based in the work outlined on this page. I use it with my "volkszaehler" RPi3 to add inverter data to my power usage database for almost a year now. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Hi,
Did someone manage to connect/pair with the APsystem YC600 micro omvormer.
They should connect with zigbee but it is not pairing at all.
Any sugestions are welcom.
Kind regards,
Peter
The text was updated successfully, but these errors were encountered: