Git Product home page Git Product logo

Comments (5)

AlexGustafsson avatar AlexGustafsson commented on May 14, 2024

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.

stuarthenrywilson avatar stuarthenrywilson commented on May 14, 2024

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.

AlexGustafsson avatar AlexGustafsson commented on May 14, 2024

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.

stuarthenrywilson avatar stuarthenrywilson commented on May 14, 2024

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.

AlexGustafsson avatar AlexGustafsson commented on May 14, 2024

I'm happy you solved it!

from homebridge-wol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.