-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Ability to trigger basic scripts #1113
Comments
That comes with possible security concerns. We should really be careful about stuff like that... |
ohh right, that is of course an issue, where it could be used by malicious people to gain access, if not done correctly, if at all possible... The idea was just to be able to shutdown/restart other equipment that is already controlled through ssh. Simply instead of having to open a terminal and login, issue command and close terminal, then just have buttons/apps that when pressed triggers the action in the background for easy management. But understand if it's not easy to implement and/or add security risks that compromises Homarr and the host/network. |
I am not sure how possible this is. Can you turn off equipment on your PC with SSH inside of a container ? But I'm pretty sure if you have minimal JavaScript knowledge I can help you make something like this. |
How to make a script to On/Off your devices
I hope these instructions are clear. I am pretty sure you can use ChatGPT to code the API even if you have very little code knowledge. |
Nice, I will try that and see what it brings, and update here with my findings, perhaps others can make use of it. |
Did you manage to do it ? |
I think this inply that you are running an API server on the devices that you want to turn off> ## How to make a script to On/Off your devices
|
Moved to homarr-labs/homarr#2385 |
Description
I would be really cool if it's possible to add a way to trigger basic scripts on the host. as an example: trigger a shutdown script to shutdown other servers/devices on the network. So the user creates a script on the host, and places it in a script folder that Homarr then discovers and makes available for the user to add as either a widget or an app.
Priority
Low (Nice-to-have)
The text was updated successfully, but these errors were encountered: