Skip to content

This program can access your klipper print server through requests, and launch a webserver that uses web hooks to watch your prints.

Notifications You must be signed in to change notification settings

Euris14/klipper-control-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klipper control python

This Python project is written by Euris Montanez.

    This is the first project that I plan to complete, so I would appreciate any help that can point me 
in the right direction. Thanks!

Usage:

flask --app client run

About

    In this Python project, my aim is to be able to make a website that allows me to see and control my 
3d printer. At a minimum, I would like to be able to see a constant temperature update of all of my tools 
(ie: Extruder, Hot Bed, etc) temperatures. The most important thing is to have a webcam that is able
to detect when something in the print goes wrong (ie: stringing, warping, etc).

TODO Learning:

    In order to finish my code I need to learn how to first code a webhook, 
then be able to use that webhook on my website. The most important thing right now to focus on is getting
my current code to be, able to interact with Flask, HTTP, and webhooks.

TODO Moonraker API:

    The Moonraker API is really easy to understand. The things I want to implement in my code would be the 
endpoint that retrieves a webcam's stream.

TODO HTML:

    I am familiar with HTML, so hopefully getting back into it is easy. My main objective with HTML
is to be able to create a website that is visually appealing and functional. I believe that the best way 
to make this 'GUI' work is to use webhooks, which allow the server to automatically update a variable from a server.

TODO Webcamera:

    I need to be able to see my printer while on the website. I would also like to use an ai that checks 
for failed prints, like the pasta detector we all know and love.

Learned

    So far I have learned how to interact with dictionaries and arrays through APIs with the 
request package. I also learned how to structure my code in a way that makes it possible
for the main function to call every single function. I understand websockets, I don't need to make my own
since the moonraker api brings it's own webhooks.

About

This program can access your klipper print server through requests, and launch a webserver that uses web hooks to watch your prints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published