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

duration issue/suggestion/question #4

Closed
jimlynnjulian opened this issue Oct 18, 2018 · 7 comments
Closed

duration issue/suggestion/question #4

jimlynnjulian opened this issue Oct 18, 2018 · 7 comments

Comments

@jimlynnjulian
Copy link

Hello,
Perhaps more of a question/suggestion.
I've been using Pisth to replace my other SSH apps since I discovered Pisth some time ago.
My issue concerns the duration of the app when idle. I use the app to control the linear actuator that positions a solar array. When troubleshooting or collecting data, I may leave the app idle for up to a minute. Everytime I leave the app idle, I have to restart the command line window again and re-enter the python code to control the array.
Is there a switch/option to allow a longer or unlimited delay between app actions.

@ColdGrub1384
Copy link
Owner

Hello,
Do the sessions stop immediately after suspending the app or after some time? The app is killed or only the session are stopped?

@jimlynnjulian
Copy link
Author

Hello,

Thanks for responding.
Here's a description of the process.

I open the app and select the Raspberry Pi computer address.

A window opens with folders on the destination site.

I click the icon for a command line session.

I run an operations script and examine the solar array or motor. In most cases, I run a Python script that takes Seconds and Direction as input. I position the array by running the actuator motor.

If I take a minute to examine the array, the command line session will auto-terminate and I will see the folders that were visible at the beginning of the session.

I have to click the command line icon again to reopen a command line window and type in the commands to run the actuator script again.

Jim Julian

@jimlynnjulian
Copy link
Author

jimlynnjulian commented Oct 19, 2018

A correction:
When I return to my iPhone and the app, the screen is frozen and selecting the back arrow returns to the window with folders, sftp.

I place the phone in my pocket while I examine the array.

I am aware my leg touch can trigger actions on the phone when I wear certain kinds of fabric.

@ColdGrub1384
Copy link
Owner

Thank you, I will try to fix it.

@ColdGrub1384
Copy link
Owner

Hello, I think I found the bug, and it's easy to fix it, but I'm not 100% sure if it's that. For testing, I created a script that prints text each second for 1 minute. When I run the script in background and I return to my phone, the terminal seems to not print text anymore but the script finished running. It looks like a freeze, but if I scroll down, I can see the command prompt. Can you please tell me if you can scroll and keep typing text?

@jimlynnjulian
Copy link
Author

Hello,
Yes. If I had scrolled down far enough, I would have made the discovery.

Thanks.

@ColdGrub1384
Copy link
Owner

Ok, thank you. I fixed the bug and a new update will be available very soon. be111c9

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

No branches or pull requests

2 participants