Closed iamelec closed 1 year ago
Yep, that's a lot of info. But it would be best if you can supply it in our format(s) and using our tools. e.g. https://github.com/crankyoldgit/IRremoteESP8266/wiki/Adding-support-for-a-new-IR-protocol
You can convert the pronto code versions (and see if we would decode them) by using the gc_decode
tool.
Is there maybe an easier way to send the codes in the right format for a non programmer like me?
Do I need to use Arduino to use the gc_decode tool? I've tried running it in Visual Studio Code in Windows but it says:
Untitled-1.cpp:10:10: fatal error: IRac.h: No such file or directory
10 | #include "IRac.h"
Is there possibly a installation guide for this tool or an alternative tool that runs in Windows or in a browser?
This library is for the ESP8266 and/or ESP32, You usually use the Arduino development environment, or the platformio environment in vscode or other IDE.
So I do kind of wonder what your end goal here is. How would you use these codes?
If I understand your question correctly. What I want to do is to control my Benchmark DAC 3 using a Hue Tap Dial Dimmer via MQTT to Tasmota (installed on a ESP8266 chip). Tasmota uses the IRremoteESP8266 library. It will basically be an extended volume knob, which will be wireless and shouldn't have problems with IR "reach" (pointing the remote at the DAC). So turning the dial of the dimmer should send IR codes to the DAC for volume up or down. The concept works so far for most buttons but I can't send volume commands yet to the DAC.
I will look further into the Arduino development environment or platformio in VScode. Thanks
Ok perfect, how do you usually upload tasmota to your ESP8266? Does that device also have a IR receiver?
There's a integrated USB input on the ESP8266 board. So I can directly connect it to my computer and flash the Tasmota firmware on there over the USB port. The ESP board does also have a IR receiver that I can put on there.
That means you should be able to build & flash our IRrecvDumpV3 program.
The gc_decode.cpp
program is a C++ program that should build under linux. No, it doesn't need arduino or the arduino IDE.
Your "Benchmark's official HEX codes" are PRONTO codes, I have no idea if Tasmota allows transmission of them. Our library does via the irsend.sendPronto()
function.
Your basically asking a Tasmota question, you'll have to ask them, not us (for how to send Prono codes).
Thanks for the suggestion. I've switched to ESPhome which uses this library as well and can send Pronto codes. Everything works now!
Hi, I've been trying to capture my Benchmark DAC 3 DX's remote. However I'm receiving a message that the protocol is unknown. Unfortunately my knowledge regarding IR protocols is limited. Tasmota is currently running on my LoLin v3 NodeMcu ESP8266 chip.
I did manage to capture the remote control using LIRC on a Raspberry PI using the exact same IR receive sensor. Which gave me the following config file:
Benchmark kindly sent me the HEX codes for the remote. The codes are supported by Logitech Harmony and Pronto remote if that means anything.
Now when I "Scrutinize" the HEX codes using IrScrutinizer I get the same ish data as the LIRC config file. For each command it adds the pre data
0x56
+ the begin codeE8
so for example0x56e8
. I'm not sure what the purpose of IrScrutinizer is and I'm trying all options to make this work.Now I can't find a way to send this code in Tasmota. I still don't know what protocol this remote uses exactly. Is there a way to find the IR protocol and add support for it in Tasmota?
IrScrutinizer gives me the following decode:
Benchmark's official HEX codes:
For now I can send RAW remote commands that work on the DAC 3 DX. Though I can't seem to get the Volume control and ON command to work. In LIRC I had to repeat the command twice (so sending it two times in total). All other commands work by sending it once. I'm also using the same IR transmitter as I was using with my Raspberry PI using LIRC.
I've tried to add as much information as I have. If there's more information needed I'd be happy to add it to this post. Thanks