Closed narfel closed 3 years ago
Hm, i can't reliably reproduce this anymore. Restarting the broker, hass and the octopi host seems to have almost fixed that. I did restart everything as a test, but not the docker instance running the broker. I now get differences that are negligible around +/- 1% that could be anything.
I don't really know how that is possible but the MQTT plugin reports around 10% less progress than the actual printer progress as visible in OctoPrint. I inspected the MQTT topics and it is as if there is a 10% delta to the actual value. Any idea how that happens or what i can to do fix that? I restarted both OctoPrint and Home Assistant multiple times. They sync up perfect, just with this lag. I can tell because the status printing and e.g. filenames work correctly. When the actual print finishes the hass sensors jump ahead to 100%.
edit: Added a screenshot showing that the reported times are in sync, just not the percentage. Above is octoprint webinterface, below sensor data as they appear in dev tools in hass.