Generic heater with min_power=max_power and higher pwm_cycle_time?

trying to implement an easy chamber-heater:

so i bought a litte AC-heater and added a relays to switch it on and off

I saw klipper setting the heater_pin to values like 30% => it should only be on or off
also it should no be switched on/off several times within 10-15-30 seconds
how do you do chamber/ enclosure heating?

dht11 sensor is not supported by clipper?

my config:
[heater_generic Chamber]
heater_pin: !PA5
max_power: 1.0
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA2
smooth_time: 2.0
pwm_cycle_time: 0.3
control: watermark
max_delta: 3.0
min_temp: 0
max_temp: 100
gcode_id: C

setting gcode_id was a challenge as I have mainsail, fluidd and octoprint active and depending on A, C or X one of the web-interfaces crashed filtering temp-reports ~~

If you use control=watermark and max_power=1 then Klipper should only ever set the power fully on or fully off.

It should not be necessary to specify a gcode_id, and there is no reason to when using mainsail/fluidd.

If you think that’s not working properly, please attach the full Klipper log demonstrating the problem here.

-Kevin

looks like a shutdown and restart solved - may also mainsail showed something wrong - heating/relays was not connected that time

@gcode_id, I tried to tell OctoPrint I now have an enclosure :wink: and it’s the easiest way to show the chamer-temp in TopTemp