mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #938] [Bug]: Spoolbuddy Power / Restart functions not working #647
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
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#647
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 @TravisWilder on GitHub (Apr 10, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/938
Originally assigned to: @maziggy on GitHub.
Bug Description
swipe done on Spoolbuddy opens power menu
Restart services or system and Power down are not working
Device is sb-e45f01722ca2 which I see in the log as heartbeat
when I trigger any of these function the logs shows
"POST /api/v1/spoolbuddy/devices/sb-b827eb2bc786/system/command HTTP/1.1" 409 Conflict
which is a different ID and the 409 error is
{
"detail": "Device is offline"
}
(tested via API Browser)
when I submit in the API browser commands with correct ID it works
somehow the spoolbuddy uses the work / different ID for these commands (first in the DB)
I have 2 spoolbuddy devices in the Bambuddy DB based on testing with different PIs
There is no option to remove the old one.
Expected Behavior
spoolbuddy should not use a different ID for commads then heartbeat etc.
Steps to Reproduce
have more than one spoolbuddy device in DB
have the second (latest) active
open power menu
try to click commands / confirm
Printer Model
H2C
Bambuddy Version
DEV from 10.4.2026
Printer Firmware Version
0.2.3b
Installation Method
Docker
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
No response
Screenshots
No response
Additional Context
quick guess SpoolBuddyQuickMenu gets the wrong ID in bumbuddy webgui for spoolbuddy
Checklist
@TravisWilder commented on GitHub (Apr 10, 2026):
this might help
SpoolBuddyLayout.tsx
Line 42: const device = devices[0];
set the device fixed to the first from DB
I do I remove the old device from DB?
@maziggy commented on GitHub (Apr 11, 2026):
Will add a Spoolbuddy tab to settings.
@maziggy commented on GitHub (Apr 11, 2026):
Available/Fixed in branch dev and available with the next release or daily build.
Docs -> https://wiki.bambuddy.cool/spoolbuddy/configuration/#managing-devices-from-bambuddy
@TravisWilder commented on GitHub (Apr 11, 2026):
I can confirm - delete works and now also the power commands