OctoDash icon indicating copy to clipboard operation
OctoDash copied to clipboard

Add support for MMU2 Filament Change as a plugin on OctoDash

Open Tor-Einar opened this issue 3 years ago • 23 comments

This is not a major problem, it will just improve Octodash usage for me.

I'd like for Octodash to ask for which filament to use after I have selected Print.

Print -> FIlament Select -> After warmup the filament rutine is run (at least check if the nozzle is prehated)

https://github.com/derPicknicker1/OctoPrint-Mmu2filamentselect

Tor-Einar avatar Nov 13 '20 11:11 Tor-Einar

I agree with @Tor-Einar I too would love this feature. I prefer to start prints from my physical printer (the main point of my using OctoDash). That being said this is not a deal breaker.

ammas09 avatar Jan 17 '21 17:01 ammas09

+1 here. If i start the print from Octodash, nothing happens, because OctoDash doesn't shows that the plugin is requesting to select the filament number on the web interface.

Montezuma-69 avatar Aug 21 '21 03:08 Montezuma-69

Is that selection coming up as an action command prompt in OctoPrint? These command prompts will be also shown in the next version of OctoDash, so that should probably make that a lot easier.

UnchartedBull avatar Aug 23 '21 14:08 UnchartedBull

Hi @UnchartedBull I'm working on making this possible via the PrusaMMU plugin for OctoPrint (https://github.com/jukebox42/Octoprint-PrusaMMU) Status right now, is that it works pretty well: 68747470733a2f2f64726976652e676f6f676c652e636f6d2f75633f69643d31532d346c4b6949587171667a7378536e33764166334b42617446656c45566741

Before cleaning the code and make it ready for a PR, I would like to know if you're interested in merging it in?

Thank you for a great piece of software!

Best regards, Anders

AndersWinther-Dahl avatar Sep 26 '22 15:09 AndersWinther-Dahl

If anyone is interested, you can try out my build of OctoDash.

Make sure to install the Prusa MMU plugin in OctoPrint (https://github.com/jukebox42/OctoPrint-PrusaMMU). Please note that it's not the same as originally asked for in this issue.

Download my build of OctoDash from here: https://drive.google.com/file/d/1lQc72k-ee_bilrGrWe074PZGInpsLS1N/view?usp=sharing

Place it on your Raspberry Pi (tested with Raspberry Pi 3 Model B) and install it, it will take some time, so have patience: sudo dpkg -i octodash_2.3.4_armv7l.deb

Restart the Pi: sudo shutdown -r now

If you start from scratch, you can enable the plugin on startup, otherwise you can do it in settings > plugins > Prusa MMU

Here you can see it in action, from clean install: Prusa MMU in OctoDash

Please leave feedback :-)

AndersWinther-Dahl avatar Oct 01 '22 15:10 AndersWinther-Dahl

I've been using your Octodash version @AndersWinther-Dahl the past few weeks, it works well. Only thing I've noticed is it doesn't pull the spool details from Spool Manager. Each option is blank.

FieldofClay avatar Oct 31 '22 07:10 FieldofClay

Hi @FieldofClay That's correct, at the moment it only uses info from the "Prusa MMU"-plugin itself.

I don't expect it would be hard to get the details from Spool Manager.

I'll look into it.

AndersWinther-Dahl avatar Oct 31 '22 07:10 AndersWinther-Dahl

Hi @FieldofClay I did some changes, to get the spool details from SpoolManager / Filament Manager.

You can get my new build from here https://drive.google.com/file/d/1G3SraqhyZNEmullKsh-m1EqkR1lyr3jx/view?usp=drivesdk

Hope it works for you.

Best regards, Anders

AndersWinther-Dahl avatar Nov 12 '22 22:11 AndersWinther-Dahl

@AndersWinther-Dahl that link says access denied. also, can you post arm64 builds (in addition to armv7 builds)? I'd build them myself, but I always get an error about it being unable to import 'conf' when I run a build I made locally

Absolucy avatar Nov 13 '22 06:11 Absolucy

@Absolucy Yeah, I guess I didn't share it correct. I made builds for both arm64 and armv7 now.

arm64: https://drive.google.com/file/d/10-okil1mDdHBarBCA6eg_-50QYHqFVba/view?usp=sharing armv7: https://drive.google.com/file/d/1W7-eeDYrxfyRL5c8YjKMxs7QUa2sGeKK/view?usp=sharing

AndersWinther-Dahl avatar Nov 13 '22 08:11 AndersWinther-Dahl

I love to see that this is coming alive :)

But I can't get this to work. Well it does work great from my computer as a plugin on octoprint interface, but can't get it to work directly on my raspberry pi,

When I try to print driectly from Octodash, I never get the dialog box up, (but my octopod app on mu iphone tells me that my printer is waiting on a user input), going to my computer, the pop-up is there on my screen.

This is my installation, no error messages. any suggestions? image

SOLVED: My bad, I had a Firmware dialog box open on my LCD, this caused issues for me. It is working now. And so far it seems great.

Tor-Einar avatar Nov 13 '22 22:11 Tor-Einar

You need to enable PrusaMMU on the Octodash - screen. If you're using SpoolManager or Filament Manager, you should also enable one of those. In the OctoPrint web-interface, you should configure the PrusaMMU plugin, to tell it where it should get filament info from. Hope that helps

AndersWinther-Dahl avatar Nov 14 '22 05:11 AndersWinther-Dahl

You need to enable PrusaMMU on the Octodash - screen. If you're using SpoolManager or Filament Manager, you should also enable one of those. In the OctoPrint web-interface, you should configure the PrusaMMU plugin, to tell it where it should get filament info from. Hope that helps

Hi,

No it is ok, it was a firmware dialog that caused the issue.

But thanks for the reply

Tor-Einar avatar Nov 14 '22 06:11 Tor-Einar

@AndersWinther-Dahl's build has been working perfect for me for the last few months with 50+ prints, I have not had any issues with it. I can't imagine Octodash without it.

As far as I can see from a user perspective, this is stable and a worthy candidate to be included.

FieldofClay avatar Jan 25 '23 09:01 FieldofClay

@AndersWinther-Dahl thank you for your post. I am new to all this and wanted to ask if you could tell me what you mean exactly by downloading your octodash and placing it on my raspberry pi. I tried it but it doesn't work. Is there a special place where I have to save the file to execute it ? It would be really nice if you could help me. Thank you in advance

DittJ avatar Feb 06 '23 19:02 DittJ

@DittJ for a pi device you would download the armv7 file linked above. Then transfer the downloaded deb file to your device (I personally use FileZilla for this, but you can also use winscp). Once the file is transferred you have to install it, SSH to the pi and then from the folder where you transferred it to (typically /home/pi/) you run the command

dpkg -i /home/pi/octodash_2.3.5_armv7l.deb
sudo service getty@tty1 restart

jneilliii avatar Feb 06 '23 19:02 jneilliii

Thank you for your help. Now it works, I am very happy. Thank youVon meinem iPhone gesendetAm 06.02.2023 um 20:43 schrieb jneilliii @.>: @DittJ for a pi device you would download the armv7 file linked above. Then transfer the downloaded deb file to your device (I personally use FileZilla for this, but you can also use winscp). Once the file is transferred you have to install it, SSH to the pi and then from the folder where you transferred it to (typically /home/pi/) you run the command dpkg -i /home/pi/octodash_2.3.5_armv7l.deb sudo service @. restart

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

DittJ avatar Feb 06 '23 20:02 DittJ

Hey - This looks exactly what I am waiting for. Any idea when it will be merged into the main branch? And if not, can I get access to the build? Unfortunately the google drive links have expried.

Mange tak Anders - Fedt lille projekt

nsolling avatar Mar 18 '23 10:03 nsolling

Ahh, yes, forgot that I switched cloud storage.

ARM64: https://1drv.ms/u/s!Agx1vEbRuI2Tgb0N2N6jdvHT5DNslw

ARMv7: https://1drv.ms/u/s!Agx1vEbRuI2Tgb0LS8kJ4KD0ImXH-A

Sorry for the late reply!

AndersWinther-Dahl avatar Mar 25 '23 07:03 AndersWinther-Dahl

@AndersWinther-Dahl The latest version of the PrusaMMU plugin breaks the filament selection. Is it possible to get an updated version, or the source code?

Kevman323 avatar Sep 05 '23 14:09 Kevman323

@Kevman323 My fork can be found here https://github.com/AndersWinther-Dahl/OctoDash/tree/main When I find some spare time I'll look into it myself.

AndersWinther-Dahl avatar Sep 05 '23 16:09 AndersWinther-Dahl

@AndersWinther-Dahl My bad, I did two things at once. The error wasn't caused by the PrusaMMU plugin, it was caused by mdziekon's fork of Spool manager here https://github.com/mdziekon/OctoPrint-SpoolManager , which fixes a bunch of issues, since the original repo seems to be abandoned. That means that this is probably broken in octodash itself, not your code.

Also, I checked your repository earlier, and missed the extra branch. Thanks for the info though, I might start reading through how octodash even works so I can make my own tweaks.

Kevman323 avatar Sep 05 '23 20:09 Kevman323

I would really love PrusaMMU plugin in OctoDash.

sirCarljam avatar Oct 02 '23 22:10 sirCarljam