RobHofmann / HomeAssistant-GreeClimateComponent

Custom Gree climate component written in Python3 for Home Assistant. Controls AC's supporting the Gree protocol.
GNU General Public License v3.0
309 stars 104 forks source link

can not connect to my ac #183

Open kkkyan opened 3 months ago

kkkyan commented 3 months ago

I follow all directions and issues,but i still cannot connect to my ac.

log:

2024-06-26 23:15:54.349 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform
2024-06-26 23:15:54.349 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass
2024-06-26 23:15:54.350 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device
2024-06-26 23:15:54.350 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key
2024-06-26 23:15:54.369 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.100.40, 7000, 10, {"cid": "app","i": 1,"pack": "Jtod3XIt89Lmts7UOX8QVJgi6oEAzgfkbQU3H+DJk/jDdW5ZiAJpKYr39aCGHseEwf35XMKtIPQDq97Iev6J","t":"pack","tcid":"502cc6ec7cbb","uid": 0, "tag" : "L74mEcBPctLZItkNzUPqsg=="})
2024-06-26 23:16:04.380 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer.

my config:

- platform: gree
  name: ac
  host: 192.168.100.40
  port: 7000
  mac: '502cc6ec7cbb'
  target_temp_step: 1
  encryption_version: 2
  uid: 0

I tried v2.13 and v2.11 ,when v2.13 i got error cannot get encrption key.

I can use my gree+ app to control it, and it mentioned my wifi verions is v2.19

I have followed https://github.com/tomikaa87/gree-remote/blob/master/PythonCLI/gree.py But I got

Searching for devices using broadcast address: 192.168.100.255
Search finished, found 0 device(s)

Also I failed to get key from app, what can I do next?

Here is my app and my dhcp table: 08f9df322f1461b473a48025204ba22

image

I can only sure that my ip and mac is right :-(

And i cannot find any instructions about my v2.19 firmware

andreisavescu commented 3 months ago

Hello. I cant make it work either. Write here if you find any workaround. Basically I see my air conditioning unavailable in the original Gree Climate integration and this one wont work at all.

davidmm85 commented 2 months ago

I am exactly the same as you, the only thing that I find in the wifi application is that I have version 4.01. I have tried to configure it in every way and it is impossible, before with the official integration it worked perfectly.

kkkyan commented 2 months ago

I am exactly the same as you, the only thing that I find in the wifi application is that I have version 4.01. I have tried to configure it in every way and it is impossible, before with the official integration it worked perfectly.

I cannot use official integration either. It says can not find device.