Skip to content
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

Disable display of 2nd extruder heater controls if not present #40

Open
goeland86 opened this issue Jul 6, 2019 · 7 comments
Open

Disable display of 2nd extruder heater controls if not present #40

goeland86 opened this issue Jul 6, 2019 · 7 comments

Comments

@goeland86
Copy link
Member

Currently Toggle always shows at 2 extruder heaters even when only one is present and returning temperature information.

Adapt the number of controls to match with the number of temperature sensors read by temperature messages (that aren't system temperatures)

@goeland86
Copy link
Member Author

goeland86 commented Jul 6, 2019

@BrunoSonego we'll try to address the issue soon, but I can't promise it'll be fixed in time for Umikaze 2.2.1. It will be in 2.2.2 though.

@BrunoSonego
Copy link
Contributor

@goeland86 dont worry i`ll keep using the 1px version until we figure it out hahahaha

@BrunoSonego
Copy link
Contributor

Actually it should be better to use the extruder number from local.cfg instead. one example is that i use a 3rd temperature sensor to monitor the cold end

@goeland86
Copy link
Member Author

I understand - however I think the cold-end monitors return temperature without being addressed by a heater axis key in the OctoPrint stream - but I need to double check that to be sure.
Toggle does not read Redeem's config - it's standalone from the rest of the Thing-Printer stack.

Hopefully we'll simplify it to the point where folks can install it on a Pi to use on any OctoPrint-enabled printer. So we need to be able to smartly detect the heaters from what OctoPrint tells us, not based on config files.

@eliasbakken
Copy link
Contributor

Is there a way to query octoprint for number of extruders? If not, a variable in the config is a very simple way to get it done.

@goeland86
Copy link
Member Author

I'll check, the REST API may provide that information.

@goeland86
Copy link
Member Author

Looks like it's relatively straightforward actually:
http://docs.octoprint.org/en/master/api/printerprofiles.html#get--api-printerprofiles
It provides the number of heaters, and whether or not there's a heated bed present as well. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants