Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

use LAN mode if HASS is unable to contact the server #50

Open
ginge78 opened this issue Jan 29, 2019 · 4 comments
Open

use LAN mode if HASS is unable to contact the server #50

ginge78 opened this issue Jan 29, 2019 · 4 comments
Labels
feature request good ideas that could be implemented

Comments

@ginge78
Copy link

ginge78 commented Jan 29, 2019

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

@peterbuga
Copy link
Owner

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 👎 beveradb/sonoff-lan-mode-homeassistant#1 (comment)

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

@peterbuga peterbuga added the feature request good ideas that could be implemented label Jan 29, 2019
@elserge82
Copy link

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

@peterbuga
Copy link
Owner

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

@elserge82
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request good ideas that could be implemented
Projects
None yet
Development

No branches or pull requests

3 participants