Clon1998 / mobileraker_companion

Companion for mobileraker, enabling push notification.
MIT License
209 stars 12 forks source link

Disable Notifications for Timelapse Improved but still isn't fully working #82

Closed Snuffy2 closed 4 months ago

Snuffy2 commented 9 months ago

Building on #73 and #81. As @Johnnytk36 had noted in #81, the notifications are now less when pausing and restarting to take a timelapse photo (not every layer), but are still happening, just intermittently. Often print will go 25-50% without any erroneous pause/start alerts then it will start showing these sometimes every few layers, sometimes for every layer until it completes.

If there's some type of logging you'd like to see or something to test, please let me know.

361F4E0D-39AD-40E4-8A68-82752B440EFE_1_102_o 76F4C8FC-64B7-4D15-8FC8-9984A6169493_1_102_o

61FE6747-3389-4B4E-8289-243F1DA5AA33_4_5005_c 34A0E374-14C2-4777-BE57-E1B25E246BD8_4_5005_c 01BFC170-01AD-46F8-86E6-815204E4F049_4_5005_c 02B23248-1B8E-4465-BE51-3693C12BE241_4_5005_c DE03A8B9-7E6D-4A1F-A719-891F7205906F_4_5005_c

Clon1998 commented 8 months ago

Hey, I have ran the current version of the companion + timelapse on two of my machines without any problem.

However, I am not using the parking mode. Can you confirm to me that you are using the parking mode?

Feel free to upload the logs. They are either located in /tmp/mobileraker.log or in the same location as all other logs.

Johnnytk36 commented 8 months ago

I am using the parking mode.

Screenshot 2024-02-22 at 12 13 14 PM
Clon1998 commented 8 months ago

I am using the parking mode.

Screenshot 2024-02-22 at 12 13 14 PM

I will enable it on one of my printers to debug it!

Snuffy2 commented 8 months ago

Same here. The parking between layers before taking the timelapse is what is triggering those notices.

Snuffy2 commented 8 months ago

Logfile of recent print is attached. Timelapse with parking between layers is on. There were only 34 layers and it sent me Pause/Start alerts for 2 layers sometime between 25-50% complete (between layers 8-18).

mobileraker_with_timelapse.log

646A4039-C079-42CE-B694-8F8D75769800_1_102_o

Snuffy2 commented 4 months ago

Any updates on getting this fixed?

Clon1998 commented 4 months ago

Any updates on getting this fixed?

I lost track of this issue while working on 2.7.0. I will take a look in the next days to see if I am able to reproduce this issue and hopefully fix it.

In the meantime, can you provide me the version of the companion you are using @Snuffy2 ?

Snuffy2 commented 4 months ago

No worries, totally understand and thank you very much for a great tool. I'm running: Mobileraker app: 2.7.0-501 Mobileraker Companion: v0.4.0-58-g828e9a8c

Clon1998 commented 4 months ago

No worries, totally understand and thank you very much for a great tool. I'm running: Mobileraker app: 2.7.0-501 Mobileraker Companion: v0.4.0-58-g828e9a8c

Thanks. The companion is a bit outdated but nothing major that would affect this issue. Also, just was able to reproduce that behavior locally. Just need to identify the root cause for this issue!

Snuffy2 commented 4 months ago

Working great so far after printing a couple of things. Thanks!!!