-
Notifications
You must be signed in to change notification settings - Fork 28
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
Summary - Broken and Attempted fixes #41
Comments
After spending the entire afternoon after this, I came to the same conclusions and ended up getting the commands from the I listened to all the events HA is firing when sending an IR command and the It would be nice to create a fork of this project and at least push these findings. I managed to get it running locally so it could be run as a docker container or an add-on. |
Building on your work @ninadpchaudhari and @victorigualada I've forked and updated the project. I've made a PR to merge those changes back but in the mean time you can use it at https://callumgare.github.io/BroadlinkIRTools/ |
@victorigualada thing is, it was using a ≠ service, from the broadlink direct integration, that did return the command. |
As this tool was broken for new versions of HA,
Tried to change the WebSocket API and the commands to work with the new versions :
Sadly, the new
learn_command
does not give back, it only stores the same into the file. I confirmed this via the source code in HA Core's Broadlink integration: Function async_learn_command, LineScreenshot after the change! Command is sent successfully, but the response is just the notification!
Even earlier the HA's remote.py's learn command function did not return anything, but based on this project, I think, we are expecting an event type of state changed with the irCode
let irCode = message.replace("Received packet is: ", "");
Perma Link to the function
As of now, only thing that HA send back is
I wonder
.storage
directoryThe text was updated successfully, but these errors were encountered: