Closed mrjcohen closed 5 years ago
Well, if it works it works, but I haven’t tried your exact format of the MAC address. Usually I go with AA:BB:CC... However, I use a package to handle WoL which requires the MAC address so I never control the format in the plugin itself.
Is everything working fine now?
It’s really weird, it worked one time and hasn’t worked ever since. I tried resetting everything and even restarted from scratch with a fresh install on my raspberry pi and re-installing and configuring everything but had no luck. The reason I wrote the mac address without any ‘:’ is because of a comment someone else made.
I’ll have to play around with it more today.
@drwoodcomb Did you make any progress?
Hi,
Sorry for the late reply. It sort of works.. If I put my computer to sleep manually in windows and then us WOL to wake it up it will work. Then if I shutdown my computer manually in windows and then use WOL to turn on the computer it will work.
It doesn't work unless my computer has been put to sleep one time prior to trying to use WOL to wake it back up or turn it on.
So if my computer has been shutdown twice in a row then WOL doesn't work.
I hope that explanation makes sense. Its a bit confusing to write it out.
I think this is some weird problem with my computer and most likely not with your plugin. Maybe I need to contact my motherboard manufacturer (ASUS) and see if they screwed something up with their BIOS. Thanks for asking and I really appreciate the work you've done creating this plugin.
On Wed, Jan 16, 2019 at 3:43 PM Alex Gustafsson notifications@github.com wrote:
@drwoodcomb https://github.com/drwoodcomb Did you make any progress?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AlexGustafsson/homebridge-wol/issues/54#issuecomment-454933307, or mute the thread https://github.com/notifications/unsubscribe-auth/AsKP1qEtGLmYbYclisJSWO1Yul6cuiW0ks5vD473gaJpZM4ZmF2v .
@drwoodcomb You have to disable the Windows 10 Fast-Boot option in order to get it to work with your onboard LAN device. Yeah, took me a good few days to figure that out.
Wow, thanks elMuddin. I would have never figured that out. It works now! I can finally "impress" my friends with the nerdiest way in the world to turn on my computer.
@elMuddin Thanks for resolving the issue! I will add a note on that in the readme to help new users.
Backstory
Im trying to use a raspberry pi in conjunction with homebridge to wake a windows 10 PC but despite my best attempts it doesnt seem to work. I feel I may be missing something. Does the windows PC need to have some sort of WOL software running on it as well?
I enabled 'Allow this device to wake the computer' and 'Only allow a magic packet to wake the computer' for the Ethernet Adapter in Device Manager. I also enabled WOL in my BIOS advanced power management.
When I flip the switch on my iphone using homekit the switch will turn on and off but nothing happens to my PC. Also the switch does not accurately reflect if my PC is on or off despite having included my mac address in config.json file
Issue
This is the 2nd plugin for homebridge I am attempting. The first one works great so I think I have the installation of homebridge done ok. Homebridge is set to auto start using pm2. For this plugin I followed the installation to the best of my ability.
Based on the instruction these are the 3 commands I thought I needed to run:
Environment
Configuration
My configuration looks like this:
NOTE: I AM GOING TO KEEP THE MAC ADDRESS BUT CHANGE IT A BIT BECAUSE I WANT TO KNOW IF MAYBE MY PROBLEM IS A FORMATTING ISSUE.
Log
When I follow these steps:
DEBUG=* homebridge
I get the following log:
Notes
From what I read I thought that with this configuration I would be able to turn on my computer as well as see if it is on or off. I dont think I will be able to turn off my computer because I did not include my username and password in the shutdown command.
I am also not sure if the reason this is not working is because of what was mentioned in the instructions about how I "may or may not need to run net rpc with sudo." I didnt know what I am supposed to do with this command since when I type it into the raspberry pi it brings a bunch of options.
Any help would be greatly appreciated. thanks!