Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter OctoPrint

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter OctoPrint

    This topic has been deleted. Only users with topic management privileges can see it.
    • Latzi
      Latzi @da_Woody last edited by

      @da_woody
      verwendest du iframe?
      Bei mir läuft´s mit iframe und chrome (ff hab ich nicht getestet).

      da_Woody 1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @Latzi last edited by da_Woody

        @latzi nix iframe, das ist iQontrol...
        ist aber anscheinend ein iframe. hrnz.

        Die "X-Frame-Options"-Direktive "sameorigin" verbietet das Laden von "http://192.168.2.59/plugin/prusaslicerthumbnails/thumbnail/D%C3%BCse-v1_r.png?20220120151807" in einem Frame.
        
        1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @joergeli last edited by

          @joergeli sagte in Test Adapter OctoPrint:

          sowie die Gesamtdruckdauer und Fertigstellungszeit erstellt.

          funktioniert perfekt 🙂

          5d103c51-789b-49b6-940a-ccf131bd6522-image.png

          joergeli 1 Reply Last reply Reply Quote 0
          • Negalein
            Negalein Global Moderator @Latzi last edited by

            @latzi sagte in Test Adapter OctoPrint:

            bitte sehr

            funktioniert nicht ganz

            0_userdata.0.3DDrucker.thumbnail
            475275cc-75bf-4d21-9d8f-1c366192edfc-image.png

            octoprint.0.files.local_Kinder_Gekko_einzeln.thumbnail_url
            3ca08716-a1cb-4764-ac1d-0f4fa4a9f235-image.png

            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= getState("octoprint.0.files." + thumb_file + ".thumbnail_url").val;
                   } 
               setState("0_userdata.0.3DDrucker.dir_thumb", thumb_file, true);
               setState("0_userdata.0.3DDrucker.thumbnail", octo_thumb, true);
            }); 
            
            08:19:01.641	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:01.642	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:06.649	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:06.650	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:11.626	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:11.627	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:16.955	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:16.956	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:21.639	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:21.639	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:26.655	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:26.656	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            08:19:31.653	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:6:20)
            08:19:31.654	warn	javascript.0 (526697) at Object.<anonymous> (script.js.3D-Drucker.Slicerthumbnail:9:4)
            
            da_Woody 1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody @Negalein last edited by

              @negalein du hast da noch eine alte version! inzwischen sinds 13 zeilen...
              https://forum.iobroker.net/topic/36210/test-adapter-octoprint/229

              Latzi 1 Reply Last reply Reply Quote 0
              • Latzi
                Latzi @da_Woody last edited by

                @da_woody @Negalein
                auch das neue script wird nicht funktionieren, da wird ein Verzeichnis "Kinder" verwendet, ist im script so nicht vorgesehen 😞
                Da muss ich wohl umbauen und den DP path verwenden, wird etwas dauern - ich meld mich

                Negalein da_Woody 2 Replies Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @Latzi last edited by

                  @latzi sagte in Test Adapter OctoPrint:

                  auch das neue script wird nicht funktionieren, da wird ein Verzeichnis "Kinder" verwendet

                  stimmt
                  0_userdata.0.3DDrucker.dir_thumb wird befüllt
                  0_userdata.0.3DDrucker.thumbnail bleibt leer

                  1961a898-4de1-436e-bf82-f9a291147499-image.png

                  Latzi 1 Reply Last reply Reply Quote 0
                  • da_Woody
                    da_Woody @Latzi last edited by

                    @latzi das ist kein verzeichniss, das ist der filename des druckteils... 😉
                    local_Kinder_Gekko_einzeln

                    Negalein 1 Reply Last reply Reply Quote 0
                    • Latzi
                      Latzi @Negalein last edited by

                      @negalein
                      kannst du bitte die DP unter octoprint.0.printjob.file zeigen?

                      Negalein 1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @da_Woody last edited by

                        @da_woody sagte in Test Adapter OctoPrint:

                        das ist kein verzeichniss

                        Verzeichnis und Filename

                        File: http://10.0.1.182:80/plugin/prusaslicerthumbnails/thumbnail/Kinder/Gekko_einzeln.png?20220120081343
                        Verzeichnis: octoprint.0.files.local_Kinder_Gekko_einzeln
                        e80523d6-d362-4f76-a464-16e205692a78-image.png

                        1 Reply Last reply Reply Quote 0
                        • Negalein
                          Negalein Global Moderator @Latzi last edited by

                          @latzi sagte in Test Adapter OctoPrint:

                          kannst du bitte die DP unter octoprint.0.printjob.file zeigen?

                          618d576f-f35d-44af-8fe7-7b5687679d3d-image.png

                          Latzi da_Woody 2 Replies Last reply Reply Quote 0
                          • Latzi
                            Latzi @Negalein last edited by

                            @negalein
                            jetzt gibt es ein Problem, hier tauch nirgends das "Kinder" auf, ich hab keine Ahnung woher das kommt!

                            da_Woody Negalein 2 Replies Last reply Reply Quote 0
                            • da_Woody
                              da_Woody @Negalein last edited by

                              @negalein 0_userdata.0.3DDrucker.thumbnail ist bei mir auch leer, 0_userdata.0.3DDrucker.thumbnail_url wird befüllt.
                              octoprint.0.printjob.file sollte das nicht octoprint.0.printjob.files sein?

                              Negalein 1 Reply Last reply Reply Quote 0
                              • da_Woody
                                da_Woody @Latzi last edited by

                                @latzi so heisst das druckteil! so wie bei mir z.b. local_assortment_box_2x3_v3

                                1 Reply Last reply Reply Quote 0
                                • Negalein
                                  Negalein Global Moderator @Latzi last edited by

                                  @latzi sagte in Test Adapter OctoPrint:

                                  jetzt gibt es ein Problem, hier tauch nirgends das "Kinder" auf, ich hab keine Ahnung woher das kommt!

                                  dh., weil ich es in Octoprint bin Ordner ablege?
                                  Kinderist der Ordner.
                                  862f4cf1-9c76-4e1c-8d37-13e8c33b90f8-image.png

                                  da_Woody Latzi 2 Replies Last reply Reply Quote 0
                                  • da_Woody
                                    da_Woody @Negalein last edited by

                                    @negalein ahh, dann erkennt das script nicht den ordner, sondern nimmt das als teil des namens...

                                    1 Reply Last reply Reply Quote 0
                                    • Negalein
                                      Negalein Global Moderator @da_Woody last edited by

                                      @da_woody sagte in Test Adapter OctoPrint:

                                      0_userdata.0.3DDrucker.thumbnail_url wird befüllt.

                                      das hab ich nicht

                                      0cc68aee-dd40-42af-86d8-b0b5faa6827d-image.png

                                      sollte das nicht octoprint.0.printjob.files sein?

                                      Nö
                                      octoprint.0.printjob.file

                                      1 Reply Last reply Reply Quote 0
                                      • Latzi
                                        Latzi @Negalein last edited by

                                        @negalein
                                        ja, vermutlich ist das das "Problem".
                                        Würde das Verzeichnis beim printjob enthalten sein, hätte ich kein Problem damit. So kann ich nicht herausfinden, wo ich suchen soll 😞

                                        Negalein 1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @Latzi last edited by

                                          @latzi sagte in Test Adapter OctoPrint:

                                          So kann ich nicht herausfinden, wo ich suchen soll

                                          Schei.....benkleister 😞

                                          1 Reply Last reply Reply Quote 0
                                          • Latzi
                                            Latzi last edited by Latzi

                                            @haus-automatisierung
                                            Hallo Matthias,

                                            besteht die Möglichkeit, den DP path aus octorint.x.files.yyy in octoprint.x.printjob.file zu übertragen, damit ich "Verzeichnisse" mitbekomme, die weder in name noch origin zum printjob enthalten sind?
                                            113fc905-5963-4197-b444-1930c30d0914-image.png

                                            da_Woody 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            895
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter entwicklung adatper updates developer testen
                                            49
                                            461
                                            65037
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo