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
74.01k stars 31.05k forks source link

This device is not supported by FujitsuHVAC #125379

Open justinbyoung opened 2 months ago

justinbyoung commented 2 months ago

The problem

I have installed 2024.9.0 and noticed the new FGLAir integration. Added the Integration and successfully logged into my FGLAir account. However the Integration fails setup with the following error.

This device is not supported by FujitsuHVAC

My Fujitsu Heat Pump has the following WLAN Adapter

WLAN adapter Version 2.6.17-fgl2 / LFA 1800.05.02

I assume the integration is only compatible with particular devices. It would be great to add compatiblity for others, but maybe in the meantime it would be worth adding a compatibility list to the Documentation.

What version of Home Assistant Core has the issue?

core-2024.9.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fujitsu_fglair

Link to integration documentation on our website

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

Diagnostics information

home-assistant_fujitsu_fglair_2024-09-05T22-22-10.558Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.fujitsu_fglair.coordinator
Source: helpers/update_coordinator.py:354
integration: FGLair (documentation, issues)
First occurred: September 5, 2024 at 1:52:05 PM (885 occurrences)
Last logged: 10:12:32 AM

Unexpected error fetching Fujitsu HVAC data data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/fujitsu_fglair/coordinator.py", line 46, in _async_update_data
    devices = await self.api.async_get_devices()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ayla_iot_unofficial/ayla_iot_unofficial.py", line 289, in async_get_devices
    devices.append(FujitsuHVAC(self, d, europe=self.europe))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ayla_iot_unofficial/fujitsu_hvac.py", line 77, in __init__
    raise DeviceNotSupportedError("This device is not supported by FujitsuHVAC.")
