One time trigger functions in e-paper.py (instead of starting the loop?) #13

Closed
opened 2020-01-11 22:18:29 +01:00 by iroQuai · 3 comments
iroQuai commented 2020-01-11 22:18:29 +01:00 (Migrated from github.com)

Is there a way to get back to the console after opening E-Paper.py? I'm testint out different settings and designs and it gets a bit annoying to open up a new putty window everytime I've refreshed the screen (thanks for the output to file btw, saves time!)

Maybe there's a button combo i don't know about to return to console? Or otherwise maybe a setting I could edit to stop the loop from starting?

Is there a way to get back to the console after opening E-Paper.py? I'm testint out different settings and designs and it gets a bit annoying to open up a new putty window everytime I've refreshed the screen (thanks for the output to file btw, saves time!) Maybe there's a button combo i don't know about to return to console? Or otherwise maybe a setting I could edit to stop the loop from starting?
mgfcf commented 2020-01-12 09:11:06 +01:00 (Migrated from github.com)

You can use CTRL+C to interrupt a script that is running in the foreground. There might some points in the software, where using this does not stop it, due to some error catching going on, but in most cases that should work.

If you want to prevent the script from starting at boot, you should add the option autostart=false to /etc/supervisor/conf.d/E-Paper.conf.

I will add an option in the settings to run the script just once for convenience.

Max

You can use CTRL+C to interrupt a script that is running in the foreground. There might some points in the software, where using this does not stop it, due to some error catching going on, but in most cases that should work. If you want to prevent the script from starting at boot, you should add the option `autostart=false` to `/etc/supervisor/conf.d/E-Paper.conf`. I will add an option in the settings to run the script just once for convenience. Max
mgfcf commented 2020-01-12 09:36:27 +01:00 (Migrated from github.com)

Added the new option to the settings file. You may want to update your calendar software and add the new settings, max_loop_count and run_on_hour, to your personal settings file.

Max

Added the new option to the settings file. You may want to update your calendar software and add the new settings, `max_loop_count` and `run_on_hour`, to your personal settings file. Max
mgfcf commented 2020-01-20 07:27:48 +01:00 (Migrated from github.com)

I am going to close this topic for now. Feel free to open it up again or create a new issue!

I am going to close this topic for now. Feel free to open it up again or create a new issue!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: m.giller/E-Paper-Calendar#13
No description provided.