hexadecimalDinosaur / octoprint-cli

Command line client for controlling your OctoPrint 3D printer server
GNU General Public License v3.0
38 stars 6 forks source link

Difference in percentage numbers between your app and Octoprint Dashboard app #28

Open deepcoder opened 2 years ago

deepcoder commented 2 years ago

I see that the percentage remaining number is different between your app and the Octoprint Dashboard plugin. The time remaining values seem close, however.

Thank for this app and having a look this issue.

pi@octipi-01:~ $ date
Wed  7 Sep 18:55:18 PDT 2022
pi@octipi-01:~ $ octoprint-cli print status
Printing
File: AV bottom-body Generic PLA lw 0.4mm lh 0.1mm if 20% ext1 200C bed 60C.aw.gcode
Estimated Total Print Time: 04:07
Estimated Print Time Left: 01:34:33
Progress: 52%
Extruder Temp: 201.21°C
Extruder Target: 200.0°C
Bed Temp: 59.97°C
Bed Target: 60.0°C
pi@octipi-01:~ $

octoprint_remaining_precentage

hexadecimalDinosaur commented 2 years ago

Hello @deepcoder, can you try sending the output of curl -H 'X-API-Key: API_KEY_HERE' http://SERVER_ADDRESS_HERE/api/job as well as a screenshot of expected output next time you see this bug occur. It would also help if you provided your Python, OctoPrint, and octoprint-cli version as well as a list of plugins you have running on OctoPrint.