AlexGustafsson / homebridge-wol

A Wake on Lan plugin for Homebridge
MIT License
301 stars 30 forks source link

Install #1

Closed Nousemusic closed 8 years ago

Nousemusic commented 8 years ago

Seems like an interesting Plugin for homebridge.

How do I install homebridge-wol?

AlexGustafsson commented 8 years ago

I made this for my self as a test for homebridge, but if it's useful to others I'll be sure to complement the documentation. I'll get right back to you when I'm done.

Nousemusic commented 8 years ago

That would be perfect. Thank you in advance.

AlexGustafsson commented 8 years ago

I'm having a hard time getting WoL to work on my machines (hardware/software wise, not related to this package) so I cannot currently debug the package. But feel free to look in the source if there's anything you want to know - it should be self explanatory.

To install you run npm install -g homebridge-wol. After that, edit your config.json (usually in /root/.homebridge/config.json to fit your needs. You should see a key called "accessories" and that's where you can add your computer like shown in the README.md

Nousemusic commented 8 years ago

Perfect, thanks a lot.

I'll try the install in the next days.

Nousemusic commented 8 years ago

Works perfect for me. Thank you very much.

I have the following lines added in my config: { "accessory": "Computer", "name": "PC", "mac": "XX:XX:XX:XX:XX:XX" }

AlexGustafsson commented 8 years ago

That's great to hear!