[GH-ISSUE #91] [Feature]: SmartPlug via HomeAssistant #46

Closed
opened 2026-05-06 12:25:12 +02:00 by BreizhHardware · 6 comments

Originally created by @lordhelmet77 on GitHub (Jan 18, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/91

Originally assigned to: @maziggy on GitHub.

Problem or Use Case

First of all – thank you so much for Bambuddy. Absolutely game-changing for me and I guess for anyone having only a few printers an no commercial application.

At the moment, smart plug support seems to be limited to Tasmota devices addressed directly by IP. This works well, but many users (myself included) will likely manage their plugs and switches via Home Assistant, often backed by Zigbee (ZHA), Zigbee2MQTT, or other integrations, without Tasmota in the mix.

Proposed Solution

I’d like to ask whether you’d consider adding native Home Assistant support as an alternative smart-plug backend, for example:
• Selecting a Home Assistant instance (URL + long-lived access token)
• Choosing a switch or plug entity from HA
• Using that entity for:
• on/off control when prints start / finish
• optional state / power feedback (if available via HA)

This would:
• avoid the need for Tasmota-only devices,
• work nicely with Zigbee / Z-Wave / Matter setups,
• and fit well with Bambuddy’s existing HA/MQTT-friendly philosophy.

Thanks again for the great work — and for considering this idea!

Best regards
Helmut

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 @lordhelmet77 on GitHub (Jan 18, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/91 Originally assigned to: @maziggy on GitHub. ### Problem or Use Case First of all – thank you so much for Bambuddy. Absolutely game-changing for me and I guess for anyone having only a few printers an no commercial application. At the moment, smart plug support seems to be limited to Tasmota devices addressed directly by IP. This works well, but many users (myself included) will likely manage their plugs and switches via Home Assistant, often backed by Zigbee (ZHA), Zigbee2MQTT, or other integrations, without Tasmota in the mix. ### Proposed Solution I’d like to ask whether you’d consider adding native Home Assistant support as an alternative smart-plug backend, for example: • Selecting a Home Assistant instance (URL + long-lived access token) • Choosing a switch or plug entity from HA • Using that entity for: • on/off control when prints start / finish • optional state / power feedback (if available via HA) This would: • avoid the need for Tasmota-only devices, • work nicely with Zigbee / Z-Wave / Matter setups, • and fit well with Bambuddy’s existing HA/MQTT-friendly philosophy. Thanks again for the great work — and for considering this idea! Best regards Helmut ### 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 - [x] I have searched existing issues to ensure this feature hasn't already been requested
BreizhHardware 2026-05-06 12:25:12 +02:00
Author
Owner

@maziggy commented on GitHub (Jan 18, 2026):

Here you go....

Please use branch 0.1.6-final and let me know if it works for you.

<!-- gh-comment-id:3765397665 --> @maziggy commented on GitHub (Jan 18, 2026): Here you go.... Please use branch 0.1.6-final and let me know if it works for you.
Author
Owner

@lordhelmet77 commented on GitHub (Jan 18, 2026):

Wow … I felt that shockwave coming before the commit, with you implementing that so fast. 🤯
That build works perfectly with my setup!

Two tiny additions regarding UI:

  • When HA is not setup, the modal says to set it up under "Settings" -> better would be "Settings -> Network -> HA"
  • The field for the path to HA reads "URL" -> it can also be "IP:PORT" and needs the protocol "http/s"

This is 🔥

<!-- gh-comment-id:3765447955 --> @lordhelmet77 commented on GitHub (Jan 18, 2026): Wow … I felt that shockwave coming before the commit, with you implementing that so fast. 🤯 That build works perfectly with my setup! Two tiny additions regarding UI: * When HA is not setup, the modal says to set it up under "Settings" -> better would be "Settings -> Network -> HA" * The field for the path to HA reads "URL" -> it can also be "IP:PORT" and needs the protocol "http/s" This is 🔥
Author
Owner

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

Both are fixed.

<!-- gh-comment-id:3766594297 --> @maziggy commented on GitHub (Jan 19, 2026): Both are fixed.
Author
Owner

@lollokara commented on GitHub (Jan 19, 2026):

Hi guys,

Was looking for an excuse to get my printers in lan only mode and so i did.
I have a small ask, i see that we do support only the switch of a smartplug via HASS but there is no way to map the power entities, how can we select the power entity that goes along with the power switch?

<!-- gh-comment-id:3770197904 --> @lollokara commented on GitHub (Jan 19, 2026): Hi guys, Was looking for an excuse to get my printers in lan only mode and so i did. I have a small ask, i see that we do support only the switch of a smartplug via HASS but there is no way to map the power entities, how can we select the power entity that goes along with the power switch?
Author
Owner

@joaorgoncalves commented on GitHub (Jan 21, 2026):

Hi guys,

Was looking for an excuse to get my printers in lan only mode and so i did. I have a small ask, i see that we do support only the switch of a smartplug via HASS but there is no way to map the power entities, how can we select the power entity that goes along with the power switch?

@maziggy I have the same question :D I connected my smart plug (P110M), I'm able to turn on and off, but there is no energy data coming through to bambuddy :s

Ps: Amazing work on this!!! 🤯

<!-- gh-comment-id:3777872304 --> @joaorgoncalves commented on GitHub (Jan 21, 2026): > Hi guys, > > Was looking for an excuse to get my printers in lan only mode and so i did. I have a small ask, i see that we do support only the switch of a smartplug via HASS but there is no way to map the power entities, how can we select the power entity that goes along with the power switch? @maziggy I have the same question :D I connected my smart plug (P110M), I'm able to turn on and off, but there is no energy data coming through to bambuddy :s Ps: Amazing work on this!!! 🤯
Author
Owner

@maziggy commented on GitHub (Jan 21, 2026):

Can you please open a new feature request for this? Better for tracking. I'll then look into it.

<!-- gh-comment-id:3777887510 --> @maziggy commented on GitHub (Jan 21, 2026): Can you please open a new feature request for this? Better for tracking. I'll then look into it.
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#46
No description provided.