-
Notifications
You must be signed in to change notification settings - Fork 294
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
Update ir remote #723
base: main
Are you sure you want to change the base?
Update ir remote #723
Conversation
Very good, is new commands format the same as in Tasmota? So now we can also receive the custom codes mentioned here? |
It seems there is some kind of build issue on N platform. Did app binary size really grow that much? |
Not quite, right now there is support only for remote control codes that the new library can encode with length up to 64 bit, so this mode from Tasmota: https://github.com/arendst/Tasmota/blob/development/tasmota/tasmota_xdrv_driver/xdrv_05_irremote_full.ino#L508 , to implement bigger codes and RAW mode we need to port more code from there. |
@openshwprojects Have you considered the approach that tasmota has taken? Enabling all features can exceed the available memory so multiple tasmota builds are available. Tasmota-ir, tasmota-knx, tasmota-sensors are builds which enable some features but disable others. A build like BK7231N-ir would include all ir and related features like mqtt but could exclude features like energy monitoring if that then fits into a BK7231N. An all-in-one build is most desirable but may not be practical for all memory consuming features. |
Hey can i remove a lot of drivers to build an BK7231N image? I need three drivers only (LG, Samsung, Gree). How? Otherwise, Tuya image has 2MB (size). Can i grow the image size? |
I'll be glad to test this PR once the BK7231N image will be ready. |
Hi folks, is there any update here? |
Besides the BK7231N image... We still don't have working RAW protocol support (even with these pulls/commits), right? -- Is anyone working on this perhaps? |
I have the same feeling, but some progress is already achieved thanks to @vfonov effort. Maybe it's just a matter of time before we can have a fully working IR module. As I stated before, I offer to do betatesting as soon as OpenBK7231N build is available. |
any news about the BK7231N ? |
…NIC,JVC,SAMSUNG,LG
59c0330
to
9b0cc66
Compare
I disabled the module for AC control to make binary fit into BK7231N. |
Thank you for your work on this @vfonov! I can confirm the panasonic protocol now is working. For anyone who would like to try it, here is the direct link to the bins of @vfonov https://github.com/openshwprojects/OpenBK7231T_App/suites/12430550589/artifacts/661784343 It seems you deleted the Sony protocol, was there a specific reason for that? If it is not to much to ask I would suggest to make a build with everything accept the AC protocols so it would be suitable for a multimedia setup. Thanks again. |
So, the only reason that I removed Sony for sending (and didn't include others) is because the command style
But you should be able to send SONY commands using new syntax: |
You're absolutely right. I was using the old formatting. Using the new syntax works perfectly. When capturing the codes from a remote, it shows the new syntax so my bad! |
Hello |
Binaries for this PR are no longer stored on github. Can you re-run the actions? |
Any chance for binaries to be rebuilt? |
let me see if i can trigger a rebuild but this branch still needs a stability improvement |
What are the issues with stability? I am running this build since March (I think) and everything works fine for me. I use my blaster solely to emit, not receive though. |
Trying to join the bandwagon here, i rebuild the branch. Seeing that IRAC is not defined, I added |
Strange, this never happen on my setup.
The IRAC makes the binary quite big, so it doesn't fit on some devices, but adds support for recieving AC commands.I didn't get around making a proper port of the AC support , similar to https://github.com/crankyoldgit/IRremoteESP8266/tree/master/examples/Web-AC-control |
I compiled it for BK7231N, I have GREE AC. sometimes it recognize my remote as "Recieved AC code:GREE" and sometimes as "Recieved Unknown IR" but it doesn't show any code that I can use. |
You would need to look into how struct for that AC is defined, here is how I implemented it for COOLIX codes using appdaemon: https://gist.github.com/OctoNezd/af1cc19c4c853b60884052d5d9fcb63e#file-coolixir-py. I looked into https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Coolix.h for struct (or is it union? I dont know lowlevel terms properly) definition. I assume for gree you would have to look into https://github.com/crankyoldgit/IRremoteESP8266/blob/master/src/ir_Gree.h |
Why hasn't this been merged yet? |
@Onepamopa I've tried it with @DeDaMrAzR and it seems to give random codes instead of correct ones from time to time. Do you think it's stable enough for merge? Have you tried it for some time? |
@vfonov would it be possible to make it work.... alongside old IR library? And publish both binaries on each Github action? Sometihng like: |
I've seen this in the library's issues - related to timings most likely - in the case I've seen it the issues were on ESP32. Maybe worth a look? |
Hi everyone. Has a way to transmit RAW codes been implemented yet? Thanks! |
Hello, does someone tried to implement tasmota style json commands? |
So, sorry for the late reply - didn't see this question. |
Is it possible to get a binary from this PR? since it is not merged yet, and i really would like to use it on my useless AC1 AC to remote start heating. |
I was able to build this pull request. I've re-enabled IRAC with @arnonm comment above. I'm seeing the stability issue trying to receive my Fujitsu remote code. But once I figured out the code, for example, for the AC shutdown. I tried sending it using the command
But that's still unsupported, am I correct? Logs below:
I have a CBU module, with BK7231N. |
Everyone can get binary from this PR easily, binaries are build per commit, please see tutorial: |
Hello everyone! For the last several days I am trying to compile this PR (using docker) in order to send Daikin codes to my A/C. In order for the binary to be small, I've removed all other protocols that I don't need (Samsung (not A/C), NEC and Daikin are left). I've also modified the drv_ir_new to accommodate the changes, but to no avail. Interestingly, the Samsung and NEC TV protocols don't work as well and only get their protocol (without the payload) recognized when the button is repeated. I've added the CPPDEFINES += -DENABLE_IRAC=1 line to application.mk and every time that I've tried to compile it I think I got everything right, but to no avail. I've made a fork here with my changes and would be glad to receive some help and/or pointers. The project compiles successfully, but even the IR Receiving doesn't work. Thank you in advance and thank you for the awesome work that's been done here! Best regards, |
Updated IR Remote library, added a new format for IRsend command.
IRsend
command now supports command in the format<protocol>,<number of bits decimal>,<data in hex>[,<repeats>]