hello, i want to configure htu21d on raspberry pi second mcu
my config :
[mcu host]
serial: /tmp/klipper_host_mcu
[temperature_sensor enclosure_temp]
sensor_type: HTU21D
i2c_mcu: host
htu21d_resolution: TEMP14_HUM12
[gcode_macro QUERY_ENCLOSURE]
gcode:
{% set sensor = printer["htu21d enclosure_temp"] %}
{action_respond_info(
"Temperature: %.2f C\n"
"Humidity: %.2f%%" % (
sensor.temperature,
sensor.humidity))}
[adxl345]
cs_pin: host:None
# Raspberry pi host config
[resonance_tester]
accel_chip: adxl345
probe_points:
0,0,20 # an example
i get error :
MCU ‘host’ error during config: Unable to open i2c device
Once the underlying issue is corrected, use the
“FIRMWARE_RESTART” command to reset the firmware, reload the
config, and restart the host software.
Error configuring printer