1
0
Fork 0
mirror of https://github.com/maziggy/bambuddy.git synced 2026-05-09 08:25:54 +02:00

[GH-ISSUE #910] [Feature]: Liveview Snapshots in HA Notifications #626

Closed
opened 2026-05-07 00:12:12 +02:00 by BreizhHardware · 7 comments

Originally created by @PedroC1999 on GitHub (Apr 7, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/910

Originally assigned to: @maziggy on GitHub.

Problem or Use Case

The current HA Notifications don't seem to include images or snapshots of the current print operation/progress

Proposed Solution

It would be great if an option could be added, to include these - as it is possible using native HA notifications through automations

Alternatives Considered

No response

Feature Category

Print Archiving

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 @PedroC1999 on GitHub (Apr 7, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/910 Originally assigned to: @maziggy on GitHub. ### Problem or Use Case The current HA Notifications don't seem to include images or snapshots of the current print operation/progress ### Proposed Solution It would be great if an option could be added, to include these - as it is possible using native HA notifications through automations ### Alternatives Considered _No response_ ### Feature Category Print Archiving ### Priority Nice to have ### 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
Author
Owner

@maziggy commented on GitHub (Apr 8, 2026):

HA psersistent notifictions don't support image attachments.

<!-- gh-comment-id:4205502731 --> @maziggy commented on GitHub (Apr 8, 2026): HA psersistent notifictions don't support image attachments.
Author
Owner

@PedroC1999 commented on GitHub (Apr 8, 2026):

Hi,

That's fair - in which case can't it be an option to instead use "Notification Channels/tags" so that the latest message overwrites the previous one, and thus allow progress photos to be included?

I'd argue this would be a worthwhile tradeoff.

Thank you for looking into it, wondering what your thoughts are

<!-- gh-comment-id:4205514820 --> @PedroC1999 commented on GitHub (Apr 8, 2026): Hi, That's fair - in which case can't it be an option to instead use "Notification Channels/tags" so that the latest message overwrites the previous one, and thus allow progress photos to be included? I'd argue this would be a worthwhile tradeoff. Thank you for looking into it, wondering what your thoughts are
Author
Owner

@maziggy commented on GitHub (Apr 8, 2026):

I#m not that familiar with HA. Can you explain more detailed please?

<!-- gh-comment-id:4205723692 --> @maziggy commented on GitHub (Apr 8, 2026): I#m not that familiar with HA. Can you explain more detailed please?
Author
Owner

@PedroC1999 commented on GitHub (Apr 8, 2026):

No problem, I will try and summarise it.

In HomeAssistant, you can send Notifications to companion apps that support advanced data. https://companion.home-assistant.io/docs/notifications/notification-attachments

Essentially, if we add an "image: {address}" to the payload, and Bambuddy makes a snapshot in an accessible URL - it should natively show as long as the client device receiving the notification can access that URL at the time (be it on local network, or over nginx reverse proxy, etc.

message: "Something happened at home!" data: # an example of an absolute url image: "https://www.home-assistant.io/images/default-social.png"

This can be made more advanced too, by passing a "url"/"clickAction" datatag - this could point towards the URL of bambuddy, so it opens the link in the browser automatically if you press the notification.

The Tag feature I was on about, basically works by overwriting/replacing the latest notification, with new content on the client. Say you had a 25% notification already, then received a 50%, the 25% would no longer be there - HomeAssistants companion app does that for you.

data: title: "Motion Detected in Backyard" message: "Someone might be in the backyard." data: tag: "backyard-motion-detected"

The tag can be dynamically made, so Bambuddy can simply have one for each Notification type - for example "printer_h2s_progress" and "printer_h2s_fault" - this would allow 2 different notifications, that get overwritten each time a new one with the same tag is sent.

I am a SW developer and should be able to help with this, would you be open to a PR and some enviroment setup questions?

<!-- gh-comment-id:4205797518 --> @PedroC1999 commented on GitHub (Apr 8, 2026): No problem, I will try and summarise it. In HomeAssistant, you can send Notifications to companion apps that support advanced data. https://companion.home-assistant.io/docs/notifications/notification-attachments Essentially, if we add an "image: {address}" to the payload, and Bambuddy makes a snapshot in an accessible URL - it should natively show as long as the client device receiving the notification can access that URL at the time (be it on local network, or over nginx reverse proxy, etc. ` message: "Something happened at home!" data: # an example of an absolute url image: "https://www.home-assistant.io/images/default-social.png" ` This can be made more advanced too, by passing a "url"/"clickAction" datatag - this could point towards the URL of bambuddy, so it opens the link in the browser automatically if you press the notification. The Tag feature I was on about, basically works by overwriting/replacing the latest notification, with new content on the client. Say you had a 25% notification already, then received a 50%, the 25% would no longer be there - HomeAssistants companion app does that for you. ` data: title: "Motion Detected in Backyard" message: "Someone might be in the backyard." data: tag: "backyard-motion-detected" ` The tag can be dynamically made, so Bambuddy can simply have one for each Notification type - for example "printer_h2s_progress" and "printer_h2s_fault" - this would allow 2 different notifications, that get overwritten each time a new one with the same tag is sent. I am a SW developer and should be able to help with this, would you be open to a PR and some enviroment setup questions?
Author
Owner

@maziggy commented on GitHub (Apr 8, 2026):

I am a SW developer and should be able to help with this, would you be open to a PR and some enviroment setup questions?

Yes, sure! Please follow our rules from CONTRIBUTING.md.

<!-- gh-comment-id:4205809712 --> @maziggy commented on GitHub (Apr 8, 2026): >I am a SW developer and should be able to help with this, would you be open to a PR and some enviroment setup questions? Yes, sure! Please follow our rules from CONTRIBUTING.md.
Author
Owner

@PedroC1999 commented on GitHub (Apr 8, 2026):

Thank you,

I guess my main question before development, is does Bambuddy have a mechanism or URL for "latest Snapshot" or for triggering a Snapshot? If not then that dev work would be a precursor to the advanced notifications.

I see other notif types have a similar mechanism? Are these snapshots stored anywhere accessible via http?

<!-- gh-comment-id:4205834523 --> @PedroC1999 commented on GitHub (Apr 8, 2026): Thank you, I guess my main question before development, is does Bambuddy have a mechanism or URL for "latest Snapshot" or for triggering a Snapshot? If not then that dev work would be a precursor to the advanced notifications. I see other notif types have a similar mechanism? Are these snapshots stored anywhere accessible via http?
Author
Owner

@maziggy commented on GitHub (Apr 8, 2026):

Just use the API browser in settings.

<!-- gh-comment-id:4206026628 --> @maziggy commented on GitHub (Apr 8, 2026): Just use the API browser in settings.
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-maziggy-1#626
No description provided.