ayla_iot_unofficial.fujitsu_hvac.DeviceNotSupportedError: This device is not supported by FujitsuHVAC.

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @crevetor, mind taking a look at this issue as it has been labeled with an integration (fujitsu_fglair) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `fujitsu_fglair` 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 fujitsu_fglair` 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)


fujitsu_fglair documentation fujitsu_fglair source (message by IssueLinks)

markwoodward86 commented 2 months ago

I was literally about to submit this. I have the same WLAN adapter and use FGLair.

crevetor commented 2 months ago

Could you provide me with the first part of the name that appears in settings > air conditioner settings > your_device ? It should start with AP- (no need to give me the last portion, it's a unique identifier).

markwoodward86 commented 2 months ago

mine is actually AC-UTY-

crevetor commented 2 months ago

Ok, I can see that the app has some support for it but it looks like the handling might be different from the other types. Is this supported by other integrations ? If so which ones ?

markwoodward86 commented 2 months ago

Personally I have used this one in the past https://github.com/Mmodarre/pyfujitsu_for_homeassistant/tree/master

justinbyoung commented 2 months ago

Mine is also AC-UTY.

I am using this integration https://github.com/deiger/AirCon

atmX-code commented 2 months ago

Echoing the same as above. The prefix for mine is also AC-UTY and I've had success with the following integration. https://github.com/bigmoby/fglair_for_homeassistant/

ThaDuhFeez commented 2 months ago

I have the exact same logs, my units start with the AC-UTY-…, and the login works for the FGLAir app.

I’ve successfully used the following integrations:

  1. https://github.com/Mmodarre/pyfujitsu_for_homeassistant
  2. https://github.com/deiger/AirCon
jgrippe1 commented 2 months ago

same issue, works with FGLair™ integration for homeassistant (https://github.com/bigmoby/fglair_for_homeassistant) - also UTY

LodeBo commented 2 months ago

The prefix for mine is also AC-UTY as i mentioned above and I've also success with the following integration. Only one issue, when i change a value on the FGLair app, it's not always updated in HA or very slow but i can live with that for now. The other way, changing values in HA are updated in the app within a second.

https://github.com/bigmoby/fglair_for_homeassistant/

bigmoby commented 2 months ago

Hi @crevetor,
please feel free to browse or copy (just keep in mind the license...) from https://github.com/bigmoby/fglair_for_homeassistant and its underlying library https://github.com/bigmoby/pyfujitsugeneral.

Let me know if you need any help!
Best regards, Fabio

thestu90 commented 2 months ago

Hi there,

Same issue here, been using this: https://github.com/bigmoby/fglair_for_homeassistant/tree/main for ages and though "yay now it's native I'll swap" but no. Not supported.

bigmoby commented 2 months ago

Hi there,

Same issue here, been using this: https://github.com/bigmoby/fglair_for_homeassistant/tree/main for ages and though "yay now it's native I'll swap" but no. Not supported.

Hi @thestu90 Is https://github.com/bigmoby/fglair_for_homeassistant/tree/main also raising the same exception/error?

colino17 commented 2 months ago

Hi there, Same issue here, been using this: https://github.com/bigmoby/fglair_for_homeassistant/tree/main for ages and though "yay now it's native I'll swap" but no. Not supported.

Hi @thestu90 Is https://github.com/bigmoby/fglair_for_homeassistant/tree/main also raising the same exception/error?

Different user here, but I'm having the same issue as highlighted above with the official integration (device is not supported by FujitsuHVAC), whereas your integration is working fine through HACS.

Also an AC-UTY unit.

Like the user above when I first saw the patch notes I had initially assumed that your integration had been mainlined.

legantois commented 1 month ago

Same Here

2 devices AC-UTY

they work perfectly with this custom integration

https://github.com/xury77/AirCon

AndersRipa commented 1 month ago

I also have two of these that don't work.

FelixPrevost commented 1 month ago

My AC-UTY didn't work either

theharshl commented 1 month ago

Just adding another user count with this issue. Mine is also an AC-UTY device.

Thanks!

OlivierBlain commented 7 hours ago

Here I have both type of HVAC, one that prefix AC-UTY and another that prefix AP-WF1E. Both were working under FGLair since I have integrated them with Home Assistant. However, I have just noticed that the AP-WF1E device was not taking any changes made to the controls. I tried to delete the integration load it back but its now only loading my AC-UTY unit; not the AP-WF1E unit.

This is what i get in the log detail:

Logger: homeassistant.components.climate Source: helpers/entity_platform.py:728 integration: Climate (documentation, issues) First occurred: 10:20:55 AM (4 occurrences) Last logged: 10:47:41 AM

fglair_heatpump_controller: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 728, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update await self.async_update() File "/config/custom_components/fglair_heatpump_controller/climate.py", line 426, in async_update self._fan_mode = self.fan_mode ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 324, in getattribute return super().getattribute(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/fglair_heatpump_controller/climate.py", line 466, in fan_mode DICT_FAN_MODE[self._fujitsu_device.get_fan_speed_desc()], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyfujitsugeneral/splitAC.py", line 213, in get_fan_speed_desc return FAN_SPEED_DICT[fan_speed]


KeyError: 6

Does anybody have this issue?
bigmoby commented 6 hours ago

fglair_heatpump_controller: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 728, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update await self.async_update() File "/config/custom_components/fglair_heatpump_controller/climate.py", line 426, in async_update self._fan_mode = self.fan_mode ^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 324, in getattribute return super().getattribute(__name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/fglair_heatpump_controller/climate.py", line 466, in fan_mode DICT_FAN_MODE[self._fujitsu_device.get_fan_speed_desc()], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyfujitsugeneral/splitAC.py", line 213, in get_fan_speed_desc return FAN_SPEED_DICT[fan_speed] ~~~~~~^^^^^^^^^^^ KeyError: 6

Does anybody have this issue?

Hi @OlivierBlain , are you using the custom integration https://github.com/bigmoby/fglair_for_homeassistant or the integration in Home Assistant Core?

OlivierBlain commented 2 hours ago

The custom is the one I used; latest version v0.3.25

bigmoby commented 2 hours ago

The custom is the one I used; latest version v0.3.25

Ok, keep in mind that this is the project for home assistant core instead! 😉

OlivierBlain commented 2 hours ago

Ho I see, where do I raise a bug for your integration?