Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensors: add sht31 support #6560

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Conversation

nefelim4ag
Copy link
Contributor

@nefelim4ag nefelim4ag commented Apr 11, 2024

I don't know why no one added this before, because Klipper already has an SHT2x family
So I got one and implemented support.

Hope it will be useful.

Thanks!


My current motivation:
I have BME* family for the chamber and SHT because wider temperature support will be used for the filament hot box/dryer, I can and will heat it to 110 C, and support for humidity will help in that case.
/* And SHT3x/SHT4x are easier to get nowadays */

Datasheet

@nefelim4ag nefelim4ag force-pushed the master branch 3 times, most recently from ff602e0 to aa005c3 Compare April 11, 2024 01:36
@JamesH1978
Copy link
Collaborator

Thank you for submitting a PR, pleas refer to point 3 in "What to expect in a review" in https://github.com/Klipper3d/klipper/blob/master/docs/CONTRIBUTING.md and provide a signed off by line.

Thanks
James

Copy link
Collaborator

@KevinOConnor KevinOConnor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. In general it seems fine to me. I have a few comments - see below.

-Kevin

config/sample-macros.cfg Outdated Show resolved Hide resolved
klippy/extras/sht3x.py Show resolved Hide resolved
klippy/extras/sht3x.py Show resolved Hide resolved
klippy/extras/temperature_sensors.cfg Outdated Show resolved Hide resolved
klippy/extras/temperature_sensors.cfg Outdated Show resolved Hide resolved
@KevinOConnor KevinOConnor added the pending feedback Topic is pending feedback from submitter label Apr 13, 2024
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
@nefelim4ag
Copy link
Contributor Author

Just notice,
I have tried to use a macro like "QUERY_SHT3X" and looks like a console from Fluidd just ignores the last 'X' and shows errors like:

Unknown command 'QUERY_SHT3'

Maybe if Klipper internally has some sort of special handling of trailing 'X'
The module named with X on End is not perfect?

@TheFuzzyGiggler
Copy link

TheFuzzyGiggler commented Apr 19, 2024

I might be blind but I don't see anywhere you implement the GCode command

class SHT3X:
    def __init__(self, config):
        self.printer = config.get_printer()
        self.name = config.get_name().split()[-1]
        self.reactor = self.printer.get_reactor()
        self.i2c = bus.MCU_I2C_from_config(
            config, default_addr=SHT3X_I2C_ADDR, default_speed=100000)
        self.report_time = config.getint('sht3x_report_time', 1, minval=1)
        self.deviceId = config.get('sensor_type')
        self.temp = self.min_temp = self.max_temp = self.humidity = 0.
        self.sample_timer = self.reactor.register_timer(self._sample_sht3x)
        self.printer.add_object("sht3x " + self.name, self)
        self.printer.register_event_handler("klippy:connect",
                                            self.handle_connect)

You need to have something like

self.gcode.register_command('QUERY SH3X', self.cmd_QUERY_SHT3X,
           desc=self.cmd_QUERY_SHT3X_help)

and then define it

cmd_QUERY_SHT3X_help = ("Queries the values from the SHT3X Temp/Humidity Sensor")
def cmd_QUERY_SHT3X(self,gcmd):
     etime = self.reactor.monotonic()
     return self._sample_sht3x(etime)

@nefelim4ag
Copy link
Contributor Author

nefelim4ag commented Apr 20, 2024

@TheFuzzyGiggler
I mean something like this:

[gcode_macro QUERY_HTU21D]

The same copy-paste macro for this sensor has been dropped by request of @KevinOConnor above.


So, I'm talking about trying to define a similar gcode macro.
image
image

@KevinOConnor KevinOConnor merged commit 713b509 into Klipper3d:master Apr 20, 2024
1 check passed
@KevinOConnor
Copy link
Collaborator

Thanks.

-Kevin

rogerlz referenced this pull request in DangerKlippers/danger-klipper Apr 23, 2024
* stm32: fix support for USARTs on STM32G0B0

Signed-off-by: Robert Cambridge <robert@cambridge.me>

* makefile: Replace CFLAGS -I with -iquote

The -iquote tells GCC to only search that path when resolving a quoted
"include" (vs <angle brackets>) which by convention imples a include from
the projects own soruce tree. This prevents a conflict between Klippers
"sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>.

Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

* linux: Don't use absolute paths for include

Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy,
instead relative paths should be used and allowing GCC to rely on it's
builtin search paths.

Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

* manual_stepper: Add basic status. (#6527)

Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it.

Signed-off-by: Viesturs Zarins <viesturz@gmail.com>

* klippy: remove a few unused variable assignments (#6504)

Signed-off-by: Kamil Domański <kamil@domanski.co>

* mcu: Separate trdispatch handling from MCU_endstop class

Create a new TriggerDispatch class to track the low-level handling of
the trdispatch mechanism.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* probe: Add a probing_move() wrapper to low-level mcu_probe class

This allows the low-level probe class more control on the probing
implementation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* sensor_ldc1612: Initial support for bulk reading ldc1612 sensor

Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* ldc1612: Initial host support for reading ldc1612 bulk sensor data

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command

Add a command to calibrate the sensor DRIVE_CURRENT0 register.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* probe_eddy_current: Support calibrating Z height to sensor frequency

Add a calibration tool that can be used to correlate sensor frequency
to bed Z height.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* probe_eddy_current: Initial support for PROBE command

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* probe_eddy_current: Use sensor value at halt position for "trigger" position

Calculate the sensor Z position after the probe halts and return that
as the "probed position".  This sensor position provides a more
accurate measurement.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* docs: Add documentation for probe_eddy_current

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* docs: Add a new Eddy_Probe.md document

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* motan: Add support for graphing ldc1612 coil frequencies

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"

This reverts commit b029d04.

The MCU_Stepper class does not have a is_motor_enabled() method, so
the change above results in an internal exception.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* homing_override: Adds rawparams support

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

* docs: Fix typo in Resonance_Compensation.md

Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>

* config: Artillery Sidewinder X3 (#6534)

Signed-off-by: Phil Timpson <theferalengineer@gmail.com>

* virtual_sdcard: Define a default for on_gcode_error

If on_gcode_error is not specified, default to running the
TURN_OFF_HEATERS command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md

Some Linux systems do not install ifconfig, while ip should always be
available.  So, update the canbus documentation to recommend that.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* docs: Add information on txqueuelen to CANBUS_Troubleshooting.md

Provide some background information on the Linux can interface
txqueuelen parameter, errors that it can cause, and considerations
when configuring it.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* adxl345: Move sample timestamp calculation to reusable code

Add a new extract_samples() method to the ChipClockUpdater class that
calculates the sample timestamp for each sample in a list of bulk
sensor reports.

Update the adxl345 code to use that extract_samples() code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* lis2dw: Use extract_samples() for sample timestamp calculation

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* mpu9250: Use extract_samples() for sample timestamp calculation

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* ldc1612: Use extract_samples() for sample timestamp calculation

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* bulk_sensor: Refactor ChipClockUpdater constructor

Build the clock_sync and struct.Struct() in the ChipClockUpdater
constructor.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader

Move the sensor_bulk_data message queuing into the class, and then
rename that class.  This simplifies the users of the code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* bulk_sensor: Rename BulkDataQueue methods

Rename pull_samples() to pull_queue() and rename clear_sample() to
clear_queue().  This avoids confusion between the queue of response
messages and the larger list of samples stored within those messages.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* docs: Update CANBUS_Troubleshooting.md to avoid formatting error

Avoid starting a line with "128." as that confused markdown.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

* sht3x: Add sht31 support (#6560)

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>

* docs: Fix typo in Bed_Mesh.md (#6572)

Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>

* format

---------

Signed-off-by: Robert Cambridge <robert@cambridge.me>
Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
Signed-off-by: Viesturs Zarins <viesturz@gmail.com>
Signed-off-by: Kamil Domański <kamil@domanski.co>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>
Signed-off-by: Phil Timpson <theferalengineer@gmail.com>
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>
Co-authored-by: Robert Cambridge <robert@cambridge.me>
Co-authored-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
Co-authored-by: Viesturs Zariņš <viesturz@gmail.com>
Co-authored-by: Kamil Domański <kamil@domanski.co>
Co-authored-by: Kevin O'Connor <kevin@koconnor.net>
Co-authored-by: Pedro Lamas <pedrolamas@gmail.com>
Co-authored-by: trofen <39155883+trofen@users.noreply.github.com>
Co-authored-by: TheFeralEngineer <74030381+TheFeralEngineer@users.noreply.github.com>
Co-authored-by: Timofey Titovets <nefelim4ag@gmail.com>
Co-authored-by: Alessandro Maggi <59124971+DicyRoll@users.noreply.github.com>
Zeanon referenced this pull request in Zeanon/danger-klipper Apr 25, 2024
commit 3f3d378
Merge: c3cd269 7884129
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 22:37:40 2024 +0100

    Merge branch 'master' into upstream_pr

commit 7884129
Author: Frédéric Beaucamp <fbeaukmi@mailo.eu>
Date:   Tue Apr 23 22:38:38 2024 +0200

    Some improvements to dockable_probe (DangerKlippers#175)

    * add restore_toolhead, extract_position, insert_position settings

    * Fix : Black format

    .

    Signed-off-by: Frédéric Beaucamp <fbeaukmi@mailo.eu>

    * add parameters in test config

    ---------

    Signed-off-by: Frédéric Beaucamp <fbeaukmi@mailo.eu>

commit b97b4bd
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 16:26:00 2024 -0400

    update to latest Klipper3d/klipper (2f6e94c) (DangerKlippers#216)

    * stm32: fix support for USARTs on STM32G0B0

    Signed-off-by: Robert Cambridge <robert@cambridge.me>

    * makefile: Replace CFLAGS -I with -iquote

    The -iquote tells GCC to only search that path when resolving a quoted
    "include" (vs <angle brackets>) which by convention imples a include from
    the projects own soruce tree. This prevents a conflict between Klippers
    "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

    * linux: Don't use absolute paths for include

    Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy,
    instead relative paths should be used and allowing GCC to rely on it's
    builtin search paths.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

    * manual_stepper: Add basic status. (#6527)

    Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it.

    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>

    * klippy: remove a few unused variable assignments (#6504)

    Signed-off-by: Kamil Domański <kamil@domanski.co>

    * mcu: Separate trdispatch handling from MCU_endstop class

    Create a new TriggerDispatch class to track the low-level handling of
    the trdispatch mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe: Add a probing_move() wrapper to low-level mcu_probe class

    This allows the low-level probe class more control on the probing
    implementation.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * sensor_ldc1612: Initial support for bulk reading ldc1612 sensor

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Initial host support for reading ldc1612 bulk sensor data

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command

    Add a command to calibrate the sensor DRIVE_CURRENT0 register.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Support calibrating Z height to sensor frequency

    Add a calibration tool that can be used to correlate sensor frequency
    to bed Z height.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Initial support for PROBE command

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Use sensor value at halt position for "trigger" position

    Calculate the sensor Z position after the probe halts and return that
    as the "probed position".  This sensor position provides a more
    accurate measurement.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add documentation for probe_eddy_current

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add a new Eddy_Probe.md document

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * motan: Add support for graphing ldc1612 coil frequencies

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"

    This reverts commit b029d04.

    The MCU_Stepper class does not have a is_motor_enabled() method, so
    the change above results in an internal exception.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * homing_override: Adds rawparams support

    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

    * docs: Fix typo in Resonance_Compensation.md

    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>

    * config: Artillery Sidewinder X3 (#6534)

    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>

    * virtual_sdcard: Define a default for on_gcode_error

    If on_gcode_error is not specified, default to running the
    TURN_OFF_HEATERS command.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md

    Some Linux systems do not install ifconfig, while ip should always be
    available.  So, update the canbus documentation to recommend that.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add information on txqueuelen to CANBUS_Troubleshooting.md

    Provide some background information on the Linux can interface
    txqueuelen parameter, errors that it can cause, and considerations
    when configuring it.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * adxl345: Move sample timestamp calculation to reusable code

    Add a new extract_samples() method to the ChipClockUpdater class that
    calculates the sample timestamp for each sample in a list of bulk
    sensor reports.

    Update the adxl345 code to use that extract_samples() code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * lis2dw: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * mpu9250: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Refactor ChipClockUpdater constructor

    Build the clock_sync and struct.Struct() in the ChipClockUpdater
    constructor.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader

    Move the sensor_bulk_data message queuing into the class, and then
    rename that class.  This simplifies the users of the code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Rename BulkDataQueue methods

    Rename pull_samples() to pull_queue() and rename clear_sample() to
    clear_queue().  This avoids confusion between the queue of response
    messages and the larger list of samples stored within those messages.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Update CANBUS_Troubleshooting.md to avoid formatting error

    Avoid starting a line with "128." as that confused markdown.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * sht3x: Add sht31 support (#6560)

    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>

    * docs: Fix typo in Bed_Mesh.md (#6572)

    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>

    * format

    ---------

    Signed-off-by: Robert Cambridge <robert@cambridge.me>
    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>
    Signed-off-by: Kamil Domański <kamil@domanski.co>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>
    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>
    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>
    Co-authored-by: Robert Cambridge <robert@cambridge.me>
    Co-authored-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
    Co-authored-by: Viesturs Zariņš <viesturz@gmail.com>
    Co-authored-by: Kamil Domański <kamil@domanski.co>
    Co-authored-by: Kevin O'Connor <kevin@koconnor.net>
    Co-authored-by: Pedro Lamas <pedrolamas@gmail.com>
    Co-authored-by: trofen <39155883+trofen@users.noreply.github.com>
    Co-authored-by: TheFeralEngineer <74030381+TheFeralEngineer@users.noreply.github.com>
    Co-authored-by: Timofey Titovets <nefelim4ag@gmail.com>
    Co-authored-by: Alessandro Maggi <59124971+DicyRoll@users.noreply.github.com>

commit c3cd269
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 16:03:51 2024 +0100

    format

commit 5ed6d70
Merge: ca37123 2f6e94c
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 15:59:52 2024 +0100

    Merge upstream Klipper3d:klipper

commit 2f6e94c
Author: Alessandro Maggi <59124971+DicyRoll@users.noreply.github.com>
Date:   Sun Apr 21 00:57:58 2024 +0200

    docs: Fix typo in Bed_Mesh.md (#6572)

    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>

commit 713b509
Author: Timofey Titovets <nefelim4ag@gmail.com>
Date:   Sun Apr 21 00:42:31 2024 +0200

    sht3x: Add sht31 support (#6560)

    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>

commit 28faf81
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 20 13:23:42 2024 -0400

    docs: Update CANBUS_Troubleshooting.md to avoid formatting error

    Avoid starting a line with "128." as that confused markdown.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 8195993
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Apr 14 12:39:27 2024 -0400

    bulk_sensor: Rename BulkDataQueue methods

    Rename pull_samples() to pull_queue() and rename clear_sample() to
    clear_queue().  This avoids confusion between the queue of response
    messages and the larger list of samples stored within those messages.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit abb7910
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Apr 14 12:33:22 2024 -0400

    bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader

    Move the sensor_bulk_data message queuing into the class, and then
    rename that class.  This simplifies the users of the code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 9ceaae3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 21:02:04 2024 -0400

    bulk_sensor: Refactor ChipClockUpdater constructor

    Build the clock_sync and struct.Struct() in the ChipClockUpdater
    constructor.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 56829b0
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:26:16 2024 -0400

    ldc1612: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit f73e6dc
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:20:59 2024 -0400

    mpu9250: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 144af05
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:17:20 2024 -0400

    lis2dw: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 95fdb68
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:03:47 2024 -0400

    adxl345: Move sample timestamp calculation to reusable code

    Add a new extract_samples() method to the ChipClockUpdater class that
    calculates the sample timestamp for each sample in a list of bulk
    sensor reports.

    Update the adxl345 code to use that extract_samples() code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit c106955
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Apr 12 14:25:05 2024 -0400

    docs: Add information on txqueuelen to CANBUS_Troubleshooting.md

    Provide some background information on the Linux can interface
    txqueuelen parameter, errors that it can cause, and considerations
    when configuring it.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 12e9b63
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Apr 12 11:37:01 2024 -0400

    docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md

    Some Linux systems do not install ifconfig, while ip should always be
    available.  So, update the canbus documentation to recommend that.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 2425a74
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 23:22:10 2024 -0400

    virtual_sdcard: Define a default for on_gcode_error

    If on_gcode_error is not specified, default to running the
    TURN_OFF_HEATERS command.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 36f9b26
Author: TheFeralEngineer <74030381+TheFeralEngineer@users.noreply.github.com>
Date:   Fri Apr 12 12:27:36 2024 -0400

    config: Artillery Sidewinder X3 (#6534)

    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>

commit 75d7c17
Author: trofen <39155883+trofen@users.noreply.github.com>
Date:   Thu Apr 11 17:58:47 2024 +0300

     docs: Fix typo in Resonance_Compensation.md

    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>

commit c37329e
Author: Pedro Lamas <pedrolamas@gmail.com>
Date:   Thu Apr 11 10:26:01 2024 +0100

    homing_override: Adds rawparams support

    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

commit ca37123
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Fri Apr 12 06:08:35 2024 -0400

    hotfix: disable min_cruise_ratio correctly (DangerKlippers#209)

    * hotfix: disable min_cruise_ratio correctly

    * duplicated code

commit fc4abbf
Author: Zeanon <thezeanon@gmail.com>
Date:   Thu Apr 11 23:48:52 2024 +0200

    Custom threshold for PROBE_POINTS_INCREASING check on QGL and Z_TILT (DangerKlippers#189)

    * Initial Implementation

    * Added readme

    * added ci tests

    ---------

    Co-authored-by: Rogerio Goncalves <rogerlz@gmail.com>

commit 4cfa266
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Wed Apr 10 10:38:48 2024 -0400

    manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"

    This reverts commit b029d04.

    The MCU_Stepper class does not have a is_motor_enabled() method, so
    the change above results in an internal exception.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d209dee
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:27:56 2024 +0200

    Save without restart (DangerKlippers#191)

    * SAVE_CONFIG without restart

    * black formatting

    * Added caution warning

    * Update README.md

    * Added test case

    ---------

    Co-authored-by: Rogerio Goncalves <rogerlz@gmail.com>

commit c906c80
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:02:54 2024 +0200

    Use recursive globs to include config files (DangerKlippers#200)

    * Initial Implementation

    * Updated Readme

    * Added CI tests

    * writing the right name for what you want to include actually helps

commit 2e67d37
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:02:00 2024 +0200

    Also expose temperature_fan and temperature_sensor (DangerKlippers#201)

    * Update mcu.py

    * Include Temperature_fan

    * removed ununsed paranthesis

    * cleaned up the code and removed loops

    * Added Thermocouples

    * code cleanup

commit 898009a
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 13:44:14 2024 +0200

    Fixed issues with HappyHare (DangerKlippers#188)

    * Fixed issues with HappyHare

    * Added doc and fixed reset behaviour

    * Removed unused import

commit a8b493a
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 19:05:25 2023 -0500

    motan: Add support for graphing ldc1612 coil frequencies

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b098972
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 00:36:32 2024 -0500

    docs: Add a new Eddy_Probe.md document

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 30e0fdd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 23:53:57 2024 -0500

    docs: Add documentation for probe_eddy_current

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 28281c5
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 21:56:04 2024 -0500

    probe_eddy_current: Use sensor value at halt position for "trigger" position

    Calculate the sensor Z position after the probe halts and return that
    as the "probed position".  This sensor position provides a more
    accurate measurement.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 13b2926
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 13:32:41 2024 -0500

    probe_eddy_current: Initial support for PROBE command

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b0d90fd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Dec 30 21:07:19 2023 -0500

    probe_eddy_current: Support calibrating Z height to sensor frequency

    Add a calibration tool that can be used to correlate sensor frequency
    to bed Z height.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d84fc43
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 00:06:44 2024 -0500

    ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command

    Add a command to calibrate the sensor DRIVE_CURRENT0 register.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit da2b258
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 17:50:34 2023 -0500

    ldc1612: Initial host support for reading ldc1612 bulk sensor data

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b8f1df3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 12:23:32 2023 -0500

    sensor_ldc1612: Initial support for bulk reading ldc1612 sensor

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit acdf8bb
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 21:33:56 2024 -0500

    probe: Add a probing_move() wrapper to low-level mcu_probe class

    This allows the low-level probe class more control on the probing
    implementation.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit fa5fa74
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Jan 6 19:27:56 2024 -0500

    mcu: Separate trdispatch handling from MCU_endstop class

    Create a new TriggerDispatch class to track the low-level handling of
    the trdispatch mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 5c196ee
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 9 12:52:13 2024 -0400

    hotfix: replace max_accel_to_decel by minimum_cruise_ratio (DangerKlippers#203)

commit 8b7ac26
Author: Zeanon <thezeanon@gmail.com>
Date:   Tue Apr 9 18:40:31 2024 +0200

    Fix for CANCEL_PRINT issues (DangerKlippers#205)

commit 5c43763
Author: B <bwnance@gmail.com>
Date:   Sat Apr 6 13:35:22 2024 -0400

    HEATER_INTERRUPT command and INTERRUPT mutex (DangerKlippers#94)

    fix

    refactor with wait_while util

    cancel print too

    back to interrupt command

    fix gcode ref

    readme stuff

commit b6e2228
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 13:24:07 2024 -0400

    PR template (DangerKlippers#199)

commit 3a1a98b
Author: B <bwnance@gmail.com>
Date:   Sat Apr 6 13:02:46 2024 -0400

    Danger Options interface rework + new logging flags (DangerKlippers#197)

    * switch danger options to a directly-imported singleton

    * no relative import

    * fix import again

    * add not loaded yet exception

commit 6b94dfe
Merge: ac005d9 8b18d6b
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 13:01:17 2024 -0400

    Merge branch 'master' into upstream_pr

commit 8b18d6b
Author: Ryan Ghosh <56000109+rsghosh@users.noreply.github.com>
Date:   Sat Apr 6 10:01:01 2024 -0700

    Add trad_rack module (DangerKlippers#184)

    * Add trad_rack module and related documentation

    * trad_rack: update to match Annex-Engineering/TradRack@97d7582

commit ac005d9
Merge: 9c40d07 d6b0a6a
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 12:40:47 2024 -0400

    Merge branch 'master' into upstream_pr

commit 9c40d07
Author: Bea Nance <bwnance@gmail.com>
Date:   Sat Apr 6 12:29:02 2024 -0400

    accel to decel fix

commit d6b0a6a
Author: Zeanon <thezeanon@gmail.com>
Date:   Fri Apr 5 23:51:53 2024 +0200

    Fix small error for pid_profiles (DangerKlippers#196)

    I forgot to add one line...

commit 01c7bef
Author: Kamil Domański <kamil@domanski.co>
Date:   Fri Apr 5 23:43:43 2024 +0200

    klippy: remove a few unused variable assignments (#6504)

    Signed-off-by: Kamil Domański <kamil@domanski.co>

commit b029d04
Author: Viesturs Zariņš <viesturz@gmail.com>
Date:   Thu Apr 4 22:46:30 2024 +0200

    manual_stepper: Add basic status. (#6527)

    Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it.

    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>

commit 6f16e11
Author: Michael 'ASAP' Weinrich <michael@a5ap.net>
Date:   Thu Feb 15 20:17:08 2024 -0800

    linux: Don't use absolute paths for include

    Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy,
    instead relative paths should be used and allowing GCC to rely on it's
    builtin search paths.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

commit 24c884e
Author: Michael 'ASAP' Weinrich <michael@a5ap.net>
Date:   Thu Feb 15 20:11:47 2024 -0800

    makefile: Replace CFLAGS -I with -iquote

    The -iquote tells GCC to only search that path when resolving a quoted
    "include" (vs <angle brackets>) which by convention imples a include from
    the projects own soruce tree. This prevents a conflict between Klippers
    "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

commit 75a40e8
Author: Robert Cambridge <robert@cambridge.me>
Date:   Fri Mar 29 18:35:16 2024 +0100

    stm32: fix support for USARTs on STM32G0B0

    Signed-off-by: Robert Cambridge <robert@cambridge.me>

commit 1816834
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:46:19 2024 +0100

    disable stm32f031 tests for now

commit cdd0456
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:23:30 2024 +0100

    reformat

commit b581d17
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:21:32 2024 +0100

    missing line

commit af714dc
Merge: b9654d6 5e28068
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:13:22 2024 +0100

    Merge upstream Klipper3d:klipper

commit 5e28068
Author: John Unland <junland.foss@gmail.com>
Date:   Tue Apr 2 20:08:35 2024 -0600

    makefile: fix warning about lto serial compilation (#6543)

    Signed-off-by: John Unland <junland.foss@gmail.com>

commit 67c1527
Author: FOG_Yamato <contact@cybersnets.com>
Date:   Wed Apr 3 05:02:22 2024 +0300

    stm32: Add i2c3 bus to STM32H7 (#6541)

    Signed-off-by: Balanuta Simion <simion@fogyamato.dev>

commit 9e1cbdc
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 22:10:27 2024 -0400

    virtual_sdcard: Fix handling of unicode characters on Python2

    Commit 600e89a fixed unicode handling on Python3, but broke Python2
    support.  Use an alternate implementation that should work for both
    Python3 and Python2.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0aacbc3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 22:00:32 2024 -0400

    toolhead: Populate minimum_cruise_ratio to printer.configfile.settings

    The default minimum_cruise_ratio setting does not get populated to the
    printer.configfile.settings information due to the way the
    max_accel_to_decel backwards compatibility support was implemented.
    Slightly rework the config reading so that the default for
    minimum_cruise_ratio is populated there.

    Reported by @ReXT3D.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bedec55
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Wed Mar 20 20:02:27 2024 -0400

    motion_report: Don't negate step_distance on steppers with inverted dir pin

    When querying the stepper motion queue, the resulting "interval",
    "count", and "add" are already normalized to the correct direction.
    That is, the "count" field will be positive if moving in a positive
    axis direction and negative if moving in the reverse direction.  So,
    negating the step_distance field just complicates the readers.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 239f8e5
Author: Mathias Pihl <Newspaperman57@users.noreply.github.com>
Date:   Wed Apr 3 02:57:19 2024 +0200

    scripts: Mark install-ubuntu-22.04 as executable (#6505)

    Signed-off-by: Mathias Pihl <mathias@pihlerne.dk>

commit e37b007
Author: TheParanoidEngineer <158858389+TheParanoidEngineer@users.noreply.github.com>
Date:   Mon Mar 25 13:05:22 2024 -0400

    docs: Update Measuring_Resonances.md (#6515)

    Changed "libopenblas-base" to "libopenblas-dev"

    Signed-off-by: Philip Weber <philiprweb@gmail.com>

commit d904334
Author: Carl Richard Theodor Schneider <dev.github@crtified.me>
Date:   Wed Mar 13 22:24:05 2024 +0100

    linux: Allow for more i2c buses

    Similar to commit df79893, this allows klipper to use up to
    /dev/i2c-14. Similar to before, this limit is arbitrary.

    This is required for some other SoCs, which have even
    more i2c buses available, e.g. the rk3399:

    $ ls -1 /dev/i2c-*
    /dev/i2c-0
    /dev/i2c-3
    /dev/i2c-7

    Signed-off-by: Carl Richard Theodor Schneider <dev.github@crtified.me>

commit 40728e9
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 18:04:17 2023 -0500

    motan: Support recording lis2dw and mpu9250 sensors from data_logger.py

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit de1cf21
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 23:34:59 2024 -0500

    docs: Sort axis_twist_compensation in G-Codes.md

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit e6df93f
Author: Kamil Domański <kamil@domanski.co>
Date:   Wed Feb 21 00:23:57 2024 +0100

    tmc2240: add ADC voltage formatters

    Signed-off-by: Kamil Domański <kamil@domanski.co>

commit 235b75b
Author: Mad Beggar <ggiraudon@hotmail.com>
Date:   Tue Mar 19 16:16:42 2024 -0400

    hc32f460: Adding support for 100pin version of H32F460 (#6488)

    Signed-off-by: Guillaume Giraudon <ggiraudon@prism19.com>

commit 78a15b6
Author: Markus Küffner <kueffner.markus@gmail.com>
Date:   Fri Mar 15 16:29:35 2024 +0100

    scripts: use greenlet version depending on python version

    Signed-off-by: Markus Küffner <kueffner.markus@gmail.com>

commit bfb71bc
Author: BIGTREETECH <38851044+bigtreetech@users.noreply.github.com>
Date:   Fri Mar 15 22:12:05 2024 +0800

    stm32: Add i2c3_PC0_PC1 for stm32g0 (#6529)

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>

commit 09a78c3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 7 19:32:28 2024 -0500

    buildcommands: Add Klipper app name and license to mcu data dictionary

    Add the Klipper name and license to the mcu data dictionary so that it
    can be found in the flash.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0291a15
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 21:45:16 2024 -0500

    configfile: Add support for reporting runtime_warnings via the API server

    Add a new runtime_warning() method that will add a 'runtime_warning'
    type message to the printer.configfile.warnings object.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d99d1a8
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 21:32:36 2024 -0500

    mcu: Write a warning to the log if an incorrect mcu frequency is detected

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bb512ef
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 20:50:09 2024 -0500

    heaters: Clarify reported stats after a shutdown

    The pid logic can continue after a shutdown, even though the pin
    commands sent to the mcu are ignored.  However, this behavior can
    result in confusing "stats" messages in the log.  Explicitly disable
    updates after a shutdown event so that the log statistics are more
    clear.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bddefdd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 19:24:03 2024 -0500

    pid_calibrate: Fix PID_CALIBRATE command when used with heater_generic

    Make sure the SAVE_CONFIG command saves the calculated PID parameters
    to the correct config name.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0105aa3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Dec 3 18:50:44 2023 -0500

    toolhead: Replace max_accel_to_decel with minimum_cruise_ratio

    The user facing max_accel_to_decel setting is complicated and
    confusing.  Replace it with a new minimum_cruise_ratio parameter.
    Internally this user-facing parameter will calculate the existing
    low-level "accel_to_decel" mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 18de421
Author: Attila <rattila5@hotmail.com>
Date:   Sun Mar 10 15:48:48 2024 -0700

    stm32: Fix USART3 ALT pinout on STM32G0 (#6523)

    Signed-off-by: Attila Rakosi <rattila5@hotmail.com>

commit 71604b7
Author: Ulf D <1coderookie@quantentunnel.de>
Date:   Fri Mar 8 17:49:29 2024 +0100

    config: "static_value" in [output_pin enable_pin] is deprecated (#6520)

    Signed-off-by: Ulf Dieckmann <1coderookie@quantentunnel.de>
Zeanon referenced this pull request in Zeanon/danger-klipper Apr 25, 2024
commit 3f3d378
Merge: c3cd269 7884129
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 22:37:40 2024 +0100

    Merge branch 'master' into upstream_pr

commit 7884129
Author: Frédéric Beaucamp <fbeaukmi@mailo.eu>
Date:   Tue Apr 23 22:38:38 2024 +0200

    Some improvements to dockable_probe (DangerKlippers#175)

    * add restore_toolhead, extract_position, insert_position settings

    * Fix : Black format

    .

    Signed-off-by: Frédéric Beaucamp <fbeaukmi@mailo.eu>

    * add parameters in test config

    ---------

    Signed-off-by: Frédéric Beaucamp <fbeaukmi@mailo.eu>

commit b97b4bd
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 16:26:00 2024 -0400

    update to latest Klipper3d/klipper (2f6e94c) (DangerKlippers#216)

    * stm32: fix support for USARTs on STM32G0B0

    Signed-off-by: Robert Cambridge <robert@cambridge.me>

    * makefile: Replace CFLAGS -I with -iquote

    The -iquote tells GCC to only search that path when resolving a quoted
    "include" (vs <angle brackets>) which by convention imples a include from
    the projects own soruce tree. This prevents a conflict between Klippers
    "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

    * linux: Don't use absolute paths for include

    Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy,
    instead relative paths should be used and allowing GCC to rely on it's
    builtin search paths.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

    * manual_stepper: Add basic status. (#6527)

    Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it.

    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>

    * klippy: remove a few unused variable assignments (#6504)

    Signed-off-by: Kamil Domański <kamil@domanski.co>

    * mcu: Separate trdispatch handling from MCU_endstop class

    Create a new TriggerDispatch class to track the low-level handling of
    the trdispatch mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe: Add a probing_move() wrapper to low-level mcu_probe class

    This allows the low-level probe class more control on the probing
    implementation.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * sensor_ldc1612: Initial support for bulk reading ldc1612 sensor

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Initial host support for reading ldc1612 bulk sensor data

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command

    Add a command to calibrate the sensor DRIVE_CURRENT0 register.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Support calibrating Z height to sensor frequency

    Add a calibration tool that can be used to correlate sensor frequency
    to bed Z height.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Initial support for PROBE command

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * probe_eddy_current: Use sensor value at halt position for "trigger" position

    Calculate the sensor Z position after the probe halts and return that
    as the "probed position".  This sensor position provides a more
    accurate measurement.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add documentation for probe_eddy_current

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add a new Eddy_Probe.md document

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * motan: Add support for graphing ldc1612 coil frequencies

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"

    This reverts commit b029d04.

    The MCU_Stepper class does not have a is_motor_enabled() method, so
    the change above results in an internal exception.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * homing_override: Adds rawparams support

    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

    * docs: Fix typo in Resonance_Compensation.md

    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>

    * config: Artillery Sidewinder X3 (#6534)

    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>

    * virtual_sdcard: Define a default for on_gcode_error

    If on_gcode_error is not specified, default to running the
    TURN_OFF_HEATERS command.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md

    Some Linux systems do not install ifconfig, while ip should always be
    available.  So, update the canbus documentation to recommend that.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Add information on txqueuelen to CANBUS_Troubleshooting.md

    Provide some background information on the Linux can interface
    txqueuelen parameter, errors that it can cause, and considerations
    when configuring it.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * adxl345: Move sample timestamp calculation to reusable code

    Add a new extract_samples() method to the ChipClockUpdater class that
    calculates the sample timestamp for each sample in a list of bulk
    sensor reports.

    Update the adxl345 code to use that extract_samples() code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * lis2dw: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * mpu9250: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * ldc1612: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Refactor ChipClockUpdater constructor

    Build the clock_sync and struct.Struct() in the ChipClockUpdater
    constructor.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader

    Move the sensor_bulk_data message queuing into the class, and then
    rename that class.  This simplifies the users of the code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * bulk_sensor: Rename BulkDataQueue methods

    Rename pull_samples() to pull_queue() and rename clear_sample() to
    clear_queue().  This avoids confusion between the queue of response
    messages and the larger list of samples stored within those messages.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * docs: Update CANBUS_Troubleshooting.md to avoid formatting error

    Avoid starting a line with "128." as that confused markdown.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

    * sht3x: Add sht31 support (#6560)

    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>

    * docs: Fix typo in Bed_Mesh.md (#6572)

    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>

    * format

    ---------

    Signed-off-by: Robert Cambridge <robert@cambridge.me>
    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>
    Signed-off-by: Kamil Domański <kamil@domanski.co>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>
    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>
    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>
    Co-authored-by: Robert Cambridge <robert@cambridge.me>
    Co-authored-by: Michael 'ASAP' Weinrich <michael@a5ap.net>
    Co-authored-by: Viesturs Zariņš <viesturz@gmail.com>
    Co-authored-by: Kamil Domański <kamil@domanski.co>
    Co-authored-by: Kevin O'Connor <kevin@koconnor.net>
    Co-authored-by: Pedro Lamas <pedrolamas@gmail.com>
    Co-authored-by: trofen <39155883+trofen@users.noreply.github.com>
    Co-authored-by: TheFeralEngineer <74030381+TheFeralEngineer@users.noreply.github.com>
    Co-authored-by: Timofey Titovets <nefelim4ag@gmail.com>
    Co-authored-by: Alessandro Maggi <59124971+DicyRoll@users.noreply.github.com>

commit c3cd269
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 16:03:51 2024 +0100

    format

commit 5ed6d70
Merge: ca37123 2f6e94c
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 23 15:59:52 2024 +0100

    Merge upstream Klipper3d:klipper

commit 2f6e94c
Author: Alessandro Maggi <59124971+DicyRoll@users.noreply.github.com>
Date:   Sun Apr 21 00:57:58 2024 +0200

    docs: Fix typo in Bed_Mesh.md (#6572)

    Signed-off-by: Maggi Alessandro <maggialessandro360@gmail.com>

commit 713b509
Author: Timofey Titovets <nefelim4ag@gmail.com>
Date:   Sun Apr 21 00:42:31 2024 +0200

    sht3x: Add sht31 support (#6560)

    Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>

commit 28faf81
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 20 13:23:42 2024 -0400

    docs: Update CANBUS_Troubleshooting.md to avoid formatting error

    Avoid starting a line with "128." as that confused markdown.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 8195993
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Apr 14 12:39:27 2024 -0400

    bulk_sensor: Rename BulkDataQueue methods

    Rename pull_samples() to pull_queue() and rename clear_sample() to
    clear_queue().  This avoids confusion between the queue of response
    messages and the larger list of samples stored within those messages.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit abb7910
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Apr 14 12:33:22 2024 -0400

    bulk_sensor: Rework ChipClockUpdater class into FixedFreqReader

    Move the sensor_bulk_data message queuing into the class, and then
    rename that class.  This simplifies the users of the code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 9ceaae3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 21:02:04 2024 -0400

    bulk_sensor: Refactor ChipClockUpdater constructor

    Build the clock_sync and struct.Struct() in the ChipClockUpdater
    constructor.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 56829b0
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:26:16 2024 -0400

    ldc1612: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit f73e6dc
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:20:59 2024 -0400

    mpu9250: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 144af05
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:17:20 2024 -0400

    lis2dw: Use extract_samples() for sample timestamp calculation

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 95fdb68
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Apr 13 20:03:47 2024 -0400

    adxl345: Move sample timestamp calculation to reusable code

    Add a new extract_samples() method to the ChipClockUpdater class that
    calculates the sample timestamp for each sample in a list of bulk
    sensor reports.

    Update the adxl345 code to use that extract_samples() code.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit c106955
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Apr 12 14:25:05 2024 -0400

    docs: Add information on txqueuelen to CANBUS_Troubleshooting.md

    Provide some background information on the Linux can interface
    txqueuelen parameter, errors that it can cause, and considerations
    when configuring it.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 12e9b63
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Apr 12 11:37:01 2024 -0400

    docs: Recommend using "ip" instead of "ifconfig" in CANBUS.md

    Some Linux systems do not install ifconfig, while ip should always be
    available.  So, update the canbus documentation to recommend that.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 2425a74
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 23:22:10 2024 -0400

    virtual_sdcard: Define a default for on_gcode_error

    If on_gcode_error is not specified, default to running the
    TURN_OFF_HEATERS command.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 36f9b26
Author: TheFeralEngineer <74030381+TheFeralEngineer@users.noreply.github.com>
Date:   Fri Apr 12 12:27:36 2024 -0400

    config: Artillery Sidewinder X3 (#6534)

    Signed-off-by: Phil Timpson <theferalengineer@gmail.com>

commit 75d7c17
Author: trofen <39155883+trofen@users.noreply.github.com>
Date:   Thu Apr 11 17:58:47 2024 +0300

     docs: Fix typo in Resonance_Compensation.md

    Signed-off-by: Plynskiy Nikita <nikita53ne@yandex.ru>

commit c37329e
Author: Pedro Lamas <pedrolamas@gmail.com>
Date:   Thu Apr 11 10:26:01 2024 +0100

    homing_override: Adds rawparams support

    Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>

commit ca37123
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Fri Apr 12 06:08:35 2024 -0400

    hotfix: disable min_cruise_ratio correctly (DangerKlippers#209)

    * hotfix: disable min_cruise_ratio correctly

    * duplicated code

commit fc4abbf
Author: Zeanon <thezeanon@gmail.com>
Date:   Thu Apr 11 23:48:52 2024 +0200

    Custom threshold for PROBE_POINTS_INCREASING check on QGL and Z_TILT (DangerKlippers#189)

    * Initial Implementation

    * Added readme

    * added ci tests

    ---------

    Co-authored-by: Rogerio Goncalves <rogerlz@gmail.com>

commit 4cfa266
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Wed Apr 10 10:38:48 2024 -0400

    manual_stepper: Revert "manual_stepper: Add basic status. (#6527)"

    This reverts commit b029d04.

    The MCU_Stepper class does not have a is_motor_enabled() method, so
    the change above results in an internal exception.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d209dee
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:27:56 2024 +0200

    Save without restart (DangerKlippers#191)

    * SAVE_CONFIG without restart

    * black formatting

    * Added caution warning

    * Update README.md

    * Added test case

    ---------

    Co-authored-by: Rogerio Goncalves <rogerlz@gmail.com>

commit c906c80
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:02:54 2024 +0200

    Use recursive globs to include config files (DangerKlippers#200)

    * Initial Implementation

    * Updated Readme

    * Added CI tests

    * writing the right name for what you want to include actually helps

commit 2e67d37
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 15:02:00 2024 +0200

    Also expose temperature_fan and temperature_sensor (DangerKlippers#201)

    * Update mcu.py

    * Include Temperature_fan

    * removed ununsed paranthesis

    * cleaned up the code and removed loops

    * Added Thermocouples

    * code cleanup

commit 898009a
Author: Zeanon <thezeanon@gmail.com>
Date:   Wed Apr 10 13:44:14 2024 +0200

    Fixed issues with HappyHare (DangerKlippers#188)

    * Fixed issues with HappyHare

    * Added doc and fixed reset behaviour

    * Removed unused import

commit a8b493a
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 19:05:25 2023 -0500

    motan: Add support for graphing ldc1612 coil frequencies

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b098972
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 00:36:32 2024 -0500

    docs: Add a new Eddy_Probe.md document

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 30e0fdd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 23:53:57 2024 -0500

    docs: Add documentation for probe_eddy_current

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 28281c5
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 21:56:04 2024 -0500

    probe_eddy_current: Use sensor value at halt position for "trigger" position

    Calculate the sensor Z position after the probe halts and return that
    as the "probed position".  This sensor position provides a more
    accurate measurement.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 13b2926
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 13:32:41 2024 -0500

    probe_eddy_current: Initial support for PROBE command

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b0d90fd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Dec 30 21:07:19 2023 -0500

    probe_eddy_current: Support calibrating Z height to sensor frequency

    Add a calibration tool that can be used to correlate sensor frequency
    to bed Z height.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d84fc43
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 00:06:44 2024 -0500

    ldc1612: Add LDC_CALIBRATE_DRIVE_CURRENT calibration command

    Add a command to calibrate the sensor DRIVE_CURRENT0 register.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit da2b258
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 17:50:34 2023 -0500

    ldc1612: Initial host support for reading ldc1612 bulk sensor data

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit b8f1df3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 12:23:32 2023 -0500

    sensor_ldc1612: Initial support for bulk reading ldc1612 sensor

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit acdf8bb
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Mon Jan 8 21:33:56 2024 -0500

    probe: Add a probing_move() wrapper to low-level mcu_probe class

    This allows the low-level probe class more control on the probing
    implementation.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit fa5fa74
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sat Jan 6 19:27:56 2024 -0500

    mcu: Separate trdispatch handling from MCU_endstop class

    Create a new TriggerDispatch class to track the low-level handling of
    the trdispatch mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 5c196ee
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Tue Apr 9 12:52:13 2024 -0400

    hotfix: replace max_accel_to_decel by minimum_cruise_ratio (DangerKlippers#203)

commit 8b7ac26
Author: Zeanon <thezeanon@gmail.com>
Date:   Tue Apr 9 18:40:31 2024 +0200

    Fix for CANCEL_PRINT issues (DangerKlippers#205)

commit 5c43763
Author: B <bwnance@gmail.com>
Date:   Sat Apr 6 13:35:22 2024 -0400

    HEATER_INTERRUPT command and INTERRUPT mutex (DangerKlippers#94)

    fix

    refactor with wait_while util

    cancel print too

    back to interrupt command

    fix gcode ref

    readme stuff

commit b6e2228
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 13:24:07 2024 -0400

    PR template (DangerKlippers#199)

commit 3a1a98b
Author: B <bwnance@gmail.com>
Date:   Sat Apr 6 13:02:46 2024 -0400

    Danger Options interface rework + new logging flags (DangerKlippers#197)

    * switch danger options to a directly-imported singleton

    * no relative import

    * fix import again

    * add not loaded yet exception

commit 6b94dfe
Merge: ac005d9 8b18d6b
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 13:01:17 2024 -0400

    Merge branch 'master' into upstream_pr

commit 8b18d6b
Author: Ryan Ghosh <56000109+rsghosh@users.noreply.github.com>
Date:   Sat Apr 6 10:01:01 2024 -0700

    Add trad_rack module (DangerKlippers#184)

    * Add trad_rack module and related documentation

    * trad_rack: update to match Annex-Engineering/TradRack@97d7582

commit ac005d9
Merge: 9c40d07 d6b0a6a
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Sat Apr 6 12:40:47 2024 -0400

    Merge branch 'master' into upstream_pr

commit 9c40d07
Author: Bea Nance <bwnance@gmail.com>
Date:   Sat Apr 6 12:29:02 2024 -0400

    accel to decel fix

commit d6b0a6a
Author: Zeanon <thezeanon@gmail.com>
Date:   Fri Apr 5 23:51:53 2024 +0200

    Fix small error for pid_profiles (DangerKlippers#196)

    I forgot to add one line...

commit 01c7bef
Author: Kamil Domański <kamil@domanski.co>
Date:   Fri Apr 5 23:43:43 2024 +0200

    klippy: remove a few unused variable assignments (#6504)

    Signed-off-by: Kamil Domański <kamil@domanski.co>

commit b029d04
Author: Viesturs Zariņš <viesturz@gmail.com>
Date:   Thu Apr 4 22:46:30 2024 +0200

    manual_stepper: Add basic status. (#6527)

    Adding position and enabled in manual_stepper status. Enabled is already available through stepper_enable object. But this makes it more straightforward to access it.

    Signed-off-by: Viesturs Zarins <viesturz@gmail.com>

commit 6f16e11
Author: Michael 'ASAP' Weinrich <michael@a5ap.net>
Date:   Thu Feb 15 20:17:08 2024 -0800

    linux: Don't use absolute paths for include

    Not all systems (i.e. Nix) repect the standard Linux filesystem hierarchy,
    instead relative paths should be used and allowing GCC to rely on it's
    builtin search paths.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

commit 24c884e
Author: Michael 'ASAP' Weinrich <michael@a5ap.net>
Date:   Thu Feb 15 20:11:47 2024 -0800

    makefile: Replace CFLAGS -I with -iquote

    The -iquote tells GCC to only search that path when resolving a quoted
    "include" (vs <angle brackets>) which by convention imples a include from
    the projects own soruce tree. This prevents a conflict between Klippers
    "sched.h" and "gpio.h" and <linux/gpio.h> and glibc <sched.h>.

    Signed-off-by: Michael 'ASAP' Weinrich <michael@a5ap.net>

commit 75a40e8
Author: Robert Cambridge <robert@cambridge.me>
Date:   Fri Mar 29 18:35:16 2024 +0100

    stm32: fix support for USARTs on STM32G0B0

    Signed-off-by: Robert Cambridge <robert@cambridge.me>

commit 1816834
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:46:19 2024 +0100

    disable stm32f031 tests for now

commit cdd0456
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:23:30 2024 +0100

    reformat

commit b581d17
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:21:32 2024 +0100

    missing line

commit af714dc
Merge: b9654d6 5e28068
Author: Rogerio Goncalves <rogerlz@gmail.com>
Date:   Wed Apr 3 10:13:22 2024 +0100

    Merge upstream Klipper3d:klipper

commit 5e28068
Author: John Unland <junland.foss@gmail.com>
Date:   Tue Apr 2 20:08:35 2024 -0600

    makefile: fix warning about lto serial compilation (#6543)

    Signed-off-by: John Unland <junland.foss@gmail.com>

commit 67c1527
Author: FOG_Yamato <contact@cybersnets.com>
Date:   Wed Apr 3 05:02:22 2024 +0300

    stm32: Add i2c3 bus to STM32H7 (#6541)

    Signed-off-by: Balanuta Simion <simion@fogyamato.dev>

commit 9e1cbdc
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 22:10:27 2024 -0400

    virtual_sdcard: Fix handling of unicode characters on Python2

    Commit 600e89a fixed unicode handling on Python3, but broke Python2
    support.  Use an alternate implementation that should work for both
    Python3 and Python2.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0aacbc3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 21 22:00:32 2024 -0400

    toolhead: Populate minimum_cruise_ratio to printer.configfile.settings

    The default minimum_cruise_ratio setting does not get populated to the
    printer.configfile.settings information due to the way the
    max_accel_to_decel backwards compatibility support was implemented.
    Slightly rework the config reading so that the default for
    minimum_cruise_ratio is populated there.

    Reported by @ReXT3D.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bedec55
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Wed Mar 20 20:02:27 2024 -0400

    motion_report: Don't negate step_distance on steppers with inverted dir pin

    When querying the stepper motion queue, the resulting "interval",
    "count", and "add" are already normalized to the correct direction.
    That is, the "count" field will be positive if moving in a positive
    axis direction and negative if moving in the reverse direction.  So,
    negating the step_distance field just complicates the readers.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 239f8e5
Author: Mathias Pihl <Newspaperman57@users.noreply.github.com>
Date:   Wed Apr 3 02:57:19 2024 +0200

    scripts: Mark install-ubuntu-22.04 as executable (#6505)

    Signed-off-by: Mathias Pihl <mathias@pihlerne.dk>

commit e37b007
Author: TheParanoidEngineer <158858389+TheParanoidEngineer@users.noreply.github.com>
Date:   Mon Mar 25 13:05:22 2024 -0400

    docs: Update Measuring_Resonances.md (#6515)

    Changed "libopenblas-base" to "libopenblas-dev"

    Signed-off-by: Philip Weber <philiprweb@gmail.com>

commit d904334
Author: Carl Richard Theodor Schneider <dev.github@crtified.me>
Date:   Wed Mar 13 22:24:05 2024 +0100

    linux: Allow for more i2c buses

    Similar to commit df79893, this allows klipper to use up to
    /dev/i2c-14. Similar to before, this limit is arbitrary.

    This is required for some other SoCs, which have even
    more i2c buses available, e.g. the rk3399:

    $ ls -1 /dev/i2c-*
    /dev/i2c-0
    /dev/i2c-3
    /dev/i2c-7

    Signed-off-by: Carl Richard Theodor Schneider <dev.github@crtified.me>

commit 40728e9
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Fri Dec 15 18:04:17 2023 -0500

    motan: Support recording lis2dw and mpu9250 sensors from data_logger.py

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit de1cf21
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Jan 7 23:34:59 2024 -0500

    docs: Sort axis_twist_compensation in G-Codes.md

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit e6df93f
Author: Kamil Domański <kamil@domanski.co>
Date:   Wed Feb 21 00:23:57 2024 +0100

    tmc2240: add ADC voltage formatters

    Signed-off-by: Kamil Domański <kamil@domanski.co>

commit 235b75b
Author: Mad Beggar <ggiraudon@hotmail.com>
Date:   Tue Mar 19 16:16:42 2024 -0400

    hc32f460: Adding support for 100pin version of H32F460 (#6488)

    Signed-off-by: Guillaume Giraudon <ggiraudon@prism19.com>

commit 78a15b6
Author: Markus Küffner <kueffner.markus@gmail.com>
Date:   Fri Mar 15 16:29:35 2024 +0100

    scripts: use greenlet version depending on python version

    Signed-off-by: Markus Küffner <kueffner.markus@gmail.com>

commit bfb71bc
Author: BIGTREETECH <38851044+bigtreetech@users.noreply.github.com>
Date:   Fri Mar 15 22:12:05 2024 +0800

    stm32: Add i2c3_PC0_PC1 for stm32g0 (#6529)

    Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>

commit 09a78c3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Thu Mar 7 19:32:28 2024 -0500

    buildcommands: Add Klipper app name and license to mcu data dictionary

    Add the Klipper name and license to the mcu data dictionary so that it
    can be found in the flash.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0291a15
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 21:45:16 2024 -0500

    configfile: Add support for reporting runtime_warnings via the API server

    Add a new runtime_warning() method that will add a 'runtime_warning'
    type message to the printer.configfile.warnings object.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit d99d1a8
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 21:32:36 2024 -0500

    mcu: Write a warning to the log if an incorrect mcu frequency is detected

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bb512ef
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 20:50:09 2024 -0500

    heaters: Clarify reported stats after a shutdown

    The pid logic can continue after a shutdown, even though the pin
    commands sent to the mcu are ignored.  However, this behavior can
    result in confusing "stats" messages in the log.  Explicitly disable
    updates after a shutdown event so that the log statistics are more
    clear.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit bddefdd
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Tue Mar 5 19:24:03 2024 -0500

    pid_calibrate: Fix PID_CALIBRATE command when used with heater_generic

    Make sure the SAVE_CONFIG command saves the calculated PID parameters
    to the correct config name.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 0105aa3
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Sun Dec 3 18:50:44 2023 -0500

    toolhead: Replace max_accel_to_decel with minimum_cruise_ratio

    The user facing max_accel_to_decel setting is complicated and
    confusing.  Replace it with a new minimum_cruise_ratio parameter.
    Internally this user-facing parameter will calculate the existing
    low-level "accel_to_decel" mechanism.

    Signed-off-by: Kevin O'Connor <kevin@koconnor.net>

commit 18de421
Author: Attila <rattila5@hotmail.com>
Date:   Sun Mar 10 15:48:48 2024 -0700

    stm32: Fix USART3 ALT pinout on STM32G0 (#6523)

    Signed-off-by: Attila Rakosi <rattila5@hotmail.com>

commit 71604b7
Author: Ulf D <1coderookie@quantentunnel.de>
Date:   Fri Mar 8 17:49:29 2024 +0100

    config: "static_value" in [output_pin enable_pin] is deprecated (#6520)

    Signed-off-by: Ulf Dieckmann <1coderookie@quantentunnel.de>
@Murrdo
Copy link

Murrdo commented Jun 21, 2024

Humidity is not displayed
image

@nefelim4ag
Copy link
Contributor Author

nefelim4ag commented Jun 22, 2024

@Murrdo which version of Klipper are you running?
What does your macro look like?

From my point of view, this is an impossible error.

    def get_status(self, eventtime):
        return {
            'temperature': round(self.temp, 2),
            'humidity': round(self.humidity, 1),
        }

I think you have a typo in the macro, recheck the macro against other sensor examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending feedback Topic is pending feedback from submitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants