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

Initial Lan Mode Support #111

Merged
merged 2 commits into from
Jun 22, 2020
Merged

Initial Lan Mode Support #111

merged 2 commits into from
Jun 22, 2020

Conversation

dhutchison
Copy link

Relates to issue #41 .

This PR adds initial support for Lan mode, for devices which identify themselves as "plug". While there are references and code to support "strip" type devices, this is not currently working. I think this is something to do with the way that devices with multiple channels are currently handled (this is going to need a bit of refactoring to sort out I think).

This only supports getting and setting the power state for a device, and has been tested against an S26 plug.

This is currently hidden behind an additional configuration setting. To enable support for the lan client the following needs added to the platform configuration.

"experimentalLanClient": true

Put the lan client behind an experimentalLanClient configuration setting
@howanghk
Copy link
Owner

Thanks for the contribution! As the LAN client is hidden behind a flag in configuration I think it should be safe to merge and release for the general public to test. Merging now :)

@howanghk howanghk merged commit f08d43b into howanghk:master Jun 22, 2020
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

Successfully merging this pull request may close these issues.

2 participants