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

Power switch not staying on #3

Closed
damianromanowski opened this issue Jan 17, 2016 · 1 comment
Closed

Power switch not staying on #3

damianromanowski opened this issue Jan 17, 2016 · 1 comment

Comments

@damianromanowski
Copy link

Seems like the switch is resetting itself back to the off state even thought the computer is still on.

Line 38-40:

setTimeout(function() {
  this._service.setCharacteristic(Characteristic.On, false);
}.bind(this), 30000);

Any particular reason that is there? Why not leave the switch on, it already assumes that the wol packet was sent successfully. Maybe run a periodic ping to set the actual state?

@AlexGustafsson
Copy link
Owner

That "feature" was a placeholder for upcoming features I never got around to implement. Luckily @blubber did all the improvements I hoped to make and they are now a part of the main repo. Be sure to update the package and re-read the documentation to get updated on any news.

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