Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. [gelöst] Octoprint 2.0.7 - Problem Display Layer Progress

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    12
    2
    278

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

[gelöst] Octoprint 2.0.7 - Problem Display Layer Progress

[gelöst] Octoprint 2.0.7 - Problem Display Layer Progress

Scheduled Pinned Locked Moved Entwicklung
adapter installationoctoprint
6 Posts 3 Posters 990 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • joergeliJ Online
    joergeliJ Online
    joergeli
    wrote on last edited by joergeli
    #1

    @haus-automatisierung

    Hallo Matthias,
    ich habe die aktuelle Version des Octoprint-Adapters ( V 2.0.7 ) installiert.
    Es gibt allerdings ein Problem mit Display Layer Progress.

    Die entspr. Objekte werden zwar angelegt:
    ioBroker Objekte.jpg
    allerdings sind m.E. "current" (Aktuelle Ebene) und "total" (Gesamtebenen) vertauscht?

    Wenn ich in Octoprint (Version 1.7.2) eine Druckdatei lade, werden die Layer (aktuell und gesamt) dort auch korrekt angezeigt und bei Druckfortschritt auch entspr. hochgezählt:
    Octoprint.jpg

    In den Objekten des Octoprint-Adapters (s.obigen Screenshot) wird aber nur die Gesamtanzahl der Layer (hier 94, allerdings im Objekt "current") angezeigt, aber beim Drucken wird der aktuelle Layer (wahrscheinlich unter Objekt "total") nicht hochgezählt und steht immer auf -1.

    Ich denke, daß ich das Plugin "DisplayLayerProgress", wie hier im Abschnitt Cura beschrieben
    https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/wiki/How-does-the-plugin-works
    korrekt installiert habe:

    CURA
    
    Unfortunately Cura doesn't support layer numbers during adding custom gcode...so I wrote a Cura PostProcesser Script. It is based on the default script 'Insert at layer change'.
    Installation:
    
        Download InsertAtLayerChangeEnhancement from here
        Copy the file to your Cura PostProcessingPlugin-Directory (next to InsertAtLayerChange.py)
    
    MacOS: cura/Resources/plugins/plugins/PostProcessingPlugin
    Windows: C:\Program Files\Ultimaker Cura [Version]\plugins\PostProcessingPlugin\scripts
    
        Restart/Start Cura
        Go to Extension / Post Processing / Modify G-Code ... and add Insert at layer change (enhancement)
        Select Before
        And enter: M117 INDICATOR-Layer[layer_num]
    
    After slicing and saving the file the gcode looks like this:
    
    ...
    ;LAYER_COUNT:44
    M117 INDICATOR-Layer0
    ;LAYER:0
    ...
    M117 INDICATOR-Layer1
    ;LAYER:1
    ...
    
    

    Jedenfalls werde im von CURA (V 4.11.0) generierten gcode die entspr. zusätzlichen Kommandos bzgl.Layer eingefügt,
    hier mal ein Auszug (ab Zeile 50):

    ;FLAVOR:Marlin
    ;TIME:974
    ;Filament used: 1.1653m
    ;Layer height: 0.3
    ;MINX:9.757
    ;MINY:17.482
    ;MINZ:0.2
    ;MAXX:50.057
    ;MAXY:54.782
    ;MAXZ:28.475
    ;POSTPROCESSED
    ;Generated with Cura_SteamEngine 4.11.0
    M140 S60
    M105
    M190 S60
    M104 S205
    M105
    M109 S205
    M82 ;absolute extrusion mode
    G21 ;metric values
    G90 ;absolute positioning
    M82 ;set extruder to absolute mode
    M107 ;start with the fan off
    G28 X0 Y0 ;move X/Y to min endstops
    G28 Z0 ;move Z to min endstops
    G1 Z15.0 F120 ;move the platform down 15mm
    G92 E0 ;zero the extruded length
    G1 F200 E3 ;extrude 3mm of feed stock
    G92 E0 ;zero the extruded length again
    G1 F120
    G0 Y20 F9000120
    M117 Printing...
    G5
    ;Coca-cola
    M300 S2959 P240
    M300 S2959 P240
    M300 S2959 P240
    M300 S2959 P240
    M300 S3135 P480
    M300 S2959 P240
    M300 S2637 P480
    M300 S2637 P240
    M300 S1760 P240
    M300 S2959 P480
    M300 S2349 P480
    M300 S0 P960
    G92 E0
    G92 E0
    G1 F3600 E-6
    ;LAYER_COUNT:95
    M117 INDICATOR-Layer0
    ;LAYER:0
    .
    .
    .
    M117 INDICATOR-Layer1
    ;LAYER:1
    .
    .
    .M117 INDICATOR-Layer2
    ;LAYER:2
    

    Jetzt bin ich ratlos - sitzt das Problem vor dem Rechner, oder gibt evtl. noch ein Problem mit dem Adapter?

    @all
    Evtl. kann ja mal jemand, der mit CURA sliced und in Octoprint das Plugin "DisplayLayerProgress" verwendet,
    einen Auszug einer gcode-Datei hier posten, damit ich die Layer-Codes vergleichen kann.

    Nachtrag:
    Ich habe testweise auch mal eine zusätzliche Instanz von Octoprint erzeugt, aber auch dort das gleiche Problem.

    Edit:
    Entspr. Issue habe ich erstellt.

    Gruß
    Jörg

    NegaleinN haus-automatisierungH 2 Replies Last reply
    0
    • joergeliJ joergeli

      @haus-automatisierung

      Hallo Matthias,
      ich habe die aktuelle Version des Octoprint-Adapters ( V 2.0.7 ) installiert.
      Es gibt allerdings ein Problem mit Display Layer Progress.

      Die entspr. Objekte werden zwar angelegt:
      ioBroker Objekte.jpg
      allerdings sind m.E. "current" (Aktuelle Ebene) und "total" (Gesamtebenen) vertauscht?

      Wenn ich in Octoprint (Version 1.7.2) eine Druckdatei lade, werden die Layer (aktuell und gesamt) dort auch korrekt angezeigt und bei Druckfortschritt auch entspr. hochgezählt:
      Octoprint.jpg

      In den Objekten des Octoprint-Adapters (s.obigen Screenshot) wird aber nur die Gesamtanzahl der Layer (hier 94, allerdings im Objekt "current") angezeigt, aber beim Drucken wird der aktuelle Layer (wahrscheinlich unter Objekt "total") nicht hochgezählt und steht immer auf -1.

      Ich denke, daß ich das Plugin "DisplayLayerProgress", wie hier im Abschnitt Cura beschrieben
      https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/wiki/How-does-the-plugin-works
      korrekt installiert habe:

      CURA
      
      Unfortunately Cura doesn't support layer numbers during adding custom gcode...so I wrote a Cura PostProcesser Script. It is based on the default script 'Insert at layer change'.
      Installation:
      
          Download InsertAtLayerChangeEnhancement from here
          Copy the file to your Cura PostProcessingPlugin-Directory (next to InsertAtLayerChange.py)
      
      MacOS: cura/Resources/plugins/plugins/PostProcessingPlugin
      Windows: C:\Program Files\Ultimaker Cura [Version]\plugins\PostProcessingPlugin\scripts
      
          Restart/Start Cura
          Go to Extension / Post Processing / Modify G-Code ... and add Insert at layer change (enhancement)
          Select Before
          And enter: M117 INDICATOR-Layer[layer_num]
      
      After slicing and saving the file the gcode looks like this:
      
      ...
      ;LAYER_COUNT:44
      M117 INDICATOR-Layer0
      ;LAYER:0
      ...
      M117 INDICATOR-Layer1
      ;LAYER:1
      ...
      
      

      Jedenfalls werde im von CURA (V 4.11.0) generierten gcode die entspr. zusätzlichen Kommandos bzgl.Layer eingefügt,
      hier mal ein Auszug (ab Zeile 50):

      ;FLAVOR:Marlin
      ;TIME:974
      ;Filament used: 1.1653m
      ;Layer height: 0.3
      ;MINX:9.757
      ;MINY:17.482
      ;MINZ:0.2
      ;MAXX:50.057
      ;MAXY:54.782
      ;MAXZ:28.475
      ;POSTPROCESSED
      ;Generated with Cura_SteamEngine 4.11.0
      M140 S60
      M105
      M190 S60
      M104 S205
      M105
      M109 S205
      M82 ;absolute extrusion mode
      G21 ;metric values
      G90 ;absolute positioning
      M82 ;set extruder to absolute mode
      M107 ;start with the fan off
      G28 X0 Y0 ;move X/Y to min endstops
      G28 Z0 ;move Z to min endstops
      G1 Z15.0 F120 ;move the platform down 15mm
      G92 E0 ;zero the extruded length
      G1 F200 E3 ;extrude 3mm of feed stock
      G92 E0 ;zero the extruded length again
      G1 F120
      G0 Y20 F9000120
      M117 Printing...
      G5
      ;Coca-cola
      M300 S2959 P240
      M300 S2959 P240
      M300 S2959 P240
      M300 S2959 P240
      M300 S3135 P480
      M300 S2959 P240
      M300 S2637 P480
      M300 S2637 P240
      M300 S1760 P240
      M300 S2959 P480
      M300 S2349 P480
      M300 S0 P960
      G92 E0
      G92 E0
      G1 F3600 E-6
      ;LAYER_COUNT:95
      M117 INDICATOR-Layer0
      ;LAYER:0
      .
      .
      .
      M117 INDICATOR-Layer1
      ;LAYER:1
      .
      .
      .M117 INDICATOR-Layer2
      ;LAYER:2
      

      Jetzt bin ich ratlos - sitzt das Problem vor dem Rechner, oder gibt evtl. noch ein Problem mit dem Adapter?

      @all
      Evtl. kann ja mal jemand, der mit CURA sliced und in Octoprint das Plugin "DisplayLayerProgress" verwendet,
      einen Auszug einer gcode-Datei hier posten, damit ich die Layer-Codes vergleichen kann.

      Nachtrag:
      Ich habe testweise auch mal eine zusätzliche Instanz von Octoprint erzeugt, aber auch dort das gleiche Problem.

      Edit:
      Entspr. Issue habe ich erstellt.

      Gruß
      Jörg

      NegaleinN Offline
      NegaleinN Offline
      Negalein
      Global Moderator
      wrote on last edited by
      #2

      @joergeli @haus-automatisierung

      hab auch mit 2.0.7 das Problem.

      Gesamtlayer passt. Aber der aktuelle Layer wird mit -1 angezeigt.

      5  14 25  printing .png objects - ioBroker (3).png

      ° Node.js: 20.17.0 NPM: 10.8.2
      ° Proxmox, Ubuntu 22.04.3 LTS
      ° Fixer ---> iob fix

      1 Reply Last reply
      0
      • joergeliJ joergeli

        @haus-automatisierung

        Hallo Matthias,
        ich habe die aktuelle Version des Octoprint-Adapters ( V 2.0.7 ) installiert.
        Es gibt allerdings ein Problem mit Display Layer Progress.

        Die entspr. Objekte werden zwar angelegt:
        ioBroker Objekte.jpg
        allerdings sind m.E. "current" (Aktuelle Ebene) und "total" (Gesamtebenen) vertauscht?

        Wenn ich in Octoprint (Version 1.7.2) eine Druckdatei lade, werden die Layer (aktuell und gesamt) dort auch korrekt angezeigt und bei Druckfortschritt auch entspr. hochgezählt:
        Octoprint.jpg

        In den Objekten des Octoprint-Adapters (s.obigen Screenshot) wird aber nur die Gesamtanzahl der Layer (hier 94, allerdings im Objekt "current") angezeigt, aber beim Drucken wird der aktuelle Layer (wahrscheinlich unter Objekt "total") nicht hochgezählt und steht immer auf -1.

        Ich denke, daß ich das Plugin "DisplayLayerProgress", wie hier im Abschnitt Cura beschrieben
        https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/wiki/How-does-the-plugin-works
        korrekt installiert habe:

        CURA
        
        Unfortunately Cura doesn't support layer numbers during adding custom gcode...so I wrote a Cura PostProcesser Script. It is based on the default script 'Insert at layer change'.
        Installation:
        
            Download InsertAtLayerChangeEnhancement from here
            Copy the file to your Cura PostProcessingPlugin-Directory (next to InsertAtLayerChange.py)
        
        MacOS: cura/Resources/plugins/plugins/PostProcessingPlugin
        Windows: C:\Program Files\Ultimaker Cura [Version]\plugins\PostProcessingPlugin\scripts
        
            Restart/Start Cura
            Go to Extension / Post Processing / Modify G-Code ... and add Insert at layer change (enhancement)
            Select Before
            And enter: M117 INDICATOR-Layer[layer_num]
        
        After slicing and saving the file the gcode looks like this:
        
        ...
        ;LAYER_COUNT:44
        M117 INDICATOR-Layer0
        ;LAYER:0
        ...
        M117 INDICATOR-Layer1
        ;LAYER:1
        ...
        
        

        Jedenfalls werde im von CURA (V 4.11.0) generierten gcode die entspr. zusätzlichen Kommandos bzgl.Layer eingefügt,
        hier mal ein Auszug (ab Zeile 50):

        ;FLAVOR:Marlin
        ;TIME:974
        ;Filament used: 1.1653m
        ;Layer height: 0.3
        ;MINX:9.757
        ;MINY:17.482
        ;MINZ:0.2
        ;MAXX:50.057
        ;MAXY:54.782
        ;MAXZ:28.475
        ;POSTPROCESSED
        ;Generated with Cura_SteamEngine 4.11.0
        M140 S60
        M105
        M190 S60
        M104 S205
        M105
        M109 S205
        M82 ;absolute extrusion mode
        G21 ;metric values
        G90 ;absolute positioning
        M82 ;set extruder to absolute mode
        M107 ;start with the fan off
        G28 X0 Y0 ;move X/Y to min endstops
        G28 Z0 ;move Z to min endstops
        G1 Z15.0 F120 ;move the platform down 15mm
        G92 E0 ;zero the extruded length
        G1 F200 E3 ;extrude 3mm of feed stock
        G92 E0 ;zero the extruded length again
        G1 F120
        G0 Y20 F9000120
        M117 Printing...
        G5
        ;Coca-cola
        M300 S2959 P240
        M300 S2959 P240
        M300 S2959 P240
        M300 S2959 P240
        M300 S3135 P480
        M300 S2959 P240
        M300 S2637 P480
        M300 S2637 P240
        M300 S1760 P240
        M300 S2959 P480
        M300 S2349 P480
        M300 S0 P960
        G92 E0
        G92 E0
        G1 F3600 E-6
        ;LAYER_COUNT:95
        M117 INDICATOR-Layer0
        ;LAYER:0
        .
        .
        .
        M117 INDICATOR-Layer1
        ;LAYER:1
        .
        .
        .M117 INDICATOR-Layer2
        ;LAYER:2
        

        Jetzt bin ich ratlos - sitzt das Problem vor dem Rechner, oder gibt evtl. noch ein Problem mit dem Adapter?

        @all
        Evtl. kann ja mal jemand, der mit CURA sliced und in Octoprint das Plugin "DisplayLayerProgress" verwendet,
        einen Auszug einer gcode-Datei hier posten, damit ich die Layer-Codes vergleichen kann.

        Nachtrag:
        Ich habe testweise auch mal eine zusätzliche Instanz von Octoprint erzeugt, aber auch dort das gleiche Problem.

        Edit:
        Entspr. Issue habe ich erstellt.

        Gruß
        Jörg

        haus-automatisierungH Offline
        haus-automatisierungH Offline
        haus-automatisierung
        Developer Most Active
        wrote on last edited by
        #3

        @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

        Entspr. Issue habe ich erstellt.

        Das hätte ich auch gereicht 🙂 Darüber bekomme ich eine Mail.

        🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
        🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
        📚 Meine inoffizielle ioBroker Dokumentation

        joergeliJ 2 Replies Last reply
        0
        • haus-automatisierungH haus-automatisierung

          @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

          Entspr. Issue habe ich erstellt.

          Das hätte ich auch gereicht 🙂 Darüber bekomme ich eine Mail.

          joergeliJ Online
          joergeliJ Online
          joergeli
          wrote on last edited by
          #4

          @haus-automatisierung sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

          @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

          Entspr. Issue habe ich erstellt.

          Das hätte ich auch gereicht 🙂 Darüber bekomme ich eine Mail.

          Jo, ich versuche halt Probleme immer möglichst genau zu beschreiben und das fällt mir hier im ioBroker-Forum leichter, als in github

          haus-automatisierungH 1 Reply Last reply
          0
          • joergeliJ joergeli

            @haus-automatisierung sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

            @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

            Entspr. Issue habe ich erstellt.

            Das hätte ich auch gereicht 🙂 Darüber bekomme ich eine Mail.

            Jo, ich versuche halt Probleme immer möglichst genau zu beschreiben und das fällt mir hier im ioBroker-Forum leichter, als in github

            haus-automatisierungH Offline
            haus-automatisierungH Offline
            haus-automatisierung
            Developer Most Active
            wrote on last edited by
            #5

            @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

            Jo, ich versuche halt Probleme immer möglichst genau zu beschreiben und das fällt mir hier im ioBroker-Forum leichter, als in github

            Links einbauen und Screenshots hochladen klappt da doch genauso gut?
            Am Ende ist das hier auch Markdown im Forum. Also 1:1 identisch zu GitHub. Nur mit einem anderen Editor drumrum.

            🧑‍🎓 Autor des beliebten ioBroker-Master-Kurses
            🎥 Tutorials rund um das Thema DIY-Smart-Home: https://haus-automatisierung.com/
            📚 Meine inoffizielle ioBroker Dokumentation

            1 Reply Last reply
            0
            • haus-automatisierungH haus-automatisierung

              @joergeli sagte in Octoprint 2.0.7 - Problem mit Display Layer Progress:

              Entspr. Issue habe ich erstellt.

              Das hätte ich auch gereicht 🙂 Darüber bekomme ich eine Mail.

              joergeliJ Online
              joergeliJ Online
              joergeli
              wrote on last edited by
              #6

              @haus-automatisierung
              Danke, mit demOctoprint-Adaper v2.1.0 funktioniert die Layer-Anzeige 👍

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

              ioBroker
              Community Adapters
              Donate

              214

              Online

              32.4k

              Users

              81.3k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe