Success! 0-10 Volt Control of AC Infinity (or any EC fan motor) using Leviton ZS057-D0Z Zigbee Dimmer or Zooz Zen54 zWave 0-10V dimmer

@Velvetfoot , the 0-10 V thing is a big one I think as there were precisely zero solutions for zWave or Zigbee control aside from the Leviton product which (up to now anyway) was never documented :slight_smile:

I do have DS18B20 sensors in each of the four air streams as you can see below:

I have a virtual Temp sensor which calculates live ERV efficiency values based on those temps, bottom left in the pic. There are also a few more sensors (like the Pool - Air temp) which are used in summer to control my pool solar heating system. That one gives me outside ambient temps, which correspond pretty closely with the "ERV Exterior Intake Air Temp".

If the device has 0-10v control, you can likely use the Levition 0-10V dimmer to control it. Radon is a not a big issue for most here, but regardless, you don't want a house under negative pressure (pulling air in) particularly in very cold temps. Controlling your HRV this way (with two ECM motors) allows you to "add" some air into the house when for example the kitchen exhaust fan is fired up.

You're not off base at all..you get it :slight_smile: To me, having an option for 0-10V control that can integrate with Hubitat or Smarthings has a lot of possible uses here in NA for smarter homes. That's why I was pretty stoked to get this working.

In general, you want air coming inside the house via an HRV/ERV to match air leaving. The magnehelic differential gauge lets you measure that using the HRV door ports. You use the balancing chart that is posted on your HRV/ERV to convert the magnehelic readings to CFM. I just tweak the motor speeds (via Hubitat) until the magnehelic (inches of water) reading matches the chart for my target CFM readings. Hope that makes sense.

I'm no expert...just learning as I go along :slight_smile:

image

In Hubitat I've created several scenes like this one which set the intake/exhaust motors for balanced air flow. The intake has to work much harder than the exhaust due to the HRV core design, filtration, etc. Level 40 on intake with level 25 on exhaust (the current setting) works out to a balanced 55 CFM.

Fireplaces or wood burning appliances can be a challenge in a "tight" home, but controlling ventilation via ECM motor control means you can add some air for example when a temp sensor triggers an automation. In my case, I would ramp up the intake fan (so deliberately unbalance) the HRV to replace air leaving the home via the fireplace. This in turn can eliminate back drafting when you load wood etc. I have that exact scenario working now when the kitchen hood exhaust fan automation is triggered by the induction cook top (power use) detected.

Kitchen hoods, HRV/ERV, bath fans etc. only work when people use them...so automation can make a big difference in these situations to keep interior air quality where it should be.

1 Like

I replaced the HRV intake 4" fan with a 6" EC fan, also from AC Infinity (Edit: Not from Fantech). It's their cheaper EC fan, which as far as I'm concerned is 100% ok. The motor mount is plastic, and it does not have the connecting block as I've pictured in post #1 for the S4 (more expensive fan).

https://acinfinity.com/inline-duct-fans-lite/

The one gotcha, is that you'll need to cut off the USB-C type connector on this fan to expose the four wires. The included Molex connector does not have pin 4 connected internally, which you need. If you cut the USB C off, you'll see the four wire colours

AC Infinity Yellow to Leviton Violet
AC infintity White to Leviton Grey
AC infinity red and black not connected.

As far as I can tell, this fan is identical to the more expensive ones, but a cheaper case.

1 Like

I've officially applied for "extreme project rabbit hole" therapy :slight_smile:

I'm finally wrapping things up with this project having run the HRV drain hose (to a nearby laundry drain), done the rough wiring and installed inline electric heaters to condition cooler supply air. The Hubitat hub is running the show pretty much completely.

In normal operation, total power use is about 28 watts for the two EC fans (in the 50 CFM profile), and I'm adding in about 150 watts of post-heat when outside temps drop below 25 F. One of the perks of a system like this is that when the system calls for 60, 75 or 90 CFM, the EC motors are dialled up individually based on actual flow testing at the HRV.

Two zigbee dimmer modules limit power to the heaters, modulating their output based on supply and delivery temps. It's a pretty slick setup.

