# IR Sender

**URL:** <https://wled.discourse.group/t/ir-sender/11179>\
**Category:** Questions\
**Created:** [February 21, 2024, 12:52pm UTC](https://wled.discourse.group/t/ir-sender/11179 "2024-02-21T12:52:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blackspell01](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blackspell01/32/4939_2.png) [@Blackspell01](https://wled.discourse.group/u/Blackspell01)\
**Post date:** [February 21, 2024, 12:52pm UTC](https://wled.discourse.group/t/ir-sender/11179/1 "2024-02-21T12:52:59Z")

</div>

Since It is possible to add an IR receiver to the ESP, would it be possible to add an IR diode and send a simple on/off command? It is not related to the wled project in the first place but the esp has got so many pins left and it would be a waste if id add another esp just for this turn on/ off command…

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [February 21, 2024, 3:52pm UTC](https://wled.discourse.group/t/ir-sender/11179/2 "2024-02-21T15:52:50Z")

</div>

Not sure exactly what you’re suggesting, do you want to turn off the WLED ESP or some other device?

If you want to control something outside the WLED board, there is a Relay output available that might be made to work.

---

<div class="post-metadata">

**Author:** ![Blackspell01](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blackspell01/32/4939_2.png) [@Blackspell01](https://wled.discourse.group/u/Blackspell01)\
**Post date:** [February 21, 2024, 4:05pm UTC](https://wled.discourse.group/t/ir-sender/11179/3 "2024-02-21T16:05:39Z")

</div>

No I just want to send an IR code to turn on/ off another device. It would be optimal if I could trigger the IR command by Home assistant. Not sure if this is possible somehow

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [February 21, 2024, 4:48pm UTC](https://wled.discourse.group/t/ir-sender/11179/4 "2024-02-21T16:48:07Z")

</div>

Probably not with standard WLED code.

You might be able to make up a usermod with your own code.

---

<div class="post-metadata">

**Author:** ![Blackspell01](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blackspell01/32/4939_2.png) [@Blackspell01](https://wled.discourse.group/u/Blackspell01)\
**Post date:** [February 21, 2024, 4:56pm UTC](https://wled.discourse.group/t/ir-sender/11179/5 "2024-02-21T16:56:37Z")

</div>

well unfortunately im too dumb for this
