Comments (5)
Can you provide the config you used? I use 2 gree climates myself, which work perfectly fine.
Please provide the following information:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Configuration
Share your YAML here
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform:
- OS: [e.g. HASSIO, Hassbian]
- Browser [e.g. chrome, safari]
- Version [e.g. 0.92.1]
Additional context
Add any other context about the problem here.
from homeassistant-greeclimatecomponent.
Closing this for now. Feel free to reopen if something pops up!
from homeassistant-greeclimatecomponent.
Hi,
This is a raspberry pi 3b and raspbian. Home-assistant core running in docker (Home Assistant 0.111.3).
Very, very rarely all three climates work at the same time.
Itโs like not waiting for an answer from the climate. They work perfectly from their own app. I tried to set the timeout but it didn't get any better.
It always responds to ping in about 1 ms.
yaml:
platform: gree
name: haloszoba
host: 192.168.1.74
mac: 'f4:91:1e:75:a2:3a'
platform: gree
name: foldszint
host: 192.168.1.81
mac: 'f4:91:1e:75:a2:a1'
platform: gree
name: vendegszoba
host: 192.168.1.77
mac: 'f4:91:1e:75:a2:47'
from homeassistant-greeclimatecomponent.
I turn on debug:
(there is always an answer to ping)
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.1.74, 7000, 10, {"cid": "app","i": 1,"pack": "6kwCFcGeYwZV+VyBpi5DSa9F/dzKt/YymGm5ZLrvh6mj9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"f4911e75a23a","uid": 0})
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Fetched device encrytion key: b'9Op2Rs5Uv8Xy1Ab4'
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key
2020-07-15 19:30:02 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.1.75, 7000, 10, {"cid": "app","i": 1,"pack": "6kwCFcGeYwZV+VyBpi5DSV4kLAzvnrzfGPNhb27XhI2j9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"f4911e75a2a1","uid": 0})
2020-07-15 19:30:12 INFO (MainThread) [custom_components.gree.climate] Setting up Gree climate platform
2020-07-15 19:30:12 INFO (MainThread) [custom_components.gree.climate] Adding Gree climate device to hass
2020-07-15 19:30:12 INFO (MainThread) [custom_components.gree.climate] Initialize the GREE climate device
2020-07-15 19:30:12 INFO (MainThread) [custom_components.gree.climate] Retrieving HVAC encryption key
2020-07-15 19:30:12 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.1.77, 7000, 10, {"cid": "app","i": 1,"pack": "6kwCFcGeYwZV+VyBpi5DSZE04YLjDsSmOJuLMuqAiU+j9mrs/0p7GUTdWxmNaBUt","t":"pack","tcid":"f4911e75a247","uid": 0})
2020-07-15 19:30:22 INFO (MainThread) [custom_components.gree.climate] name(): haloszoba
2020-07-15 19:30:22 INFO (MainThread) [custom_components.gree.climate] Gree climate device added to hass()
2020-07-15 19:30:22 INFO (MainThread) [custom_components.gree.climate] Starting SyncState
2020-07-15 19:30:22 INFO (MainThread) [custom_components.gree.climate] Fetching(192.168.1.74, 7000, 10, {"cid":"app","i":0,"pack":"fPDi74KkUQsKEozf7UTelGVIJv1nnzwI312bHPLKLCheo4o6crfn7rDlmk9KOKyK1OX3NNAjr7r0PmKarsmKm5vkekJLU8htJsRWKU+eGy2HtdLCjHoaZ1VQ1YQBhcD/hAoOtYuuBBvqXsGHfYjVXPcJhJWGfqEXJeGRaQqdQ8f29tmNiVaoVlsuOWCSCSc0sl/Y9ZpEiax75PPcEQx8k7K4k4Q8FmjiW8oL7rGessM8kiShqYR1HaoxaqIRpYn6y5XS1hcaVNNX+4MXgdpf4XmZ7SR9qyahltuaNSwwhl4=","t":"pack","tcid":"f4911e75a23a","uid":0})
2020-07-15 19:30:32 ERROR (MainThread) [homeassistant.components.climate] Error while setting up gree platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/config/custom_components/gree/climate.py", line 115, in async_setup_platform
GreeClimate(hass, name, ip_addr, port, mac_addr, timeout, target_temp_step, temp_sensor_entity_id, lights_entity_id, xfan_entity_id, health_entity_id, powersave_entity_id, sleep_entity_id, eightdegheat_entity_id, hvac_modes, fan_modes, swing_modes, encryption_key, uid)
File "/config/custom_components/gree/climate.py", line 160, in init
self._encryption_key = self.GetDeviceKey().encode("utf8")
File "/config/custom_components/gree/climate.py", line 237, in GetDeviceKey
return self.FetchResult(cipher, self._ip_addr, self._port, self._timeout, jsonPayloadToSend)['key']
File "/config/custom_components/gree/climate.py", line 220, in FetchResult
data, addr = clientSock.recvfrom(64000)
socket.timeout: timed out
2020-07-15 19:30:32 ERROR (MainThread) [homeassistant.components.climate] Error while setting up gree platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/config/custom_components/gree/climate.py", line 115, in async_setup_platform
GreeClimate(hass, name, ip_addr, port, mac_addr, timeout, target_temp_step, temp_sensor_entity_id, lights_entity_id, xfan_entity_id, health_entity_id, powersave_entity_id, sleep_entity_id, eightdegheat_entity_id, hvac_modes, fan_modes, swing_modes, encryption_key, uid)
File "/config/custom_components/gree/climate.py", line 160, in init
self._encryption_key = self.GetDeviceKey().encode("utf8")
File "/config/custom_components/gree/climate.py", line 237, in GetDeviceKey
return self.FetchResult(cipher, self._ip_addr, self._port, self._timeout, jsonPayloadToSend)['key']
File "/config/custom_components/gree/climate.py", line 220, in FetchResult
data, addr = clientSock.recvfrom(64000)
socket.timeout: timed out
2020-07-15 19:30:32 ERROR (MainThread) [homeassistant.components.climate] Error while setting up gree platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 441, in _async_add_entity
await entity.async_added_to_hass()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/config/custom_components/gree/climate.py", line 760, in async_added_to_hass
self.SyncState()
File "/config/custom_components/gree/climate.py", line 410, in SyncState
currentValues = self.GreeGetValues(optionsToFetch)
File "/config/custom_components/gree/climate.py", line 241, in GreeGetValues
return self.FetchResult(self.CIPHER, self._ip_addr, self._port, self._timeout, jsonPayloadToSend)['dat']
File "/config/custom_components/gree/climate.py", line 220, in FetchResult
data, addr = clientSock.recvfrom(64000)
socket.timeout: timed out
from homeassistant-greeclimatecomponent.
And if you add just 2? will it stay stable then? In my own setup I have 2 AC's which have been stable since the beginning.
I dont see any weird stuff in the logs other than Timeouts. I moved away from my RPi because it wasnt fast enough for my installation (I got a pretty extensive installation). So you could try to setup Home Assistant on some faster hardware maybe, just to test. Other than than I can't say anything else than "something doesnt respond in time", wether it be network, the ac or the hass installation.
from homeassistant-greeclimatecomponent.
Related Issues (20)
- Current temperature not working HOT 2
- Deprecated and will be removed in Home Assistant 2025.5 HOT 4
- How to access/expose separate Entities ? HOT 6
- cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- Turning on Gree air conditioner after starting Home Assistant HOT 5
- Devices unavailable HOT 2
- Can you support the `Anti Direct Blowing Wind Shield` feature HOT 24
- one of three didnt workm [Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer] HOT 4
- Expand the auto light feature HOT 18
- new encryption method: Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer HOT 2
- ImportError: cannot import name 'EventStateChangedData' from 'homeassistant.core' HOT 2
- No input_boolean beeing created, HOT 4
- getting error : 2024-05-29 08:57:25.609 ERROR (MainThread) [homeassistant.components.climate] Setup of platform gree is taking longer than 60 seconds. Startup will proceed without waiting any longer. HOT 6
- Temperature adjustment increments for instances using imperial (Fahrenheit) HOT 1
- Does not work with latest Cooper&Hunter Smart Wi-Fi devices HOT 1
- Unable to connect to ac HOT 21
- Failed to connect to AC HOT 2
- Since upgrade to 2.12.0 Lost Climate present mode (Vertical swing mode) (EMPTY) HOT 10
- 2.12 Connection issues HOT 8
- Swing modes resets to full range option if any swing selected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homeassistant-greeclimatecomponent.