How SONOFF Works with Home Assistant

by | May 11, 2021 | Product Review, Tutorial

1. Introducing eWeLink Home Assistant Add-on

  • 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.
  • Only supports Home Assistant installed through HassOS and Supervisor.

2. Add-on Installation

Log in to the Home Assistant Lovelace console (usually, the URL is 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: 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 the 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, click START to enable the “eWeLink Smart Home” add-on.

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

*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.





3. Sync SONOFF Devices to Home Assistant

  • Control SONOFF DIY Mode devices on LAN

Click OPEN WEB UI, the eWeLink Smart Home Web UI page will list all DIY devices on LAN searched by mDNS.

  • Log in to eWeLink account to control all eWeLink Support devices
  • 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.

4. Sync Home Assistant Devices to eWeLink App

You can sync your Home Assistant devices to eWeLink, then control all your devices via eWeLink APP.(Scene Linkage and Voice Control by Amazon Alexa and Google Home are upcoming

How to Sync?

Open eWeLink Smart Home Add-on, click Sync Home Assistant Devices and you will see the Devices List, enable its toggle switch on the right to sync your Home Assistant devices to eWeLink App.

Tip: Entities supported by current version are displayed in the Devices List. (Current version only supports Switch and Light entities)

Tip: Please agree with the Terms of Service when syncing your devices for the first time.

And then open eWeLink App, you will see and control all your devices together after login.

Tip: Please keep eWeLink Smart Home Add-on logged in and its network in good quality for better control your devices in eWeLink App.

When you disable the toggle switch in Sync Home Assistant Devices of eWeLink Smart Home Add-on, all previously synced devices will be offline. You could also enable the toggle switch again to bring devices back online.

Control Home Assistant Devices on NSPanel

After syncing Home Assistant’s devices to the eWeLink App in the previous step, you can then sync Home Assistant’s devices to the NSPanel screen for control in the same way as you would add a widget.


SONOFF BASICR2 is a cost effective WiFi wireless smart switch that lets you automate or remotely control lighting and appliances.

Read More


SONOFF ZBMINI is a ZigBee-enabled two-way smart switch that is compatible SONOFF ZBBridge & other ZigBee 3.0 hub

Read More


SONOFF DW2-RF windows door alarm sensor can work with SONOFF RF Bridge 433 that can detect the opening status and sends alarm notification

Read More


Smart LED bulbs are even smarter ones in home automation. You can remote control ON & OFF, dim the light and adjust the color as it can.

Read More


SONOFF SNZB-02 ZigBee 3.0 Mini Indoor Temperature and Humidity Sensor for Checking the Room Climate.

Read More


SONOFF SNZB-03 ZigBee Motion Sensor, Wireless Motion Detector Get Alerts or Trigger Lights to Turn on

Read More

Related Posts

SONOFF NFC Tag – Tap to Trigger Smart Scene
SONOFF NFC Tag – Tap to Trigger Smart Scene
How to Control Your SONOFF Devices on the Car Screen?
How to Control Your SONOFF Devices on the Car Screen?
Better stability and compatibility for NSPanel Pro Zigbee Networking!
Better stability and compatibility for NSPanel Pro Zigbee Networking!
How to Add RTSP Camera to NSPanel Pro
How to Add RTSP Camera to NSPanel Pro
SONOFF NSPanel Pro Version Update Information and FAQ
SONOFF NSPanel Pro Version Update Information and FAQ

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Pin It on Pinterest

Share This