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
Temperature Offset has to reentered after disconnection of printer #2203
Comments
|
I was a bit unsure which of the two options to solve this to choose. In the end I decided on resetting the offset to 0 on disconnect. The reason for this is that I think it's worse expecting the offset to reset on disconnect and then not having that be the case like it was so far (although the displayed value lied about that) than it would be having to re-enter the offset after a reconnect, considering that offsets in general are more for cases of "oops, I sliced that file with the wrong temperature" and not "let's put a general offset here". While at it I also made the actual and target temperature reset to 0 on disconnect. Patch is pushed to
Why didn't you say something sooner? |
|
I would have liked the other option better (because it fit's more for my use case. Totally egoistic Why I didn't say something sooner? Because it never was such a big deal for me and I hoped, that it would be corrected someday by you anyway (in the end OctoPrint is a superb software By the way, I guess you know directly where to search for the initialization after a disconnect and things like that. Where would I start? I already looked (a little bit) into the dev docu, but couldn't find some kind of overview document (best a diagram), describing how the components are put together and interacting (in different events). Was it my fault? Didn't I searched long enough? |
Honestly, me too. But I really got worried how that might cause trouble down the line for people who are used to the current behaviour. To be honest, I never even thought about this particular use case for the offset feature that you are describing there. It makes me wonder if it wouldn't make sense to have a plugin that takes care of preset temperature offsets or something like that. Just thinking though - I fear I won't have the time to tackle something like this myself :/
Nah, that's more my fault. Some kind of an architectural overview is something that's sitting on my TODO list, staring at me grumpily while it gets overtaken by more pressing issues all the time. I think it has grown somewhat bitter by now and is starting to plan its revenge |
I was thinking changing the temperature for different materials (and experimentation) was exactly the idea of that feature But yes, perhaps a plugin with the possibility to map temp A to temp B if dropdown C is selected (e.g. dropdown option PLA or ABS) would be the real deal. But much more complicated. Perhaps I will simply start slicing my files right (but have to do it for different materials again) or use the new GCodeEditor (but the GCodeEditor could benefit with a search and replace feature for this
As stimulus for a reprioritization: Perhaps new developers (like me) would more likely start digging into the project and (after some time) start working on shortening your TODO list, if there is a architectural overview And it is also always a good start for revisiting everything, requisitioning it and getting new insights into your own old project |
|
Could this be a configurable preference? |
|
Sure, send a PR. |
What were you doing?
What did you expect to happen?
What happened instead?
Did the same happen when running OctoPrint in safe mode?
[Try to reproduce your problem in safe mode. You can find information
on how to enable safe mode in the Contribution Guidelines.]
Branch & Commit or Version of OctoPrint
Operating System running OctoPrint
Printer model & used firmware incl. version
Browser and Version of Browser, Operating System running Browser
Link to octoprint.log
Link to contents of terminal tab or serial.log
Terminal tab (from turning off printer and turning it back on again:
'''Unexpected error while writing to serial port: IOError: '[Errno 5] Input/output error' @ comm.py:_do_send_without_checksum:2414
Changing monitoring state from 'Operational' to 'Offline: IOError: '[Errno 5] Input/output error' @ comm.py:_do_send_without_checksum:2414'
Connection closed, closing down monitor
Changing monitoring state from 'Offline' to 'Opening serial port'
Connected to: <GPX.gpxprinter.GpxPrinter instance at 0x74604cd8>, starting monitor
Changing monitoring state from 'Opening serial port' to 'Connecting'
Recv: start
Recv: Makerbot v7.4
Recv: echo: gcode to x3g translation by GPX
Send: N0 M110 N0125
Recv: SD init fail
Recv: T:38 /0 B:72 /0 T0:38 /0 T1:0 /0 @:0 B@:0
Recv: ok
Changing monitoring state from 'Connecting' to 'Operational'
Send: N0 M110 N0125
Recv: ok
Send: N1 M115*39
Recv: ok PROTOCOL_VERSION:0.1 FIRMWARE_NAME:Makerbot FIRMWARE_VERSION:7.4 FIRMWARE_URL:https://support.makerbot.com/learn/earlier-products/replicator-original/updating-firmware-for-the-makerbot-replicator-via-replicatorg_13302 MACHINE_TYPE:r1d EXTRUDER_COUNT:2
Send: M105
Recv: ok T:37 /0 B:71 /0 T0:37 /0 T1:0 /0 @:0 B@:0
Send: M105
Recv: ok T:38 /0 B:71 /0 T0:38 /0 T1:0 /0 @:0 B@:0
Send: M105
'''
Link to contents of Javascript console in the browser
Screenshot(s)/video(s) showing the problem:
I have read the FAQ.
The text was updated successfully, but these errors were encountered: