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

[GH-ISSUE #820] [Bug]: Spoolbuddy fixes #550

Closed
opened 2026-05-07 00:11:31 +02:00 by BreizhHardware · 21 comments

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

Originally assigned to: @maziggy on GitHub.

Bug Description

  • Assign spool modal clips display on SB interface

  • [?] Pop up keyboard covers text fields whe typing
    on which page?

  • Why are there diagnostic buttons in the Write Tag page?

  • I would like to be able to see more info for spools in the AMS and in the inventory as well. If the Write tab is - [ ] not the best place, I'd like to have somewhere a dedicated inventory page to skim though my spools, with details, from the display

  • Assignign spools should inherit all warnings and guards that are currently in BB.

  • [?] Response times on a Pi 3B+ are slow
    Cannot test, don't have a 3B

  • Splash screen could be a bit more stylish. Mybe just the SB logo

  • Spool assignments do not appear on each other's interface if not after a page reload.

  • [?] Spool assignment modal should sort for profile first, then for material/color/etc. Also, a toggle to show all filaments would be great
    That doesn't makes sense to me. Assigning a spool is also auto-configuring the AMS slot. So it has nothing to do with the current AMS slot config

  • Resource usage metrics would be handy (CPU/RAM/LAN) for both UIs
    Already available in Bambuddy, added to Spoolbuddy

  • Settings -> Read tag diagnostic: always shows unsupported tag

  • Display left/right swipe -> switch printers

  • Found tag -> automatically switch to main view

  • In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page.

  • In Write -> New Spool, the Weight field does not accept on-screen keyboard input

  • If I scan a blank tag and click "Add to Inventory" nothing happens but when I close out of that window and scan the tag again, it reads as a basic PLA tag as it should.

  • If changing printer, bottom message bar is not updating.

  • After browser start, screen is blanked.

Originally created by @maziggy on GitHub (Mar 26, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/820 Originally assigned to: @maziggy on GitHub. ### Bug Description - [X] Assign spool modal clips display on SB interface - [?] Pop up keyboard covers text fields whe typing _on which page?_ - [X] Why are there diagnostic buttons in the Write Tag page? - [X] I would like to be able to see more info for spools in the AMS and in the inventory as well. If the Write tab is - [ ] not the best place, I'd like to have somewhere a dedicated inventory page to skim though my spools, with details, from the display - [X] Assignign spools should inherit all warnings and guards that are currently in BB. - [?] Response times on a Pi 3B+ are slow _Cannot test, don't have a 3B_ - [X] Splash screen could be a bit more stylish. Mybe just the SB logo - [X] Spool assignments do not appear on each other's interface if not after a page reload. - [?] Spool assignment modal should sort for profile first, then for material/color/etc. Also, a toggle to show all filaments would be great _That doesn't makes sense to me. Assigning a spool is also auto-configuring the AMS slot. So it has nothing to do with the current AMS slot config_ - [X] Resource usage metrics would be handy (CPU/RAM/LAN) for both UIs Already available in Bambuddy, added to Spoolbuddy - [X] Settings -> Read tag diagnostic: always shows unsupported tag - [X] Display left/right swipe -> switch printers - [X] Found tag -> automatically switch to main view - [X] In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page. - [x] In Write -> New Spool, the Weight field does not accept on-screen keyboard input - [X] If I scan a blank tag and click "Add to Inventory" nothing happens but when I close out of that window and scan the tag again, it reads as a basic PLA tag as it should. - [x] If changing printer, bottom message bar is not updating. - [X] After browser start, screen is blanked.
BreizhHardware 2026-05-07 00:11:31 +02:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Keybored02 commented on GitHub (Mar 26, 2026):

  • Assign spool modal clips display on SB interface
    Image
  • Pop up keyboard covers text fields whe typing Pretty much on all the bottom text fields you can insert text in: IP/token in Device, Filament Notes in New Spool (Full mode), Weigth in New Spool (Simple mode, keyboard does not pop up for this field)
  • Why are there diagnostic buttons in the Write page? The write page is the page called "write-tag" in the UI
  • Response times on a Pi 3B+ are slow Will work on this. Current setup is not very resource-efficient
  • Spool assignment modal should sort for profile first, then for material/color/etc. Also, a toggle to show all filaments would be great This tweak should be applied to both the main UI and SB. I'd prefer to keep the same flow as the main UI, where you can keep the profile reported/set and just assign a compatible spool. If you'd like to quickly modify slot profiles (understandably, it's the main scope of the project) It should be an option, not mandatory
<!-- gh-comment-id:4133108346 --> @Keybored02 commented on GitHub (Mar 26, 2026): - **Assign spool modal clips display on SB interface** ![Image](https://github.com/user-attachments/assets/47eac374-bb5f-4b69-b8ff-d9be081dfa01) - **Pop up keyboard covers text fields whe typing** _Pretty much on all the bottom text fields you can insert text in: IP/token in Device, Filament Notes in New Spool (Full mode), Weigth in New Spool (Simple mode, **keyboard does not pop up for this field**)_ - **Why are there diagnostic buttons in the Write page?** _The write page is the page called "write-tag" in the UI_ - **Response times on a Pi 3B+ are slow** _Will work on this. Current setup is not very resource-efficient_ - **Spool assignment modal should sort for profile first, then for material/color/etc. Also, a toggle to show all filaments would be great** _This tweak should be applied to both the main UI and SB. I'd prefer to keep the same flow as the main UI, where you can keep the profile reported/set and just assign a compatible spool. If you'd like to quickly modify slot profiles (understandably, it's the main scope of the project) It should be an option, not mandatory_
Author
Owner

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

Filament Notes in New Spool (Full mode), Weigth in New Spool (Simple mode, keyboard does not pop up for this field)

What does New Spool mean?

an you please use for example:

settings -> device -> backend auth?

<!-- gh-comment-id:4133236133 --> @maziggy commented on GitHub (Mar 26, 2026): >Filament Notes in New Spool (Full mode), Weigth in New Spool (Simple mode, keyboard does not pop up for this field) What does New Spool mean? an you please use for example: settings -> device -> backend auth?
Author
Owner

@Keybored02 commented on GitHub (Mar 26, 2026):

What does New Spool mean?

Write -> New Spool

<!-- gh-comment-id:4133254870 --> @Keybored02 commented on GitHub (Mar 26, 2026): > What does New Spool mean? Write -> New Spool
Author
Owner

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

Why are there diagnostic buttons in the Write page?

Was introduced by your changes to the diag page. It was missing a closing bracket.

<!-- gh-comment-id:4133261067 --> @maziggy commented on GitHub (Mar 26, 2026): >Why are there diagnostic buttons in the Write page? Was introduced by your changes to the diag page. It was missing a closing bracket.
Author
Owner

@Keybored02 commented on GitHub (Mar 26, 2026):

Oh, sorry

<!-- gh-comment-id:4133387858 --> @Keybored02 commented on GitHub (Mar 26, 2026): Oh, sorry
Author
Owner

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

Can happen. I also don't saw it when reviewing the PR :)

<!-- gh-comment-id:4133428900 --> @maziggy commented on GitHub (Mar 26, 2026): Can happen. I also don't saw it when reviewing the PR :)
Author
Owner

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

I would like to be able to see more info for spools in the AMS and in the inventory as well. If the Write tab is - [ ] not the best place, I'd like to have somewhere a dedicated inventory page to skim though my spools, with details, from the display

Can add an inventory view. We had this in the old LVGL frontend.

What additional infos do you would like to see on the AMS page?

<!-- gh-comment-id:4133580796 --> @maziggy commented on GitHub (Mar 26, 2026): >I would like to be able to see more info for spools in the AMS and in the inventory as well. If the Write tab is - [ ] not the best place, I'd like to have somewhere a dedicated inventory page to skim though my spools, with details, from the display Can add an inventory view. We had this in the old LVGL frontend. What additional infos do you would like to see on the AMS page?
Author
Owner

@Keybored02 commented on GitHub (Mar 26, 2026):

I like the spool card that pops up in the main page when scanning a known spool. I'd like keep using that to show spool info, both in the AMS page and the Inventory page. I do not like particularly the current fit to screen style for spool info in the Inventory page, I think that the aforementioned card, with that size, is great.

<!-- gh-comment-id:4135806156 --> @Keybored02 commented on GitHub (Mar 26, 2026): I like the spool card that pops up in the main page when scanning a known spool. I'd like keep using that to show spool info, both in the AMS page and the Inventory page. I do not like particularly the current fit to screen style for spool info in the Inventory page, I think that the aforementioned card, with that size, is great.
Author
Owner

@Keybored02 commented on GitHub (Mar 26, 2026):

Issues:

  • In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page.
  • In Write -> New Spool, the Weight field does not accept on-screen keyboard input
<!-- gh-comment-id:4135847359 --> @Keybored02 commented on GitHub (Mar 26, 2026): Issues: - In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page. - In Write -> New Spool, the Weight field does not accept on-screen keyboard input
Author
Owner

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

I like the spool card that pops up in the main page when scanning a known spool. I'd like keep using that to show spool info, both in the AMS page and the Inventory page. I do not like particularly the current fit to screen style for spool info in the Inventory page, I think that the aforementioned card, with that size, is great.

If you want, feel free to improve it.

<!-- gh-comment-id:4135870416 --> @maziggy commented on GitHub (Mar 26, 2026): > I like the spool card that pops up in the main page when scanning a known spool. I'd like keep using that to show spool info, both in the AMS page and the Inventory page. I do not like particularly the current fit to screen style for spool info in the Inventory page, I think that the aforementioned card, with that size, is great. If you want, feel free to improve it.
Author
Owner

@Keybored02 commented on GitHub (Mar 27, 2026):

In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page.
In Write -> New Spool, the Weight field does not accept on-screen keyboard input

Not fixed, unfortunately.

<!-- gh-comment-id:4142057702 --> @Keybored02 commented on GitHub (Mar 27, 2026): > In Inventory page, when searching with the on-screen keyboard, a large black box obstructs the view of the page. > In Write -> New Spool, the Weight field does not accept on-screen keyboard input Not fixed, unfortunately.
Author
Owner

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

Just checked and it is!

<!-- gh-comment-id:4142109730 --> @maziggy commented on GitHub (Mar 27, 2026): Just checked and it is!
Author
Owner

@Keybored02 commented on GitHub (Mar 27, 2026):

You're right, I hadn't pulled locally the latest

<!-- gh-comment-id:4142242521 --> @Keybored02 commented on GitHub (Mar 27, 2026): You're right, I hadn't pulled locally the latest
Author
Owner

@nerdspar commented on GitHub (Mar 27, 2026):

If I scan a blank tag and click "Add to Inventory" nothing happens but when I close out of that window and scan the tag again, it reads as a basic PLA tag as it should.

Do I need to actually replace the spool in the AMS for it to work? I've tried scanning a tag, clicking Assign to AMS, and then clicking a slot, but it doesn't change or do anything

<!-- gh-comment-id:4142957203 --> @nerdspar commented on GitHub (Mar 27, 2026): If I scan a blank tag and click "Add to Inventory" nothing happens but when I close out of that window and scan the tag again, it reads as a basic PLA tag as it should. Do I need to actually replace the spool in the AMS for it to work? I've tried scanning a tag, clicking Assign to AMS, and then clicking a slot, but it doesn't change or do anything
Author
Owner

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

Do I need to actually replace the spool in the AMS for it to work? I've tried scanning a tag, clicking Assign to AMS, and then clicking a slot, but it doesn't change or do anything

Just checked and it's working for me?!

Please always pull dev branch before doing new tests. Code is changing very often currently.

<!-- gh-comment-id:4147775969 --> @maziggy commented on GitHub (Mar 28, 2026): > Do I need to actually replace the spool in the AMS for it to work? I've tried scanning a tag, clicking Assign to AMS, and then clicking a slot, but it doesn't change or do anything Just checked and it's working for me?! Please always pull dev branch before doing new tests. Code is changing very often currently.
Author
Owner

@TravisWilder commented on GitHub (Apr 7, 2026):

Hello
for the the update function was / is not working
Bambuddy is running in docker on one PI and Spoolbuddy on an other PI
On Bambuddy in the data folder -> spoolbuddy/ssh is empty and spoolbuddy did not add the public key
I also create a new API Key and entered in Spoolbuddy again (with the hope it will create a new pairing with new SSH keys) but did not worked
May be I did something wrong? I manually updated the Spoolbuddy now also to 0.2.3b1

<!-- gh-comment-id:4199730981 --> @TravisWilder commented on GitHub (Apr 7, 2026): Hello for the the update function was / is not working Bambuddy is running in docker on one PI and Spoolbuddy on an other PI On Bambuddy in the data folder -> spoolbuddy/ssh is empty and spoolbuddy did not add the public key I also create a new API Key and entered in Spoolbuddy again (with the hope it will create a new pairing with new SSH keys) but did not worked May be I did something wrong? I manually updated the Spoolbuddy now also to 0.2.3b1
Author
Owner

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

adding some comments

manual creating the keys under spoolbuddy ssh works - my guess:
the cmd to create the keys include "" after -N but -N needs a empty string so "''" might be needed?

should the backup of bambuddy not also include the ssh keys?

After playing and setting up a new spoolbuddy it seems I have now two spoolbudd setup in the bambuddy DB
May be a feature to clear this would be nice - or a process of purging after x days of not connected

the update does still not work - I tested ssh with manual command it worked
But to click in the gui will give "SSH connection failed: No user exists for uid 1000"
on spoolbuddy there is a 1000 inside the bambuddy docker not - not sure if this helps

also spoolbuddy is 0.2.3b2 it shows in the bottom Update available: v0.2.3b2
(update screen say up2date : 0.2.3b2)

the System commands (power panel) for restarting (also services) or shutdown are not working

<!-- gh-comment-id:4208185271 --> @TravisWilder commented on GitHub (Apr 8, 2026): adding some comments manual creating the keys under spoolbuddy ssh works - my guess: the cmd to create the keys include "" after -N but -N needs a empty string so "''" might be needed? should the backup of bambuddy not also include the ssh keys? After playing and setting up a new spoolbuddy it seems I have now two spoolbudd setup in the bambuddy DB May be a feature to clear this would be nice - or a process of purging after x days of not connected the update does still not work - I tested ssh with manual command it worked But to click in the gui will give "SSH connection failed: No user exists for uid 1000" on spoolbuddy there is a 1000 inside the bambuddy docker not - not sure if this helps also spoolbuddy is 0.2.3b2 it shows in the bottom Update available: v0.2.3b2 (update screen say up2date : 0.2.3b2) the System commands (power panel) for restarting (also services) or shutdown are not working
Author
Owner

@Keybored02 commented on GitHub (Apr 14, 2026):

Wanted to contribute this but don't have the time. As far as I can tell, the AMS passes and uses tray_UUID for spool identification. Spoolbuddy currently uses tags UID to resolve a spool in inventory when placed on the NFC reader. This creates a duplication issue: since tag UIDs are unique to the tag, depending on which side the spool is scanned, is either read as new or as existing. UID tagging if fine for signle-tag, non-BL spools, but Spoolbuddy should resolve original and third party separately.

<!-- gh-comment-id:4244266677 --> @Keybored02 commented on GitHub (Apr 14, 2026): Wanted to contribute this but don't have the time. As far as I can tell, the AMS passes and uses tray_UUID for spool identification. Spoolbuddy currently uses tags UID to resolve a spool in inventory when placed on the NFC reader. This creates a duplication issue: since tag UIDs are unique to the tag, depending on which side the spool is scanned, is either read as new or as existing. UID tagging if fine for signle-tag, non-BL spools, but Spoolbuddy should resolve original and third party separately.
Author
Owner

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

Huh? What are you talking about?

Wanted to contribute this but don't have the time. As far as I can tell, the AMS passes and uses tray_UUID for spool identification. Spoolbuddy currently uses tags UID to resolve a spool in inventory when placed on the NFC reader. This creates a duplication issue: since tag UIDs are unique to the tag, depending on which side the spool is scanned, is either read as new or as existing. UID tagging if fine for signle-tag, non-BL spools, but Spoolbuddy should resolve original and third party separately.

<!-- gh-comment-id:4245814136 --> @maziggy commented on GitHub (Apr 14, 2026): Huh? What are you talking about? > Wanted to contribute this but don't have the time. As far as I can tell, the AMS passes and uses tray_UUID for spool identification. Spoolbuddy currently uses tags UID to resolve a spool in inventory when placed on the NFC reader. This creates a duplication issue: since tag UIDs are unique to the tag, depending on which side the spool is scanned, is either read as new or as existing. UID tagging if fine for signle-tag, non-BL spools, but Spoolbuddy should resolve original and third party separately.
Author
Owner

@Keybored02 commented on GitHub (Apr 14, 2026):

Could have been more specific, my bad. BL spool have 2 tags each, with unique tag UIDs. The actual identifier for the spool, tray UID, has the same value stored in both tags (usually it's one of the two tags UIDs with 8 chars of padding). Currently, Spoolbuddy doesnt even read the tray UID block 9, at all.

So for example, let's say that the AMS reports the tray UID A6EA1BC600000100 for a spool, and it gets saved in inventory as it's the first time you use it. What Spoolbuddy actually reads for that spool is the material info (block 4+5), gets a bunch of gibberish, and falls back to tag_uid for matching. So if you flip it one side and read on tag UID, that is A6EA1BC6 (just 8 chars), you're lucky, and the spool gets correctly matched. But if you read the other side, the tag UID is different (), and the spool is not resolved in inventory, and therefore marked as new. You could also get lucky and have a fuzzy match of blocks 4+5 against the tray UUID.
My solution so far was to read block 9 and use that to match in inventory.

<!-- gh-comment-id:4247102888 --> @Keybored02 commented on GitHub (Apr 14, 2026): Could have been more specific, my bad. BL spool have 2 tags each, with unique tag UIDs. The actual identifier for the spool, tray UID, has the same value stored in both tags (usually it's one of the two tags UIDs with 8 chars of padding). Currently, Spoolbuddy doesnt even read the tray UID block 9, at all. So for example, let's say that the AMS reports the tray UID A6EA1BC600000100 for a spool, and it gets saved in inventory as it's the first time you use it. What Spoolbuddy actually reads for that spool is the material info (block 4+5), gets a bunch of gibberish, and falls back to tag_uid for matching. So if you flip it one side and read on tag UID, that is A6EA1BC6 (just 8 chars), you're lucky, and the spool gets correctly matched. But if you read the other side, the tag UID is different (), and the spool is not resolved in inventory, and therefore marked as new. You could also get lucky and have a fuzzy match of blocks 4+5 against the tray UUID. My solution so far was to read block 9 and use that to match in inventory.
Author
Owner

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

Whaaaat? Blame me, but I was not aware that spools have two different tags :) Let's open a separate issue for it.

https://github.com/maziggy/bambuddy/issues/984

<!-- gh-comment-id:4249781240 --> @maziggy commented on GitHub (Apr 15, 2026): Whaaaat? Blame me, but I was not aware that spools have two different tags :) Let's open a separate issue for it. https://github.com/maziggy/bambuddy/issues/984
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#550
No description provided.