Developing an extra - issue with http request

@GoTVm ,

  1. You might want to look at heater_generic.py

  2. Example to get access to the heater bed, then you can get temperature from it.

    printer.objects['heater_bed'].heater.smoothed_temp # can use .target_temp to get target
    
  3. I wrote a Klippy extra tutorial that you might find helpful.


Keep in mind that Klippy extras are unsupported officially, hence the lack of official docs around them.

1 Like