Danfoss Air configuration

I’m not sure whether I have a configuration problem, but I can’t get the Danfoss_Air integration to work with my Danfoss Air W2 and Danfoss Link CC.

If I use the followin configuration, I get 10 Danfoss sensors like air exhaust fan speed, air humidity and so on, but they all have an unknown state.
I also get tree switches, air bypass, air automatic bypass and air boost, but they all return an error.
“Update of switch.danfoss_air_boost is taking over 10 seconds”
“Update for switch.danfoss_air_boost fails”
In the log I get a “Connection refused”

danfoss_air:
  host: 192.168.1.189

I have tried using ’ and " around the IP address.

My Home Assistant version 0.104.3 and running in Docker.
I can see all the readings from the Danfoss HRV PC-Tool.

The problem was that I used the wrong IP address.

Hi Kasper,

I have also just added my Air unit to HA - and would like to see if I can add more functionality to the component.

Do you have a link to where you downloaded the PC-Tool - it seems Danfoss has decided to remove it from their website…?

Kind regards,
Kasper.

https://www.danfoss.com/da-dk/service-and-support/downloads/dhs/danfoss-air-pc-tool-end-user/#tab-overview

Thanks!

From another thread I found, I learned that there is also a more advanced version - link below.

https://www.danfoss.com/da-dk/service-and-support/downloads/dhs/danfoss-air-pc-tool-installer/#tab-overview

Hi Kalk.

Having the same issue. My log is full with errors, did you find any way to correct this?

Im having the right IP, because i can set and static ip for the unit (W2) and have done that.

2020-11-20 18:16:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.danfoss_air_boost is taking over 10 seconds

2020-11-20 18:16:49 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.danfoss_air_boost fails

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state

await self.async_device_update()

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 482, in async_device_update

await task

File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/switch.py", line 80, in update

self._data.update()

File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper

result = method(*args, **kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/__init__.py", line 60, in update

self._data[ReadCommand.exhaustTemperature] = self._client.command(

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 13, in command

return self._read_command(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 58, in _read_command

return self._read_temperature(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 86, in _read_temperature

return self._read_short(command, socket)/100

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 113, in _read_short

result = self._read_value(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 98, in _read_value

s.connect((self._host, 30046))

OSError: [Errno 113] Host is unreachable

2020-11-20 18:16:52 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.danfoss_air_bypass fails

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state

await self.async_device_update()

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update

raise exc

File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/switch.py", line 80, in update

self._data.update()

File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper

result = method(*args, **kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/__init__.py", line 60, in update

self._data[ReadCommand.exhaustTemperature] = self._client.command(

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 13, in command

return self._read_command(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 58, in _read_command

return self._read_temperature(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 86, in _read_temperature

return self._read_short(command, socket)/100

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 113, in _read_short

result = self._read_value(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 98, in _read_value

s.connect((self._host, 30046))

OSError: [Errno 113] Host is unreachable

2020-11-20 18:16:55 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.danfoss_air_automatic_bypass fails

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state

await self.async_device_update()

File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update

raise exc

File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run

result = self.fn(*self.args, **self.kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/switch.py", line 80, in update

self._data.update()

File "/usr/src/homeassistant/homeassistant/util/__init__.py", line 239, in wrapper

result = method(*args, **kwargs)

File "/usr/src/homeassistant/homeassistant/components/danfoss_air/__init__.py", line 60, in update

self._data[ReadCommand.exhaustTemperature] = self._client.command(

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 13, in command

return self._read_command(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 58, in _read_command

return self._read_temperature(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 86, in _read_temperature

return self._read_short(command, socket)/100

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 113, in _read_short

result = self._read_value(command, socket)

File "/usr/local/lib/python3.8/site-packages/pydanfossair/danfossclient.py", line 98, in _read_value

s.connect((self._host, 30046))

OSError: [Errno 113] Host is unreachable

Maby an error in the configuration?

Mine looks like this.

# Danfoss Air
danfoss_air:
  host: "192.168.1.194"

Wow, the two ”” did the trick, around the host ip

Thanks