Update: at my side only cool is not working, i can turn it off, set to fan_only heat, but cool setup is not working after a couple of hours, days! :S Do you have any hint?
Thanks! Have a nice day!
I’m having the same issue. All features work except setting the mode to “Cool”. I can put the AC into any other mode, power on/off, and change temp no problem…but as soon as I select cool nothing happens and I have to use the fglair app
Running HA Core on a Docker (Synology).
Wanted to run HA OS so installed it, but I can’t get my airconditioning to work on HA OS. I simply copied everything but I keep getting the same error, “component not found”. Guess i’ll keep my HA Core for a while.
I saw @Mmodarre’s original thread, but then found this one and have been muddling through. I’m in the US, running HA on a Synology VM. I’ve attempted to follow the comments above. I’m getting the following error when checking config:
Platform error climate.fujitsu_general_heatpump - cannot import name 'ATTR_AWAY_MODE' from 'homeassistant.components.climate.const' (/usr/src/homeassistant/homeassistant/components/climate/const.py)
I’ve done this:
…and this:
(
_pycache_
was automatically created)
…and my configuration.yaml
has this:
climate:
- platform: fujitsu_general_heatpump
username: !secret fglair_username
password: !secret fglair_password
region: 'us'
tokenpath: '/config/token.txt'
I’m also using @rebelelephant’s manifest.json
file from comment # 208 and @leacho73’s code from comment # 203 in my climate.py
file to get current temperature.
I don’t see this error anywhere above. Any ideas?
EDIT: It’s working… mostly.
Hi, I am Chris and got my Fujitsu ACs recognized in Home Assistant today.
The strange thing is, that I can view the status of the AC’s, but I can not send commands to them. Also the FGLair APP on my Android phone has the same problem. When sending commands (e.g. Heat or FAN or change temperature) I get a network error on the smartphone. On HA I do not receive errors
But when I send commands to the AC with the IR remote control, I see the changes appear in the FGLair App and a few seconds later also in the Home Assistant dashboard.
Does anyone has this behavior to? Any suggestions?
Problem disappears after a few days. I did not change anything. I suppose there was a problem at fglair server side.
I’ve just installed this successfully for the first time… but I have the same issue as described above.
@philwilldo thanks for this cool add-on. Worked flawlessly the first time.
Minor change required though in the instruction:
The correct installation would be
A) Download and install the files
B) Restart HASS This is missing in your instructions The restart forces the HASS to recognise the new component although the configuration is missing.
C) Configuration.yaml changes
D) Restart Hass
If users follow the instructions given, HASS won’t let the server to restart due to the configuration error !!
Hope this helps
Hey there, I just recently got this to work with my Home Assistant install on Debian 11. I’m having an issue where I can only adjust the temperature in celsius, and only a few temperatures in Fahrenheit. 68F & 69F work, 77F sets it to 78F in the FGLair app, 78F sets it to 79F, and 86F sets it to 88F.
Does anyone else have this issue or know of a solution?
Thank you!
Hi there. Want to use this to make automations for my home. Following functions do not respond (in automations and UI) climate turn on and mode heat. Anyone else who has this problems?
Hi Taylor,
The device seems to be based on .5 degree Celcius increments, what I’ve done is set up automations that use set_temperature commands like ‘70.7’ which work out to nice round Celcius values like 21.5. You could also change code in climate.py to convert F to C, but that’s more work.
I also see this, setting to "auto’ will turn it on. I’ve also found that setting to ‘fan’ and restarting HA (venv) will often make the various hvac modes work again.
Hi there.
I have similar problem.
Can set every AC to COOL, FAN, AUTO but not in HEAT!
Heat is sometimes possible with 1 unit. That 1 unit where it works, is changing every day, always another unit that works in heating with this integration :’(.
Thanks! This helped me. Now heating is possible with all AC units.
hello,
I upgraded to 2022.2 and my setup for the airco’s stopped working.
when i try to restart HA i get the following message:
Platform error climate.fujitsu_general_heatpump - cannot import name ‘ClimateDevice’ from ‘homeassistant.components.climate’ (/usr/src/homeassistant/homeassistant/components/climate/init.py)
i have no idea where to start looking;)
I’m also running 2022.2 and no problems here Im running de code from https://github.com/xerxes87/pyfujitsu_for_homeassistant. You can also try this addon its a different approach though mqtt but same functionality and it updated recently https://github.com/deiger/AirCon
This GitHub - deiger/AirCon: Scripts for controlling Air Conditioners, e.g. with HiSense modules. method is a better solution at this point. It is a a solution that supports many different AC/heat pump units, is well maintained, and should have broader support and reliability. There are still a few little quirks but overall it is quite reliable.
One thing to note: if you Ha instance has more than one network interface, you may need to change the setting int Configuration > General > Network to make things work consistently.
Haven’t found anyone with such issue. Looks like I’m having problems with logging into API.
I did everything as written here: Add Support for Fujitsu wireless Air Conditioning control app - FGLair - #103 by oleandor
My paths:
/home/pi/homeassistant/deps/lib/python3.9/site-packages/pyfujitseu
- _ _init _ _.py
- api.py
- splitAC.py
/home/pi/homeassistant/custom_components/fujitsu_general_heatpump
- _ _init _ _.py
- climate.py
- manifest.json
configuration.yaml
Running HomeAssistant in docker version 20.10.14
, with HA 2022.4.4
ERROR
Logger: homeassistant.components.climate
Source: deps/lib/python3.9/site-packages/pyfujitseu/api.py:168
Integration: Climate (documentation, issues)
First occurred: 20:40:33 (1 occurrences)
Last logged: 20:40:33
Error while setting up fujitsu_general_heatpump platform for climate
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.9/socket.py", line 954, 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.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f83136f40>: 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.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='user-field.aylanetworks.com', port=443): Max retries exceeded with url: /users/sign_in.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83136f40>: 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/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fujitsu_general_heatpump/climate.py", line 83, in setup_platform
if not fglairapi._authenticate():
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 108, in _authenticate
response = self._call_api("POST",
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 168, in _call_api
response = requests.request(method, url, data=kwargs.get("json"),headers=kwargs.get("headers"))
File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='user-field.aylanetworks.com', port=443): Max retries exceeded with url: /users/sign_in.json (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83136f40>: Failed to establish a new connection: [Errno -3] Try again'))
Having similar errors to roxyamaha. Been working on this for days, broke my HA once and had to reinstall and restore, tried multiple tips from this thread…
Logger: homeassistant.components.climate
Source: deps/lib/python3.9/site-packages/pyfujitseu/api.py:164
Integration: Climate (documentation, issues)
First occurred: 5:22:15 PM (1 occurrences)
Last logged: 5:22:15 PM
Error while setting up fujitsu_general_heatpump platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fujitsu_general_heatpump/climate.py", line 83, in setup_platform
if not fglairapi._authenticate():
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 105, in _authenticate
response = self._call_api("POST",
File "/config/deps/lib/python3.9/site-packages/pyfujitseu/api.py", line 164, in _call_api
response.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://user-field.aylanetworks.com/users/sign_in.json
Same
I did everything as written here: Add Support for Fujitsu wireless Air Conditioning control app - FGLair - #103 by oleandor
Similar
My paths:
\192.168.0.33\config\deps\lib\python3.9\site-packages\pyfujitseu
_ _init _ _.py
api.py
splitAC.py
configuration.yaml
climate:
- platform: fujitsu_general_heatpump
username: '[email protected]'
password: 'xxxxxxxxx'
System Health
version: core-2022.4.7
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.103-v8
arch: aarch64
timezone: Australia/Melbourne
GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 4739
Installed Version: 1.24.5
Stage: running
Available Repositories: 1099
Downloaded Repositories: 13
logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
host_os: Home Assistant OS 7.6
update_channel: stable
supervisor_version: supervisor-2022.04.0
docker_version: 20.10.9
disk_total: 28.6 GB
disk_used: 2.9 GB
healthy: true
supported: true
board: rpi4-64
supervisor_api: ok
version_api: ok
installed_addons: Samba share (9.6.1), Terminal & SSH (9.4.0), File editor (5.3.3), Ring-MQTT with Video Streaming (4.9.1), Mosquitto broker (6.0.2)
dashboards: 3
resources: 5
views: 3
mode: storage
Tim, have you tried this yet?
It has more development. The old integration hasn’t been updated in almost two years.