Using sonoff basic R4 with 2 way switch - Configuration - Home Assistant Community
![Using sonoff basic R4 with 2 way switch - Configuration - Home Assistant Community](https://community-assets.home-assistant.io/original/4X/d/c/7/dc703b6659cfb35d07273f5ecd60a422cbc8b1c7.jpeg)
Hi, this is done using a new feature called ‘magic switch mode’ in sonoff basic r4. You will need to: Bridge wires to both switches as below Install sonoff basic R4 on the light fixture/fan. Magic switch mode should be enabled by default in the ewelink app. When pressing the switch, this should toggle the relay while sonoff basic stays online the entire time. Does this work with custom firmware? a) Tasmota is still being worked on. b) For ESPhome, use this external compo
![](https://i0.wp.com/smarthomehobby.com/wp-content/uploads/sonoff-s31-2.jpg?ssl=1)
Sonoff Home Assistant Integration
![](https://i.ytimg.com/vi/_lldSKzded0/maxresdefault.jpg)
How to Install ESPHome on Sonoff 4ch Pro R2 and Home Assistant
![](https://community-assets.home-assistant.io/original/4X/9/2/1/921d2ad52217f5e01182bad385b0615164229638.jpeg)
Using sonoff basic R4 with 2 way switch - Configuration - Home Assistant Community
![](https://automation.baldacchino.net/wp-content/uploads/2023/11/20231102_085912-scaled.jpg)
Flashing Tasmota on a Sonoff Basic R4 & Configuring for Home Assistant – Baldacchino Automation
![](https://community-assets.home-assistant.io/original/4X/e/7/5/e75b02a84cc17afc76f537e38c6d83aad631bb7b.jpeg)
Help:How to integrate a 2 way light switch into home assistant keeping the offline functionality - Hardware - Home Assistant Community
![](https://community-assets.home-assistant.io/original/3X/8/9/89b746b24a88bff8df30bd06fe8c078548c09f9e.jpeg)
Adding sonoff mini to a 2 way wall switch - Hardware - Home Assistant Community
![](https://community-assets.home-assistant.io/original/4X/3/8/f/38f7bd3f84c77de3ec42b813b75b80517e835253.jpeg)
Using sonoff basic R4 with 2 way switch - Configuration - Home Assistant Community
Shane Baldacchino on LinkedIn: Converting Cisco Aironet From Lightweight To Autonomous Mode
![](https://cdn.cnx-software.com/wp-content/uploads/2017/06/Sonoff-4CH-Pro-1.jpg?lossy=0&strip=none)
$23 Sonoff 4CH Pro 4-Channels WiFi & RF Switch Ships in a DIN Rail Enclosure - CNX Software
![](https://community-assets.home-assistant.io/original/3X/c/f/cf1636f482e68f725b603dbf224f817f5cae0e50.png)
Sonoff mini using in combination with motion sensor instead of light switch - Home Assistant Community
![](https://community-assets.home-assistant.io/original/4X/9/d/a/9da8609d31a9fe35cdca73a3a049eefb4f7d51b2.jpeg)
SOLVED. SONOFF runs without cloud/hub? - Configuration - Home Assistant Community
![](https://community-assets.home-assistant.io/original/4X/2/8/4/2841dded28fe77b4f29d7d04cc1aa06fc4119d88.png)
Help:How to integrate a 2 way light switch into home assistant keeping the offline functionality - Hardware - Home Assistant Community
![](https://community-assets.home-assistant.io/original/3X/5/3/53492feea4e0017c669fcd834fe3582adb05e66d.png)
Sonoff Mini EU - Netherlands No Neutral installation? - Hardware - Home Assistant Community