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
Add coolix receiver #645
Add coolix receiver #645
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree the receiver_id is not perfect, but I also don't have a better way.
Even if we could make it auto-use a receiver in the config (if one exists), there would be the problem of how to de-select it manually (if the remote_receiver is for example for something else, like 433MHz signals).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
LGTM (the author) haha I'm starting using this as I kind of hacked one of my AC units and put this next to the AC receiver and works great. |
Description:
This is a decoder for the coolix AC IR Transmitter component.
The idea is installing an IR receiver close to the AC unit's receiver, then listen for the same command one would send with the equipment's original remote control unit and figure out the state the unit is on.
This is not ideal as the code seen doesn't mean the device really turned into that configuration but I believe is pretty usable and useful.
I'm opening this as WIP as I did not test it much yet.
Two things I'd like feedback right now:
transmitter_id
andreceiver_id
, currentlyreceiver_id
is optional and I have to supply an id to theremote_receiver
so I can link it. If I remove optional then user must have a receiver which is may be not the case, seamlessly if the user were interested only on the receiver part of this component the opposite situation can happen as is.Related issue (if applicable): fixes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#
Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: