On shutdown do
gpio,5,0 //Prusa off
gpio,12,0 //Tronxy off
delay 15000
gpio,4,0 //rpi off
endon
This delay doesnt work. How can I change it, that I have a 15 sec delay?
Its for a bash script on RPI for Octopi.
How to delay in Rules
Moderators: grovkillen, Stuntteam, TD-er
Re: How to delay in Rules
Don't use the delay command, but rather set a timer.
See "timerset" : https://espeasy.readthedocs.io/en/lates ... rSet#timer
See "timerset" : https://espeasy.readthedocs.io/en/lates ... rSet#timer
Re: How to delay in Rules
On shutdown do
gpio,5,0 //Prusa off
gpio,12,0 //Tronxy off
timerSet,1,15
endon
On Rules#Timer=1 do
gpio,4,0 //rpi off
endon
Will this work?
edit: it works, thanks
gpio,5,0 //Prusa off
gpio,12,0 //Tronxy off
timerSet,1,15
endon
On Rules#Timer=1 do
gpio,4,0 //rpi off
endon
Will this work?
edit: it works, thanks
Re: How to delay in Rules
You're welcome.
Just one final notice... when do you trigger this event?
After the prusa has cooled down?
Make sure to allow the Prusa's extruder to be cooled down below 50C or else you will end up with a clogged extruder some day.
It needs the fan to remain spinning to make sure the filament will not stick to parts that will not be heated in normal operation.
Just one final notice... when do you trigger this event?
After the prusa has cooled down?
Make sure to allow the Prusa's extruder to be cooled down below 50C or else you will end up with a clogged extruder some day.
It needs the fan to remain spinning to make sure the filament will not stick to parts that will not be heated in normal operation.
Re: How to delay in Rules
I think Octoprint will set the moment to shutdown. I will look if there is such an option for cooldown.
Who is online
Users browsing this forum: Ahrefs [Bot] and 159 guests