prusalink: Add mcu/board/sandwich/splitter temperature values to PrusaLink#4780
Open
bkerler wants to merge 1 commit intoprusa3d:masterfrom
Open
prusalink: Add mcu/board/sandwich/splitter temperature values to PrusaLink#4780bkerler wants to merge 1 commit intoprusa3d:masterfrom
bkerler wants to merge 1 commit intoprusa3d:masterfrom
Conversation
Author
|
@Ro3Deee I just checked, and the ambient pin seems to be used as chamber temp, so already included in the PR. |
2291afc to
06eb93f
Compare
06eb93f to
53072db
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Refers to issue #4078.
This adds mcu and board temp to "printer" api request of PrusaLink V1. For XL sandwich and splitter temp is added. If Chamber Temp exists, this is being returned as well.
Example json output (on MK4 simulator):
{"telemetry": {"temp-bed": 18.6, "temp-nozzle": 22.0, "print-speed": 100, "z-height": 0.0, "material": "---"}, "temperature": {"tool0": {"actual": 22.0, "target": 0.0, "display": 0.0, "offset": 0}, "bed": {"actual": 18.6, "target": 0.0, "offset": 0}, "board": {"actual": 24.5}, "mcu": {"actual": 0}}, "state": {"text": "Operational", "flags": {"operational": true, "paused": false, "printing": false, "cancelling": false, "pausing": false, "error": false, "sdReady": false, "closedOnError": false, "ready": true, "busy": false}}}