Danfoss air - Add switch to enable 'away' mode

@JonasPed - Any chance an away mode switch could be added to the danfoss integration.
in these ‘savings’ times it’d be grand to be able to set away mode when no one is home
(away mode lowers ventilation/fans/etc).

Yes, thats a big “bug” if you ask me

@JonasPed - you have any thoughts on this?

Also The on/off switch that is present in the Link CC panel is missing, would be great to be able to stop the ventilation for a period, when the neighbours is polluting the air with their chimneys. Then turn back on after a while to let an air quality sensor taste the inlet air…

I guess we need 2 new switches:

  1. A mode selector: Manual, Program and Demand ( From pydanfossair/commands.py by @JonasPed)

  2. A speed step selector in 11 steps, 0-10. ( From pydanfossair/commands.py by @JonasPed, need to add set_speed_step_0 in commands.py)

1 Like

Hi Jan…
I’ve gone a different route.
I’ve installed the pydanfossair repo on my HA and added the commands to my HA config. So now I can call the modes, steps etc.
I have left the danfoss air integration installed and use that to get info from danfoss air and call the below to make any changes. It’s not ideal but I gave up hoping for updates to the integration.

shell_command:
   set_danfoss_op_mode_demand: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_demand
   set_danfoss_op_mode_manual: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual
   set_danfoss_manual_fan_step_1: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_1
   set_danfoss_manual_fan_step_2: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_2
   set_danfoss_manual_fan_step_3: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_3
   set_danfoss_manual_fan_step_4: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_4
   set_danfoss_manual_fan_step_5: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_5
   set_danfoss_manual_fan_step_6: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_6
   set_danfoss_manual_fan_step_7: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_7
   set_danfoss_manual_fan_step_8: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_8
   set_danfoss_manual_fan_step_9: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_9
   set_danfoss_manual_fan_step_10: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command operation_mode_manual; cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command set_fan_step_10
   set_danfoss_op_mode_boost_on: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command boost_on
   set_danfoss_op_mode_boost_off: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command boost_off
   set_danfoss_op_mode_bypass_on: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command bypass_on
   set_danfoss_op_mode_bypass_off: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command bypass_off
   set_danfoss_op_mode_automatic_bypass_on: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command automatic_bypass_on
   set_danfoss_op_mode_automatic_bypass_off: cd /config/danfoss/pydanfoss-air; python3 -m pydanfossair --host 192.168.1.194 --command automatic_bypass_off