HASS-sonoff-ewelink icon indicating copy to clipboard operation
HASS-sonoff-ewelink copied to clipboard

use LAN mode if HASS is unable to contact the server

Open ginge78 opened this issue 6 years ago • 4 comments
trafficstars

Since mid 2018, the firmware Itead have shipped with Sonoff devices has provided a feature called "LAN Mode" which allows the device to be controlled directly on the local network using a WebSocket connection on port 8081.

The feature is designed to only be used when there is no connection to the Itead cloud servers (e.g. if your internet connection is down, or their servers are down). As such, it is only enabled when the device is connected to your WiFi network, but unable to reach the Itead servers.

https://github.com/beveradb/sonoff-lan-mode-homeassistant

ginge78 avatar Jan 29 '19 00:01 ginge78

hi @ginge78 i've been watching this project for a while now and right now i'm waiting for the development to evolve a bit before I possible start merging it as stated here

also, like most of their code, Itead did a sh*t job implement this part 👎 https://github.com/beveradb/sonoff-lan-mode-homeassistant/issues/1#issuecomment-457924031

nevertheless this will be a longer milestone, due to the fact the overall code complexity increases :(

peterbuga avatar Jan 29 '19 08:01 peterbuga

This feature would be a life saver . In case ewelink goes down for good. Again thanks peterbuga for your work.

elserge82 avatar Oct 15 '19 13:10 elserge82

@elserge82 too bad the support for it is kinda shaky and inconsistent on sonoff devices

peterbuga avatar Oct 15 '19 17:10 peterbuga

Yes I read that the one developing this part moved to ESPhome. I have 12 out of my smart devices sonoff :D. I am becoming paranoid due to this . Free cloud resources never last. Thanks perterbuga for making such devices compatible with HA.

elserge82 avatar Oct 16 '19 07:10 elserge82