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

feat: show warning for Trinamic OTPW flag #1448

Merged

Conversation

pedrolamas
Copy link
Member

@pedrolamas pedrolamas commented Jun 11, 2024

Shows a notification message when any TMCxxxx driver reports an otpw flag (over-temperature pre warning)

image

The link on the notification is currently pointing to https://www.klipper3d.org/TMC_Drivers.html#tmc-reports-error-ot1overtemperror

Resolves #1105

@pedrolamas pedrolamas added the FR - Enhancement New feature or request label Jun 11, 2024
@pedrolamas pedrolamas added this to the 1.30.1 milestone Jun 11, 2024
@pedrolamas pedrolamas requested a review from matmen June 11, 2024 10:55
matmen
matmen previously approved these changes Jun 11, 2024
Copy link
Member

@matmen matmen left a comment

Choose a reason for hiding this comment

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

LGTM functionality wise, just one small concern:


const notification: AppPushNotification = {
id: `${item}-otpw`,
title: `TMC '${name}' is over-heating`,
Copy link
Member

Choose a reason for hiding this comment

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

I feel like this should be something like Stepper driver 'name' is over-heating, chances are end users don't know what TMC means

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, I updated the description to your suggestion!

@pedrolamas pedrolamas merged commit ac2a0a8 into fluidd-core:develop Jun 12, 2024
5 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/tmc-otpw-warning branch June 12, 2024 09:07
@NyxCode
Copy link

NyxCode commented Jun 30, 2024

Awesome stuff, greatly appreciate the work you put into fluidd!

@NyxCode
Copy link

NyxCode commented Jun 30, 2024

image

might have even saved my 5160s!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FR - Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TMC Drivers: Report OTPW
3 participants