Closed smeisner closed 9 months ago
Many modern HAVAC systems do not require this, but older ones can very well require FAN when heat or cool is called for.
Can you specifically elaborate it and in which file i need to update the fan control signal G.
the relay pins are controlled in state_machine.cpp. In the main loop is where the decisions are made to turn on/off each relay...and LEDs, if appropriate.
@smeisner means this value gpio_set_level((gpio_num_t)LED_FAN_PIN, LOW); should be set to high on coolstate currenttemp > maxtemp
Yes, that will turn on/off the LED. I think you want to look for HVAC_FAN_PIN to control the relay. For heat, the red LED is turned on. For cool, the blue is turned on. If only the fan is turned on, the green LED is turned on. If the fan is turned on as part of cooling/heating, there is no need to turn on the LED.
Actually i have never read or know about HVAC system Im googling the topic and trying to understand the code.
@smeisner can u take a look at that and let me know if it's right or not.
This issue was addressed with e7d7b29dbfe0932cfff6a9a89d79f6e1776096d0. Code has beenmerged.
(G) Fan must be energized whenever (W) HEAT or (Y) COOL is asserted.