-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Use S21 commands RzB2 to determine hvac_action #556
Comments
I have defrost as a separate state for ducted unit from X50. So that would be what I set. Separately it would make sense to work out what to report to HA for defrosting even when X50. |
Just |
OK I have added vac action defrosting, but not yet looked at the Rz messages to set this using S21. |
Do you think the LED on the Faikin board should represent the current mode or should it be changed to show the current action, now that there's a way to know when the unit is active, idle and defrosting? |
It sort of does, but could it work at a lower level and do defrost as well, maybe... |
Ok, so other people in #408 (comment) with different S21 protocol versions have confirmed that my interpretation of RzB2 is both consistant across versions and seemingly correct. There is at least one extra bit to RzC3 I don't have on my v0 unit, but we haven't figured out that one yet. Regardless or RzC3, though, I think out understanding of RzB2 is now complete enough to try using it for |
Would be nice to see defrost/status and also compressor frequency also in the WebUI :) |
Ah, OK the data is sent on the web socket, just needs a bit of javascript. |
Regarding S21 support for detecting when the unit is idle, active or defrosting, is there any further information I should provide? By now it's pretty clear that RzB2 is the command we should be using for this, and I think we understand its return payload pretty well. |
OK, I tested So I don't think this works generically. |
In S21? That's odd, people with a lot of other units with different protocol versions and unit generations had it working. What of RzC3? |
|
Assuming the target temperature only allows for heating and that you switched between each mode in quick succession, that would check out. Based on the data I have, |
Daikin hardware
Two FTXS12LVJU (S21) in a multi-zone arrangement.
Is your feature request related to a problem? Please describe.
Currently, Faikin acts as if a unit that is set to heating mode is heating 100% of the time, both in Home Assistant and in the web UI. It does not expose what the unit is actually doing, whether is is active, idle or, in the case of heatpumps, defrosting.
Describe the solution you'd like
From having collected and analyzed a fair amount of S21 data (admittedly only on my own units), I'm pretty confident that commands RzC3 and RzB2 both represent the current state of the unit (as documented on the wiki), and that this could be used to determine an hvac_action status for Home Assistant, and possibly the web UI or the LED on the Faikin boards themselves.
Using RzB2, which would be the most straightforward, the mapping could be as follow:
0b0000_0000
OFF
0b0000_1000
IDLE
(unless fan mode, thenFAN
)0b0000_1100
HEATING
/COOLING
/DRYING
0b0000_1010
DEFROSTING
0b0000_1110
DEFROSTING
0b0000_0010
OFF
We would need to use the current mode to determine what the unit is doing between
HEATING
/COOLING
/DRYING
. Auto (heat-cool) mode would have to be omitted, since it's not currently possible to rely on what the unit is supposed to be doing while in this mode.Describe alternatives you've considered
Using Faikin Auto mode, but I prefer sticking with the native controls.
Additional context
This has been raised before in #548, #293 and #290, among other places.
The text was updated successfully, but these errors were encountered: