One time trigger functions in e-paper.py (instead of starting the loop?) #13
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: m.giller/E-Paper-Calendar#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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
Added the new option to the settings file. You may want to update your calendar software and add the new settings,
max_loop_count
andrun_on_hour
, to your personal settings file.Max
I am going to close this topic for now. Feel free to open it up again or create a new issue!