Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonoff lan mode #21

Open
bochove opened this issue Dec 29, 2018 · 6 comments
Open

Sonoff lan mode #21

bochove opened this issue Dec 29, 2018 · 6 comments

Comments

@bochove
Copy link

bochove commented Dec 29, 2018

the functionality to use a different server was broken, yet a lan mode was later created. Is it possible to make use of this lan mode with Homey?

@robertklep
Copy link
Owner

I asked around for this a while back (here), but it doesn't look like anyone has tried to reserve-engineer it yet. Also can't find anything about it on other home automation platforms (like HA).

I'll try and see somewhere in the upcoming days if I can reflash one of my devices back to the official firmware to see if I can easily determine how the protocol works.

@bochove
Copy link
Author

bochove commented Feb 19, 2019

Is this solution of help to you?
https://github.com/beveradb/sonoff-lan-mode-homeassistant

@robertklep
Copy link
Owner

That's useful, but possibly too difficult to explain how to get your devices into (permanent) LAN-mode.

I'll consider adding support when I do a rewrite of the app (which may be soon, or never, can't say right now).

@bochove
Copy link
Author

bochove commented Feb 19, 2019

For many that may be the case, to me it would be rather simple

@bochove
Copy link
Author

bochove commented Feb 19, 2019

On this page it says:
When WiFi network restores, LAN mode won’t be disabled and you should be able to control the device.

I'd want these devices to be blocked from internet for privacy, but perhaps it's not required.
It would off-course be required to set static IP addresses in the router for these devices.
And not all routers support that.

edit:
Or I could make use of another app capable of sending Websocket requests, like this. But that won't get the current status of course.

@bochove
Copy link
Author

bochove commented Apr 12, 2019

Would this be of help? It works for me, perhaps others might find it useful as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants