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
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Checklist
@maziggy commented on GitHub (Apr 8, 2026):
HA psersistent notifictions don't support image attachments.
@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
@maziggy commented on GitHub (Apr 8, 2026):
I#m not that familiar with HA. Can you explain more detailed please?
@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?
@maziggy commented on GitHub (Apr 8, 2026):
Yes, sure! Please follow our rules from CONTRIBUTING.md.
@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?
@maziggy commented on GitHub (Apr 8, 2026):
Just use the API browser in settings.