home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.79k stars 30.88k forks source link

Tfiac - remote access? #69653

Closed Macrisu closed 2 years ago

Macrisu commented 2 years ago

The problem

I have 9 AC units that work with TFIAC and are working in HA installation in the LAN.

I have remote access to my HA installation (on a virtual machine, Synology) + and reverse proxy.

All working correctly.

My problem is that I cannot control the AC units remotely, via WAN, only local (yesterday).

What version of Home Assistant Core has the issue?

2022.4.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

TFIAC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tfiac/

Diagnostics information

No response

Example YAML snippet

climate:
  - platform: tfiac
    host: 192.168.2.31
  - platform: tfiac
    host: 192.168.2.30
  - platform: tfiac
    host: 192.168.2.32
  - platform: tfiac
    host: 192.168.2.35
  - platform: tfiac
    host: 192.168.2.36
  - platform: tfiac
    host: 192.168.2.39
  - platform: tfiac
    host: 192.168.2.27
  - platform: tfiac
    host: 192.168.2.40
  - platform: tfiac
    host: 192.168.2.37

Anything in the logs that might be useful for us?

Logger: homeassistant.helpers.entity
Source: components/tfiac/climate.py:102
First occurred: 00:31:32 (132 occurrences)
Last logged: 10:03:32

Update for climate.etaj_2_centru fails
Update for climate.etaj_1_spate fails
Update for climate.parter_centru fails
Update for climate.etaj_2_spate fails
Update for climate.parter_fata fails
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/tellsticknet/util.py", line 50, in sock_recvfrom
    await blocking.wait()
  File "/usr/local/lib/python3.9/asyncio/locks.py", line 226, in wait
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 492, in wait_for
    fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 514, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 742, in async_device_update
    raise exc
  File "/usr/src/homeassistant/homeassistant/components/tfiac/climate.py", line 102, in async_update
    await self._client.update()
  File "/usr/local/lib/python3.9/site-packages/pytfiac.py", line 113, in update
    response = await self._send(STATUS_MESSAGE.format(seq=self._seq))
  File "/usr/local/lib/python3.9/site-packages/pytfiac.py", line 96, in _send
    data, _ = await asyncio.wait_for(
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 494, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

Additional information

System Health

version core-2022.4.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.9
os_name Linux
os_version 5.10.108
arch x86_64
timezone Europe/Bucharest
AccuWeather can_reach_server | ok -- | -- remaining_requests | 29
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.6 -- | -- update_channel | stable supervisor_version | supervisor-2022.03.5 docker_version | 20.10.9 disk_total | 31.3 GB disk_used | 5.1 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Check Home Assistant configuration (3.10.0), File editor (5.3.3), ESPHome (2022.3.2), Samba share (9.5.1), Terminal & SSH (9.3.0), VLC (0.1.3), eWeLink Smart Home (1.2.4)
Dashboards dashboards | 1 -- | -- resources | 0 views | 2 mode | storage
probot-home-assistant[bot] commented 2 years ago

Hey there @fredrike, @mellado, mind taking a look at this issue as it has been labeled with an integration (tfiac) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


tfiac documentation tfiac source (message by IssueLinks)

Giancky79 commented 2 years ago

Try to put off and on , i have same problem every tot days, but a cloud problem and not integration

Macrisu commented 2 years ago

I've fixed the problem. It was between the chair and the keyboard ;)

In order to start the AC, use the MODE Icon (heat/cold/dry/fan) In order to stop the AC use the ON/OFF icon.

I tried to open the AC using the ON/OF icon.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.