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

Shut Up PollConnector! #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Moonlight63
Copy link
Contributor

Ok, this is a bigger one. I've been just trying to clean up error messages more than anything, and this seems to have done it. The majority for the warnings come through when the printer is off and klipper is waiting to connect. All status requests are forwarded to type 0 instead of the types that have these values in the response, which makes the connector very unhappy because it was expecting a different response. Both status 2 and 3 were expected to report a standby temp for the bed heater, which I thought was odd, but not a big deal I guess. Small usability change: I moved all of the klipper macros to their own folder, and only render them when you are in that folder. Since those files don't actually exist, this keeps them separate from actual dwc macros. I have klipper macros set up for changing tools in klippers config file, and now I can have dwc macros for things that the firmware doesn't need to worry about when printing for example like turning lights on/off.

Non of these changes are strictly "necessary" but they do quite down the warnings. I've been testing, and so far nothing has broken as a result.

Are you happy now PollConnector? Hmm? Now that I have given you all of the variables you could ever possibly want? Are there any other "undefined" values you want fake placeholders for? HMMMM? NO? GOOD!

also put klipper macros in their own folder.

Are you happy now PollConnector? Hmm? Now that I have given you all of the variables you could ever possibly want? Are there any other "undefined" values you want fake placeholders for? HMMMM? NO? GOOD!

also put klipper macros in their own folder.
@straga
Copy link

straga commented Apr 18, 2020

Very Good. Now is better.

@Stephan3
Copy link
Owner

its month ago and i still not see whats wrong with poll collecting as is.

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.

3 participants