[GH-ISSUE #758] [Feature]: Add Photo after Print Completed in Notification Options (via WebHook) #507

Closed
opened 2026-05-06 12:30:23 +02:00 by BreizhHardware · 5 comments

Originally created by @Spegeli on GitHub (Mar 19, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/758

Originally assigned to: @maziggy on GitHub.

Problem or Use Case

When a print is finished, a photo of it is taken.
It would be very beneficial to have an option that allows attaching this finished print photo to the 'Print Completed' notifications.
Specifically, it should be included in the JSON via webhook (e.g., "image": "/9j/4AAQSkZJRg..."), just like it already is for the First Layer.

Proposed Solution

I use the webhook, for example, to send it to Home Assistant and from there, via automation, forward it to the Home Assistant Companion App.
If the JSON transmitted contains the photo of the finished print, it could then be displayed directly in the Companion App notification (i get for example on my phone).

Image

Alternatives Considered

No response

Feature Category

Notifications

Priority

Nice to have

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 @Spegeli on GitHub (Mar 19, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/758 Originally assigned to: @maziggy on GitHub. ### Problem or Use Case When a print is finished, a photo of it is taken. It would be very beneficial to have an option that allows attaching this finished print photo to the 'Print Completed' notifications. Specifically, it should be included in the JSON via webhook (e.g., "image": "/9j/4AAQSkZJRg..."), just like it already is for the First Layer. ### Proposed Solution I use the webhook, for example, to send it to Home Assistant and from there, via automation, forward it to the Home Assistant Companion App. If the JSON transmitted contains the photo of the finished print, it could then be displayed directly in the Companion App notification (i get for example on my phone). <img width="490" height="885" alt="Image" src="https://github.com/user-attachments/assets/0afdeeb9-b911-4d31-bfa2-0f2987ff9b2c" /> ### Alternatives Considered _No response_ ### Feature Category Notifications ### Priority Nice to have ### Mockups or Examples _No response_ ### Contribution - [ ] 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:30:23 +02:00
Author
Owner

@Spegeli commented on GitHub (Mar 19, 2026):

I just found a closed request: https://github.com/maziggy/bambuddy/issues/372. Telegram & ntfy already have this, but it would be good if the image is also transmitted with WebHooks, since WebHooks can be individually read and further processed.

<!-- gh-comment-id:4089127303 --> @Spegeli commented on GitHub (Mar 19, 2026): I just found a closed request: https://github.com/maziggy/bambuddy/issues/372. Telegram & ntfy already have this, but it would be good if the image is also transmitted with WebHooks, since WebHooks can be individually read and further processed.
Author
Owner

@maziggy commented on GitHub (Mar 19, 2026):

This actually already works — the webhook JSON includes the image field (base64-encoded JPEG) for Print Completed events when a finish photo is available.

To make sure it's working for you:

  1. Go to Settings → General and make sure Capture Finish Photo is enabled
  2. Your printer needs an active camera stream so Bambuddy can grab the snapshot

If both are set up, the webhook payload for Print Completed will include the "image" field just like First Layer does.

The docs were missing Print Completed from the list of events that include images — I've fixed that.

Let me know if you're still not seeing the image after checking those settings!


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:4089306118 --> @maziggy commented on GitHub (Mar 19, 2026): This actually already works — the webhook JSON includes the image field (base64-encoded JPEG) for Print Completed events when a finish photo is available. To make sure it's working for you: 1. Go to Settings → General and make sure Capture Finish Photo is enabled 2. Your printer needs an active camera stream so Bambuddy can grab the snapshot If both are set up, the webhook payload for Print Completed will include the "image" field just like First Layer does. The docs were missing Print Completed from the list of events that include images — I've fixed that. Let me know if you're still not seeing the image after checking those settings! ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/maziggy/bambuddy) — it helps others discover the project!
Author
Owner

@Spegeli commented on GitHub (Mar 19, 2026):

@maziggy

Ok for me its not working. It seems the Image Field is not included in the json webhook.

Here are some Informations for your:

BamBuddy Version 0.2.2 (or do i need a beta build?)
Capture Finished Photo is enabled (and under Archiv i can see the Photo).

Image

This is a website which i use to debug the webhook: https://webhook.site/#!/view/59cb99aa-532a-44fc-a8b8-a07ed8f233a4/9b52806c-e65d-4f00-a4a3-68c41944d4ed/1

as you can see here:

Image

the image field is not included in the json.

Here are some screenshots from the notification settings:

Image Image Image
<!-- gh-comment-id:4089460897 --> @Spegeli commented on GitHub (Mar 19, 2026): @maziggy Ok for me its not working. It seems the Image Field is not included in the json webhook. Here are some Informations for your: BamBuddy Version 0.2.2 (or do i need a beta build?) Capture Finished Photo is enabled (and under Archiv i can see the Photo). <img width="384" height="375" alt="Image" src="https://github.com/user-attachments/assets/b9382967-f620-4f96-a8ca-8f693ca7994f" /> This is a website which i use to debug the webhook: https://webhook.site/#!/view/59cb99aa-532a-44fc-a8b8-a07ed8f233a4/9b52806c-e65d-4f00-a4a3-68c41944d4ed/1 as you can see here: <img width="1022" height="174" alt="Image" src="https://github.com/user-attachments/assets/fcebac7e-d27b-4aa2-8b4f-e71f757c4b2e" /> the image field is not included in the json. Here are some screenshots from the notification settings: <img width="502" height="1116" alt="Image" src="https://github.com/user-attachments/assets/b82f404c-d1cc-4f8e-a79f-1806da2af384" /> <img width="677" height="1265" alt="Image" src="https://github.com/user-attachments/assets/19622f57-ee74-4b58-94a4-347f93a66049" /> <img width="677" height="701" alt="Image" src="https://github.com/user-attachments/assets/03d2765e-af8a-4dc5-93b0-0e5516dffa3b" />
Author
Owner

@Spegeli commented on GitHub (Mar 19, 2026):

It seems that in First Layer the Image ist Missing too:

Image

<!-- gh-comment-id:4089548943 --> @Spegeli commented on GitHub (Mar 19, 2026): It seems that in First Layer the Image ist Missing too: ![Image](https://github.com/user-attachments/assets/a6a13910-cab3-42ed-b001-a91fa54d1585)
Author
Owner

@maziggy commented on GitHub (Mar 20, 2026):

You need to use branch dev or the latest daily Docker build.

<!-- gh-comment-id:4096711055 --> @maziggy commented on GitHub (Mar 20, 2026): You need to use branch dev or the latest daily Docker build.
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#507
No description provided.