-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot connect the device #13
Comments
I saw that this is related to new encryption method. Maybe this can help? home-assistant/core#109230 and RobHofmann/HomeAssistant-GreeClimateComponent#165 |
This means that your AC unit is not supported at the moment. I am currently working on to support the new encryption method. |
I will be happy to help! |
Thank You! I will tell you if beta is available. |
@eibenp I have the same issue with a UE G09 BP Y24 and I'm available to test if you publish a beta. |
Thank You! Can one of you capture network packets between an official GREE mobile app (GREE+ or EWPE Smart) and the AC unit with this issue? |
Hi @eibenp
|
Yes! This is exactly the information what I need. This format is acceptable for me. I only need the packet text: {"t":"pack"...} If it is easy to copy this part of the page then it is enough for me. (I need the direction of the packet also.) First I need all packets sent to AC device and all responses received from AC device during the registration phase. (When you connect the app to the AC device for the first time). The main problem is, that the AC device did not sent a response after the original V1 packet. I need to know the content of the packets which have initialized the binding between the app and the AC device. |
In order to complete registration I need to remove my AC from Gree+ and reset WiFi settings on the AC device or I can just install an app on a different phone? |
Sorry, I do not know. 2024. jún. 19. dátummal, 16:10 időpontban mateuszm7 ***@***.***> írta:
In order to complete registration I need to remove my AC from Gree+ and reset WiFi settings on the AC device or I can just install an app on a different phone?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Okay, I removed the device from Gree+ and reset WiFi settings. Then I used Gree+ app on my mac to add the AC. I'm attaching all packages I captured. I think the connection started on Frame 659 (second in the file). |
Thank You! At first glance, this seems to be what I need. I need some time to analyze the packets. |
Bad news: Some network packets are missing or this is a 3rd type of network communication. Original V1 version and V2 version described in RobHofmann/HomeAssistant-GreeClimateComponent/pull/165 work the same way:
Between your packets I do not see the SCAN command, but it is no problem because I see the response to the SCAN command. This is encrypted in V1 version using predefined key. (This is several times in your log, e.g. frame 3, 1294, 8761) Could you check if there are some other packets when you register or connect the GREE+ app to the AC device? I am looking for the BIND REQUEST and the response to it. BIND REQUEST is sent from GREE+ to AC unit. The frame contains: "t":"pack" and "i":1 parts. If you see "i":0 in the frame then it is a step 5. frame which is not decryptable without the device key. I tried to guess the missing packets. I have published a new beta version (2.1.0-beta.4) which tries to bind to the device using V2 encryption. If you install it we can see if it works or we can't go forward without the missing network packets. |
I don't know how else I can force AC to register to Gree+. Is there a way to easily find BIND REQUEST? I see few frames with Good news is the beta version works! Here are the logs: |
Great! It seems that your device works mixed. Information exchange uses V1 version but binding and all other communication use V2 version. I can go forward. I do not need the missing packets at the moment. |
Hi @alexpanait , |
Hey @eibenp, I was able to connect both of the ACs I own and they show up in Home app, the only issue I see is that I cannot set the fan speed, but maybe I'm missing something: Thank you for the fast beta release, that was pretty cool! |
There is a gear icon in the bottom right corner. It opens settings page. You can set fan speed on settings page. Zero is off, minimum value is quiet, next value is auto, maximum value is turbo. All other values between them are exact fan speeds (3 or 5 steps depending on AC model)2024. jún. 22. dátummal, 23:46 időpontban Alex Panait ***@***.***> írta:
Hi @alexpanait , I have published a beta which can solve the problem. Did you test the latest beta? Does it work with your AC?
Hey @eibenp, I was able to connect both of the ACs I own and they show up in Home app, the only issue I see is that I cannot set the fan speed, but maybe I'm missing something:
D1D03BE1-6675-48BE-9A04-D8E027217D97_4_5005_c.jpeg (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@eibenp I was able to find the fan settings, it wasn't showing up initially because I had "Temperature sensor" option on. Besides that I haven't seen any issues so far, everything runs smoothly. |
@mateuszm7 @alexpanait |
I try to set up new device but I'm getting:
[16/06/2024, 08:55:14] [GREE Air Conditioner] handleMessage - Package -> {"t":"dev","cid":"9424b8ba5436","bc":"00000000000000000000000000000000","brand":"gree","catalog":"gree","mac":"9424b8ba5436","mid":"10001","model":"gree","name":"","lock":0,"series":"gree","vender":"1","ver":"V2.0.0","ModelType":"32776","hid":"362001065279+U-WB05RT13V1.21.bin"} [16/06/2024, 08:55:16] [GREE Air Conditioner] Scan finished. [16/06/2024, 08:55:16] [GREE Air Conditioner] Warning: Device not bound: 9424b8ba5436 [9424b8ba5436 -- 192.168.100.22:7000]
is there anything that can be done to connect?
The text was updated successfully, but these errors were encountered: