Skip to content

Conversation

@TheSin-
Copy link

@TheSin- TheSin- commented Dec 7, 2025

  • Add tools if you have more set in the printer profile
  • Add a few variants for chamber like cavity (jneilii firmware uses it)
  • Add TMC2240 temperatures, since most TMCs do not support temp, limit to list (temps do not show unless the driver is energizes, so add or 0 since it will return None when it's not energized. I'm not sure what others drivers should be added so I only added 2240, but it's easy to add to it.

NOTES:

  • Seems both restart firmware and restart service work, but you need to disconnect form the WS while it doesn't it's think, then reconnect. I'd like to look into the logs see if I can see why.

TODO:

  • Check that on FIRMWARE_RESTART or RESTART it rereads and rebuilds as the sensor could have changed, haven't tested this yet to make sure. The both lists might need to be reset when system firmware is triggered?
  • Maybe settings could be setup to select temperatures from the web socket list, incase chamber has an other name, and if you wanted to track others like the TMC temps. in Klipper all the temperature books can have an options gcode_id parameter, this indicated to KlipperScreen and other UIs to graph/display that temp, maybe we can find a way to only get those, sadly that value wasn't present in the object query.
  • Add buttons for FIRMWARE_RESTART or RESTART (uses moonraker post instead of WS, incase WS isn't ready)
  • Add button to use moon aker to restart the klipper service (uses moonraker post instead of WS, incase WS isn't ready)
  • Add a new state, isMoonrakerReady, this is separate from isOperational as it doesn't need klipper, this should just monitor that moon raker web service is connected and working so that klipper restart can be sent on error. Like isOperational, but CONNECTING state would also make it true unlike isOperational.

FUTURE PRs:

  • removing folder does remove locally, but doesn't refresh (there are errors in the log file) (moonraker needs to be restarted for the refresh to work)
  • adding folder does add locally, but doesn't refresh (there are errors in the log file) (moonraker needs to be restarted for the refresh to work)
  • the root folder is hardcoded to gcodes but this value can be changed in the klipper config, we might want to see if we can get the value, I haven't checked the moon raker api to see if it's fetch able yet, but wanted to log it.

MAYBE AN OTHER PLUGIN??

  • I'd love to add the TMC temps to the temperature pane (doesn't need to be on the graph, but I could not figure out how to append to the temperature container to add and update the temps)
  • MoonRaker updates for all the plugins and klipper would be a nice addition as well

- Add tools if you have more set in the printer profile
- Add a few variants for chamber like cavity (jneilii firmware uses it)
- Add TMC2240 temperatures, since most TMCs do not support temp, limit to list (temps do not show unless the driver is energizes, so add `or 0` since it will return None when it's not energized.  I'm not sure what others drivers should be added so I only added 2240, but it's easy to add to it.
…w way to tell the connector that a new list of temperatures names is available
@TheSin- TheSin- force-pushed the main branch 3 times, most recently from 82d192f to fa45d54 Compare December 16, 2025 22:57

self.btnKlipperRestartClick = function() {
showConfirmationDialog({
message: gettext("<strong>This will restart the Klipper service.</strong></p><p>This might disrupt any ongoing operations related to Klipper."),

Choose a reason for hiding this comment

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

gettext should not include html whatsoever I'm pretty sure, it would interfere with the ability to translate I think.

Copy link
Author

Choose a reason for hiding this comment

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

100% agree I missed that, thanks I’ll fix it tomorrow when I keep trying to solve my other issues ;)

Copy link
Author

Choose a reason for hiding this comment

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

should be solved in 2e447bb

Still not used to having 2 accounts :\

@TheSin- TheSin- marked this pull request as draft December 29, 2025 15:28
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