Looks like we’re still getting some errors. Prior to a few weeks ago I was getting the update is taking longer than 10 second error, but it would always clear itself and it wouldn’t require a reset for the entity to reset where I could once again change the modes. Unsure if that helps at all, or not.
Also, as some additional background, I’m running 0.88.2 in a docker container. Would that have any effect?
2019-03-27 08:15:12 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 08:30:27 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 08:45:42 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 09:31:23 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 09:46:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 10:01:44 ERROR (SyncWorker_7) [pyeconet.api] Failed to decode response
2019-03-27 10:01:45 ERROR (SyncWorker_7) [pyeconet.api] Failed to decode response
2019-03-27 10:27:11 ERROR (MainThread) [homeassistant.helpers.entity] Update for water_heater.heat_pump_water_heater_gen_4 fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x6f0e2f10>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='econet-api.rheemcert.com', port=443): Max retries exceeded with url: /equipment/None (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6f0e2f10>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/water_heater/econet.py", line 210, in update
self.water_heater.update_state()
File "/config/deps/lib/python3.7/site-packages/pyeconet/equipment/water_heater.py", line 112, in update_state
device_state = self.api_interface.get_device(self.id)
File "/config/deps/lib/python3.7/site-packages/pyeconet/api.py", line 100, in get_device
arequest = requests.get(url, headers=HEADERS)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='econet-api.rheemcert.com', port=443): Max retries exceeded with url: /equipment/None (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6f0e2f10>: Failed to establish a new connection: [Errno -3] Try again'))
2019-03-27 12:30:14 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 12:30:56 ERROR (MainThread) [homeassistant.helpers.entity] Update for water_heater.heat_pump_water_heater_gen_4 fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 221, in async_update_ha_state
await self.async_device_update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 349, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/water_heater/econet.py", line 210, in update
self.water_heater.update_state()
File "/config/deps/lib/python3.7/site-packages/pyeconet/equipment/water_heater.py", line 127, in update_state
for equipment in vacation.get("participatingEquipment"):
AttributeError: 'str' object has no attribute 'get'
2019-03-27 12:36:13 ERROR (SyncWorker_8) [pyeconet.api] Failed to decode response
2019-03-27 12:36:16 ERROR (SyncWorker_8) [pyeconet.api] Failed to decode response
2019-03-27 12:41:25 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 12:46:20 ERROR (SyncWorker_11) [pyeconet.api] Failed to decode response
2019-03-27 12:46:21 ERROR (SyncWorker_11) [pyeconet.api] Failed to decode response
2019-03-27 16:30:06 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 16:45:21 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 17:00:36 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 17:15:51 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 18:01:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds
2019-03-27 18:16:39 ERROR (SyncWorker_13) [pyeconet.api] Failed to decode response
2019-03-27 18:32:02 WARNING (MainThread) [homeassistant.helpers.entity] Update of water_heater.heat_pump_water_heater_gen_4 is taking over 10 seconds