[GH-ISSUE #192] [Feature]: Add support for H2D Pro #120

Closed
opened 2026-05-06 12:26:03 +02:00 by BreizhHardware · 17 comments

Originally created by @cadtoolbox on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/192

Originally assigned to: @cadtoolbox, @maziggy on GitHub.

Problem or Use Case

We use H2D Pro which does not match 1:1 with the available H2D.

Proposed Solution

Attached is the MQTT that may be helpful in adding this as a selection within Bambuddy.

H2D-Pro_MQTT.json

Alternatives Considered

No response

Feature Category

Print Queue & Scheduling

Priority

Critical for my use case

Mockups or Examples

No response

Contribution

  • I would be willing to help implement this feature

Checklist

  • I have searched existing issues to ensure this feature hasn't already been requested
Originally created by @cadtoolbox on GitHub (Jan 30, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/192 Originally assigned to: @cadtoolbox, @maziggy on GitHub. ### Problem or Use Case We use H2D Pro which does not match 1:1 with the available H2D. ### Proposed Solution Attached is the MQTT that may be helpful in adding this as a selection within Bambuddy. [H2D-Pro_MQTT.json](https://github.com/user-attachments/files/24965963/H2D-Pro_MQTT.json) ### Alternatives Considered _No response_ ### Feature Category Print Queue & Scheduling ### Priority Critical for my use case ### Mockups or Examples _No response_ ### Contribution - [x] I would be willing to help implement this feature ### Checklist - [x] I have searched existing issues to ensure this feature hasn't already been requested
BreizhHardware 2026-05-06 12:26:03 +02:00
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

If you are willing to help, please go ahead. Thanks!

Please use branch 0.1.6-final as source branch.

<!-- gh-comment-id:3823728394 --> @maziggy commented on GitHub (Jan 30, 2026): If you are willing to help, please go ahead. Thanks! Please use branch 0.1.6-final as source branch.
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

@maziggy I started looking into this and a lot of the files already refer to the H2D Pro. I need to figure out what's actually missing since it's not available as a selection.

printer_models.py:

# Map from 3MF printer_model strings to normalized short names
PRINTER_MODEL_MAP = {
    "Bambu Lab X1 Carbon": "X1C",
    "Bambu Lab X1": "X1",
    "Bambu Lab X1E": "X1E",
    "Bambu Lab P1S": "P1S",
    "Bambu Lab P1P": "P1P",
    "Bambu Lab P2S": "P2S",
    "Bambu Lab A1": "A1",
    "Bambu Lab A1 Mini": "A1 Mini",
    "Bambu Lab A1 mini": "A1 Mini",
    "Bambu Lab H2D": "H2D",
    "Bambu Lab H2D Pro": "H2D Pro",
}
<!-- gh-comment-id:3824010663 --> @cadtoolbox commented on GitHub (Jan 30, 2026): @maziggy I started looking into this and a lot of the files already refer to the H2D Pro. I need to figure out what's actually missing since it's not available as a selection. printer_models.py: ``` # Map from 3MF printer_model strings to normalized short names PRINTER_MODEL_MAP = { "Bambu Lab X1 Carbon": "X1C", "Bambu Lab X1": "X1", "Bambu Lab X1E": "X1E", "Bambu Lab P1S": "P1S", "Bambu Lab P1P": "P1P", "Bambu Lab P2S": "P2S", "Bambu Lab A1": "A1", "Bambu Lab A1 Mini": "A1 Mini", "Bambu Lab A1 mini": "A1 Mini", "Bambu Lab H2D": "H2D", "Bambu Lab H2D Pro": "H2D Pro", } ```
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

Check branch feature/192 and let me know.

<!-- gh-comment-id:3824117839 --> @maziggy commented on GitHub (Jan 30, 2026): Check branch feature/192 and let me know.
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

It's not available as a choice.

Image
<!-- gh-comment-id:3824244815 --> @cadtoolbox commented on GitHub (Jan 30, 2026): It's not available as a choice. <img width="609" height="345" alt="Image" src="https://github.com/user-attachments/assets/73c01a49-7a9e-4594-bb76-641b98199b51" />
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

Hmmmm.....it was added.

Recompile the frontend.

cd frontend && npm run build

<!-- gh-comment-id:3824325758 --> @maziggy commented on GitHub (Jan 30, 2026): Hmmmm.....it was added. Recompile the frontend. cd frontend && npm run build
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

@maziggy That didn't work. It's odd it's not showing. Everything looks correct. I'll keep digging.

<!-- gh-comment-id:3824558512 --> @cadtoolbox commented on GitHub (Jan 30, 2026): @maziggy That didn't work. It's odd it's not showing. Everything looks correct. I'll keep digging.
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

How do you run Bambuddy? Docker or not?

<!-- gh-comment-id:3824570384 --> @maziggy commented on GitHub (Jan 30, 2026): How do you run Bambuddy? Docker or not?
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

I'm currently running without docker on Windows for now.

<!-- gh-comment-id:3824583542 --> @cadtoolbox commented on GitHub (Jan 30, 2026): I'm currently running without docker on Windows for now.
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

Oh, I see the problem ;) Haha

cd to bambuddy folder, then

git checkout feature/192 && git pull && cd frontend && npm run build

then (re)start Bambuddy.

I've tried it and it works.

<!-- gh-comment-id:3824594421 --> @maziggy commented on GitHub (Jan 30, 2026): Oh, I see the problem ;) Haha cd to bambuddy folder, then git checkout feature/192 && git pull && cd frontend && npm run build then (re)start Bambuddy. I've tried it and it works.
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

Success! I'm going to do some testing with the printer now.

<!-- gh-comment-id:3824631958 --> @cadtoolbox commented on GitHub (Jan 30, 2026): Success! I'm going to do some testing with the printer now.
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

@maziggy The printer is showing an error once the job was sent:

fail_reason = 117473298 print_error = 117473298 mc_print_error_code = 32786 reason = "Cann't find" Command that failed: extrusion_cali_get

H2DPro-Error.json

Add: Support Bundle

bambuddy-support-20260130-115736.zip

Going to see what I can figure out.

<!-- gh-comment-id:3824674439 --> @cadtoolbox commented on GitHub (Jan 30, 2026): @maziggy The printer is showing an error once the job was sent: `fail_reason = 117473298 print_error = 117473298 mc_print_error_code = 32786 reason = "Cann't find" Command that failed: extrusion_cali_get` [H2DPro-Error.json](https://github.com/user-attachments/files/24970318/H2DPro-Error.json) Add: Support Bundle [bambuddy-support-20260130-115736.zip](https://github.com/user-attachments/files/24970526/bambuddy-support-20260130-115736.zip) Going to see what I can figure out.
Author
Owner

@cadtoolbox commented on GitHub (Jan 30, 2026):

This is what I learned so far:

  • If I print using "Any H2D Pro" it fails as soon as Filament loading starts.
  • If I print by picking the specific printer, it gets past the Filament loading step to Nozzle cleaning.

What could be different in the new feature/printer_model_queue that would result in different behavior between these 2 methods for the H2D Pro?

<!-- gh-comment-id:3824950388 --> @cadtoolbox commented on GitHub (Jan 30, 2026): This is what I learned so far: - If I print using "Any H2D Pro" it fails as soon as Filament loading starts. - If I print by picking the specific printer, it gets past the Filament loading step to Nozzle cleaning. What could be different in the new feature/printer_model_queue that would result in different behavior between these 2 methods for the H2D Pro?
Author
Owner

@maziggy commented on GitHub (Jan 30, 2026):

I'm quite sure that has something to do with the ams slot mapping. We'll find out. Let me look into this tomorrow morning first.

<!-- gh-comment-id:3825140052 --> @maziggy commented on GitHub (Jan 30, 2026): I'm quite sure that has something to do with the ams slot mapping. We'll find out. Let me look into this tomorrow morning first.
Author
Owner

@maziggy commented on GitHub (Jan 31, 2026):

Try again with branch feature/192

<!-- gh-comment-id:3827809611 --> @maziggy commented on GitHub (Jan 31, 2026): Try again with branch feature/192
Author
Owner

@cadtoolbox commented on GitHub (Jan 31, 2026):

Let me know if you need more information:

[backend.app.services.print_scheduler]
Scheduler error: unsupported operand type(s) for //: 'str' and 'int'

2026-01-31 07:27:28,045 INFO [backend.app.services.bambu_ftp] FTP uploading C:\bambuddy\archive\unassigned\20260131_072646_H2D-VISUAL-KEY.gcode\H2D-VISUAL-KEY.gcode.3mf (201748 bytes) to /H2D-VISUAL-KEY.3mf 2026-01-31 07:27:28,096 INFO [backend.app.services.bambu_ftp] FTP upload complete: /H2D-VISUAL-KEY.3mf 2026-01-31 07:27:28,102 INFO [backend.app.main] Registered expected print: printer=2, file=H2D-VISUAL-KEY.3mf, archive=1 2026-01-31 07:27:28,103 ERROR [backend.app.services.print_scheduler] Scheduler error: unsupported operand type(s) for //: 'str' and 'int' 2026-01-31 07:27:29,443 INFO [backend.app.services.bambu_mqtt] [2398AA570300110] Found xcam inside print data: {'allow_skip_parts': False, 'buildplate_marker_detector': True, 'cfg': 224695, 'first_layer_inspector': True, 'halt_print_sensitivity': 'medium', 'print_halt': True, 'printing_monitor': True, 'spaghetti_detector': True}

<!-- gh-comment-id:3828381026 --> @cadtoolbox commented on GitHub (Jan 31, 2026): Let me know if you need more information: [backend.app.services.print_scheduler] Scheduler error: unsupported operand type(s) for //: 'str' and 'int' `2026-01-31 07:27:28,045 INFO [backend.app.services.bambu_ftp] FTP uploading C:\bambuddy\archive\unassigned\20260131_072646_H2D-VISUAL-KEY.gcode\H2D-VISUAL-KEY.gcode.3mf (201748 bytes) to /H2D-VISUAL-KEY.3mf 2026-01-31 07:27:28,096 INFO [backend.app.services.bambu_ftp] FTP upload complete: /H2D-VISUAL-KEY.3mf 2026-01-31 07:27:28,102 INFO [backend.app.main] Registered expected print: printer=2, file=H2D-VISUAL-KEY.3mf, archive=1 2026-01-31 07:27:28,103 ERROR [backend.app.services.print_scheduler] Scheduler error: unsupported operand type(s) for //: 'str' and 'int' 2026-01-31 07:27:29,443 INFO [backend.app.services.bambu_mqtt] [2398AA570300110] Found xcam inside print data: {'allow_skip_parts': False, 'buildplate_marker_detector': True, 'cfg': 224695, 'first_layer_inspector': True, 'halt_print_sensitivity': 'medium', 'print_halt': True, 'printing_monitor': True, 'spaghetti_detector': True}`
Author
Owner

@maziggy commented on GitHub (Jan 31, 2026):

Fixed in branch feature/192

<!-- gh-comment-id:3828534386 --> @maziggy commented on GitHub (Jan 31, 2026): Fixed in branch feature/192
Author
Owner

@cadtoolbox commented on GitHub (Jan 31, 2026):

@maziggy Fully tested and everything is working. Sent job direct and to 'Any H2D Pro'. No issues. Thanks!!

<!-- gh-comment-id:3828627554 --> @cadtoolbox commented on GitHub (Jan 31, 2026): @maziggy Fully tested and everything is working. Sent job direct and to 'Any H2D Pro'. No issues. Thanks!!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#120
No description provided.