mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-21 10:15:04 +02:00
Add H2C dual nozzle variant O1C2 model support (#489)
The H2C dual nozzle variant reports model code O1C2 via MQTT, but only O1C was recognized. This caused the camera to use the wrong protocol (chamber image on port 6000 instead of RTSP on port 322), producing a reconnect loop. Added O1C2 to all model ID maps across 8 files.
This commit is contained in:
@@ -41,6 +41,7 @@ VIRTUAL_PRINTER_MODELS = {
|
||||
# H2 Series
|
||||
"O1D": "H2D", # H2D
|
||||
"O1C": "H2C", # H2C
|
||||
"O1C2": "H2C", # H2C (dual nozzle variant)
|
||||
"O1S": "H2S", # H2S
|
||||
}
|
||||
|
||||
@@ -68,6 +69,7 @@ MODEL_SERIAL_PREFIXES = {
|
||||
# H2 Series
|
||||
"O1D": "09400A", # H2D
|
||||
"O1C": "09400A", # H2C
|
||||
"O1C2": "09400A", # H2C (dual nozzle variant)
|
||||
"O1S": "09400A", # H2S
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user