Git Product home page Git Product logo

Comments (4)

AlexGustafsson avatar AlexGustafsson commented on May 14, 2024

It is not a necessary step, so if you’re comfortable with it you can choose to run homebridge with sudo rights: sudo homebridge instead. One could argue it’s less secure since it gives homebridge all rights instead of only the cap_net_raw permission.

from homebridge-wol.

giovenuta avatar giovenuta commented on May 14, 2024

Thanks!!

from homebridge-wol.

giuse93or avatar giuse93or commented on May 14, 2024

Hi alexGustafsson, i use your plugin for wake up windows, but i can't see the status or i can't shutdown
Do i need extra permissions due to the use of pinging?
While i was installing I launch homebridge with sudo and everything went ok. Next I move the json to the dir of Hombridge (launched as a service on startup of Raspberry), now I can wake up my pc, but I can't see the status or shutdown
I'm using net rpc command... Should i use for account ****@live.com or only the ****?
How can i set Extra permission? I'm thinking it is the problem for both

from homebridge-wol.

AlexGustafsson avatar AlexGustafsson commented on May 14, 2024

@giuse93or The issue #34 might have some information you're after.

Since you're already launching homebridge with sudo, you already give full rights to homebridge - so there is no issue with pinging itself. The status should show regardless if you're able to actually shut the device off. Make sure you've configured the right IP address.

As for shutting the computer down, I think you need to explicitly enable the service on Windows as the net rpc commands won't actually work otherwise.

During my (somewhat limited) research of the subject, it seems like it's hard to do it right. I would not recommend you to enable net rpc commands due to security issues. However, there is a guide here: http://blog.sip2serve.com/post/155565656901/shutdown-windows-10-remotely.

I'm not actually sure what account you're supposed to use, but I think it's the full account name (email).

If you have further issues, open a separate issue and I'll try to help you there!

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.