Ok, I’m diving into it!
Wiring is robbed from this picture:
Source is this article: Karl's Home Automation Project - Part 4: MQTT Bridge Updated to Use YS-IRTM IR Receiver & Transmitter with NodeMCU - CNX Software
I went with the newest version 0.7 (Releases · 1technophile/OpenMQTTGateway · GitHub)
and edited the config_IR.h to this:
/*-------------------PIN DEFINITIONS----------------------*/
#ifdef ESP8266
#define IR_RECEIVER_PIN 12
#define IR_EMITTER_PIN 14
Wiring is the following:
RXD = D6 (NodeMCU) = GPIO 12
TXD = D5 (NodeMCU) = GPIO 14
When I watch the serial console after flashing and booting it looks like it’s receiving continually something…
.
WiFi ok with manual config credentials
OpenMQTTGateway mac:
XXXXXXXXXXXXXXXXXXXX
OpenMQTTGateway ip:
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXX
Connecting to MQTT by IP adress
XXXXXXXXXXXXXXXXXXXX
IR_EMITTER_PIN
14
IR_RECEIVER_PIN
12
ZgatewayIR setup done
RF_EMITTER_PIN
3
RF_RECEIVER_PIN
0
ZgatewayRF setup done
ZgatewayBT HM1X setup done
MQTT connection...
Connected to broker
Subscription OK to the subjects
Rcv. IR
108,108,516,104,102,108,314,102,110,104,102,104,102,104,110,208,104,102,104,102,208,106,210,106,204,106,106,106,98,108,104,422,204,106,106,100,316,210,204,106,106,100,106,106,106,106,310,106,98,106,106,106,308,212,210
--no pub. unknown protocol--
Remaining memory
41800
Rcv. IR
114,96,526,104,102,112,314,104,104,104,110,104,102,104,110,208,104,104,104,102,208,106,314,102,314,104,102,106,110,104,208,104,204,102,104,104,110,208,208,102,104,102,104,104,110,102,518,104,102,112,110,622,208
--no pub. unknown protocol--
Remaining memory
41296
Remaining memory
41296
Rcv. IR
110,100,526,102,104,112,314,104,110,104,102,104,102,104,110,208,104,102,104,102,208,104,314,102,314,102,104,108,104,106,212,98,210,106,98,106,106,212,204,106,106,106,98,106,106,106,520,106,106,100,106,626,210
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
108,102,520,106,106,108,316,106,98,106,106,106,98,108,104,212,106,98,106,106,204,106,316,106,310,106,106,100,104,106,210,104,200,110,104,104,110,208,208,102,104,102,104,104,110,102,518,104,102,112,110,622,208
--no pub. unknown protocol--
Remaining memory
41024
Remaining memory
41016
Rcv. IR
114,100,518,104,104,112,314,104,104,102,112,102,104,104,110,208,104,102,104,104,208,104,314,104,314,102,104,104,110,104,208,104,208,104,102,104,110,208,202,104,110,104,102,106,110,104,518,104,102,106,110,622,210
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
110,102,518,106,98,114,316,106,98,106,106,106,98,106,106,210,106,98,106,106,204,108,316,106,310,106,106,100,106,106,210,98,212,106,98,108,104,212,204,106,106,106,98,108,104,106,520,106,106,100,104,626,212
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
108,102,520,106,106,114,314,102,110,104,102,104,102,104,110,208,104,102,104,102,208,104,314,102,314,102,104,112,110,104,208,102,208,104,102,104,110,208,208,102,104,102,104,104,110,104,516,104,102,112,110,622,208
--no pub. unknown protocol--
Remaining memory
40776
Rcv. IR
110,102,518,102,104,112,312,104,102,112,102,104,104,104,110,208,104,102,104,104,208,104,314,104,314,102,104,104,110,104,208,104,208,104,102,104,110,208,202,104,110,104,102,104,108,102,524,104,102,104,110,622,208
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
108,102,520,106,106,108,316,106,98,106,106,106,98,108,104,212,106,98,106,106,204,106,316,106,310,106,106,100,104,106,210,98,210,106,98,108,104,212,204,106,106,106,98,106,106,106,520,104,104,104,110,622,208
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
110,104,518,102,104,112,314,104,110,104,102,104,102,104,110,208,104,102,104,102,208,104,314,102,314,102,104,112,110,104,208,102,208,104,102,104,110,208,208,102,104,102,104,104,110,104,516,104,102,112,110,622,208
--no pub. unknown protocol--
Remaining memory
41024
Remaining memory
40776
Rcv. IR
114,100,516,104,102,112,314,102,110,104,102,104,102,104,110,208,104,102,102,106,204,106,316,106,308,106,106,100,104,106,212,98,210,106,98,106,106,212,204,106,106,106,98,106,106,106,520,106,106,100,106,626,210
--no pub. unknown protocol--
Remaining memory
40776
Remaining memory
40776
Rcv. IR
104,106,520,106,106,114,316,106,98,106,106,106,98,106,106,210,106,98,106,106,204,108,314,102,314,102,104,104,110,102,208,104,208,102,104,104,110,208,208,102,104,102,104,104,110,102,518,102,104,112,110,622,208
--no pub. unknown protocol--
Remaining memory
40776
This happens without doing anything. When I take a remote and hit some buttons it look nothing happens related to that action.
I’m helpful for any ideas and help how to get this running!