Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while setting up tfiac platform for climate #104639

Closed
panosru opened this issue Nov 28, 2023 · 2 comments
Closed

Error while setting up tfiac platform for climate #104639

panosru opened this issue Nov 28, 2023 · 2 comments

Comments

@panosru
Copy link

panosru commented Nov 28, 2023

The problem

I have placed correctly the YAML setup for TFIAC integration, I have triple-checked the IP of my AC, and I also checked it from within the Intelligent AC app (which is working fine), but I'm unable to make it work. I'm not sure if it is something on my end, or integration's end or the device's end...

Thanks!

What version of Home Assistant Core has the issue?

core-2023.11.3

What was the last working version of Home Assistant Core?

Never worked since I installed Home Assistant a couple of months ago.

What type of installation are you running?

Home Assistant Container

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

File: climate.yaml

- platform: tfiac
  host: 192.168.1.16

File: configuration.yaml

default_config:
# For homeassistant v2021.7.0 and above add this http block

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.20.0.3

wake_on_lan:

# Text to speech
tts:
  - platform: google_translate

shell_command: !include shell_commands.yaml

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
homekit: !include homekit.yaml
climate: !include climate.yaml
binary_sensor: !include binary_sensors.yaml
switch: !include switches.yaml

panel_iframe: !include panel_iframe.yaml

digital_ocean:
  access_token: !secret digital_ocean_token
  
recorder:
  db_url: mysql://homeassistant:[email protected]:3306/ha_db?charset=utf8
  purge_keep_days: 30

template: !include templates.yaml

Anything in the logs that might be useful for us?

2023-11-28 14:11:17.224 ERROR (MainThread) [homeassistant.components.climate] Error while setting up tfiac platform for climate
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 500, in wait_for
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/tellsticknet/util.py", line 50, in sock_recvfrom
    await blocking.wait()
  File "/usr/local/lib/python3.11/asyncio/locks.py", line 213, in wait
    await fut
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pytfiac.py", line 96, in _send
    data, _ = await asyncio.wait_for(
              ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/tasks.py", line 502, in wait_for
    raise exceptions.TimeoutError() from exc
TimeoutError

During handling of the above exception, another exception occurred:

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 "/usr/src/homeassistant/homeassistant/components/tfiac/climate.py", line 72, in async_setup_platform
    await tfiac_client.update()
  File "/usr/local/lib/python3.11/site-packages/pytfiac.py", line 113, in update
    response = await self._send(STATUS_MESSAGE.format(seq=self._seq))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pytfiac.py", line 101, in _send
    raise Unavailable()
pytfiac.Unavailable

Additional information

If it helps, the MAC address of my AC starts with C8:F7:42. I can ping the device from within the container.

The AC is a Morris WFIN-26132 (indoor unit) / WFOD-26133 (outdoor unit).

The TFIAC app used to work but I think it is now discontinued and replaced by the Intelligent AC app from the same company. I can pair the device with the TFIAC app but it won't show within the app, I can see in my router's device list in 2.4GHz that the AC is connected. I have tested the HA integration with both by pairing it with the TFIAC and the Intelligent AC app, I'm getting the same result.

Let me know if you need me to send a packet to the AC IP for testing (I have PacketSender and Wireshark installed on my macOS for testing but I couldn't manage to get any results).

@home-assistant
Copy link

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!

Code owner commands

Code owners of tfiac can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tfiac Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tfiac documentation
tfiac source
(message by IssueLinks)

@issue-triage-workflows
Copy link

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.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant