Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Shutdown Command #20

Closed
mehtaman opened this issue Jun 23, 2017 · 4 comments
Closed

Windows Shutdown Command #20

mehtaman opened this issue Jun 23, 2017 · 4 comments

Comments

@mehtaman
Copy link

Hi,

I tried to use the below as a shutdown command but it does not work:
"shutdownCommand": "shutdown -f -r t 0"

What would be the correct way to parse through the command from a Pi to Windows system?

@AlexGustafsson
Copy link
Owner

AlexGustafsson commented Jun 23, 2017

The command is ran as the same user as is running the Homebridge server. Is that user allowed to shutdown the system? Also, aren't you supposed to add a dash to 't' (-t 0)? Otherwise I can't seem to find any issues.

@mehtaman
Copy link
Author

Ah thanks for spotting the typo!
I'll give that a go and see how it runs.

@AlexGustafsson
Copy link
Owner

Did you end up solving it?

@mehtaman
Copy link
Author

Thanks @AlexGustafsson, it was just the typo 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants