Skip to content
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

Some devices cannot connect to the app #85

Closed
aivus opened this issue Nov 28, 2022 · 5 comments · Fixed by #164
Closed

Some devices cannot connect to the app #85

aivus opened this issue Nov 28, 2022 · 5 comments · Fixed by #164
Labels
bug Something isn't working
Milestone

Comments

@aivus
Copy link
Owner

aivus commented Nov 28, 2022

Could be caused by using different encryption key in new firmwares.
See tomikaa87/gree-remote#36

logs:

>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
SOCKET.SEND { t: 'scan' }
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
IN.MSG {
  t: 'pack',
  i: 1,
  uid: 0,
  cid: '502cc6b01e79',
  tcid: 'app',
  pack: 'LP24Ek0OaYogxs3iQLjL4PD+1uB4aq/dGgEbn8pR7V1YT1PXPBDouOPiWHaG4G8lz22fUZtUbkblUYF5BzlKDV9xeQzMlsaP4RKBtrnsDrMmwHkrcyvRywIl52ZuUW8EzlDvl347hXSddiQKR6Iweu80HbfgK3MNVtBb+mRtQFyio7f3xDWMYEIeftEUXGX8V+aYzyhrw8Yt6UvgVWxkZdHmnfSQ8JdBj+nhexr6JgstnoBYFa+c0wD5j9MjNjAT'
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
IN.MSG.UNPACK {
  t: 'dev',
  cid: '502cc6b01e79',
  bc: 'gree',
  brand: 'gree',
  catalog: 'gree',
  mac: '502cc6b01e79',
  mid: '9300',
  model: 'gree',
  name: '',
  series: 'gree',
  vender: '1',
  ver: 'V5.0.0.0',
  lock: 0
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:02 PM
SOCKET.SEND {
  cid: 'app',
  i: 1,
  t: 'pack',
  uid: 0,
  pack: 'DYtM4OpY0Xlx+jChSGr01CUUCFjuF79CQPESynbXOcqj9mrs/0p7GUTdWxmNaBUt'
}
>>> cid:502cc6b01e79: 11/24/2022, 12:47:05 PM
SOCKET Unable to connect. Retrying...
@aivus aivus added bug Something isn't working help wanted Extra attention is needed labels Nov 28, 2022
@aivus
Copy link
Owner Author

aivus commented Jun 24, 2024

Starting from the AC firmware v1.21, module uses another way of the encryption to interact in local network

Additional references:

@patrykwozinski
Copy link

Hey, I have exactly the same issue. Today I've installed 2 Gree Amber Prestige ACs, both connected to my 2.4G network. They are searchable via Gree app, but in Homey I see only info about "Your HVAC went Offline". Of course, I have the latest firmware - so it sounds like this problem with encryption.

@dsaw703
Copy link

dsaw703 commented Jul 11, 2024

Confirmed for me as well with 1.21 firmware.

Is there anything I could do to assist, let me know.

@aivus aivus removed the help wanted Extra attention is needed label Sep 19, 2024
@aivus aivus added this to the v0.9.x milestone Sep 19, 2024
@aivus aivus pinned this issue Sep 19, 2024
@aivus
Copy link
Owner Author

aivus commented Sep 23, 2024

Hello there,

I just released a test version with the possible fix, please follow these steps

@dsaw703
Copy link

dsaw703 commented Oct 11, 2024

Hi, this fix works with the AC units using firmware V1.23, but does not work with wired controllers ("Main" as denoted in Gree App) using firmware V1.40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants