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

[GH-ISSUE #140] [Bug]: Add Printer Via Subnet Scan Can't Retrieve Serial Number #82

Closed
opened 2026-05-07 00:05:57 +02:00 by BreizhHardware · 10 comments

Originally created by @opensourcefan on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/140

Originally assigned to: @maziggy on GitHub.

Bug Description

When I add my A1 Mini via a Subnet Scan, it doesn't pull the serial number. Instead it fills the field with "unknown "printer IP address". Regardless of what I change it to (except for the actual serial number) it allows me to create the printer.

Unsure if not being able to pull the serial is a bug or not.

Expected Behavior

It would be helpful if the import process via a scan doesn't add anything to the serial number field unless one is actually found. This should ensure that no one else is fooled into not using the serial and having a printer added that won't function.

Steps to Reproduce

  1. Add a Printer via a Subnet Scan.
  2. Serial number not pulled, field filled with "unknown-(printer IP)"

Printer Model

A1 Mini

Bambuddy Version

v0.1.6b10

Printer Firmware Version

Version 01.07.02.00(20260114)

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @opensourcefan on GitHub (Jan 23, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/140 Originally assigned to: @maziggy on GitHub. ### Bug Description When I add my A1 Mini via a Subnet Scan, it doesn't pull the serial number. Instead it fills the field with "unknown "printer IP address". Regardless of what I change it to (except for the actual serial number) it allows me to create the printer. Unsure if not being able to pull the serial is a bug or not. ### Expected Behavior It would be helpful if the import process via a scan doesn't add anything to the serial number field unless one is actually found. This should ensure that no one else is fooled into not using the serial and having a printer added that won't function. ### Steps to Reproduce 1. Add a Printer via a Subnet Scan. 2. Serial number not pulled, field filled with "unknown-(printer IP)" ### Printer Model A1 Mini ### Bambuddy Version v0.1.6b10 ### Printer Firmware Version Version 01.07.02.00(20260114) ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode
BreizhHardware 2026-05-07 00:05:57 +02:00
Author
Owner

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

Please use branch 0.1.6b11 and create a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging

<!-- gh-comment-id:3788438987 --> @maziggy commented on GitHub (Jan 23, 2026): Please use branch 0.1.6b11 and create a support package -> https://wiki.bambuddy.cool/features/system-info/?h=debug#enable-debug-logging
Author
Owner

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

Do you use host mode for the Docker network?

<!-- gh-comment-id:3788503748 --> @maziggy commented on GitHub (Jan 23, 2026): Do you use host mode for the Docker network?
Author
Owner

@opensourcefan commented on GitHub (Jan 23, 2026):

Not sure, I just installed with the pre-built image, no adjustments. I
suppose I should correct that.

On Thu, Jan 22, 2026, 22:19 MartinNYHC @.***> wrote:

maziggy left a comment (maziggy/bambuddy#140)
https://github.com/maziggy/bambuddy/issues/140#issuecomment-3788503748

Do you use host mode for the Docker network?


Reply to this email directly, view it on GitHub
https://github.com/maziggy/bambuddy/issues/140#issuecomment-3788503748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQPWFR2CROTX4K4SW7KP634IG4OTAVCNFSM6AAAAACSUAH372VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOOBYGUYDGNZUHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:3788546076 --> @opensourcefan commented on GitHub (Jan 23, 2026): Not sure, I just installed with the pre-built image, no adjustments. I suppose I should correct that. On Thu, Jan 22, 2026, 22:19 MartinNYHC ***@***.***> wrote: > *maziggy* left a comment (maziggy/bambuddy#140) > <https://github.com/maziggy/bambuddy/issues/140#issuecomment-3788503748> > > Do you use host mode for the Docker network? > > — > Reply to this email directly, view it on GitHub > <https://github.com/maziggy/bambuddy/issues/140#issuecomment-3788503748>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACQPWFR2CROTX4K4SW7KP634IG4OTAVCNFSM6AAAAACSUAH372VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOOBYGUYDGNZUHA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@opensourcefan commented on GitHub (Jan 23, 2026):

I'm seeing the uncommented network_mode: host in the yml.

<!-- gh-comment-id:3788563959 --> @opensourcefan commented on GitHub (Jan 23, 2026): I'm seeing the uncommented network_mode: host in the yml.
Author
Owner

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

Well....then I need a support package please.

<!-- gh-comment-id:3790748181 --> @maziggy commented on GitHub (Jan 23, 2026): Well....then I need a support package please.
Author
Owner

@opensourcefan commented on GitHub (Jan 23, 2026):

Well....then I need a support package please.

Here you go.

  1. fresh install
  2. add a printer
  3. updated the subnet address
  4. scanned
  5. printer located, warned that serial number required
  6. added misc text to serial number field
  7. printer added in an unusable state
  8. printer visible on printers page.
Image

bambuddy-support-20260123-185034.zip

<!-- gh-comment-id:3791572815 --> @opensourcefan commented on GitHub (Jan 23, 2026): > Well....then I need a support package please. Here you go. 1. fresh install 2. add a printer 3. updated the subnet address 4. scanned 5. printer located, warned that serial number required 6. added misc text to serial number field 7. printer added in an unusable state 8. printer visible on printers page. <img width="886" height="213" alt="Image" src="https://github.com/user-attachments/assets/385223c5-7a1d-456b-9970-aafbe7c75ee3" /> [bambuddy-support-20260123-185034.zip](https://github.com/user-attachments/files/24826534/bambuddy-support-20260123-185034.zip)
Author
Owner

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

There's something with your network.

2026-01-23 18:49:28,578 DEBUG [backend.app.services.discovery] SSDP query to [IP] failed: timed out

My first guess would be, that Docker network is not running in host mode? Please check.

<!-- gh-comment-id:3791632633 --> @maziggy commented on GitHub (Jan 23, 2026): There's something with your network. 2026-01-23 18:49:28,578 DEBUG [backend.app.services.discovery] SSDP query to [IP] failed: timed out My first guess would be, that Docker network is not running in host mode? Please check.
Author
Owner

@opensourcefan commented on GitHub (Jan 23, 2026):

[
{
"Name": "host",
"Id": "04650cfec24730d______________________8e7482d1df6c1b07abcc8174",
"Created": "2025-10-01T19:42:34.603915223-07:00",
"Scope": "local",
"Driver": "host",
"EnableIPv4": true,
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": null
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Options": {},
"Labels": {},
"Containers": {
"0be4c11f91a3f591aa5901ff___________________c64643b22dce3b799": {
"Name": "bambuddy",
"EndpointID": "b9647f4df4e6ebd0a4_______________________7c3bd2b77cc69d972ee293",
"MacAddress": "",
"IPv4Address": "",
"IPv6Address": ""
}
},
"Status": {
"IPAM": {}
}
}
]

<!-- gh-comment-id:3791714907 --> @opensourcefan commented on GitHub (Jan 23, 2026): [ { "Name": "host", "Id": "04650cfec24730d______________________8e7482d1df6c1b07abcc8174", "Created": "2025-10-01T19:42:34.603915223-07:00", "Scope": "local", "Driver": "host", "EnableIPv4": true, "EnableIPv6": false, "IPAM": { "Driver": "default", "Options": null, "Config": null }, "Internal": false, "Attachable": false, "Ingress": false, "ConfigFrom": { "Network": "" }, "ConfigOnly": false, "Options": {}, "Labels": {}, "Containers": { "0be4c11f91a3f591aa5901ff___________________c64643b22dce3b799": { "Name": "bambuddy", "EndpointID": "b9647f4df4e6ebd0a4_______________________7c3bd2b77cc69d972ee293", "MacAddress": "", "IPv4Address": "", "IPv6Address": "" } }, "Status": { "IPAM": {} } } ]
Author
Owner

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

That's not from Docker?!

Check your environment. Firewall? Printer is on the same subnet?

<!-- gh-comment-id:3792232895 --> @maziggy commented on GitHub (Jan 23, 2026): That's not from Docker?! Check your environment. Firewall? Printer is on the same subnet?
Author
Owner

@opensourcefan commented on GitHub (Jan 23, 2026):

You can close this, I'll deal with it since it appears to be my issue.

<!-- gh-comment-id:3792288599 --> @opensourcefan commented on GitHub (Jan 23, 2026): You can close this, I'll deal with it since it appears to be my issue.
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#82
No description provided.