QuinnDamerell / OctoPrint-OctoEverywhere

Cloud Empower Your OctoPrint, Klipper, and Bambu Lab 3D Printers With Free, Private, And Secure Remote Access, AI Print Failure Detection, Real-time Notifications, Live Streaming, and More!
https://octoeverywhere.com
GNU Affero General Public License v3.0
165 stars 14 forks source link

Support new A1 Mini Hardware Version AP07 #69

Closed spuder closed 4 months ago

spuder commented 4 months ago

As a user who just setup my Bambu A1Mini through the Docker container (using BambuCloud), I notice an Erorr in the logs that the device is unknown

2024-06-29 03:24:27,607 - ERROR - Sentry Error: Unknown printer type. CPU:BambuCPUs.ESP32, Project Name: N1, Hardware Version: AP07

Problem

Looking the code, I see there are hardware versions AP04 and AP05. There is not an if statement for AP07 hardware version. The device I just purchased registers as AP07

https://github.com/QuinnDamerell/OctoPrint-OctoEverywhere/blob/master/bambu_octoeverywhere/bambumodels.py#L233-L252