Clon1998 / mobileraker

A Flutter mobile app for Klipper/Moonraker
Other
479 stars 52 forks source link

ETA is wrong on app and widget. #384

Closed BlackNet closed 2 months ago

BlackNet commented 2 months ago

The printer shows the previous prints are 7 hours and 1 minute. I started this current job at 3pm (EST), one hour has elapsed. The ETA panel on the web interface shows 10:43 PM (close to accurate), while the time on the app shows 2:22 AM.

This print was setup with ocaslicer. Is there something i can do to get that to read the correct ETA? The mobileraker conf shows EST. Wondering if this is an orca slicer thing.

Clon1998 commented 2 months ago

Are you talking about the notification or the ETA shown in the app ?

BlackNet commented 2 months ago

it is in the app AND on the widget on the lock screen as well.

Clon1998 commented 2 months ago

Alright, there is not much else you can do. I need to look into this, but mobileraker uses the same formula as mainsail (Unless they changed it again). Can you compare all ETA values (Long press the ETA and the app shows you each category).

BlackNet commented 2 months ago

Hmm. Looks like the slicer and filament is correct. The file is what is wrong and it seems to be using that.

image

Clon1998 commented 2 months ago

That looks fine, Can you tell me what source you enabled for the ETA calculation in your Webinterface? Also are you using Mainsail or Fluidd? To see the selected sources in Fluidd: Settings -> General -> Print ETA calculation To see the selected sources in Mainsail: Settings -> General -> Print ETA calculation

BlackNet commented 2 months ago

I have both mainsail and fluidd on this machine. I have fluidd set to relative file position, mainsail to file, filament, slicer.

Clon1998 commented 2 months ago

In that case mainsail should also be off as mobileraker currently uses all available sources.

BlackNet commented 2 months ago

Screenshot 2024-07-10 172117 Screenshot 2024-07-10 172109

This is what each shows.

Clon1998 commented 2 months ago

Alright, I guess I'll need to make this configurable or remove the file as ETA source if the delta between it and the other two is too big.

BlackNet commented 2 months ago

I guess this swing would be different in several cases. Making it configurable would be the best. That way, each user could change it according to what they are printing.

Clon1998 commented 2 months ago

2.7.1 added that option