Installing Smart Whole House Fan (QuietCool)

Finished installing my whole house fan. Both power and speed can still be controlled manually by physical switches.

For dashboard UI

features:
  - type: fan-speed
type: tile
entity: fan.central

For fan template

- platform: template
  fans:
    central:
      entity_id: fan.central
      friendly_name: "Central Fan"
      value_template: "{{ states('switch.central_fan_power') }}"
      percentage_template: >
        {% if is_state('switch.central_fan_power', 'off') %} 0
        {% elif is_state('switch.central_fan_speed', 'off') %} 50
        {% else %} 100
        {% endif %}
      turn_on:
        - service: switch.turn_on
          target:
            entity_id: switch.central_fan_power
      turn_off:
        - service: switch.turn_off
          target:
            entity_id: switch.central_fan_power
      speed_count: 2
      set_percentage:
        - service: switch.turn_{{ 'on' if percentage > 0 else 'off' }}
          target:
            entity_id: switch.central_fan_power
        - service: switch.turn_{{ 'on' if percentage == 100 else 'off' }}
          target:
            entity_id: switch.central_fan_speed
        # this is duplicate of the first service switch, else the switch `state` won't be updated and will be out of sync.
        - service: switch.turn_{{ 'on' if percentage > 0 else 'off' }}
          target:
            entity_id: switch.central_fan_power

You need to replace the entity Id with the name of your switches for power and speed.

Wiring diagram. This is only for 2 speeds.

I also have a bunch of automation created in node-red.

Relay:

Double gang switch:
https://www.amazon.com/dp/B0C3HGGYHG?ref=ppx_yo2ov_dt_b_product_details&th=1
This switch works with SmartLife/Tuya and I’m using LocalTuya in HomeAssistant. This switch is rated 10A so should be able to handle a 1000watts fan. Just make sure the size of the QuietCooll fan is less than that.

3 Likes

I also created binary sensor derived from different doors and windows sensors. This makes it easier to reference automation.

- platform: template
  sensors:
    house_air_opening:
      friendly_name: "House Air Opening"
      device_class: opening
      value_template: >
        {{
          (states('binary_sensor.garage_exit')|bool  and states('binary_sensor.garage_entrance')|bool) 
          or states('binary_sensor.family_room_w1')|bool
          or states('binary_sensor.family_room_w2')|bool
          or states('binary_sensor.living_room_w1')|bool
          or states('binary_sensor.living_room_w2')|bool
          or states('binary_sensor.living_room_w3')|bool
          or states('binary_sensor.master_bedroom_window_1')|bool
          or states('binary_sensor.sliding_door')|bool
          or states('binary_sensor.guest_room_w1')|bool
          or states('binary_sensor.guest_room_w2')|bool
        }}
1 Like

This is very cool! I just picked up the Quietcool Smart Attic Gable Fan (AFG SMT PRO-2.0) which is controllable via bluetooth. This might be a dumb question - But I am assuming if I wired mine in a similar fashion as you using a couple of relays, I would effectively be bypassing and disabling the bluetooth control?

I’m not sure about the Attic fan but it should be the same concept and yes, it will become wifi control instead of Bluetooth. I’m using Home Assistant as a dedicated controller for all my smart devices instead of separate apps.

1 Like

this looks great - and the switch looks good, Im looking to buy the zigbee version

Could I get the 3 gang version and make the buttons do high, off, low?

got it working with the Quietcool ES-4700 and the moes Zigbee 2-gang switch

Diagram in OP’s post is just missing constant power to the fan itself.

I am in the process of installing the same setup as you and overlooked the requirement for the constant power at the motor per the diagram (oops). If i may ask, how did you provide the required always “on” power?

I was debating tapping into the “load 1” line before the relay (which would need both switches to be active to do the high speed) but part of me is hesitant on what would happen if just the second switch was on with no constant power at the motor. Personally I’m not too clear on how the ECM motor would handle it which has me holding back. An automation could make sure if the second switch was active, the first would turn on but i would hate to rely on that working 100%.

Not pressuring you into giving electrical advice by any means but I just wanted to verify your approach! Truthfully i just need to run power to the motor rather than from the switch but was looking for the simpler way out if possible.

Thanks!

Sorry, can’t give you the exact diagram since I had my electrician do it. He first tried to wire it exactly like the OP had in his picture but it didn’t work. He said he suspected it would need constant power directly to the fan, which the manually actually shows in their configuration with their own switch

Highly recommend getting a 2gang switch like the moes which will guarantee you won’t accidentally turn on both low and high at the same time. The switch is wired exactly like how the OP has it. I can switch between high or low any time, even if the fan switch is off. It just doesn’t do anything until it’s turned on

1 Like

Thank you for the quick reply, all good information to know!

Like you mentioned, the manual does show constant supply (regardless of switch state) at the fan so I really should heed that. No sense in raising the risk of a fire because I wanted to save a few hours of work!

Thanks for posting your setup. In your design, do Load 1 and Load 2 represent Fan High and Fan Low? It looks like the switch you are using can have both loads on at the same time. If so, is it the SPDT switch that prevents High and Low from having voltage at the same time? If Load 1 is on and you turn on Load 2, what happens?

1 Like

I’m wondering the same thing. Found a similar comment here: Controlling 2 speed whole house fan - #2 by Z-Waver - Lighting & Load Control - Ezlo Community

Both Load wires should never be energized simultaneously.

Thanks for the inspiration. I originally ordered my fan with the wireless remotes and ended up installing it with hard wired smart switches so I could control in HomeAssistant. I used the same switches as you, but ended up using this relay that my electrician friend recommended:

It screws right into a junction box, so it is easy to mount and all wires are in a junction box.

It probably wasn’t necessary, but the fan is rated at 10A and the switches are rated at 10A, so I also used two of these relays, one to each switch with the output going to the NC and NO lines of the first relay:

The high switch controls both the SPDT and DPDT relays while the low switch only controls the other SPDT relay. This configuration means the switch is not running at its maximum rated amperage and prevents both loads from being energized at the same time, even if both switches are on.

My next step is to add automation. I want to ensure that when one switch gets turned on, the other is turned off. The relays prevent power from reaching the fan on both, but it is confusing when both lights on the switch are lit. Also, high always overrides low when it is on; this automation would allow turning low on when high is already on and having it switch to low instead of having to manually turn high off. I also like the idea of automatically turning off if all windows/doors get closed.