# Octoprint and IDEX problem: extruders run into each other

**URL:** <https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957>\
**Category:** J1/J1s IDEX\
**Created:** [October 20, 2024, 12:43pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957 "2024-10-20T12:43:23Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![xboxhooah](https://avatars.discourse-cdn.com/v4/letter/x/d78d45/32.png) [@xboxhooah](https://forum.snapmaker.com/u/xboxhooah)\
**Post date:** [October 25, 2024, 10:34am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/21 "2024-10-25T10:34:46Z")

</div>

I just tried connecting my RPI with octopi to the front of the USB-A port of the Snapmaker J1, but I am not able to get connected, so I think only the USB-B port is compatible for this kind of communication.

Indeed. The benefits of Octoprint for me is remote control. Using Wifi and Luban you are only able to stop a print (but not monitor with a camera for e.g.) locally and not remotely.

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [October 25, 2024, 7:04pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/22 "2024-10-25T19:04:48Z")

</div>

USB-A is only for usb thumb-drive, USB-Mini-B is for serial connection, as it is at the 2.0.

---

<div class="post-metadata">

**Author:** ![MarkA121](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MarkA121](https://forum.snapmaker.com/u/MarkA121)\
**Post date:** [October 25, 2024, 7:32pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/23 "2024-10-25T19:32:43Z")

</div>

I would imagine that I will be able to watch a print using my Octoprint, as the camera functions whether it is printing or not. Right now, I’m getting Luban set up to use as a slicer instead of Cura, to see what differences there are in the gcodes in generates. I’m sure I’ll still have to add M605 Sx commands to get it working thru the back USB port, but I want to see if Wifi works.

---

<div class="post-metadata">

**Author:** ![MarkA121](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MarkA121](https://forum.snapmaker.com/u/MarkA121)\
**Post date:** [October 26, 2024, 2:08pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/24 "2024-10-26T14:08:02Z")

</div>

Well, THAT was informative…

I spent some time playing with Luban. It is not the latest version, as my Linux distro on my laptop is not up-to-date, and versions of Luban later than 4.6 won’t work. So, there’s that.

Luban seems to generate G-code well enough, but I cannot find a way to insert custom starting and ending gcodes, as I can with Cura. As discussed in this thread, some massaging of the gcode is necessary to get IDEX to work correctly when gcode is fed in thru USB-B. I suppose I could put the custom gcodes in Octoprint to get around this.

I also looked at using Luban without Octoprint. No go. I can upload the gcode to the printer over Wifi, but have to go to the printer and use the touchscreen to start printing. My printer and laptop are far apart, so that’s a deal breaker. There seems to be a way to print the gcode directly from Luban, but the code keeps stopping, without telling me why. Perhaps it is feuding with Octoprint? I use Octoprint to watch the printing on video, and to control the lights. Again, it appears that Snapmaker doesn’t like letting USB-B control the print. I have yet to try unplugging USB-B, and seeing if Luban works better that way.

It is disappointing that Snapmaker no longer supports the open source version of its IDEX firmware on github. So, I will continue with my current workflow for now: slice with Cura, upload gcode to Octoprint, and print from there over USB-B.

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [October 27, 2024, 7:33pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/25 "2024-10-27T19:33:55Z")

</div>

Maybe smuploader helps you transfering and starting wireless, there should be a terminus of “send and start the print”:

> [@Great Sharing: Prusaslicer Profiles by Dylan and McGybeer](https://forum.snapmaker.com/t/great-sharing-prusaslicer-profiles-by-dylan-and-mcgybeer/28796):
>
> [Update: 2024-09] Thanks to community contributors, especially macdylan (Dylan) and hliebscher (Heiko Liebscher) for creating initial profiles for Snapmaker machines. We can select Snapmaker machines directly from the default printer list in both Orca Slicer and PrusaSlicer. Read the relevant Wiki: Orca Slicer: [https://wiki.snapmaker.com/en/third\_party\_software/orca\_slicer\_with\_snapmaker\_printers](https://wiki.snapmaker.com/en/third_party_software/orca_slicer_with_snapmaker_printers) PrusaSlicer: [https://wiki.snapmaker.com/en/third\_party\_software/prusaslicer\_with\_snapmaker\_printe…](https://wiki.snapmaker.com/en/third_party_software/prusaslicer_with_snapmaker_printers)

---

<div class="post-metadata">

**Author:** ![xboxhooah](https://avatars.discourse-cdn.com/v4/letter/x/d78d45/32.png) [@xboxhooah](https://forum.snapmaker.com/u/xboxhooah)\
**Post date:** [October 30, 2024, 8:00am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/26 "2024-10-30T08:00:28Z")

</div>

I shared this post and my other post [Octoprint and IDEX problem: extruders run into each other - #24 by MarkA121](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/24) with Snapmaker support, after they told me to ask the community for help. This was their response: “We are sorry, due to the shortage of staff in the R&D development, we are temporarily unable to solve the problem of third-party modification of the machine for you. I hope you can understand.”  
I don’t think we can expect any updates in the firmware at any time from Snapmaker itself.

---

<div class="post-metadata">

**Author:** ![MarkA121](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MarkA121](https://forum.snapmaker.com/u/MarkA121)\
**Post date:** [October 31, 2024, 2:15am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/27 "2024-10-31T02:15:08Z")

</div>

Thanks for trying. I wonder if they would consider making the IDEX firmware open source, as it used to be? For now, putting the M605 commands in the right places seems to have things working well. I’m working through some issues with Cura compatibility with IDEX printers, on the Cura community forum. I’ll post an update here when I get it all sorted out.

After trying Luban for a bit, I’m going to focus on fine-tuning Cura, instead. The inability to include custom starting and ending gcodes in Luban is a deal-breaker for me.

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [November 2, 2024, 3:32am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/28 "2024-11-02T03:32:42Z")

</div>

Don’t know if y’all got this above in the thread, already a lot of discussion.

By now you know Luban and the Cura Snapmaker plugin for the J1 use the M2000 fast tool change command?

This code is interpreted by the Android firmware and not the low-level mcu. So if the code is sent directly to the mcu (via the rear USB), it’s skipped.

That’d be why support just says, “Print via the screen.” So that the M2000 command is parsed and interpreted by the macros encoded in the Android firmware.

I seem to recall others writing other custom tool changes. But using a basic T0/T1, etc, will leave the other head abandoned in place and lead to a crash.

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [November 2, 2024, 3:39am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/29 "2024-11-02T03:39:19Z")

</div>

(Other things that only happen via screen macros include intervening with the Adjust menu, etc, and I think also the filament runout process. The screen is not aware of anything sent via the serial connection to the mcu, and vice versa, other than the displayed sensor readings. I’ve personally skipped trying to initiate prints through octoprint. It cannot be done in a way the local control is aware.)

---

<div class="post-metadata">

**Author:** ![MarkA121](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MarkA121](https://forum.snapmaker.com/u/MarkA121)\
**Post date:** [November 3, 2024, 2:03am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/30 "2024-11-03T02:03:51Z")

</div>

This is good to know. I was not aware of the M2000 command, but I see it is showing up in my gcode generated by Cura 5.8 with the Snapmaker J1 plugin. However, if M2000 relies on going thru the front panel, it is a no-go for me. My printer is in a detached garage, and I usually start prints from my laptop in my living room.  
Looking at [https://wiki.snapmaker.com/en/Snapmaker\_Luban/manual/j1\_j1s\_supported\_gcode\_references](https://wiki.snapmaker.com/en/Snapmaker_Luban/manual/j1_j1s_supported_gcode_references), “M2000” isn’t listed. It _is_ listed under SM2, where it is a status inquiry command, and under Artisan, where it is used to control the laser. Looking at the source code, [SnapmakerController-IDEX/snapmaker/gcode/contorl/M2000.cpp at ba60aace13038b46cb349f5b7a80076fe8de3ce2 · Snapmaker/SnapmakerController-IDEX · GitHub](https://github.com/Snapmaker/SnapmakerController-IDEX/blob/ba60aace13038b46cb349f5b7a80076fe8de3ce2/snapmaker/gcode/contorl/M2000.cpp) (hopelessly out of date, but it’s all we have), it does many things, none of which are very clearly documented. I see references to it in other threads on this forum, but can find no official documentation of it for the J1s.

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [November 3, 2024, 3:33am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/31 "2024-11-03T03:33:12Z")

</div>

> [@MarkA121](#):
>
> hopelessly out of date

That file just hasn’t changed in a while. The repo was updated a few months ago after the most recent firmware update. (I did a pull last week and it has all the most recent changes.)

---

<div class="post-metadata">

**Author:** ![MarkA121](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@MarkA121](https://forum.snapmaker.com/u/MarkA121)\
**Post date:** [November 3, 2024, 3:44am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/32 "2024-11-03T03:44:32Z")

</div>

Hmmm…my J1 front panel says version 2.7.2. The github repo is 2.2.11. Not a _huge_ difference, but still. Perhaps “hopelessly out of date” was a bit of an exaggeration.

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [November 3, 2024, 3:47am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/33 "2024-11-03T03:47:27Z")

</div>

2.7.2 is the major version of the J1 firmware including the screen. 2.2.14\* is the current version of the Marlin portion.

---

<div class="post-metadata">

**Author:** ![jbot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/jbot/32/28468_2.png) [@jbot](https://forum.snapmaker.com/u/jbot)\
**Post date:** [December 29, 2024, 8:15am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/34 "2024-12-29T08:15:40Z")

</div>

did you manage to get octoprint fully functional? i require putting my printer in a remote location to print noxious plastics like abs. it cant stay in my main living area.

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [December 30, 2024, 6:20am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/35 "2024-12-30T06:20:54Z")

</div>

We ended up talking more about it here, @jbot.

I aim to give it a try just for fun, but not until after the new year. Dunno if Mark did though.

> [@What is "M2000 S200 V250 A6000"?](https://forum.snapmaker.com/t/what-is-m2000-s200-v250-a6000/38072):
>
> I have a J1s. I slice my STL files with Cura 5.8, with the Snapmaker\_J1 plugin, then upload the gcode to Octoprint, attached to my J1s thru the (back) USB port. I have discovered that the gcodes so loaded print differently, compared to gcodes loaded off a thumb drive thru the front USB, or uploaded over WiFi. In particular, I had to play around with the M605 S[01] command to get the two print heads to stay out of each other’s way during tool changes. In the Cura plugin, there is a file, "sna…

---

<div class="post-metadata">

**Author:** ![ZT\_1234](https://avatars.discourse-cdn.com/v4/letter/z/6f9a4e/32.png) [@ZT\_1234](https://forum.snapmaker.com/u/ZT_1234)\
**Post date:** [December 30, 2024, 6:22am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/36 "2024-12-30T06:22:08Z")

</div>

I have an instance going for my ender, and I might just add another instance for my snapmaker

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [December 30, 2024, 5:01pm UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/37 "2024-12-30T17:01:25Z")

</div>

You’ve surely seen elsewhere, but as highlighted here and in the other thread, the usefulness of what it can do via Octoprint right now is pretty limited.

If you only want to add a camera for monitoring, and have something that lets you send commands between prints, it’s great.

But full function remote printing doesn’t quite work due to the lack of HACs discussed in the other thread. And we dunno yet to what extent the Android firmware will play nice with them.

---

<div class="post-metadata">

**Author:** ![jbot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/jbot/32/28468_2.png) [@jbot](https://forum.snapmaker.com/u/jbot)\
**Post date:** [December 31, 2024, 5:27am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/38 "2024-12-31T05:27:30Z")

</div>

@Wombley if you would like to explore the android firmware see my new post

> [@Printer malfunction and exploring touch screen android](https://forum.snapmaker.com/t/printer-malfunction-and-exploring-touch-screen-android/38605/2):
>

---

<div class="post-metadata">

**Author:** ![jbot](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/jbot/32/28468_2.png) [@jbot](https://forum.snapmaker.com/u/jbot)\
**Post date:** [December 31, 2024, 5:36am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/39 "2024-12-31T05:36:30Z")

</div>

i tried to tag you in the above comment but failed

---

<div class="post-metadata">

**Author:** ![ZT\_1234](https://avatars.discourse-cdn.com/v4/letter/z/6f9a4e/32.png) [@ZT\_1234](https://forum.snapmaker.com/u/ZT_1234)\
**Post date:** [April 3, 2025, 12:37am UTC](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957/40 "2025-04-03T00:37:46Z")

</div>

did you ever resolve this? I just set up an octoprint instance with simplyprint and I cant home the x and y axes. it also only shows controls for one extruder

[Previous page](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957.md?page=1)

[Next page](https://forum.snapmaker.com/t/octoprint-and-idex-problem-extruders-run-into-each-other/37957.md?page=3)
