[Feature request] Add option to have print time / print time left in seconds
brantje opened this issue · 1 comments
brantje commented
Hi!
Is it possible to get the total amount of seconds instead of hh:mm:ss
?
Both octoprint_print_time
and octoprint_print_time_left
give hh:mm:ss
which is a pain to parse.
cmroche commented
If you check octoprint/progress/printing
section at https://github.com/OctoPrint/OctoPrint-MQTT progress is only reported in seconds. If you are seeing "hh:mm:ss" then I believe you are using the HomeAssistant-Discovery plugin.
If you are using the HomeAssistant plugin, then you can look at the attributes for the sensor to access the time in seconds: