Unable to configure DS18B20 as [temperature_sensor Chamber]

Hey guys,

i am facing an issue, I am not able to solve.
I just want to configure a DS18B20 temperature sensor as a Chamber-Sensor. The DS18B20 is wired to my Raspi and the required resistor is wired as well. I already can read the temperature in the following path: /sys/bus/w1/devices/28-020e9177e866/w1_slave

There you can find the example config how to configure the printer.cfg: Configuration reference - Klipper documentation
If I am following the reference, I get this error: "Unknown config object ‘mcu host_mcu’ "
I tried many different options, but failed every time.

klippy.log (106.1 KB)

Can anyone help me?

Thanks a lot!

In your config the RPi MCU is not configured. See RPi microcontroller - Klipper documentation

Then your DS18B20 config should look like:

[temperature_sensor my_DS18B20]
sensor_type: DS18B20
serial_no: 28-020e9177e866

This worked for me! Thanks a lot!!

–close–

Hi guys, I am facing this problem again, since an update. I just cant find, how to reconfigure and also the manual doesnt help to me.
Can anyone check, what went wrong?

Thanks!
klippy.log (7.3 KB)

Replace

[ds18b20 Chamber]
sensor_type = DS18B20
serial_no = 28-020e9177e866
ds18_report_time = 1.0
sensor_mcu = host

by

[temperature_sensor Chamber]
sensor_type = DS18B20
serial_no = 28-020e9177e866
ds18_report_time = 1.0
sensor_mcu = host

And, no, this did not happen because of an update …

It worked! thanks!
Still curious why it stopped working then :wink: