# eWeLink Home assistant add-on github

**URL:** <https://forum.ewelink.cc/t/ewelink-home-assistant-add-on-github/68>\
**Category:** Announcement & tutorials\
**Created:** [September 16, 2021, 3:44am UTC](https://forum.ewelink.cc/t/ewelink-home-assistant-add-on-github/68 "2021-09-16T03:44:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenJ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/stephenj/32/3311_2.png) [@StephenJ](https://forum.ewelink.cc/u/StephenJ)\
**Post date:** [September 16, 2021, 3:44am UTC](https://forum.ewelink.cc/t/ewelink-home-assistant-add-on-github/68/1 "2021-09-16T03:44:54Z")

</div>

# ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/18c182ba67dcb25b17b6e376bdd0ce711cf3fd22.jpeg)

# Hi there! Welcome on board

Setup Guide

# I. Installation

Log in to the Home Assistant Lovelace console (usually the URL is [http://homeassistant.local:8123/](http://homeassistant.local:8123/)), click **Supervisor** at the sidebar to open the HassOS dashboard, switch to the **Add-on Store tab.** Click the vertical ellipsis (three vertical dots) in the upper right corner, select **Repositories** in the pop-up menu, enter the official add-on address of eWeLink: [GitHub - CoolKit-Technologies/ha-addon](https://github.com/CoolKit-Technologies/ha-addon) in the Manage add-on repositories modal box, click ADD. After closing the modal box, you can see the newly added eWeLink add-on on Add-on Store page.

Click the eWeLink Smart Home card to open the add-on information page, click **INSTALL** , and wait for the installation to complete. Once it is done, click **START** to enable the “eWeLink Smart Home” add-on.

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/6d1d5579d1cbef948dcaeccce3f5268ecca7b3e9.png)

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/40eca4710a209a6450f7c6098df05a5f7efcfd04.png)

# ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/fc8d9c8703952ccd7bffc9758071ca11212ecac1.png)

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/e92340c3ee5c5a721bf52401f244800741a3b08a.png)

\*Tip: You need to change the home\_assistant\_url if you are using docker or other versions of Home Assistant that are not Home Assistant OS.

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/7a277134cc521e2803d989fad2100fa135221a6a.png)

To facilitate quick access to the eWeLink Smart Home add-on, you can enable the Show in sidebar option.

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/7041cb4f73bbd07026ab3d2f68e318cdfd5624f8.png)

# II. Configuration

**Control eWeLink DIY devices on LAN or log in to eWeLink account to control all eWeLink Support devices.**

Log in to the Home Assistant Lovelace console (usually the URL is [http://homeassistant.local:8123/](http://homeassistant.local:8123/) ), click Supervisor at the sidebar to open the HassOS dashboard, then click the eWeLink Smart Home card to enter the add-on information page. Click OPEN WEB UI, the eWeLink Smart Home Web UI page will list all DIY devices on LAN searched by mDNS. You can also click the Login button in the upper left corner and log in to the eWeLink account to connect all eWeLink Support devices.

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/77568ce88da7f8a2edf0e0fb0c8688c3185d3b88.png)

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/c7765bcec778171a9b67b867eaf82bcf6ccde6dd.png)

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/263732009fc5e5990558be8d10b50712fb56833a.png)

**💡Setup Scene, Automation to control eWeLink Support devices.**

Devices connected through Home Assistant REST API and WebSocket API can only be mapped as entities instead of devices, which makes it impossible to directly control devices via Home Assistant’s Scene and Automation.

To solve this problem, you need to enable the Advanced Mode (Lovelace Console \> Profile \> Advanced Mode).

To use eWeLink Support devices in Automation, you need to first create a Scene that contains your devices, and then select Activate Scenario in Action \> Action Type of Automation.

 ![](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/1X/70f1175a54624eff91f36c7ac9fff6c10eb0006d.png)

# Features

- Support Sonoff DIY Mode.
- Priority to control devices on LAN. If the device does not support LAN mode or is not on LAN, you can control the device through the cloud.
- Real-time synchronization of device status and configuration information. Device name and configuration can be modified later on.
- Supports Home Assistant installed through HassOS and Supervisor.

Got more ideas?  
[Fill in a short Product Survey to submit your feedback \>](https://forms.gle/EHbWpjCiLDYfAACc6)
