Drucker-Bestand korrigiert: X1C -> H2S

Real-Stand laut Herb: 2x P1S, 1x H2S, 1x A1 mini. X1C/P2S bleiben in
drucker_links als Default-Mapping fuer den Fall, dass die Modelle spaeter
dazukommen.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 19:53:34 +02:00
parent edf0c7aa8a
commit 3482356c13
4 changed files with 16 additions and 8 deletions

View File

@@ -97,7 +97,7 @@ wenn du jemand anderen ueberlappst, kriegst du eine Fehlermeldung.
**Projekt-Detail** mit der **Werkstatt-Sektion** — alles auf einer Seite:
- Titel + Beschreibung
- **Hauptsoftware** (Dropdown: TinkerCAD, Onshape, MakerWorld, ...)
- **Drucker** (Dropdown: P1S #1 / X1C / ...)
- **Drucker** (Dropdown: P1S #1 / P1S #2 / H2S / A1 mini)
- **MakerWorld-Link** (optional, wenn du dein Modell dort online stellst)
- **Dateien-Bereich** mit Drag&Drop fuer STL/3MF/Fotos (max. 30 MB)
- **Cover-Bild** via Crop-Tool (Strg+V fuer Screenshot — oder klicken)
@@ -172,7 +172,7 @@ Admin-Login mit `Lessing3d`. Du landest auf dem Dashboard mit Karten:
- **Drucker sperren** (z.B. P1S #1) und mit Mia versuchen zu reservieren
— sollte gesperrte Drucker nicht in der Auswahl haben.
- **Status setzen** (P2S auf "printing" mit Job-Name) und gucken, ob es
- **Status setzen** (H2S auf "printing" mit Job-Name) und gucken, ob es
in der SuS-Sicht auf /drucker erscheint.
- **Slot fuer Mia anlegen** ueber /admin/slot/neu — auch wenn Mia
nicht eingeloggt ist.

View File

@@ -204,7 +204,7 @@ CREATE TABLE IF NOT EXISTS check_in (
CREATE TABLE IF NOT EXISTS drucker (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL UNIQUE,
modell TEXT NOT NULL, -- 'P1S'|'X1C'|'P2S'|'A1 mini'
modell TEXT NOT NULL, -- 'P1S'|'H2S'|'A1 mini' (Bestand 2026-05-25)
serial_nr TEXT, -- fuer Cloud-API
geschlossenes_gehaeuse INTEGER DEFAULT 1, -- A1 mini = 0
aktiv INTEGER DEFAULT 1,

View File

@@ -35,7 +35,7 @@ def seed_drucker():
drucker = [
("P1S #1", "P1S", None, 1, "geschlossenes Gehäuse"),
("P1S #2", "P1S", None, 1, "geschlossenes Gehäuse"),
("X1C", "X1C", None, 1, "geschlossen + HEPA"),
("H2S", "H2S", None, 1, "geschlossen, neues Bambu-Modell"),
("A1 mini", "A1 mini", None, 0, "offen — Hände weg vom Hotend!"),
]
conn = get_db()

View File

@@ -10,6 +10,18 @@ MODELL_LINKS = {
"manual": "https://wiki.bambulab.com/en/p1",
"troubleshooting": "https://wiki.bambulab.com/en/p1/troubleshooting",
},
"H2S": {
# H2 Series — Bambu's neueres High-End-Modell. Wiki-URL pruefen und
# ggf. per Admin-UI per drucker.manual_url ueberschreiben, sobald
# Bambu seine Doku-Struktur stabilisiert hat.
"manual": "https://wiki.bambulab.com/en/h2s",
"troubleshooting": "https://wiki.bambulab.com/en/h2s/troubleshooting",
},
"A1 mini": {
"manual": "https://wiki.bambulab.com/en/a1-mini",
"troubleshooting": "https://wiki.bambulab.com/en/a1-mini/troubleshooting",
},
# Aelterer Bestand fuer den Fall, dass eines der Modelle dazukommt
"X1C": {
"manual": "https://wiki.bambulab.com/en/x1",
"troubleshooting": "https://wiki.bambulab.com/en/x1/troubleshooting",
@@ -18,10 +30,6 @@ MODELL_LINKS = {
"manual": "https://wiki.bambulab.com/de/p2s/manual/p2s-intro",
"troubleshooting": "https://wiki.bambulab.com/en/p2/troubleshooting",
},
"A1 mini": {
"manual": "https://wiki.bambulab.com/en/a1-mini",
"troubleshooting": "https://wiki.bambulab.com/en/a1-mini/troubleshooting",
},
}