-
Notifications
You must be signed in to change notification settings - Fork 836
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
[do not merge / consolidated PR] Added support for Argo WREM-3 A/C remote protocol #1913
Conversation
This is a large PR, unfortunately, and I am building this on WSL/Windows, w/o full setup so have not run all the checks (I expect some builds to fail). Will fix as I go and update this PR. Feel free to review, though! Some rationale about a few high-level choices I made:
|
21cd6e0
to
2874dbd
Compare
Have you considered splitting this into separate PRs? Consider to split this first into adding basic support. Later add full AC support, and then discuss the other parts separately? |
2874dbd
to
360313d
Compare
Oh, I have :) Multiple times over... :)
Actually, I claim these things are common. Not in the sense of "every possible A/C unit has them", but
@NiKiZe If you feel very strongly about separating these, I'd of course do that... If, during the course of review some changes become clearly controversial, I'll of course pull them. |
360313d
to
a120e62
Compare
Sorry for the delay, I've been very busy with other things. First, I'm in agreement with @NiKiZe. Please split this up. e.g. Just adding the protocol. Then the other changes e.g. IRMQTTServer. Basically, lets get the protocol in first, then we can play with IRMQTTServer additions/changes. Reguarding controversial, yep. Plenty there I'm not thrilled with. The "common" AC interface ( |
Thanks for the feedback! I very much appreciate taking a look at it as-is, as I hope it paints a picture of the general heading I took and provides additional context on the "why" (and of course there'd have to be adjustments). Now that I get a sense of where we might need more discussion, I'll do my best to split as @crankyoldgit indicated. Can't commit to any particular timeline though. I can spend at most 1-2h/week at it lately, so depending on how it goes... it might be today or weeks for now :) Any help you can provide would be appreciated of course! |
In this spirit, let me add a few high-level comments as well (ahead of the discussion on individual changes, when split)
I have no particular love for the "common enum extension" changes, actually :) Added, as I considered them quite harmless and in line with the convention (see comment below). Same with the extension of
Makes total sense. |
Rationale: allows documenting macros (when desired) + better control of what gets documented (e.g. incl/excl UT) Incl. minor comment placement fixes. Signed-off-by: Mateusz Bronk [email protected]
Signed-off-by: Mateusz Bronk [email protected]
Incl. a macro 'gadget' to allow capturing raw command sent by IRac. Signed-off-by: Mateusz Bronk [email protected]
Allows supporting A/C IR remote protocols which use different commands for representing slices of functionality. By default, all IRac commands are of type ac_command_t::kControlCommand Added Argo WREM3 implementation which uses disjoint commands. Signed-off-by: Mateusz Bronk [email protected]
Incl. impl. for Argo A/C Signed-off-by: Mateusz Bronk [email protected]
Signed-off-by: Mateusz Bronk [email protected]
Adds iFeel/roomTemp/commandType support. Signed-off-by: Mateusz Bronk [email protected]
a120e62
to
f3beb7e
Compare
@mbronk How are we going on this meta-PR? Have we covered it all yet? |
Almost there :) It requires some slight adjustments, which I have coded already, but didn't yet have time to flash it to a device and test E2E (holidays etc.). I expect to have it ready in a few days from now (maybe even today, depending how things go). |
Cool. No rush. I just had some spare cycles in the last 48hrs and was just checking what I could. |
Closing this meta-PR, as all of its components have been fully merged. @crankyoldgit - a bonus Q for you: When are you expecting to release a new version of the lib? :) |
Yeah. I should get on to that. |
Adds support for ARGO WREM-3 remote
Closes #1912