Giter VIP home page Giter VIP logo

hass-intesishome's People

Contributors

jnimmo avatar peledzius avatar yodadacoda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hass-intesishome's Issues

Local control falls over?

I am not sure exactly how often, say monthly, but suddenly, I cannot locally control the heat pump through HA. It shows as being fine but won't change anything, reload the integration and the entity then becomes unavailable. The local webserver can no longer be accessed.

I can still see the heat pump through the router and can ping it fine, I just can no longer access the local webserver.

Interestingly, in the AC Cloud app the device still shows up and I can change it through that, I can log into the device through the AC Cloud website also, so the Wi-Fi controller is still working remotely, just for some reason local control is stopped.

The only way to get it to work again is to power down and turn on/off at the breaker for local control to come back online - or revert to the cloud control.

Any thoughts?

Error connecting to IntesisHome - TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'

I added this custom integration and went through the config flow. I am able to access my device at 'https://accloud.intesis.com/panel' so I know my authentication information is correct.

Here is the error in my log:

This error originated from a custom integration.

Logger: custom_components.intesishome.config_flow
Source: custom_components/intesishome/config_flow.py:126
Integration: IntesisHome
First occurred: 12:03:18 PM (1 occurrences)
Last logged: 12:03:18 PM

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/intesishome/config_flow.py", line 126, in async_step_details
    await controller.connect()
  File "/usr/local/lib/python3.11/site-packages/pyintesishome/intesisbox.py", line 57, in connect
    self._reader, self._writer = await asyncio.open_connection(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
                         ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'

Drop connection roughly every 2 hours.

Hey, after following your instructions and setting the aircon up with this git through hacs, my parent's aircon seemed to work just fine and is definitely a whole lot more useful. The problem is now it seems to drop out every 2 hours. amazingly my parents seem to time the "turn on" and "off "of their aircon inside the disconnected times and as far as they see, "it's not worth even using". I won't give up so quickly.
Anyway, while it is an inconvenience at times it's not the biggest problem in the world but as it is obviously not intended I'll post what I can to help solve it if possible.

this is an image of the log history log I'm pretty sure the temperature sensor is way out, but at least it can be used to guess when it lost connection.

and this is the full log (there might be nonrelated stuff but I tried removing it) it doesn't seem too happy about the integration.

2022-09-07 07:18:12.325 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/intesishome/climate.py", line 436, in try_connect
await self._controller.connect()
AttributeError: 'NoneType' object has no attribute 'connect'
2022-09-07 07:33:11.567 ERROR (MainThread) [frontend.js.latest.202208020] :0:0 Script error.
2022-09-07 09:38:23.032 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 09:42:05.492 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 12:05:17.624 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 12:06:48.202 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 14:30:05.240 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 14:31:32.519 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 16:53:18.648 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 16:53:20.657 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 16:54:35.795 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 19:16:36.152 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 19:17:08.170 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:38:52.216 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-07 21:39:09.561 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:40:19.017 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:40:50.911 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:41:55.454 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:42:22.404 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:42:22.411 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:42:47.607 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:42:47.611 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:43:09.565 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:43:09.569 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:44:19.022 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:44:19.026 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:44:50.917 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:44:50.921 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:45:55.458 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:45:55.462 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:46:22.416 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-07 21:46:22.420 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-07 21:46:47.616 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyintesishome/intesishome.py", line 74, in _send_keepalive
device_id = str(next(iter(self._devices)))
StopIteration
The above exception was the direct cause of the following exception:
RuntimeError: coroutine raised StopIteration
2022-09-08 00:07:57.880 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 00:09:02.514 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:09:34.735 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:10:39.473 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:11:05.882 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:11:43.552 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 00:11:43.556 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:11:58.545 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 00:11:58.549 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:13:02.521 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 00:13:02.528 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 00:13:34.741 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 00:13:34.745 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 02:35:43.672 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 02:35:49.367 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 02:36:23.293 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 04:57:18.776 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 04:57:24.281 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 04:57:24.285 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 04:58:29.833 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 04:59:00.632 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 04:59:21.810 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 04:59:21.814 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 05:00:08.768 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 05:00:08.775 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 05:00:32.780 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 05:00:32.784 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 05:01:09.365 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 05:01:09.372 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 05:01:24.286 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 05:01:24.290 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 05:01:24.294 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 05:01:24.297 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 07:22:30.968 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 07:23:17.019 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 07:23:47.945 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 07:24:09.013 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 09:45:42.328 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 09:46:00.485 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 09:46:33.964 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 09:46:55.125 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 09:46:55.129 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 09:47:04.461 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 09:47:04.466 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:09:03.928 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 12:09:12.961 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:09:31.394 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:10:16.418 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:10:26.908 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:10:44.541 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:10:44.546 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:11:16.926 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:11:16.930 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:11:38.224 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:11:38.229 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:11:38.233 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:11:38.236 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:11:48.592 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:11:48.597 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:12:47.742 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:12:47.746 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:12:49.436 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:12:49.440 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:13:12.968 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:13:12.972 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:13:31.400 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:13:31.404 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:14:16.425 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:14:16.429 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:14:26.914 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:14:26.918 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:14:44.551 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:14:44.555 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:15:16.936 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:15:16.940 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:15:38.234 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:15:38.238 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:15:38.242 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 12:15:38.245 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 12:15:48.600 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyintesishome/intesishome.py", line 74, in _send_keepalive
device_id = str(next(iter(self._devices)))
StopIteration
The above exception was the direct cause of the following exception:
RuntimeError: coroutine raised StopIteration
2022-09-08 14:36:45.624 ERROR (MainThread) [pyintesishome] pyIntesisHome lost connection to the IntesisHome server. Exception: [Errno 110] Operation timed out
2022-09-08 14:37:30.488 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:37:30.492 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:37:56.811 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:38:15.273 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:39:00.231 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:39:00.235 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:39:10.880 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:39:10.883 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:39:26.846 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:39:26.850 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:40:00.803 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:40:00.807 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:40:30.528 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:40:30.534 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:40:30.538 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:40:30.541 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:40:40.732 WARNING (MainThread) [asyncio] socket.send() raised exception.
2022-09-08 14:40:40.736 ERROR (MainThread) [pyintesishome] <class 'TimeoutError'> Exception. (110, 'Operation timed out') / [Errno 110] Operation timed out
2022-09-08 14:41:30.493 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyintesishome/intesishome.py", line 74, in _send_keepalive
device_id = str(next(iter(self._devices)))
StopIteration
The above exception was the direct cause of the following exception:
RuntimeError: coroutine raised StopIteration
2022-09-08 14:41:30.496 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyintesishome/intesishome.py", line 74, in _send_keepalive
device_id = str(next(iter(self._devices)))
StopIteration
The above exception was the direct cause of the following exception:
RuntimeError: coroutine raised StopIteration

Fan mode: auto

Hello,

Maybe somebody know how to add fan mode: auto, because in states no auto mode:

hvac_modes:

heat_cool
heat
dry
fan_only
cool
‘off’
min_temp: 18
max_temp: 30
target_temp_step: 1
fan_modes:
quiet
low
medium
high
swing_modes:
‘off’
vertical
current_temperature: 26
temperature: 24
fan_mode: 0
swing_mode: ‘off’
outdoor_temp: 1
icon: mdi:white-balance-sunny
friendly_name: DEVICE_021F01
supported_features: 41

Only one device being pulled in

When I connect to my IntesisHome account only one of my two MHI AC units is pulled into home assistant. Note that when using the "official" HA integration, both AC units are pulled in. There seems to be something wrong with this fork that isn't pulling in all devices from IntesisHome?

Logs show the following entry:

Logger: homeassistant.components.climate
Source: custom_components/intesishome/climate.py:358
Integration: Climate (documentation, issues)
First occurred: 11:39:23 (1 occurrences)
Last logged: 11:39:23

intesishome: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 576, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 938, in async_device_update
await self.async_update()
File "/config/custom_components/intesishome/climate.py", line 358, in async_update
self._current_temp = self._controller.get_temperature(self._device_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyintesishome/intesisbase.py", line 403, in get_temperature
temperature = self.get_device_property(device_id, "temperature")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyintesishome/intesisbase.py", line 193, in get_device_property
return self._devices[str(device_id)].get(property_name)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: '206448962216'

intesishome with PA-AW-WIFI-1 on Aquarea AW

hello,
I test this integration on homeassistant but have this fail log:

Cant you help me please.

2022-09-18 19:12:06.847 ERROR (MainThread) [homeassistant.components.climate] Error while setting up intesishome platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 128, in async_setup_platform
[
File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 129, in
IntesisAC(ih_device_id, device, controller)
File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 203, in init
mode_list = [MAP_IH_TO_HVAC_MODE[mode] for mode in modes]
File "/usr/src/homeassistant/homeassistant/components/intesishome/climate.py", line 203, in
mode_list = [MAP_IH_TO_HVAC_MODE[mode] for mode in modes]
KeyError: 'heat+tank'

Error on device update!

When adding my airconwithme account only 1 of the 2 connected units is showed within this integration. And when I look in the logs I noticed the folowing error:

intesishome: Error on device update!Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 570, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 940, in async_device_update await self.async_update() File "/config/custom_components/intesishome/climate.py", line 358, in async_update self._current_temp = self._controller.get_temperature(self._device_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyintesishome/intesisbase.py", line 403, in get_temperature temperature = self.get_device_property(device_id, "temperature") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyintesishome/intesisbase.py", line 193, in get_device_property return self._devices[str(device_id)].get(property_name) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: '224571441711392'

I've rebooted HA a couple of times, removed and readded the integration, the account, etc. But now effect. Every time the same device is not listed in the entity list for this integration. With the built-in plugin for IntesisHome the second unit did work.

Any suggestion on where to look at?

Can't regain connection after relatively long time without HA restart.

I mentioned this error in my last comment on the other issue I raised (although I'm not sure if that last comment has been seen) I had hoped the update would have fixed it or perhaps the tweak you instructed to reduce connection times, but nope..

This is possibly directly related to my other issue of the constant connection losses, but after a stretch of days '10 or more' of connection dropouts and reconnects it's like it just randomly gives up (a restart seems to restart the time/days it takes before it stops trying anymore)

this screenshot shows the graph of connections and then at the end they give up. while it might not necessarily mean it takes a larger stretch of days this hasn't happened unless I haven't restarted for a good week.

also ( i assume ) due to the dropout and failures to connect, the log is spammed with errors seen here
and here now I'm not sure if the runner.py thing is related but it's the only thing that appears to error around as much as the intesis thing.

Error on new Intesis install

Tried adding and only pulled in one device, changed the update to "False" as per other issues, now all devices are being pulled in but getting this error and unavailable devices:

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:359
Integration: Climate (documentation, issues)
First occurred: 23:36:52 (1 occurrences)
Last logged: 23:36:52

Error while setting up intesishome platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/intesishome/climate.py", line 113, in async_setup_entry
controller = hass.data[DOMAIN]["controller"].pop(config_entry.unique_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'intesishome_hass'

Won't add intesishome_local

Sorry, no logs at this stage, but when I go to add the local version it just gives me "An unknown error occurs". I have double checked the IP address, and using the correct user/pwd - the cloud integration goes straight through, no problems.

Image from the app. (sorry about the colour scheme)

image

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.