Hello,
I would like to know if with open mqtt gateway it is possible to create an ir extender so I can control my audio-video device inside the closed cabinet and leave the ir receiver outside, using the original remote control and also control it using mqtt commands.
Thanks.
Hello,
Yes, you have an option on config_IR.h to forward directly the received IR signal :
#define subjectGTWIRtoMQTT "/IRtoMQTT"
#define subjectIRtoMQTT "/IRtoMQTT"
#define subjectMQTTtoIR "/commands/MQTTtoIR"
// subject monitored to listen traffic processed by other gateways to store data and avoid ntuple
#define subjectMultiGTWIR "+/+/IRtoMQTT"
#define IRbitsKey "IRBITS_" // bits will be defined if a subject contains IRbitsKey followed by a value of 2 digits
#define IRRptKey "RPT_" // repeats will be defined if a subject contains IRRptKey followed by a value of 1 digit
#define repeatIRwMQTT false // do we repeat a received signal by using mqtt
#define repeatIRwNumber 0 // default repeat of the signal
//#define RawDirectForward false // direct repeat of IR signal with raw data
#define RawFrequency 38 // raw frequency sending
//#define DumpMode true // uncomment so as to see big dumps of IR codes
#define pubIRunknownPrtcl false // key to avoid mqtt publication of unknown IR protocol (set to true if you want to publish unknown protocol)
#define PanasonicAddress 0x4004 // Panasonic address (Pre data)
#if defined(ESP8266) || defined(ESP32) //IR supported protocols on ESP8266, all supported per default
#define IR_GC
#define IR_RAW
#define IR_COOLIX
Thanks, for the IR transmitter and receive compatibility, is only with the compatible device file or there is an alternative easily find in the other shops?
I see other board but without transistor.
Thanks.
You should find equivalent on another store. Be carefull on the power.
Your suggestion is buy this module or the single components?
If you suggest the second way, do you have the models code of a compatible components? In the file I find only the IR modules.
OpenMqttGateway is full compatible with D1 mini board?
Thanks.