You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
i use the octoprint awtrix app with the octoprint plugin printtimegenius (https://github.com/eyal0/OctoPrint-PrintTimeGenius). There a new calculation about the percentage progress is implemented.
Normally the Percentage progress in octoprint is based on the xxxKB / xxxKB. That is very inaccurate. The plugin printtimegenius change this calculation to a time based one and changed the displyed value in the octoprint gui.
The problem is, that the plugin don't change the percentage deep in the octorpint system, so you get the old values over the api. MQTT also sends out the old inaccurate one.
Is it possible, that you don't use the % value from the api but calculate the value with the print time and the print time left.
Maybe a option to change between the calculated and the api one.
Here a example how the octoprint plugin will do this.
self.printerStateViewModel.progress(
(data.printTime||0) /
((data.printTime||0) + (data.printTimeLeft))
* 100);
I'm not sure if you get this both times over the api request. MQTT will send it out.
Best regards and thank you in advanced
Sascha
The text was updated successfully, but these errors were encountered:
Hey,
i use the octoprint awtrix app with the octoprint plugin printtimegenius (https://github.com/eyal0/OctoPrint-PrintTimeGenius). There a new calculation about the percentage progress is implemented.
Normally the Percentage progress in octoprint is based on the xxxKB / xxxKB. That is very inaccurate. The plugin printtimegenius change this calculation to a time based one and changed the displyed value in the octoprint gui.
The problem is, that the plugin don't change the percentage deep in the octorpint system, so you get the old values over the api. MQTT also sends out the old inaccurate one.
Is it possible, that you don't use the % value from the api but calculate the value with the print time and the print time left.
Maybe a option to change between the calculated and the api one.
Here a example how the octoprint plugin will do this.
self.printerStateViewModel.progress(
(data.printTime||0) /
((data.printTime||0) + (data.printTimeLeft))
* 100);
I'm not sure if you get this both times over the api request. MQTT will send it out.
Best regards and thank you in advanced
Sascha
The text was updated successfully, but these errors were encountered: