Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter OctoPrint

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Test Adapter OctoPrint

Scheduled Pinned Locked Moved Tester
adapter entwicklungadatper updatesdevelopertesten
461 Posts 49 Posters 105.8k Views 44 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.
  • PeoplesP Peoples

    @haus-automatisierung sagte in Test Adapter OctoPrint:

    @peoples Und was steht im ioBroker log? 😉

    Edit: Ah, ich sehe das Problem. Glaube den Status habe ich nicht berücksichtigt. Was steht in printer_state? Genau da hört der Screenshot auf

    Du meinst bestimmt Printer-Status oder?

    Da steht "Printing from SD"

    haus-automatisierungH Online
    haus-automatisierungH Online
    haus-automatisierung
    Developer Most Active
    wrote on last edited by
    #171

    @peoples sagte in Test Adapter OctoPrint:

    Du meinst bestimmt Printer-Status oder?

    Genau, habe den Fehler schon gefunden. Den Fall hatte ich bisher nicht berücksichtigt.

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

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

      @peoples sagte in Test Adapter OctoPrint:

      Du meinst bestimmt Printer-Status oder?

      Genau, habe den Fehler schon gefunden. Den Fall hatte ich bisher nicht berücksichtigt.

      da_WoodyD Online
      da_WoodyD Online
      da_Woody
      wrote on last edited by
      #172

      @haus-automatisierung tschuldigung.gif das ich einen raspi dazwischen hab! :D
      nix drucken von ticket...

      gruß vom Woody
      HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

      1 Reply Last reply
      0
      • Ralf_NR Offline
        Ralf_NR Offline
        Ralf_N
        wrote on last edited by
        #173

        f.y.i.

        Updatet auf V 2.2.0

        Keine negativen Ereignisse.

        Liebe Grüße,

        Ralf.

        1 Reply Last reply
        0
        • LatziL Online
          LatziL Online
          Latzi
          wrote on last edited by
          #174

          @haus-automatisierung
          ich hab das Thumbnail-plugin aktiviert und finde folgende Datenpunkte dazu:
          6fc0410f-06d2-4a5f-87b3-2b021735a083-grafik.png
          Sollte in thumbnail nicht etwas eingetragen sein (hier [undef])?
          Wie kann ich mit dem thumbnail_url Pfad auf das Bild vernünftig zugreifen (mittels script vom Raspi zum iobroker kopieren)?
          Oder habe ich irgendetwas übersehen?

          haus-automatisierungH 1 Reply Last reply
          0
          • LatziL Latzi

            @haus-automatisierung
            ich hab das Thumbnail-plugin aktiviert und finde folgende Datenpunkte dazu:
            6fc0410f-06d2-4a5f-87b3-2b021735a083-grafik.png
            Sollte in thumbnail nicht etwas eingetragen sein (hier [undef])?
            Wie kann ich mit dem thumbnail_url Pfad auf das Bild vernünftig zugreifen (mittels script vom Raspi zum iobroker kopieren)?
            Oder habe ich irgendetwas übersehen?

            haus-automatisierungH Online
            haus-automatisierungH Online
            haus-automatisierung
            Developer Most Active
            wrote on last edited by
            #175

            @latzi sagte in Test Adapter OctoPrint:

            Sollte in thumbnail nicht etwas eingetragen sein (hier [undef])?

            Der Meinung bin ich auch, daher habe ich diesen Issue aufgemacht: https://github.com/ioBroker/ioBroker.admin/issues/1281

            Wie kann ich mit dem thumbnail_url Pfad auf das Bild vernünftig zugreifen (mittels script vom Raspi zum iobroker kopieren)?

            Die Bildinformationen sind in dem Datenpunkt schon enthalten. Du brauchst also nichts "rüber zu kopieren". Alternativ in einem iFrame in der VIS anzeigen. In der nächsten Version packe ich die komplette URL mit Host usw. in den thumbnail_url Datenpunkt.

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

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

              @latzi sagte in Test Adapter OctoPrint:

              Sollte in thumbnail nicht etwas eingetragen sein (hier [undef])?

              Der Meinung bin ich auch, daher habe ich diesen Issue aufgemacht: https://github.com/ioBroker/ioBroker.admin/issues/1281

              Wie kann ich mit dem thumbnail_url Pfad auf das Bild vernünftig zugreifen (mittels script vom Raspi zum iobroker kopieren)?

              Die Bildinformationen sind in dem Datenpunkt schon enthalten. Du brauchst also nichts "rüber zu kopieren". Alternativ in einem iFrame in der VIS anzeigen. In der nächsten Version packe ich die komplette URL mit Host usw. in den thumbnail_url Datenpunkt.

              LatziL Online
              LatziL Online
              Latzi
              wrote on last edited by
              #176

              @haus-automatisierung
              Alles klar, Danke Matthias! :+1:

              1 Reply Last reply
              0
              • Ralf_NR Offline
                Ralf_NR Offline
                Ralf_N
                wrote on last edited by
                #177

                @all

                Logeintrag:

                octoprint.0
                2022-01-19 00:54:40.325 warn received 502 response from /api/version with content: "<html><body><h1>502 Bad Gateway</h1>\nThe server returned an invalid or incomplete response.\n</body></html>\n"

                "ich nix verstehen"

                Ip Gateway (LAN) ist natürlich das richtige drin !?!?!

                Liebe Grüße,

                Ralf.

                haus-automatisierungH 1 Reply Last reply
                0
                • Ralf_NR Ralf_N

                  @all

                  Logeintrag:

                  octoprint.0
                  2022-01-19 00:54:40.325 warn received 502 response from /api/version with content: "<html><body><h1>502 Bad Gateway</h1>\nThe server returned an invalid or incomplete response.\n</body></html>\n"

                  "ich nix verstehen"

                  Ip Gateway (LAN) ist natürlich das richtige drin !?!?!

                  haus-automatisierungH Online
                  haus-automatisierungH Online
                  haus-automatisierung
                  Developer Most Active
                  wrote on last edited by
                  #178

                  @ralf_n sagte in Test Adapter OctoPrint:

                  Ip Gateway (LAN) ist natürlich das richtige drin !?!?!

                  Was erwartest Du jetzt von mir? :) Da ist irgendwas bei der Kommunikation schief gelaufen. Ich würde mal in das OctoPrint-Log schauen (nicht das vom Adapter), ob der Prozess rund läuft.

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

                  Ralf_NR S 2 Replies Last reply
                  0
                  • haus-automatisierungH haus-automatisierung

                    @ralf_n sagte in Test Adapter OctoPrint:

                    Ip Gateway (LAN) ist natürlich das richtige drin !?!?!

                    Was erwartest Du jetzt von mir? :) Da ist irgendwas bei der Kommunikation schief gelaufen. Ich würde mal in das OctoPrint-Log schauen (nicht das vom Adapter), ob der Prozess rund läuft.

                    Ralf_NR Offline
                    Ralf_NR Offline
                    Ralf_N
                    wrote on last edited by
                    #179

                    @haus-automatisierung
                    Matthias ! Ich erwarte Garnichts von dir ;-)

                    War nur eine Frage in die Runde, wo ich mal sinnvoller weise nachschauen sollte.
                    Und ob das überhaupt etwas ( negatives ) mit dem Adapter zu tun hat.

                    Das hast Du mir ja nun beantwortet :-)

                    Danke dafür ;-)

                    Liebe Grüße,

                    Ralf.

                    da_WoodyD 1 Reply Last reply
                    0
                    • Ralf_NR Ralf_N

                      @haus-automatisierung
                      Matthias ! Ich erwarte Garnichts von dir ;-)

                      War nur eine Frage in die Runde, wo ich mal sinnvoller weise nachschauen sollte.
                      Und ob das überhaupt etwas ( negatives ) mit dem Adapter zu tun hat.

                      Das hast Du mir ja nun beantwortet :-)

                      Danke dafür ;-)

                      da_WoodyD Online
                      da_WoodyD Online
                      da_Woody
                      wrote on last edited by
                      #180

                      @ralf_n google nach 502 Bad Gateway zeigt das an:

                      Was bedeutet „502 Bad Gateway“? Der HTTP-Fehlercode „502 Bad Gateway“ zeigt an, dass der Server keine Antwort von der angeforderten URL bekommt, weil das Gateway nicht funktioniert. Dadurch ist kein Datenaustausch möglich und die gewünschte Webseite ist für den Nutzer nicht erreichbar.

                      gruß vom Woody
                      HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

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

                        @ralf_n sagte in Test Adapter OctoPrint:

                        Ip Gateway (LAN) ist natürlich das richtige drin !?!?!

                        Was erwartest Du jetzt von mir? :) Da ist irgendwas bei der Kommunikation schief gelaufen. Ich würde mal in das OctoPrint-Log schauen (nicht das vom Adapter), ob der Prozess rund läuft.

                        S Offline
                        S Offline
                        stenmic
                        wrote on last edited by stenmic
                        #181

                        @haus-automatisierung
                        hi, wäre es möglich das thumbnail vom aktuellen Printjob anzuzeigen? (ohne die Variable “Filename“)
                        ich möchte dieses dann in VIS einblenden.

                        haus-automatisierungH 1 Reply Last reply
                        0
                        • S stenmic

                          @haus-automatisierung
                          hi, wäre es möglich das thumbnail vom aktuellen Printjob anzuzeigen? (ohne die Variable “Filename“)
                          ich möchte dieses dann in VIS einblenden.

                          haus-automatisierungH Online
                          haus-automatisierungH Online
                          haus-automatisierung
                          Developer Most Active
                          wrote on last edited by
                          #182

                          @stenmic sagte in Test Adapter OctoPrint:

                          hi, wäre es möglich das thumbnail vom aktuellen Printjob anzuzeigen? (ohne die Variable “Filename“)

                          Ich bekomme im Printjob keine Angaben über das Thumbnail. Also aktuell geht es nur, wenn Du das aus den Files selbst raussuchst.

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

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

                            @stenmic sagte in Test Adapter OctoPrint:

                            hi, wäre es möglich das thumbnail vom aktuellen Printjob anzuzeigen? (ohne die Variable “Filename“)

                            Ich bekomme im Printjob keine Angaben über das Thumbnail. Also aktuell geht es nur, wenn Du das aus den Files selbst raussuchst.

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

                            @haus-automatisierung sagte in Test Adapter OctoPrint:

                            Ich bekomme im Printjob keine Angaben über das Thumbnail

                            Das ist schade, dass das nicht möglich ist.

                            ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                            ° Node.js Fixer ---> iob nodejs-update
                            ° Fixer ---> iob fix

                            LatziL joergeliJ 2 Replies Last reply
                            0
                            • NegaleinN Negalein

                              @haus-automatisierung sagte in Test Adapter OctoPrint:

                              Ich bekomme im Printjob keine Angaben über das Thumbnail

                              Das ist schade, dass das nicht möglich ist.

                              LatziL Online
                              LatziL Online
                              Latzi
                              wrote on last edited by
                              #184

                              @negalein
                              das lässt sich jedoch leicht mit einem script machen ;-)

                              NegaleinN 1 Reply Last reply
                              0
                              • LatziL Latzi

                                @negalein
                                das lässt sich jedoch leicht mit einem script machen ;-)

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

                                @latzi sagte in Test Adapter OctoPrint:

                                das lässt sich jedoch leicht mit einem script machen

                                wäre cool
                                erstellst du eins? ;)

                                ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                                ° Node.js Fixer ---> iob nodejs-update
                                ° Fixer ---> iob fix

                                LatziL 1 Reply Last reply
                                0
                                • NegaleinN Negalein

                                  @latzi sagte in Test Adapter OctoPrint:

                                  das lässt sich jedoch leicht mit einem script machen

                                  wäre cool
                                  erstellst du eins? ;)

                                  LatziL Online
                                  LatziL Online
                                  Latzi
                                  wrote on last edited by Latzi
                                  #186

                                  @negalein
                                  bitte sehr ... (geht sicher noch eleganter, bin für jede Anregung dankbar)
                                  Die Datenpunkte unter javascript.0 händisch anlegen und los geht´s (ip vom octopi auch noch einfügen)!

                                  on({id: 'octoprint.0.printjob.file.name', change: "any"}, async function (obj) {
                                     var octo_thumb='';
                                     var thumb_file=''; 
                                     if ((obj.state.val)!== null) {
                                         thumb_file=getState("octoprint.0.printjob.file.origin").val +"_" + obj.state.val.replace(".gcode","");
                                         if (existsState("octoprint.0.files." + thumb_file + ".thumbnail_url")) {
                                            octo_thumb= getState("octoprint.0.files." + thumb_file + ".thumbnail_url").val;
                                         };
                                     }; 
                                     setState("javascript.0.3D-Drucker.dir_thumb", thumb_file, true);
                                     setState("javascript.0.3D-Drucker.thumbnail", octo_thumb, true);
                                  }); 
                                  
                                  da_WoodyD NegaleinN 2 Replies Last reply
                                  0
                                  • Ralf_NR Offline
                                    Ralf_NR Offline
                                    Ralf_N
                                    wrote on last edited by
                                    #187

                                    Hallo zusammen.

                                    Hat schon jemand negative Erfahrungen mit dem Update in Bezug auf den Adapter gemacht ?

                                    https://octoprint.org/blog/2022/01/20/new-release-1.7.3/?utm_source=octoprint&utm_medium=announcements&utm_content=1.7.2

                                    Danke.

                                    Liebe Grüße,

                                    Ralf.

                                    1 Reply Last reply
                                    0
                                    • LatziL Latzi

                                      @negalein
                                      bitte sehr ... (geht sicher noch eleganter, bin für jede Anregung dankbar)
                                      Die Datenpunkte unter javascript.0 händisch anlegen und los geht´s (ip vom octopi auch noch einfügen)!

                                      on({id: 'octoprint.0.printjob.file.name', change: "any"}, async function (obj) {
                                         var octo_thumb='';
                                         var thumb_file=''; 
                                         if ((obj.state.val)!== null) {
                                             thumb_file=getState("octoprint.0.printjob.file.origin").val +"_" + obj.state.val.replace(".gcode","");
                                             if (existsState("octoprint.0.files." + thumb_file + ".thumbnail_url")) {
                                                octo_thumb= getState("octoprint.0.files." + thumb_file + ".thumbnail_url").val;
                                             };
                                         }; 
                                         setState("javascript.0.3D-Drucker.dir_thumb", thumb_file, true);
                                         setState("javascript.0.3D-Drucker.thumbnail", octo_thumb, true);
                                      }); 
                                      
                                      da_WoodyD Online
                                      da_WoodyD Online
                                      da_Woody
                                      wrote on last edited by
                                      #188

                                      @latzi erstmal thnx! :+1:
                                      allerdings bekomm ich immer warn.

                                      	warn	javascript.0 (615) at Object.<anonymous> (script.js.common.Diverses.Octothumb:6:45)
                                      

                                      script angepasst, IMHO richtig...

                                      on({id: 'octoprint.0.printjob.file.name', change: "any"}, async function (obj) {
                                         var octo_thumb='';
                                         var thumb_file=''; 
                                         if ((obj.state.val)!== null) {
                                             thumb_file=getState("octoprint.0.printjob.file.origin").val +"_" + obj.state.val.replace(".gcode","");
                                             octo_thumb= "http://192.168.2.59/" + getState("octoprint.0.files." + thumb_file + ".thumbnail_url").val;
                                             } 
                                         setState("javascript.0.Octothumb.dir_thumb", thumb_file, true);
                                         setState("javascript.0.Octothumb.thumbnail", octo_thumb, true);
                                      }); 
                                      
                                      

                                      DPs sind da:
                                      e98d5964-7df6-465d-92a1-db1068216388-grafik.png
                                      in thumbnail hab ich allerdings:

                                      http://192.168.2.59/null
                                      

                                      verschluckt nach der IP alles...
                                      zu bekloppt für JS...

                                      gruß vom Woody
                                      HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

                                      LatziL 1 Reply Last reply
                                      0
                                      • da_WoodyD da_Woody

                                        @latzi erstmal thnx! :+1:
                                        allerdings bekomm ich immer warn.

                                        	warn	javascript.0 (615) at Object.<anonymous> (script.js.common.Diverses.Octothumb:6:45)
                                        

                                        script angepasst, IMHO richtig...

                                        on({id: 'octoprint.0.printjob.file.name', change: "any"}, async function (obj) {
                                           var octo_thumb='';
                                           var thumb_file=''; 
                                           if ((obj.state.val)!== null) {
                                               thumb_file=getState("octoprint.0.printjob.file.origin").val +"_" + obj.state.val.replace(".gcode","");
                                               octo_thumb= "http://192.168.2.59/" + getState("octoprint.0.files." + thumb_file + ".thumbnail_url").val;
                                               } 
                                           setState("javascript.0.Octothumb.dir_thumb", thumb_file, true);
                                           setState("javascript.0.Octothumb.thumbnail", octo_thumb, true);
                                        }); 
                                        
                                        

                                        DPs sind da:
                                        e98d5964-7df6-465d-92a1-db1068216388-grafik.png
                                        in thumbnail hab ich allerdings:

                                        http://192.168.2.59/null
                                        

                                        verschluckt nach der IP alles...
                                        zu bekloppt für JS...

                                        LatziL Online
                                        LatziL Online
                                        Latzi
                                        wrote on last edited by Latzi
                                        #189

                                        @da_woody
                                        hast den DP octoprint.0.files.local_Düse.thumbnail_url?
                                        Scheint, als ob der nicht existiert oder nichts Vernünftiges darin enthalten ist

                                        da_WoodyD 1 Reply Last reply
                                        0
                                        • LatziL Latzi

                                          @da_woody
                                          hast den DP octoprint.0.files.local_Düse.thumbnail_url?
                                          Scheint, als ob der nicht existiert oder nichts Vernünftiges darin enthalten ist

                                          da_WoodyD Online
                                          da_WoodyD Online
                                          da_Woody
                                          wrote on last edited by
                                          #190

                                          @latzi nope, der ist nicht vorhanden...
                                          in octo seh ich das thumb aber... generiert wirds also. in cura ja auch aktiviert.
                                          92162cc2-d83f-4c4d-b824-e829461739a0-grafik.png a795acc5-309e-4b6d-8147-846225c2abc8-grafik.png

                                          gruß vom Woody
                                          HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          657

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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