andrewmcgr / klipper_tmc_autotune

TMC stepper driver autotuning Klipper python extra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal error on command:"SET_LED" when autotune enabled

Grafton1046 opened this issue · comments

after adding the config section to printer.cfg [autotune...] with the correct motor names that exist in the motor database, and doing a firmware restart Klipper throws a Internal error on command:"SET_LED" error message.
as soon as I comment the [autotune...] and do a firmware restart everything starts correctly

image

klippy error.log

update, this error occurs with klipper v0.12.0-142 as well on a separate Printer
an odd thing I've found is that if I only have some of the motors setup to do the autotune, klipper starts up just fine.

UPDATE to my update while I was typing, and going over the logs for the millionth time, I tried to narrow down what was causing everything to flip out, and guessed that it didn't like that delayed gcode kicking in while parsing the autotune values. I upped the delay on my delayed gcode macro from 1 second to 5 and everything is working again. I didn't have to do that on my first printer but I did on the second, pi4 vs pi3b