Still lots of work to do, but the EC fan control switches and inline heater switches are wired up (under the welcome sign). They allow manual control if required. The missus is not a fan of visible technology so a sweater or two on the hooks will hide the switches. They are managed by automation so if someone hits a switch, it won't be an issue. I want them there so I can give them a quick visual to make sure all it working as advertised. If the automation system is off for some reason, the switches can control the system as well.

The inline heaters can raise the fresh air supply temps 40 F, but the typical requirement will be about 10-15 F as outside temps fall below -10 F. I ended up doing this as the fresh air "dump" is into our main living area and even at 80% efficiency, with outside temps dipping well below freezing, the supply temps tend to cool down the space.

There are five levels of safety built in to the heating setup: 1. The PTC heater by design uses less power as it heats up. 2. If the unit itself exceeds 220 F or so, the integrated thermal switch turns it off. 3. I've added thermal fuses inline in the junction box for the housing 4. The remote bulb line level thermostat cuts power if the heater housing hits 70F 5. The automation system modulates power and turns on/off the heaters based on the HRV mode.

Finally, I've added manual switches to cut power if needed.

These PTC heaters are all of $17 each.

This remote bulb (part number A19ABC-12C) line level thermostat can manage the heaters just fine if required. Right now it's just there as a third level of safety. If the housing exceeds 70 F, power is cut to the system. It's 100% old school manual, so no power is required to operate it.

The automation bits are all working surprising well. The system defrosts itself depending on outside temps which amounts now to this routine:

  1. Close outside air dampers (which opens internal recirc damper)
  2. Switch to the 75 CFM profile for x minutes (based on outside temps) to warm up the unit/core.
  3. Stop for a minute (to allow any water to drain with neutral air pressures inside the HRV)
  4. Open the dampers and dial back the EC motors (mainly to 50 CFM).
  5. Turn on and modulate the inline heaters if required.

Everything is done in Rule Machine 5.1

Now I have to make it all pretty :slight_smile:

1 Like

Wow!

You better hope Hubitat doesn't go out of business, lol.

I've done similar with Smarthings (webcore), Vera etc.

But ya, I had to port over from ST to HE based on the whole groovy thing. I relax a bit more knowing HE is local for execution. If all else fails, the system can be adjusted via the dimmer/switches and run 100% without automation. The only bits left really of the original HRV is the damper system and temperature sensor. I've unplugged the temp sensor and installed a 10K resistor instead so it thinks it's warm outside. If I plug the thermister (sensor) back in, it will do the defrost thing based on jumper settings.

#rabbithole #needtherapy #haha.

A final plug for Terrabloom's customer service. I'm using a 6" EC fan from them in my kitchen exhaust which just started running full tilt 100% of the time when the system powers it up. The controller is ignored. One email and I have a track already for a new unit. Nicely done!

1 Like

Final piece of the puzzle with respect to the ventilation system is Co2 sensing so I can drive the HRV at the 55, 65, 75 or 90 CFM configurations (or off completely) depending on real time air quality in the home. To that end, I ordered up these two items, the Ecowitt G1100 gateway and Ecowitt WH45 air quality sensor. These are powered by USB (they don't include the wall wart, just the USB cable. They are not super expensive about $150 for the pair. Turns out our air quality in our home is quite good with PM 2.5 and PM 10 levels at 0.1...which is very low. Those two are measurements of particles in the air, where PM 2.5 are of particular concern as they can reach your blood stream via inhalation. These particles are small enough to travel all the way through your lungs to the alveoli where gas transfer is taking place.

The G1100 WIFI gateway connects to your home WIFI and then their sensor devices (many can be added including outdoor weather stations, soil moisture sensors, etc) connect to the same gateway via 915 Mhz radio. The gateway has a built in web server to display data so the system does not require an app, cloud account etc. to operate. More importantly, it can send data to the Hubitat automation hub. Specifically Co2 levels are sent every minute or so, which in term now drive the HRV system depending on levels of Co2 detected.

There is a very nice integration written for Hubitat which is 100% local code, no cloud accounts required. The integration is maintained currently by @sburke781 who has a done a great job with it. The G1100 gateway sends data to the Hubitat hub every 60 seconds. It was a bit of a process to get everything set up but has been rock solid since installation.

I was tipped off on an issue with my older Co2 sensor which had automatically calibrated itself to inside air and was reading nearly 350 PPM low. I had to factory reset it, and it now reads very close to the Ecowitt WH45.

This is what the live data feed looks like from the G1100 gateway's built in internal web server:

The gateway is very compact and like the WH45 is powered by USB. The WH45 can also run off two AA batteries installed in the base, but reports less frequently when run this way. You can view the live data via an app (free cloud account required) or via the internal web server on the gateway. I purchased these after reading all the great reviews by users here on the forum.

3 Likes

Great write up @denwood , and glad to see you getting a great result from the sensors and the HE integration.

1 Like

@denwood I came upon your use of the Leviton switch from google searching and I have a question, or a few questions rather regarding the same ZS057-D0Z you're using.

It's not exactly specific to the hubitat platform (so I'm not sure if a back and forth on here would be allowed), but I'm trying to troubleshoot why my switch isn't working as I think it should.

  1. When wired up, taking a multimeter and reading the voltage of the purple 0-10v lead should give a figure of 0-10v depending on the current setting on the switch itself, correct?

  2. You've stated using these on a fantech ec fan, which is what I am trying to do. For the fantech EC, the purple wire should go to the yellow 0-10v, and the grey should go to the blue low voltage ground, in their wiring diagrams, correct?

My switch currently functions for mains power properly, but the purple 0-10v lead will not give any voltage signal at all regardless of the switch level when reading it with a multimeter. I'm wondering if the switch itself is broken, I also purchased it from aartech recently. Connected perfectly fine on my zigbee network.

Thanks for any insight!

Thanks Simon ( @sburke781 ) There are many hours invested in that integration...and I'm guessing quite a few of us here using it :slight_smile:

@Kyl , I'm sure it's fine to discuss any platform if the discussion helps out with integration.

The multimeter should be across the purple and grey wires to check voltage, but it may not behave as you'd expect when not connected to the device you are controlling. Purple is positive, grey is the reference ground for the 0-10V signal.

I did not test a Fantech fan...just AC Infinity and Terrabloom. I fixed my typo in the post referencing. What fantech motor and controller are you using? I would test the motor with their controller and a multimeter to check and see which two wires are showing voltage changes with speed. They may have a 10V supply positive and ground (as the AC Infinity and Terrabloom do) to provide power to their controller and or reference voltage for a cheaper potentiometer. In that case, Red, Yellow and Blue will be connected to their pot. That 10V signal will not change with speed changes...it will stay at 10V. The EC fans I've tested so far run full speed if there is nothing connected to the 0-10V control wires.

In the google image search, I did see a Fantech FG 10 EC wiring diagram where yellow is 0-10V, and blue is the low voltage ground so I'd say your wiring is correct based on that.

Also, are you testing this with their speed control disconnected? You would 100% need to do that.

Another thing to check in your hub (which is what?) is that the min/max levels are not restricted on the dimmer, or local control (not sure if that is even an exposed property with this dimmer) is not disabled. You might want to exclude the dimmer from your hub, do a factory reset, and try it again via the controls on the dimmer before inclusion. You should see the LED indicator on the left side of the switch cycle through about 10 levels as you dim/brighten manually, or via your hub.

1 Like

Hmm, I must be missing how to intemperate how the switch itself operates then, I thought it would output a 0-10v signal from the purple lead on its own.

This is the fan: Fantech RVF 4XL EC Ext #44860
" Optional control via external devices outputting 0-10V signal such as temperature, occupancy sensor, gas detection, humidity, etc. "

The fan itself ships with a potentiometer 'wired' into the red 10v, yellow control and blue ground, it has no external controller. You can remove it and instead control the fan externally with a PLC system, something outputting a 0-10v, etc.

With the switch's purple/grey not connected to the fan there is no voltage coming from the purple. With it wired into the harness on the fan itself purple to yellow, grey to blue, still no voltage.

What I'm starting to get out of this is I need to have something in between the switch and this fan for things to work.. The fantech support said 'yes, it (the switch) should wire similar to the diagram (yellow / blue), they weren't much help quite honestly. There is no on-fan controller that I can see.

The hub is just HA, very basic integration and nothing disable-able. Physical controls on the switch cycle through the side levels but again, if checking with a multi-meter, nothing is being sent on that purple lead.

From what I can figure from that wiring, yes remove the pot wiring and attach the dimmer purple to fantech yellow, and dimmer grey, to fantech blue. Then you should see voltages change as you change dimmer settings on the Leviton dimmer, along with the fan speed changes.

Check with the pot attached on the fan (no dimmer wires connected), between the yellow and blue, but also check the yellow and white. What do the voltages do there as the fan speed changes? I'm also assuming that you have the dimmer neutral, hot and ground correctly wired.

Check to see that the grounds and neutral are bonded at the panel at both switch and motor locations too. You can check for continuity between them with power off. I'd guess that if both don't have a common ground, you would run into issues.

If you are seeing zero voltage on the dimmer 0-10V between purple and grey (connected to fan) then yes, there may be an issue with the dimmer itself.

Yep, zero voltage ( well, like 0.005), effectively zero, doesn't change) on the dimmer 0-10v purple and grey while connected.

With pots on, variable between the yellow and blue, nothing between the yellow and white.

Home wiring is proper at the panel.

I am going to reach out to AARTECH / Leviton tomorrow and see what they say. As I understand what you're saying, there should at least be some noticeable voltage coming out of the purple when it's wired to mains and to the control/ground on the fan.

Thanks for the help

Post back here with the outcome...for the next guy :slight_smile: Curious to see how this one plays out.

I should add, fan is running with their pots on, and while connected to the switch without the 0-10v connected. Variable with the pots works perfectly fine.

Will let you know how it goes

All done with drywall, paint and trim. The heaters are running nicely controlled by a set of Zen72 dimmer switches, (on the left) and the two on the right are the Leviton 0-10V dimmers controlling the fresh and stale EC fan motors. The original Venmar wall control is connected, but all it's doing is telling me (via the status LED) when the unit is on (via Fibaro Smart implant dry contacts) or off for defrost. I can also see what speed the system is running at via the Leviton dimmer LEDs (10 segments) on the side of each switch.

This is our back door mudroom, and that high ceiling gave me some room to tuck the ventilation bits in without intruded into the living space :slight_smile:

I'm using a Fibaro smart implant to record all the temps, but I also have the dry contacts on the implant attached to the HRV remote contacts. This way I can control the HRV dampers for defrost cycles..all running via HE.

1 Like

Great project. This is exactly the kind of thing I think of when I hear the word "automation." Motion activated lighting and laundry timers have their place, for sure, but something like this with multiple systems and sensors all integrated and working together is brilliant. Again, great work.

And as an FYI for anyone who may want to follow in your footsteps, a couple of pointers that I'm sure you learned along the way...
-Balance is key. Air out will always equal air in. If you exhaust 200 CFM and don't have an active intake of the same amount, air will find its way in wherever it can. This includes cracks and gaps as well as (worst case) the flues of fuel fired appliances like water heaters, furnaces, and fire places. If those happen to be firing at the time, it's possible to pull CO directly into your home.
-0-10V is a common analog control signal in building automation (HVAC & lighting). For anyone looking for a zigbee alternative, It seems that the Sinope MC3100ZB might be a great place to start.

2 Likes

Thanks Dylan :slight_smile: It’s nice to hear from someone on the same wavelength!

Balancing an HRV/ERV is quite important as you can skew the heat exchanger performance significantly by altering flow. I’ll post a few test pics to illustrate.

One of my secondary goals with this project is having a ventilation system that can also skew air balance in reaction to other events in the home. The induction cooktop in our kitchen uses current sensing to fire up an EC inline fan on the kitchen exhaust hood. The house pressure goes slightly negative when this happens. This in turn causes the HRV to run at 90 CFM (its highest balanced air flow) to increase air exchange. In a warmer climate you could as easily increase fresh air intake to balance the kitchen hood exhaust…bringing the house back to neutral pressure. In essence I’ve built a dynamic make up air system here.

