UnchartedBull / OctoDash

OctoDash is a simple, but beautiful dashboard for OctoPrint.
https://unchartedbull.github.io/OctoDash/index.html
Apache License 2.0
1.02k stars 219 forks source link

Add support for MMU2 Filament Change as a plugin on OctoDash #1176

Open Tor-Einar opened 3 years ago

Tor-Einar commented 3 years ago

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

ammas09 commented 3 years ago

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.

Montezuma-69 commented 2 years ago

+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.

UnchartedBull commented 2 years ago

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.

AndersWinther-Dahl commented 1 year ago

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 commented 1 year ago

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 :-)

FieldofClay commented 1 year ago

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.

AndersWinther-Dahl commented 1 year ago

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 commented 1 year ago

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

Absolucy commented 1 year ago

@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

AndersWinther-Dahl commented 1 year ago

@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

Tor-Einar commented 1 year ago

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.

AndersWinther-Dahl commented 1 year ago

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

Tor-Einar commented 1 year ago

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

FieldofClay commented 1 year ago

@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.

DittJ commented 1 year ago

@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

jneilliii commented 1 year ago

@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
DittJ commented 1 year ago

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: @.***>

nsolling commented 1 year ago

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

AndersWinther-Dahl commented 1 year ago

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!

Kevman323 commented 10 months ago

@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?

AndersWinther-Dahl commented 10 months ago

@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.

Kevman323 commented 10 months ago

@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.

sirCarljam commented 9 months ago

I would really love PrusaMMU plugin in OctoDash.