Comments (5)
Thank you for the compliments!
This is definitely the right place to ask for help since everything except this plugin seem to work. I'm happy to help.
I can't seem to find an issue. You've done everything right. Have you tried to restart the homebridge server? Is there any log output from homebridge? (Things to look for: "Computer is not registered by a plugin", "missing configuration" etc.)
from homebridge-wol.
Thanks for your quick reply. I've been running homebridge continually using the systemd service approach. There are no outputs in that mode and I couldn't access the log last night for some reason.
This morning I tried running homebridge without using the service and it gives the following output:
==================== [6/11/2017, 7:48:53 AM] ERROR LOADING PLUGIN homebridge-wol: [6/11/2017, 7:48:53 AM] Error: Cannot find module './build/Release/raw' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/lib/node_modules/homebridge-wol/node_modules/raw-socket/index.js:4:11) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) [6/11/2017, 7:48:53 AM] ====================
I installed the beta version which has removed this error so the plugin loads correctly. I can see my MacBook when I run homebridge without the systemd service—but when I switch to the service it disappears.
I'll figure this out soon—it must be something to do with my config file, although they appear to be in the correct place for both the standard run and the systemd rub.
Thanks again for your help.
from homebridge-wol.
It seems to be some issue with a dependency of a dependency namely the raw sockets we currently use to ping devices. It could be that it failed to build during npm install, that the package author is having issues or a collection of other faults. Thank you for sharing the log so that others facing the same issue can resolve it.
About your other issue, there could have something to do with "the systemd" version not using the configuration you'd think. I believe that the first log homebridge makes when started contains information about the config file in use, but I'm uncertain. You can also verify when homebridge starts what accessories and plugins are loaded.
I hope you solve your issue. If it could help others, feel free to share your solution.
About the beta, be sure to reach out if anything crosses your mind regarding features, potential bugs etc.
from homebridge-wol.
Hey, sorry for the delay in getting back to you—I've been swamped with work. I'm just getting to grips with Linux systems and was getting myself confused with installing extra packages, trying different fixes, etc.
In the end, I re-flashed my Pi and reinstalled everything from scratch—it's working fine now.
Thanks again!
from homebridge-wol.
I'm happy you solved it!
from homebridge-wol.
Related Issues (20)
- WOL doesn't work after extended time
- Network Device Ping Status every Time offline
- Settings for mac mini running Monterey
- Sleep-On-LAN (SOL)
- Can't shutdown my computer with the shutdown command
- WOL starts device, but no ping and no Online status HOT 9
- Homebridge running on docker no sambo-common
- Check if Windows PC is sleeping
- Samba Mac
- Ask for wake/start command
- Adding plugin to HomeKit
- ssh keeps asking for passphrase
- Feature Request: Add support for pingsToChange for ping commands HOT 2
- Please add icons if possible HOT 1
- Dont wake after shutdown HOT 15
- Add instruction for Enable Printer and File Sharing W10+ HOT 1
- magic packets sent not waking pc anymore HOT 14
- Unraid: setcap cap_net_raw=pe /path/to/bin/node
- Problems ssh to windows only from homebridge terminal
- Ping function for detecting the PC online not working recently HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-wol.