Unable to set Enclosure heater temp after a print completes
If i set the temp it will be zero'd back out after a few seconds ( some times less ) the previous print had set enclosure temp to be off but the print is now finished and i need to heat the enclosure for the next print.
I'm not getting any errors, its as if it still thinks its printing, if i reset firmware i can set the enclosure temp to whatever i want like expected
START_PRINT (with expected params ) and END_PRINT exist in the Gcode
Solution:Jump to solution
just wanted to thank you both again, with your help i was able to print PPA-CF zero issues, entire enclosure properly heated with no manual intervention. It. Was. Glorious.
70 Replies
can you try setting the chamber temp on after END_PRINT?
you just need
END_PRINT
CHAMBER_TEMP=[chamber_temperature]
or whatever temp you want to keep
i'll try and see if i can set it right after this print ends. this didnt start until recently when i added the chamber params to the start_print line for machine... wonder if previous settings for start enclosure temp are being held and thats why? i'll check that too
the param on start print are for before printing, not after...
END_PRINT disables all heaters, including chamber
sending the command after end_print will not lock the machine like if it is still printing
END_PRINT for sure gets hit in the g-code, but i'll let ya know here in about an hour when this print ends
If you have it in the slicer end code, it will be there for sure π
it is lol, in most cases i dont know what my next print is, i've just been kinda printing back to back lately. Slowly learning how to do my own macros, i didnt realize that i could code them past what generic g-code could do ( its been 4-5 years since i used klipper last ). so this is kinda itching my dev brain to do things like set the start enclosure temp to the generic "what my enclosure can easily get to or some % of enclosure temp if below that value"
( none of this has been done yet but eventually will be )
print finished tried setting 80C to chamber heater, it held for about 2 seconds then set 0 in the text box and state off

gotcha!!! Back to back it is nice to have the chamber ready...
with the endcode?
nah just directly
you set it by hand/command. If that does not work, it will not work via endcode...
can you share byour ratos-debug.zip?
SET_HEATER_TEMPERATURE doesnt work it seems but CHAMBER_HEATER_ON does
interesting
i dont like using that macro though because it forces a wait
chamber heater on is a macro to enable the heater.
what are you using? external heater or bed?
external
can you share printer.cfg?
can you try changing [heater_fan chamber_heater_fan] to [fan_generic chamber_heater_extra_fan] stating only the fan pin?
nervermind... that's for an extra fan
oof these macros seems to need some work... they've got no way to bail if theyre in a wait
they are made for heating before printing
not maintaining a temp
can you try this:
_USER_START_PRINT_HEAT_CHAMBER CHAMBER_TEMP=80
if it works, you just need this after END_PRINT
_USER_START_PRINT_HEAT_CHAMBER CHAMBER_TEMP=[chamber_temperature]
nothing happened
@Helge Keck can you help, please?
Is there a way to keep the chamber temp after a print finishes?
its less important to have it happen after the print just purely that if i finish printing, i cant set the temp at all
say if the enclosure got back to room temp 12 hours later, unless i reset firmware setting chamber temps doesn't work ( via this )

maybe using
[gcode_macro _USER_END_PRINT_AFTER_HEATERS_OFF]
gcode:
whatever...
i dont want to use the chamber heater macro button because of its wait + required to hit the set temp ( my enclosure leaks heat quite bad and will never hit the heater set temp )
hmmm
can you hit the macro button and tell me what comes on the console?
then you can use _USER_END_PRINT_AFTER_HEATERS_OFF
you need to override the END_PRINT macro and remove that line at the end

or wait, i have something better
what i'd really like ( for my terrible enclosure at the moment ) is set heater to 80, and wait for chamber temp to hit like 45C, leaving the heater on but move forward with start printing
_USER_END_PRINT_FINISHED ?
and one sec, something is missing
_USER_END_PRINT_AFTER_HEATERS_OFF is before _CHAMBER_HEATER_OFF. Would never work π
you need to also pass the chaber temp aprameter to the END_PRINT macro in the slicer config, analog to the START_PRINT macro
END_PRINT START_CHAMBER_TEMP=[chamber_temperature] CHAMBER_TEMP=[chamber_temperature]
ive never tried to pass these parameters in the end print macro, there is a chance these variables are not available there, you need to test it
these are all nice and such... but doesn't explain why SET_HEATER_TEMPERATURE HEATER=chamber_heater TARGET=somevalue doesn't work after a print has finished
which is root issue π
@lordgufi needs it π
i'm trying to manually set the temp after a print has finished not automated π
use
CHAMBER_HEATER_ON CHAMBER_TEMP=50
this is not an usual heater like bed or hotend. needs to be treated differently
you need to enable the heater and then set the temp...Like what Helge just said
i dont want to use that macro because my enclosure will never hit CHAMBER_TEMP due to leaky
meaning i'll never be able to print π
then you need to add a temp that is available for your setup
you da man!!! thank you!
i can set 35C and the heater will never get the enclosure there...
if i set 80C it will get me to 55C and once the print starts it will easily maintain it with just the bed alone
Very small heater thenβ¦
its a 1500W heater with a 120 mm fan on it so not really
I use a 600w office heater (for a 300 machine) and 10 minutes gets it to 70C
i'm working around a leaky enclosure which the real answer is "fix that" but not in the cards at the moment
Silicone π
by leaky i dont mean there are air gaps, the material i used just transfers heat too well ( 1/4 fiber board for now )
Oh, ok. Dissipates a lot
Try the command above
chamber temp is not the chamber heater temp
if you set the chamber temp to 50 for example, then the ehater will heat up to 150Β°
you can configure this value
.... ??? mine has never done that
bc you are using the wrong command
you tried to set tzhe ehater directly, that is nto correct
ratos handles everything for you, jsut use the provided macros
if i use this button it wont even do that:

which is that macro
i highly recommend to read the RatOS chamber heater documentation
it will for sure
if you have the hardware setup correct done
found it... maybe
variable_chamber_heater_preheating_temp: 50

hahahaha Thats the ticket!
this is the temp the heater will set to, not the target chamber temp
heater is not full blast
i mean it even explains it

yep
with that manual????????
we need a new one π
while true, it was never clear ( while setting this up ) that the heater temp was what it would set vs the chamber temp
it makes sense the more i know now but i forgot i set this when i first did everything
thanks yall, This works and i just configured it wrong.
Solution
just wanted to thank you both again, with your help i was able to print PPA-CF zero issues, entire enclosure properly heated with no manual intervention. It. Was. Glorious.
great