Skip to content

(fix): Cherry-picking mainline Klipper AHT10 commits and adding method to temperature_combined#6

Open
jimmyjon711 wants to merge 4 commits into
Snapmaker:mainfrom
jimmyjon711:temperature_patch
Open

(fix): Cherry-picking mainline Klipper AHT10 commits and adding method to temperature_combined#6
jimmyjon711 wants to merge 4 commits into
Snapmaker:mainfrom
jimmyjon711:temperature_patch

Conversation

@jimmyjon711

Copy link
Copy Markdown

Cherry-picked the following commits so that users can properly use AHT10 class for AHT20/AHT30 temperature sensors:

Screenshot of this working, lane1/lane2 in picture below uses AHT2X sensors:

  • Config setup:
image
  • Temperature reporting correctly:
image

Added set_read_tolerance method to temperature_combined.py so that users can combine multiple temperature sensors, without this change klipper errors out since heaters.py tries to update read tolerance and this method does not exist for this call. This is ok to add since temperature_combined does not communicate with MCUs, but instead combines temperature values from multiple temperature sensors.

Screenshot below is from my ViViD connected to my U1 🙂, as it uses temperature combined with AHT3X sensors:

  • Config setup:
image - Temperature reporting correctly: image

loss-and-quick and others added 4 commits June 13, 2026 09:00
Signed-off-by: Lev Voronov <minicx@disroot.org>
Split into three classes with proper init commands:
- AHT1x: 0xE1 (AHT10, AHT15)
- AHT2x: 0xBE (AHT20, AHT21, AHT25)
- AHT3x: auto-cal (AHT30)

Signed-off-by: Lev Voronov <minicx@disroot.org>
Signed-off-by: Lev Voronov <minicx@disroot.org>
- Adding place holder method so that temperature_combined can be
  used without klipper erroring out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants