Very simply, check if the led is working, polarity is correct and stuff (hint, point your phone camera at the IR LED. When you send a command the led will shortly flash purple on the camera)
IR is line of sight, but I assume you knew that
Strong sunlight can interfere with IR transmission
I have the same remote as the one on your picture, and I’m also trying out ESPHome, but I can’t get the daikin component to work at all, actually.
Did you do anything special to get it to work?
I’m on ESPHome 1.14.3
Originally I just had the IR LED directly tied to the GPIO pin of the ESP.
I put a mosfet (FQP30N06L) in the circuit to increase the brightness of the LED, and now the A/C responds!
I can see that the part you posted in the issue tracker shows what I assume to be a mosfet on it, so I don’t know why you seem to have the issue.
Most reliable results were within a meter distance for me.
Hi, I tried again and If I hold the IR emitter right in frond of the IR receiver, it works, but even 10cm away does not work.
I then tried esphome with IR transmitter and a Yamaha amplifier, and I get a respectable 4-5 meters of maximum distance, so the IR emitter is not a fault.
Also to increase the range you can put a 0.22uF capacitor in parallel with the current limiting resistor. This has a lot lower resistance at 36-8KHz. The LED can handle higher than static DC currents (If max) if it is pulsed, like with IR control applications.
Size: 28 * 22mm
Weight: 3g
Voltage: 5V
Port: Digital level
Modulation: Direct transmission No modulation
Launch head: 2
Launch distance: 1-3m
Wavelength: 940nm
Double tube direct launch, through the program to carry out waveform modulation
With the launch signal to indicate the LED, easy to observe the debugging
Applicable to infrared communication, infrared remote control
Both work, but only when held extremely close (~10cm) to the IR receiver.
In my quest to implement the IR transmitter I found this thread, so rather than starting a new thread I have a few questions.
I have the electronics side of things working… I think? The IR LED flashes, so that has to be a good thing. I implemented the following code in ESPHome…
For testing purposes I am now wondering how I might be able to manually trigger the climate control? So I can see if the IR LED is powerful enough and the IR climate actually triggers the AC to start running.
Also…
Longer term I want control of the air conditioner to be stand alone on the ESPHome device. I have this code on anther ESP8266 running ESPHome, so I am wondering if this is a similar syntax/approach for the IR Climate?
@tom_l this diagram is pretty wild, I don’t understand what this circuit is doing. Could you give a little more background? Like others in this post I can only get an off-the-shelf IR module to work at very close distances.
I guess some specific questions: why are there 3 LEDs? is this circuit pulsing at higher voltages? will it work with similar spec capacitors or does it need to be exact? e.g. I have 0.47uF capacitors. Is the transistor doing the pulsing, I note its specs are 100MHz? I also note you mention Jaycar, so I assume you’re in Australia, did you consider buying the Daikin wifi module instead?
Bumping this thread, I have an issue with daikin protocol for my ac (on tasmota) that seems to sends invert on/off command randomly or after power cycle which is why I’m trying to switch to esphome.
I can’t seem to get it work for daikin ac. Any advise?
Here’s my config
esphome:
name: guestroom-ir-remote
friendly_name: guestroom-ir-remote
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Guestroom-Ir-Remote"
password: !secret ap_password
captive_portal:
web_server:
port: 80
remote_transmitter:
pin: GPIO4
carrier_duty_percent: 50%
remote_receiver:
- pin: GPIO5
dump: all
climate:
- platform: daikin # adjust to match your AC unit!
name: "Guest Room Aircon"