chunkysteveo / OctoPrintAPI

Library for use with Arduino compatible micro controllers (web enabled) to access the Octoprint API on Raspberry Pi's running the Octoprint 3D printer web server by the brilliant Gina Häußge, aka @foosel.
GNU General Public License v2.0
42 stars 24 forks source link

Add a bunch of commands #13

Closed sidddy closed 5 years ago

sidddy commented 5 years ago

For my current project, I was missing a few API commands in the library, so I added them myself. Namely, they are:

I figured they might be useful for others as well, so here's the pull request :-)

chunkysteveo commented 5 years ago

Looks good @sidddy , you're ticking off my own personal checklist, which is handy! Was going to have a separate pause/resume function but the toggle was the same, but happy to have them both in, as the pauseresume is an odd name! Not forgotten your other PR too - just been doing some testing and was going to add in a full update to push to the Arduino Library manager too - will add these updates to the final one too! :)

chunkysteveo commented 5 years ago

Going to merge this one @sidddy for now and work from the master to make an updated version for Arduino Library Manager. I was working on a jog function offline, but happy to include this one for now. Thanks for your continued efforts!