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

Can you include the option for a response file? #25

Closed
Smarthome-Creator opened this issue Jul 4, 2024 · 2 comments
Closed

Can you include the option for a response file? #25

Smarthome-Creator opened this issue Jul 4, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Smarthome-Creator
Copy link

Smarthome-Creator commented Jul 4, 2024

I did some testing and found that your integration allows you to run SSH commands that take longer than 60 seconds and would otherwise be "killed" by HA.
That's very cool. Could you add the option to get the "stdout", "stderr" and "exitcode" back?
Then you could have the log sent to you in case of problems.

@Smarthome-Creator Smarthome-Creator changed the title How can I prevent commands from being canceled after 60 seconds? Can you include the option for a response file? Jul 5, 2024
@AlexxIT AlexxIT added the question Further information is requested label Jul 13, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jul 13, 2024

I don't want add this to this integration so it can be used in very old hass versions.
But you can use this integration and get what you want
https://github.com/AlexxIT/PythonScriptsPro

@AlexxIT AlexxIT closed this as completed Jul 13, 2024
@AlexxIT AlexxIT added enhancement New feature or request and removed question Further information is requested labels Dec 7, 2024
@AlexxIT AlexxIT added this to the v1.2.0 milestone Dec 7, 2024
AlexxIT added a commit that referenced this issue Dec 7, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Dec 7, 2024

https://github.com/AlexxIT/SSHCommand/releases/tag/v1.2.0

I've added support for the answer for the newer versions while keeping support for the older HA versions

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