-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
OctoPrint Push Update (DisplayLayerProgress optional) #595
Comments
Is that available via the DLP plugin or does OctoPrint sent those values natively? I don‘t want to clutter up the UI too much, but I‘ll have a look and see, whether this is possible to integrate. |
It's available as push update: https://docs.octoprint.org/en/master/api/push.html?highlight=currentZ |
Good idea, and add babystepping on job ajust screen. Customizable babystep commands, for use marlin and klipper. |
DIdn't know that the push update even existed. Did you have any experience with this? It looks super promising from the docs, so I might just replace all the GET requests with this push API in the near future (after v2 release though) ... @whoim2 As I said above I have to see if and how it fits in the current design. I'll have a look at that :) |
I have not tried it, I just got my environment to compile Octodash so I can do some small things to my taste :) |
That‘s great! Let me know if you need help with anything :) |
DLP Plugin added in some new 3rd party calls. It’s a new feature he added in recently.
Might want to see what he maid available.
Thanks!
James
On Apr 30, 2020, at 5:15 PM, Timon G. <notifications@github.com> wrote:
That‘s great! Let me know if you need help with anything :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#595 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJYADF6RF5EE2WHEKKKP2BDRPHS5XANCNFSM4MQVRQRQ>.
|
One interesting way could be to send M114 and parse the respond with regexp like |
would it be possible to disable DisplayLayerProgress Plugin from OctoDash, I've disabled app on OctoPrint and constantly get messaged telling me that DisplayLayerProgress I not installed. I've tried editing the .config/octodash/config.json and changing DLP line to false but still get error. I actually found this DLP issue...... |
Once this is merged DLP will be optional, until then it is definitely needed, since there is no way to get the Z-Height from the API. In the linked issue should be a custom build with DLP disabled though (no layer indication and fan speed). |
If it helps any @UnchartedBull I believe OctoFarm uses the websocket approach. Maybe something to look at as an example implementation. https://github.com/NotExpectedYet/OctoFarm I think the meat of it can be found here. |
Thanks for the link. I already have a POC with the connection up and running. Will be hopefully done soonish :) |
It would be nice to see the current height (Z) while printing, for example to the right of "Layer xx / yy".
It's available from current payload as "currentZ", I'm assuming printerstate is already being used so implementation should not be to hard?
The text was updated successfully, but these errors were encountered: