Added references to source/inspiration

This commit is contained in:
Filip Bednárik 2024-12-12 23:17:32 +01:00
parent 1cd6317bca
commit ff9c508e3c
2 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ def publish(client, msg):
print(f"Failed to send message to topic device/{PRINTER_ID}/request")
return False
# Inspired by https://github.com/Donkie/Spoolman/issues/217#issuecomment-2303022970
def on_message(client, userdata, msg):
global LAST_AMS_CONFIG
# TODO: Consume spool

View File

@ -1,6 +1,8 @@
import requests
import json
# Code from https://github.com/greghesp/ha-bambulab/issues/673#issuecomment-2455955428
# Prompt the user for their Bambu Lab username and password
bambuUsername = input("Enter your Bambu Lab username: ")
bambuPassword = input("Enter your Bambu Lab password: ")