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

Add PowerOn support #2

Open
sylvek opened this issue Nov 5, 2017 · 0 comments
Open

Add PowerOn support #2

sylvek opened this issue Nov 5, 2017 · 0 comments

Comments

@sylvek
Copy link

sylvek commented Nov 5, 2017

found in an another bravia remote project

Bravia.prototype.wake = function() {

  var that = this;

  arpTable.fetch(function(err, table) {
    for(var i in table) {
      if(table[i].ip === that.ip) {
        wol.wake(table[i].mac);
      }
    }
  });

};

it works fine at home :)
https://github.com/alanreid/bravia/blob/master/lib/index.js

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

1 participant