Skip to content

Instantly share code, notes, and snippets.

View Alex-Schaefer's full-sized avatar

Alex-Schaefer

View GitHub Profile
@Alex-Schaefer
Alex-Schaefer / bambu-ssdp-discovery.py
Last active October 13, 2024 06:40
Python implementation to send a fake SSDP discovery message to Bambu Studio or Orca Slicer
# Derived from this: https://github.com/gashton/bambustudio_tools/blob/master/bambudiscovery.sh
# Python implementation without need for linux
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on.
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message.
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp).
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP.
# Usage: