Skip to content
New issue

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

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

Already on GitHub? # to your account

LAN mode #41

Open
rob0101 opened this issue Aug 16, 2019 · 1 comment
Open

LAN mode #41

rob0101 opened this issue Aug 16, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rob0101
Copy link

rob0101 commented Aug 16, 2019

So ewelink has a new LAN mode.

It would be great if someone could figure out how to use this so we don't have to connect to their remote server all the time.

@howanghk howanghk added enhancement New feature or request help wanted Extra attention is needed labels Oct 4, 2019
@dhutchison
Copy link

dhutchison commented May 26, 2020

I've built a sample plugin which for the few devices I own works with lan mode. Where a device isn't in DIY mode (or doesn't support it), this requires device keys to be retrieved from the ewe link api first (not in my sample - needs to be defined in the config, I got the values from some extra log output I added to this plugin). After this though all control would be lan only.

It is all in Typescript (as that is where I'm more comfortable), but I'm aiming to try porting this across to this plugin. I've only got an S26 and Micro to test this out with (that covers the "plug" and "strip" device types - even if incorrectly).

The branch with all the features is here: https://github.com/dhutchison/homebridge-sonoff-lan/tree/feat/basic-switch-support

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants