Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Miquelsn/bambulab-spoolman
/ functions
Functions
72 in github.com/Miquelsn/bambulab-spoolman
⨍
Functions
72
◇
Types & classes
8
↓ 48 callers
Method
log_info
(self, message: str)
helper_logs.py:32
↓ 41 callers
Method
log_error
(self, message: str)
helper_logs.py:40
↓ 17 callers
Function
ReadCredentials
()
tools.py:7
↓ 14 callers
Method
log_exception
(self, error: Exception)
helper_logs.py:44
↓ 12 callers
Function
SaveNewToken
(name, token)
tools.py:17
↓ 5 callers
Function
IsValidIp
(host: str)
tools.py:23
↓ 4 callers
Method
_write_log
(self, message: str)
helper_logs.py:22
↓ 4 callers
Function
parse_filaments
Parses filament data from a text file.
Filament/filament.py:11
↓ 3 callers
Method
CleanTask
Clean the task object.
BambuPrinter/print_task.py:39
↓ 3 callers
Function
load_mappings
Loads existing filament mappings from a JSON file.
Filament/filament.py:28
↓ 2 callers
Function
CheckMQTTConnection
Checks if the MQTT broker is reachable at the given IP.
Local_MQTT/local_mqtt.py:41
↓ 2 callers
Method
ComprobateState
(self)
BambuPrinter/bambu_printer.py:114
↓ 2 callers
Method
ReportAndSaveTask
Save the task to a task.txt file as a JSON object.
BambuPrinter/print_task.py:54
↓ 2 callers
Function
StartMQTT
()
Local_MQTT/local_mqtt.py:87
↓ 2 callers
Function
TestSpoolmanApi
(ip, port)
Spoolman/login.py:7
↓ 2 callers
Function
find_best_match
Finds the best match for a Bambu filament, giving highest priority to type and vendor.
Filament/filament.py:41
↓ 2 callers
Function
get_filaments_data
()
Gui/WebServer/websockets_service.py:12
↓ 2 callers
Function
save_mappings
Saves filament mappings to a JSON file.
Filament/filament.py:36
↓ 1 callers
Method
AMSFilamentParser
(self, msg)
BambuPrinter/bambu_printer.py:51
↓ 1 callers
Method
ExternalFilamentParser
(self, msg)
BambuPrinter/bambu_printer.py:54
↓ 1 callers
Function
GetSpoolmanID
(filament_mapping, slicer_filamentID)
Spoolman/spoolman_filament.py:93
↓ 1 callers
Function
IsValidPort
(port)
tools.py:30
↓ 1 callers
Function
LoadFilamentMapping
()
Spoolman/spoolman_filament.py:89
↓ 1 callers
Function
LoginAndGetToken
(verification_code=None)
BambuCloud/login.py:59
↓ 1 callers
Method
ProccessMQTTMsg
(self, msg)
BambuPrinter/bambu_printer.py:30
↓ 1 callers
Function
SendStatusMessage
Sends a message to the local MQTT broker.
Local_MQTT/local_mqtt.py:72
↓ 1 callers
Function
SendVerificationCode
()
BambuCloud/login.py:32
↓ 1 callers
Method
SetCurrentState
(self, id)
BambuPrinter/bambu_printer.py:92
↓ 1 callers
Method
SetGcodeState
(self, gcode)
BambuPrinter/bambu_printer.py:104
↓ 1 callers
Method
SetPrintPercentatge
(self, percentage)
BambuPrinter/bambu_printer.py:89
↓ 1 callers
Method
SetWeightDetail
(self, task_id)
BambuPrinter/bambu_printer.py:59
↓ 1 callers
Function
TestToken
()
BambuCloud/login.py:110
↓ 1 callers
Method
_load_existing_logs
(self)
helper_logs.py:14
↓ 1 callers
Function
get_fallback_match
Provides a fallback match by selecting an unmatched Spoolman filament.
Filament/filament.py:57
↓ 1 callers
Function
get_local_ip
()
Gui/WebServer/auto_discover.py:7
↓ 1 callers
Method
load_tasks_from_file
Parses the task.txt JSON file.
Gui/WebServer/websockets_service.py:58
↓ 1 callers
Method
log_warning
(self, message: str)
helper_logs.py:36
↓ 1 callers
Function
start_broadcast_thread
()
Gui/WebServer/auto_discover.py:33
↓ 1 callers
Method
start_server
(self)
Gui/WebServer/websockets_service.py:235
↓ 1 callers
Method
to_dict
Convert the PrintTask object to a dictionary.
BambuPrinter/print_task.py:22
Function
ConfigureSpoolmanApi
()
Spoolman/login.py:21
Function
GetJobID
(taskID)
BambuCloud/projects.py:23
Function
GetPrinterIP
Checks for printer_ip in credentials or prompts the user to provide one.
Local_MQTT/local_mqtt.py:16
Function
GetSlicerFilaments
()
BambuCloud/slicer_filament.py:35
Function
GetSpoolmanFilaments
()
Spoolman/spoolman_filament.py:17
Function
GetTaksDetail
(jobID)
BambuCloud/projects.py:48
Function
OnConnect
(client, userdata, flags, rc)
Local_MQTT/local_mqtt.py:59
Function
OnMessage
(client, userdata, msg)
Local_MQTT/local_mqtt.py:66
Function
ProcessSlicerFilament
(filaments)
BambuCloud/slicer_filament.py:86
Function
ProcessSpoolmanFilament
(filaments)
Spoolman/spoolman_filament.py:57
Function
RegisterFilament
(slicer_filamentID, weight)
Spoolman/spoolman_filament.py:96
Function
SaveFilamentsToFile
(filaments)
Spoolman/spoolman_filament.py:79
Function
SaveFilamentsToFile
(filaments)
BambuCloud/slicer_filament.py:103
Method
__init__
(self, log_file_path="app.log", max_lines=1000)
helper_logs.py:7
Method
__init__
(self)
Spoolman/spoolman_filament.py:8
Method
__init__
(self)
BambuPrinter/print_task.py:7
Method
__init__
(self)
BambuPrinter/bambu_printer.py:19
Method
__init__
(self)
BambuCloud/slicer_filament.py:26
Method
__init__
(self, host='localhost', port=12346)
Gui/WebServer/websockets_service.py:53
Method
__init__
(self, *args, **kwargs)
Gui/WebServer/flutter_web_server.py:12
Method
__str__
(self)
Spoolman/spoolman_filament.py:14
Method
__str__
(self)
BambuCloud/slicer_filament.py:32
Function
broadcast_server_ip
(port=12346, broadcast_port=54545)
Gui/WebServer/auto_discover.py:16
Method
get_last_logs
(self)
helper_logs.py:49
Method
handle_client
(self, websocket)
Gui/WebServer/websockets_service.py:76
Method
load_logs_from_file
Parses the app.log JSON file.
Gui/WebServer/websockets_service.py:67
Method
log_message
(self, format, *args)
Gui/WebServer/flutter_web_server.py:15
Function
map_filaments
Runs the filament mapping process.
Filament/filament.py:64
Method
run_server
(self)
Gui/WebServer/websockets_service.py:240
Function
start_server
()
Gui/WebServer/flutter_web_server.py:18
Function
start_thread
()
Gui/WebServer/flutter_web_server.py:23
Function
start_websocket_server
()
Gui/WebServer/websockets_service.py:244