nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
225 stars 50 forks source link

Question on Fan Mode Auto v. Always On #124

Closed rcoletti116 closed 8 months ago

rcoletti116 commented 3 years ago

Is there anywhere in Infinitude that supports reading if the Fan is in Auto or Always On Mode? I've looked through the APIs/data that I can find and don't see anything, but it's possible I've missed it or the field is not as obvious.

dulitz commented 3 years ago

Can't speak for infinitude, but as far as the bus is concerned, https://github.com/dulitz/finitude/blob/master/finitude/registers.py (my code) has a FanMode enum. The fan mode for zone 1 is in register 3b03 at offset 3 into the register data (offset 6 into the payload portion of the frame).

I would imagine that it's also in the data that infinitude proxies...

rcoletti116 commented 3 years ago

Thanks for your insight @dulitz! I'd love to find a way that doesn't require serial connection.

nebulous commented 3 years ago

The only places it could ultimately be is in systems.(xml|json) or status.(xml|json) I'll twiddle mine and see if I can find an obvious difference.

nebulous commented 3 years ago

Looks like you can tell the state of the fan, high/med/low/off, but not the setting which drives it. There's no obvious way that I see in the data to determine if the fan is currently high because it's set to stay on high vs high because auto commanded it.

rcoletti116 commented 3 years ago

Thanks for checking. It's interesting that the function is not even in Carrier's own API documentation.

GitHubGoody commented 11 months ago

I just came across this situation in trying to write a custom status line using a Mushroom Template Chip. image

My workaround is that I assume if the fan is not in Auto that it must be set to Fan Only

Here are the relevant lines from the template:

{%- set fan_mode = state_attr(thermostat,'fan_mode')|capitalize %}
{%- set status_fan_only = 'Fan Only @ '+fan_mode %}
  {%- if fan_mode != 'Auto' %} {{ status_fan_only }}
github-actions[bot] commented 9 months ago

This issue has not been active in a while. It will be automatically closed soon absent further activity.