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

Option to restart remote Raspberry Pi #80

Closed
dylanpedro opened this issue Feb 19, 2023 · 4 comments
Closed

Option to restart remote Raspberry Pi #80

dylanpedro opened this issue Feb 19, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@dylanpedro
Copy link

Is it possible to add a feature to the script so it allows to restart the remote Raspberry Pi Node?

@ironsheep
Copy link
Owner

This is likely a no-go. The script runs under the Daemon:Daemon user which does not have root access. One can't do a shutdown or reboot unless it is done as root which is usually done via the sudo command (which the Daemon user is not authorized nor do we want it to be authorized.)

@ironsheep ironsheep added wontfix This will not be worked on enhancement New feature or request labels Feb 21, 2023
@ironsheep ironsheep self-assigned this Feb 23, 2023
@ironsheep ironsheep removed the wontfix This will not be worked on label Feb 23, 2023
@ironsheep
Copy link
Owner

@dylanpedro I have a user that has contributed this capability (optional, needs to be configured, of course) so we are working on adding this now...

@dylanpedro
Copy link
Author

Look forward to this being added, main reason is sometimes when we restart home assistant our remote nodes don't render correctly so it's easier if we could just send a command to restart it

@ironsheep
Copy link
Owner

Changes committed and now avail. in v1.8.0 and later.

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

No branches or pull requests

2 participants