modrzew / hass-flashforge-adventurer-3

Home Assistant integration providing support for the FlashForge Adventurer 3 3D printer.
20 stars 10 forks source link

No actual progress data Adventurer 4 #7

Open blackbird0589 opened 1 year ago

blackbird0589 commented 1 year ago

Hi and first of all thank you for this tool! As mentioned in the issue below I also don't have actual progress data - cam, Temps, status works great, but printing progress is always "0%". Is there any workaround that would fix this?

kind regards Thomas


This hacs worked straight out of the box for me using a Av. 4, entities/sub it seems to support are as follows

Progress however results in reporting a 0, would be nice to be able to see the actual progress.

Thanks for building this mod. useful!

Originally posted by @roperstv in https://github.com/modrzew/hass-flashforge-adventurer-3/issues/1#issuecomment-1365241053

Sereen666 commented 1 year ago

Same for me with the Adv.4 hoping there will be a fix for this

blackbird0589 commented 1 year ago

@modrzew: Hey Tomek could you be so kind and have a look at our problem. Maybe it's pretty easy to fix, but I'm not able to handle it.

Thanks a lot!

modrzew commented 1 year ago

Hey @blackbird0589, sorry so much for lack of reply, this has fallen through the cracks. I presume you have Adventurer 4 printer β€”Β can you tell me which firmware version you're at?

blackbird0589 commented 1 year ago

No problem, could happen to everyone of us. My firmware is V2.2.4-2.3 / Kernel: 1.4.0 / Library: 1.2.0, just updated yesterday to this version.

modrzew commented 1 year ago

Looks like they're updating all the printers except for Adventurer 3 which is still on 1.3.6 firmware, whatever that means πŸ₯²

I just pushed a new version of the integration 1.0.3, which adds some debug messages to logs. Can you update and also enable logging by setting this in your configuration.yaml:

logger:
  default: warn
  logs:
    custom_components.flashforge_adventurer_3: debug

and then paste the relevant logs here? For progress specifically we're interested in the ~M27 command.

blackbird0589 commented 1 year ago

Hi Tomek, I'm not really familiar with extracting logs from Homeassistant. If anything is missing please tell me where to find it. HA_Core.txt Flashforge Adventurer 3 progress_sensor

modrzew commented 1 year ago

That's exactly what I needed, thank you!

I just pushed the version 1.0.4 β€”Β @blackbird0589 @Sereen666 can you try updating and telling me if the progress is reported now?

Sereen666 commented 1 year ago

I did a quick print that took 5 minutes but it has not registered any progress.

blackbird0589 commented 1 year ago

Same to me, no progress values...tried also to reinstall integration but no success.

modrzew commented 1 year ago

Hey @blackbird0589 @Sereen666, sorry for the delay with response. I'm not sure what can be wrong in this case 😞 Can you check if FlashPrint software correctly reports printing progress? If it does, then would you be able to share more logs from Home Assistant, ideally from the middle of the print when the progress value is greater than zero?

blackbird0589 commented 1 year ago

Hey Tomek, attached the required logs. In my eyes it contains the layer progress. e.g.: Sent "~M27" to the printer 2023-05-02 13:34:03.392 DEBUG (MainThread) [custom_components.flashforge_adventurer_3.protocol] Response from the printer: b'CMD M27 Received.\r\nSD printing byte 51/100\r\nLayer: 24/135\r\nok\r\n'

Maybe you can spend some time to have a look at.

FFAdv4_Logs.txt

modrzew commented 1 year ago

Interesting, the response from the printer should be captured by the regexp, so it's weird it still doesn't work.

Screenshot 2023-05-07 at 22 22 23

Just to make sure, are you on either version 1.0.4 or the most recent master commit?

blackbird0589 commented 1 year ago

Yes, I'm on 1.0.4. Is there any difference to master commit?

MadsALarsen commented 8 months ago

any news on the matter, i have the same problem :-(

blackbird0589 commented 8 months ago

Just found that forge for adv. 4 - name is still Adventurer 3 but it works fine. You have to remove the old integration and HACS-component.

MadsALarsen commented 8 months ago

Just found that forge for adv. 4 - name is still Adventurer 3 but it works fine. You have to remove the old integration and HACS-component.

Thanks 🀘🏻🀘🏻