Skip to content

U1-Integration schlägt fehl: SPOOL_ID wird vom Snapmaker U1 API-Endpunkt nicht akzeptiert #4

@ChrisBGL

Description

@ChrisBGL

Ich habe beim Übertragen eines Tags an den U1 reproduzierbar die Fehlermeldung:

Failed to load to Printer!

Meine Konfiguration:

set u1_host 192.168.178.94
set tools 4

Der U1 ist grundsätzlich erreichbar. Ein direkter Test gegen den Endpoint funktioniert, solange das Feld SPOOL_ID nicht enthalten ist:

curl -v -X POST "http://192.168.178.94:7125/printer/filament_detect/set" -H "Content-Type: application/json" -d "{\"channel\":0,\"info\":{\"VENDOR\":\"Generic\",\"MAIN_TYPE\":\"PLA\",\"SUB_TYPE\":\"\",\"RGB_1\":16711680,\"ALPHA\":255,\"HOTEND_MIN_TEMP\":190,\"HOTEND_MAX_TEMP\":220,\"BED_TEMP\":60}}"

Antwort:

{"result": {"state": "success"}}

Wenn jedoch SPOOL_ID im info-Objekt enthalten ist, antwortet der U1 mit:

HTTP/1.1 400 unsupported fields: SPOOL_ID

Daher vermute ich, dass CheapSpoolDisplay beim direkten U1-Upload ein Feld mitsendet, das der aktuelle U1/Moonraker-Endpunkt nicht akzeptiert. Ich habe 1.4.0-paxx12-18 drauf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions