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.
Hello,
When the printer is not operational, the function getPrinterStatistics() does not reset printerStats.printerStat and printerStats.printerTemp* values.
At least printerStats.printerStateoperational should be false;
if(response == "Printer is not operational"){ String printerState = response; printerStats.printerState = printerState; return true; }
Hello, When the printer is not operational, the function getPrinterStatistics() does not reset printerStats.printerStat and printerStats.printerTemp* values. At least printerStats.printerStateoperational should be false;
if(response == "Printer is not operational"){ String printerState = response; printerStats.printerState = printerState; return true; }