# Using eWeLink with ESP8266

**URL:** <https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843>\
**Category:** Free discussion\
**Created:** [March 24, 2024, 12:20am UTC](https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843 "2024-03-24T00:20:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrecnulkr](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@emrecnulkr](https://forum.ewelink.cc/u/emrecnulkr)\
**Post date:** [March 24, 2024, 12:20am UTC](https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843/1 "2024-03-24T00:20:44Z")

</div>

Hello everyone,

i want to manage my lamps and power stage with eWeLink. So i bought relay switchs and ESP8266. i connected Home Assist and ESP8266 successfully. i created yaml file for this situtation.

But i want to manage my smart relays with eWeLink. i confused my brain in this situation. I want my device to pair automatically with eWeLink. How should i write yaml file for ESP8266 ?

Best Regards,

---

<div class="post-metadata">

**Author:** ![HeisenBerg](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/heisenberg/32/494_2.png) [@HeisenBerg](https://forum.ewelink.cc/u/HeisenBerg)\
**Post date:** [March 25, 2024, 10:24am UTC](https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843/2 "2024-03-25T10:24:23Z")

</div>

I remember there have a ewelink add-on for HA, which can sync some HA devices to ewelink, not all of them, partially i think, switches and plugs.

---

<div class="post-metadata">

**Author:** ![Julhio](https://avatars.discourse-cdn.com/v4/letter/j/c5a1d2/32.png) [@Julhio](https://forum.ewelink.cc/u/Julhio)\
**Post date:** [March 28, 2024, 1:06am UTC](https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843/3 "2024-03-28T01:06:05Z")

</div>

Hello @emrecnulkr ! The best integration I have tested on iHost with ESP8266 is the Tasmota firmware:  
[https://tasmota.github.io/docs/](https://tasmota.github.io/docs/)

The tutorial for Tasmota is here:  
[https://forum.ewelink.cc/t/add-on-guide-mqtt2cube-tasmota-sync-your-tasmota-devices-to-cube/19413/13](https://forum.ewelink.cc/t/add-on-guide-mqtt2cube-tasmota-sync-your-tasmota-devices-to-cube/19413/13)

I did a long time ago with the ESPHome, you need to use the NodeRED, but I don´t know if is working yet. The tutorial is here:  
[https://forum.ewelink.cc/t/ihost-using-esphome-on-nodered-without-home-assistant/18947](https://forum.ewelink.cc/t/ihost-using-esphome-on-nodered-without-home-assistant/18947)

---

<div class="post-metadata">

**Author:** ![Alexie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/alexie/32/1593_2.png) [@Alexie](https://forum.ewelink.cc/u/Alexie)\
**Post date:** [March 28, 2024, 1:36am UTC](https://forum.ewelink.cc/t/using-ewelink-with-esp8266/29843/4 "2024-03-28T01:36:34Z")

</div>

maybe you can use this esp module directly:  
[https://www.aliexpress.com/item/4000078032810.html?spm=a2g0o.productlist.main.5.7c5cc1wWc1wWQn&algo\_pvid=8203f279-ac7a-423d-861c-80f9c7d79bba&algo\_exp\_id=8203f279-ac7a-423d-861c-80f9c7d79bba-2&pdp\_npi=4%40dis!USD!7.13!5.56!!!7.13!5.56!%402151e66217115896715113628e6300!10000000202444247!sea!BR!4298515415!AB&curPageLogUid=lEMGMVRZws1h&utparam-url=scene%3Asearch|query\_from%3A](https://www.aliexpress.com/item/4000078032810.html?spm=a2g0o.productlist.main.5.7c5cc1wWc1wWQn&algo_pvid=8203f279-ac7a-423d-861c-80f9c7d79bba&algo_exp_id=8203f279-ac7a-423d-861c-80f9c7d79bba-2&pdp_npi=4%40dis%21USD%217.13%215.56%21%21%217.13%215.56%21%402151e66217115896715113628e6300%2110000000202444247%21sea%21BR%214298515415%21AB&curPageLogUid=lEMGMVRZws1h&utparam-url=scene%3Asearch%7Cquery_from%3A)

the module come with the smart relay firmware and you can use it to build your smart relay product.