We have a high efficiency wood burning fireplace that can back puff a bit of smoke when opening the air-tight door to load. Skewing the HRV fresh air intake fan to max stops this completely as the house pressure goes slightly positive.

In the latest tweaks in my Hubitat rule set the HRV fan speeds are being set according to live CO2 measurements in the house (there are four scenes that correspond to balanced fan speeds at 50, 60, 75 and 90 CFM). This minimizes the energy footprint of the ventilation system to just what is needed for healthy air in the home :-). I’ve done the same with the electric heaters..they dynamically vary (via the Zooz dimmers) wattage to maintain the target output temperature.

I managed to refine a few items related to control:

  1. Co2 levels in the house now actively control the HRV's air flow.

  2. Heating of the air into the living space is now actively modulated based on a combination of the HRV CFM air flow setting, and the difference between incoming air temp vs target air temp. This is pretty cool...the wattage output to the inline heaters is recalculated and adjusted every time the incoming fresh air temperature changes, or CFM changes.

If the HRV is running at 50 CFM, and air is coming in at 58 F (cuz it's 8 F outside!) then we can figure out how many btu/watts are required to heat that air. The formula for BTUs required is 50 CFM x 1.08 x Temp delta. So if we want 50 CFM of air to be 68 F hitting the room, we need to add 50 x 1.08 x (68-58) or 540 BTU. Divide that by 3.14 and we get 171 watts of heat.

Turns out that outputting 171 watts of heat to my inline PTC heaters does indeed raise the temp from 58 to 68 F. Increase the CFM, or lower the input temp and more watts are needed. I scratched my head a bit on how to turn this information into a few automation rules that would set the Zooz dimmers connected to the heaters based on live data.

The dimmers use a setting from 0-100 so I needed to figure out how many watts the heaters used at each dimmer setting. I took about 10 measurements using a kilawatt type meter. Then I plotted those points to find that the dimmer/vs watts relationship was pretty linear. This link allows you to enter a few points and derive a simple equation for that relationship...you'll see it pre-populated with my two reference points:

Slope Calculator

This slope calculator solves for parameters involving slope and the equation of a line. It takes inputs of two known points, or one known point and the slope.

DIMMER SETTING = 0.122 * WATTS + 16

So combining the formula for watts and the dimmer, now I had a formula that would tell me what dimmer setting to use for a given wattage. The /2 in there is because I have two heaters so each will get half of the total wattage requirement fed to them.

DIMMER SETTING = .122 * (((CFM x 1.08 x (Temp Delta))/3.41)/2) + 16

Hubitat variable math does not do brackets (I think???). In Webcore this would all be one line of code, but here is what it looks like as you step through the calculation above using Hubitat's built in Rule Machine:

I may not even understand all this in a month, but I do think it's kind of cool that the heating system is continuously varying the heat output based on live measured conditions and the desired end result. It's a simple predictive system.

To my surprise, it actually works and the output temperature stays within a pretty small window of 1-2 F. In cold temps the system needs to stop every 30 minutes and recirculate air to warm the core up. When it goes back into ventilation mode (starts pulling cold air in again), the incoming air steadily drops as the heat exchange core cools. This heating setup compensates for that quite precisely and sets the heater wattage at exactly what it needs to be set at to get 67 F fresh air dumping into the main living area.

This is the code that switches up the EC fan speeds based on Co2 detected:

2 Likes

@Kyl did get his Fantech EC fan working using the wiring below, with what he figures is a 10V reference voltage added in (he'll post here with follow up pics)

Fantech red 10v reference AND Fantech yellow 0-10v input -> leviton purple +0-10v

Fantech 0-10v GND (blue) - > leviton -0-10v (grey)

I won't pretend to understand why it works, but Kyl can explain with his follow up post. Just adding this here for reference.

Some good news for a low cost 0-10V dimmer that will work in US/Canada :slight_smile:

It's good for up to 4 amps or 960 watts, so perfect for an EC motor fan:

2 Likes