Closed jay-b closed 2 weeks ago
Does it work if you use the codes you get from WLED over Serial output?
As @DedeHai mentioned, use WLED to display IR codes, not Arduino sketch.
Does it work if you use the codes you get from WLED over Serial output?
Thanks, how do I do that?
connect it to USB, monitor serial, press IR keys. OR: use the same library and settings as WLED in your arduino sketch.
I have the ESP32 connected via USB but see no options in the WLED settings for monitoring the serial? Sorry, very new to this project and inexperienced when it comes to Arduino stuff.
Managed to get the correct codes from the serial monitor in Arduino, so it's all working!
for future reference: the serial output of IR codes is always active, just open the serial port with 115200 baud rate and press IR keys. If your hardware is correct, the received codes will be written to serial.
What happened?
I'm trying to get an Apple remote (older white variant) connected to a ESP32 with a connected KY-022. Have got the codes via an Arduino sketch and created a JSON file similar to the Apple Remote v2 file from the documentation
I've tested using these pins: 15, 13, 4. Also, to check there isn't an issue with my file system storing the JSON file I've tested using the 24 button JSON code from the documentation which works fine when using one of those remotes. I also tried changing one of the HEX codes in that file with one from my Apple remote and that didn't work when using the Apple remote.
To Reproduce Bug
If you have access to one of these older Apple remotes, retrieve the HEX codes, upload the JSON to a WLED installation.
Expected Behavior
The remote should execute the JSON.
Install Method
Binary from WLED.me
What version of WLED?
0.15.0-b5
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct