Scheduled/Automated Print Job Start #628
Replies: 4 comments 8 replies
-
Update: Progress on Print Start ImplementationI've been monitoring MQTT traffic between my printer and the Bambu app. Here's what I found: When starting a print via the app, this command appears: {
"print": {
"sequence_id": "2032",
"command": "project_file",
"param": "Metadata/plate_1.gcode",
"subtask_name": "Wirespool_A.3mf",
"plate_idx": 0,
"url": "file:///sdcard/cache/Wirespool_A.3mf",
"timelapse": false,
"bed_leveling": true,
"flow_cali": false,
"vibration_cali": false,
"layer_inspect": false,
"ams_mapping": [0, -1],
"use_ams": true
}
} However, I'm still missing how to:
I'm monitoring MQTT on port 8883 with topics:
Anyone familiar with these commands or can point me to documentation? I'll keep investigating and share what I find. |
Beta Was this translation helpful? Give feedback.
-
It is all possible to do, but also quite a bit of work so I haven't got any plans to start work on this any time soon. |
Beta Was this translation helpful? Give feedback.
-
Does HA have a robust enough UI capabilities to take a list of files, let the user select one and then trigger an action with the choice? |
Beta Was this translation helpful? Give feedback.
-
they're embedded in the 3mf file, but 3mf is literally just a renamed zip archive and they all have a standard layout so its piss easy to get the image from it.
…________________________________
From: Florian Schneider ***@***.***>
Sent: 29 October 2024 19:32
To: greghesp/ha-bambulab ***@***.***>
Cc: (s) Robin Holmes ***@***.***>; Comment ***@***.***>
Subject: Re: [greghesp/ha-bambulab] Scheduled/Automated Print Job Start (Discussion #628)
** THIS MESSAGE ORIGINATED OUTSIDE LOUGHBOROUGH UNIVERSITY **
** Be wary of links or attachments, especially if the email is unsolicited or you don't recognise the sender's email address. **
I would say yes. We just have to get a list of thumbnails of the 3MF files.
Are these embedded in the 3MF, or is there an additional folder of thumbnails?
It the UI addition becomes boring, I will just create a HTML/JS and embed it in HA.
—
Reply to this email directly, view it on GitHub<#628 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BKKS54TOZIT2O62ZOMTLFC3Z57PFVAVCNFSM6AAAAABQPXRVU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBZGE3TCNI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Current Situation
Looking at the integration code, I can see we have pause/resume/stop functionality via MQTT commands (in
commands.py
), but starting a print job isn't implemented yet.Use Case
I want to automate print starts based on Home Assistant triggers (e.g., geofencing when leaving home) to avoid printer noise during the day.
The workflow I'm thinking about:
Since the Bambu mobile app can already start prints from SD card, this should be possible to implement.
Technical Investigation
Looking at
commands.py
, I found:Questions
I'm a Python dev willing to help implement this. Would love to collaborate with others who might have already looked into these MQTT commands or are interested in figuring this out.
Beta Was this translation helpful? Give feedback.
All reactions