[GH-ISSUE #656] [Feature]: allow notifications to send via Home Assistant #427

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

Originally created by @TravisWilder on GitHub (Mar 8, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/656

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

Problem or Use Case

send notifications via home assistant not possible

Proposed Solution

as there is already a HA intergration use this api access to send notifications to HA as HA also supports push to mobile app.

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 @TravisWilder on GitHub (Mar 8, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/656 Originally assigned to: @maziggy, @mrtncode on GitHub. ### Problem or Use Case send notifications via home assistant not possible ### Proposed Solution as there is already a HA intergration use this api access to send notifications to HA as HA also supports push to mobile app. ### 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:29:23 +02:00
Author
Owner

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

as there is already a HA intergration

Not from Bambuddy. I wowuld suggest to get in touch with the developer of the HA integration.

<!-- gh-comment-id:4019286924 --> @maziggy commented on GitHub (Mar 8, 2026): >as there is already a HA intergration Not from Bambuddy. I wowuld suggest to get in touch with the developer of the HA integration.
Author
Owner

@TravisWilder commented on GitHub (Mar 8, 2026):

as there is already a HA intergration

Not from Bambuddy. I wowuld suggest to get in touch with the developer of the HA integration.

@maziggy
Sorry may be I did not expresse correctly . I was refering to the HA setup withing Bambuddy:
"Connect to Home Assistant to control smart plugs via HA's REST API. Supports switch, light, input_boolean, and script entities."

can this not be also be used to send notfication to HA and add this as notification provider in Bambuddy?
via HA - /api/services/notify the parameter needed would be [YOUR_PHONE_NOTIFICATION_ID] and in the post a message and title

<!-- gh-comment-id:4019487000 --> @TravisWilder commented on GitHub (Mar 8, 2026): > > as there is already a HA intergration > > Not from Bambuddy. I wowuld suggest to get in touch with the developer of the HA integration. @maziggy Sorry may be I did not expresse correctly . I was refering to the HA setup withing Bambuddy: "Connect to Home Assistant to control smart plugs via HA's REST API. Supports switch, light, input_boolean, and script entities." can this not be also be used to send notfication to HA and add this as notification provider in Bambuddy? via HA - /api/services/notify the parameter needed would be [YOUR_PHONE_NOTIFICATION_ID] and in the post a message and title
Author
Owner

@mrtncode commented on GitHub (Mar 9, 2026):

@maziggy @TravisWilder I think its better to setup this directly into HA :)
I have already done this for me and its pretty easy. The HA integration can communicate directly to the printer so its probably easier than tunneling through bambuddy :)

<!-- gh-comment-id:4023954957 --> @mrtncode commented on GitHub (Mar 9, 2026): @maziggy @TravisWilder I think its better to setup this directly into HA :) I have already done this for me and its pretty easy. The HA integration can communicate directly to the printer so its probably easier than tunneling through bambuddy :)
Author
Owner

@TravisWilder commented on GitHub (Mar 10, 2026):

but :) some notifcations from bambuddy are not available from the printer in HA. i.e. Queue / Empty Plate / Filament low...

<!-- gh-comment-id:4028969289 --> @TravisWilder commented on GitHub (Mar 10, 2026): but :) some notifcations from bambuddy are not available from the printer in HA. i.e. Queue / Empty Plate / Filament low...
Author
Owner

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

Available in branch 0.2.3b1. Please let me know if ti works for you.

Image
<!-- gh-comment-id:4029798360 --> @maziggy commented on GitHub (Mar 10, 2026): Available in branch 0.2.3b1. Please let me know if ti works for you. <img width="525" height="364" alt="Image" src="https://github.com/user-attachments/assets/9e41df22-f2cf-48ca-b87c-8e058dad2832" />
Author
Owner

@mrtncode commented on GitHub (Mar 10, 2026):

Available in branch 0.2.3b1. Please let me know if ti works for you.

@maziggy Nice! You mentioned in the changelog that it is also possible to build HA automations to forward the messages and not only show persistent notifications. How can you do this?

<!-- gh-comment-id:4032273191 --> @mrtncode commented on GitHub (Mar 10, 2026): > Available in branch 0.2.3b1. Please let me know if ti works for you. @maziggy Nice! You mentioned in the changelog that it is also possible to build HA automations to forward the messages and not only show persistent notifications. How can you do this?
Author
Owner

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

You need to set up an automation in HA.


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

<!-- gh-comment-id:4037373869 --> @maziggy commented on GitHub (Mar 11, 2026): You need to set up an automation in HA. ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project!
Author
Owner

@mrtncode commented on GitHub (Mar 11, 2026):

You need to set up an automation in HA.

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

Yeah, but how? What HA entities provides bambuddy?

<!-- gh-comment-id:4038566058 --> @mrtncode commented on GitHub (Mar 11, 2026): > You need to set up an automation in HA. > > If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project! Yeah, but how? What HA entities provides bambuddy?
Author
Owner

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

Maybe you can automate incoming notifications. I don't know sorry.

<!-- gh-comment-id:4038590289 --> @maziggy commented on GitHub (Mar 11, 2026): Maybe you can automate incoming notifications. I don't know sorry.
Author
Owner

@TravisWilder commented on GitHub (Mar 11, 2026):

Hello it works, but.. :)
it is a normal /sticky notification and to write automation to forward is not extremly nice, also I did not found in the automation yet a way to delete the normal one.
As the power plug HA intergration queries HA for devices, would it not be an option to query on notify.* objects and make one (or multi) selectable and include this in the HTTP Post

i.e. like this

#! /bin/bash
curl -X POST \
-H "Authorization: Bearer [TOKEN]" \
-H "Content-Type: application/json" \
-d "{ \
    \"message\": \"$1\", \
    \"title\": \"REST API notification\" \
    }" \
https://[YOUR_HOME_ASSISTANT]/api/services/notify/[YOUR_PHONE_NOTIFICATION_ID]

found here

<!-- gh-comment-id:4038925323 --> @TravisWilder commented on GitHub (Mar 11, 2026): Hello it works, but.. :) it is a normal /sticky notification and to write automation to forward is not extremly nice, also I did not found in the automation yet a way to delete the normal one. As the power plug HA intergration queries HA for devices, would it not be an option to query on notify.* objects and make one (or multi) selectable and include this in the HTTP Post i.e. like this ``` #! /bin/bash curl -X POST \ -H "Authorization: Bearer [TOKEN]" \ -H "Content-Type: application/json" \ -d "{ \ \"message\": \"$1\", \ \"title\": \"REST API notification\" \ }" \ https://[YOUR_HOME_ASSISTANT]/api/services/notify/[YOUR_PHONE_NOTIFICATION_ID] ``` found [here](https://medium.com/@viktor.mukha/push-notifications-from-bash-script-via-home-assistant-852fa92f60ab)
Author
Owner

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

Yes, but that's not what you requested ;)

<!-- gh-comment-id:4038946828 --> @maziggy commented on GitHub (Mar 11, 2026): Yes, but that's not what you requested ;)
Author
Owner

@TravisWilder commented on GitHub (Mar 11, 2026):

Yes, but that's not what you requested ;)

mmh.. initial I stated "... also supports push to mobile app" :)
for such skilled guy this is probably a 5 min job - I can not do python so I will not be much of a helping hand

<!-- gh-comment-id:4039018715 --> @TravisWilder commented on GitHub (Mar 11, 2026): > Yes, but that's not what you requested ;) mmh.. initial I stated "... also supports push to mobile app" :) for such skilled guy this is probably a 5 min job - I can not do python so I will not be much of a helping hand
Author
Owner

@mrtncode commented on GitHub (Mar 11, 2026):

Maybe you can automate incoming notifications. I don't know sorry.

Dont worry. HA Notifications arent working like these. But I fully understand thats a bit difficult when you arent so deep in the Home Assistant thing 😃

Maybe you can implement the suggestion of TravisWilder as well, otherwise I can also try to implement this :)

<!-- gh-comment-id:4039204771 --> @mrtncode commented on GitHub (Mar 11, 2026): > Maybe you can automate incoming notifications. I don't know sorry. Dont worry. HA Notifications arent working like these. But I fully understand thats a bit difficult when you arent so deep in the Home Assistant thing 😃 Maybe you can implement the suggestion of TravisWilder as well, otherwise I can also try to implement this :)
Author
Owner

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

Will look into it after the next release. Currently in feature freeze.

<!-- gh-comment-id:4039346881 --> @maziggy commented on GitHub (Mar 11, 2026): Will look into it after the next release. Currently in feature freeze.
Author
Owner

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

Maybe you can implement the suggestion of TravisWilder as well, otherwise I can also try to implement this :)

@mrtncode Please go ahead! :)

<!-- gh-comment-id:4074786957 --> @maziggy commented on GitHub (Mar 17, 2026): >Maybe you can implement the suggestion of TravisWilder as well, otherwise I can also try to implement this :) @mrtncode Please go ahead! :)
Author
Owner

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

https://github.com/maziggy/bambuddy/pull/750

<!-- gh-comment-id:4097012318 --> @maziggy commented on GitHub (Mar 20, 2026): https://github.com/maziggy/bambuddy/pull/750
Author
Owner

@TravisWilder commented on GitHub (Mar 25, 2026):

was not able to test before - but works like charm
Thanks for considering and implementation

<!-- gh-comment-id:4127371471 --> @TravisWilder commented on GitHub (Mar 25, 2026): was not able to test before - but works like charm Thanks for considering and implementation
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#427
No description provided.