piotrC4 / mqtt-ir-transceiver

ESP8266 based bidirectional bridge between MQTT and IR (change MQTT message to IR signal and change received IR signal to MQTT message)
142 stars 34 forks source link

ESP-01 not reading codes #15

Closed jptrsn closed 6 years ago

jptrsn commented 6 years ago

I've tested my setup with a Wemos D1 Mini, and the receiver is working as expected. I then reconfigured for an ESP-01, flashed, and set up the device with the wifi and mqtt credentials. I followed the instructions in the readme, and connected the receiver to GPIO0 and the transmitter to GPIO3. I'm using the prefix irtrans.

I can see the ESP-01 is connected to my network, and is publishing telemetry to irtrans/info when it's powered on or off. I think this means that the device is on and functioning properly in terms of MQTT and WiFi.

However, no IR codes get published to MQTT. I'm watching all topics on my MQTT broker, and nothing is coming up when I test with the same remote controls I used with the wemos successfully. I've checked using my phone camera, and the transmitter LED on the remotes lights up brightly, so I don't think it's a battery issue. I've double-checked my connections, and even tried the receiver connected to the other GPIO pins.

What could be going wrong?

jptrsn commented 6 years ago

Disregard - I was going off the wrong datasheet for my IR receiver, which said it could operate at 3.3v, while it actually requires 5.