I have an amplifier I retrofitted with a Vellemann IR remote to provide Volume Up and Down.
The Remote 3 dock will not learn the code - UNKNOWN error. Looking at the IR shows me it’s flickering as long as button held down - so presumably a continuous burst.
I’ve tried capturing a single burst via a quick press and so on, but still UNKNOWN. Also tried using my Harmony (which had no issue learning the IR code) as sender but same result UNKNOWN.
Any suggestions as to what I can do? Is there a ‘fake’ HEX code I can use, and/or maybe loop it somehow?
Unknown means that the Dock is unable to learn the code. It’s using an open source library to learn and send codes (GitHub - unfoldedcircle/IRremoteESP8266: Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/ Adapted for UCD2) but this library doesn’t work with all IR codes. The last dock update had some improvements for frequency, modulation and precision (refactor: support higher modulation frequencies and better precision by zehnm · Pull Request #29 · unfoldedcircle/ucd3-firmware · GitHub) but there could still be codes that are not supported.
If you find the codes in other databases like Global Caché you can try it with them but I doubt this will work if they are using the same IR protocol. Maybe it will work when using the internal it emitter if the remote. I assume this is using a different library as the remote is not esp32 based.
The Vellemann is almost certainly a 38kHz pulsed ‘code’ - the on-off periods defining which is read as UP and which DOWN.
If I can read the code using my ‘scope, can anyone help me as to how:
(a) I can convert the pulse stream (which I guess will simply be on-off of defined periods) into a R3-compatible stream
(b) I can then program the Remote3 to broadcast the code (presumably such that holding the UP or DOWN sends a continuous stream)?
Thanks