marcolivierarsenault / moonraker-home-assistant

Home Assistant integration for Moonraker, Klipper and Mainsail
https://moonraker-home-assistant.readthedocs.io
MIT License
265 stars 28 forks source link

dual Extruder missing Temp sensors from second extruder, MCU and stepper motors #348

Closed Damada42 closed 6 months ago

Damada42 commented 6 months ago

Version of the moonraker integration

1.2.0

Describe your setup

I have a rebuild tronxy x5sa pro (dual extruder 2in 1) with Klipper (v0.12.0-192), Moonraker(v0.8.0-377) and Mainsail running from a Raspberry Pi 4.

config for temperature sensors

`[temperature_sensor raspberry_pi] sensor_type: temperature_host min_temp: 10 max_temp: 100

[temperature_sensor mcu_temp] sensor_type: temperature_mcu min_temp: 0 max_temp: 100

[temperature_sensor Treiber_temp] sensor_type: ATC Semitec 104GT-2 sensor_pin: PF5 min_temp: 0 max_temp: 100

[temperature_sensor E1_temp] sensor_type: ATC Semitec 104GT-2 sensor_pin: PF7 min_temp: 0 max_temp: 100

[temperature_sensor E2_temp] sensor_type: ATC Semitec 104GT-2 sensor_pin: PF6 min_temp: 0 max_temp: 100`

config for dual extruder

`#################################### E ############################## [extruder] nozzle_diameter: 0.600 filament_diameter: 1.750 heater_pin: PA3 sensor_type: ATC Semitec 104GT-2 pullup_resistor: 4700 sensor_pin: PF3 step_pin: PF9 dir_pin: PF10 enable_pin: !PG2

microsteps: 16

rotation_distance: 22.9977

microsteps: 32 rotation_distance: 4.7253 max_extrude_cross_section: 15

control: pid

pid_Kp: 18.831

pid_Ki: 0.821

pid_Kd: 108.044

max_extrude_only_velocity: 120 max_extrude_only_accel: 100000 max_extrude_only_distance: 8000 pwm_cycle_time: 0.010 min_temp: 0 min_extrude_temp: 0 max_temp: 310 max_extrude_only_distance: 30000 max_extrude_only_velocity: 120 max_extrude_only_accel: 10000

#################################### E2 ############################## [extruder_stepper extruder1] extruder: extruder step_pin: PC13 dir_pin: PF0 enable_pin: !PF1

microsteps: 16

rotation_distance: 22.5308

microsteps: 32 rotation_distance: 4.7253

nozzle_diameter: 0.600

filament_diameter: 1.750

max_extrude_only_distance: 3000

shared_heater: extruder

##################### Formel Extruder Kalib.############################

Calculate rotation_distance as:

rotation_distance = * /

Round the new rotation_distance to three decimal places.

############################################### Temp Sensor #################################################

[thermistor winsinn_ht-ntc100k] temperature1: 25 resistance1: 100000 temperature2: 80 resistance2: 8300 temperature3: 220 resistance3: 127 `

Describe the bug

The temperature of the MCU of the extruders as well as of the stepper motors is missing. It looks like there are problems with the sensor_type ‘ATC Semitec 104GT-2’. And the log also says something about telegrambot?

Moonraker Logs

klipper_temp_overview moonraker_entitys home-assistant_moonraker_2024-05-29T20-35-36.384Z.log moonraker2 (1).log

marcolivierarsenault commented 6 months ago

fix in latest version of the code.

get main https://moonraker-home-assistant.readthedocs.io/en/stable/support/latest.html