Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. [UMFRAGE] Besteht Interesse an einem Octoprint Adapter

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [UMFRAGE] Besteht Interesse an einem Octoprint Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Haui74 last edited by

      Das hatte ich schon gemacht, brachte keine Abhilfe.

      1 Reply Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer last edited by

        Hast du ihn wirklich neu installiert?

        npm i iobroker.octoprint —prefix /opt/iobroker/
        

        Bzw kannst du ja mal schauen ob unter /opt/iobroker/node_modules/ ein Ordner iobroker.octoprint vorhanden ist. Und was dich darin befindet.

        1 Reply Last reply Reply Quote 0
        • H
          Haui74 last edited by

          Danke für deine Tips!

          Es hat nur das komplette Löschen des Ordners und der Adapter Quelle geholfen. Danach neu geaddet, installiert und es hat wieder funktioniert 🙂

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

            Gestern ist mein Raspberry gekommen.

            Alles, nachdem ich den Port von 5000 auf 80 geändert habe im grünen Bereich.

            Nun eine Bitte:

            Die meisten von uns werden sich die Octopi-Image herunterladen. Somit ist der Port falsch.

            Richtig wäre IP-des-Druckservers:80.

            Wenn man sich das System selber aufsetzt (Raspian und alles selber installiert) dann wäre der Port 5000 richtig.

            Gruß,

            Mathias

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

              @Haui74:

              Hallo!

              Mein ioBroker ist gestern auf einen Beelink umgezogen. Seit dem funktioniert der Octoprint Adapter nicht mehr, wenn ich in die Einstellungen gehen will, bekomme ich die Meldung "File index_m.html not found". Habe ihn schon de-/ und wieder Installiert.

              Der Umzug fand mittels "iobroker backup", "iobroker restore 0" und "iobroker upload all" statt.

              Waran könnte das liegen?

              Gruß

              Dirk `

              Ich hatte das gleiche Problem mit einem anderen Adapter.

              versuche mal npm install iobroker .octoprint

              Ich musste das beim Amazon Dash-Button so machen.

              1 Reply Last reply Reply Quote 0
              • X
                xbow42 last edited by

                Hallo,

                danke erst mal für die Entwicklung des Adapters!

                Hab mir die angepasse Version von "https://github.com/DenwoT/ioBroker.octoprint" installiert.

                Könnt ihr bitte den Adapter erweitern wobei auch das octoprint.enclosure-plugin im iobroker.octprint-adapter unterstützt wird.

                hab z.Z einen DHT22 angeschlossen um den Innenraum der Druckerbox zu überwachen. Relay für LED-Beleuchtung soll noch folgen…

                könnt ihr bitte einem Anfänger in Sachen iobroker erklären wie euer script ausschaut zum

                *octopi shutdown

                *sonoff-pow off

                Für mich interessant wäre auch wenn ich zu hause bin dass vorerst kein shutdown ausgelöst wird, sondern

                wenn Druckjob fertig: mir Alexa sagt "Druckjob fertig, es hat xStunden yMinuten gedauert"

                Nach eine festgelegten "Bett-Abkühltempereatur" + octoprint.0.temperature.bed.target=0 + octoprint.0.temperature.tool0.target=0(kein neuer Auftrag) dann sagt Alexa "Du kannst das Objekt jetzt vom Druckbett nehmen"

                So habe ich auch die Möglichkeit die Glasplatte zu tauschen und einen neuen Druckauftrag zu starten, damit es schnell weitergehen kann :mrgreen:

                Wenn man z.b. nach 15min keinen neuen Druckauftrag angeschuppst hat soll der shutdown erfolgen.

                Dann könnte man noch einen Nachtzeit definieren, in der immer shutdown ausgelöst wird und kein Alexagequassel.

                "Alexa Drucker vorheizen PLA/ABS/PETG" -> "ok"

                "Alexa setze Heizbett auf 70 Grad" -> "ok"

                "Alexa Druckerstatus" -> "Drucker ist offline"/"Drucker wartet..."/"Drucker heizt PLA 190 60"/"Druckfortschritt 42%"

                So erst mal meine Ideen, aber mit meinen derzeitigen Kenntnissen zum iobroker schwer machbar. Ich hoffe auf eure Unterstützung

                cu xbow42

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

                  Also die Ansagen habe ich bei mir realisiert über alexa2.0 und die reminder Funktion.

                  1 Reply Last reply Reply Quote 0
                  • D
                    Denwo last edited by

                    Also mit Alexa habe ich es noch nicht realisiert… aber ich kann mal meine Scripte zeigen bzw. geben, vielleicht kannst ja etwas gebrauchen und vielleicht haben ja andere Anregungen bzw Verbesserungen für mich.

                    3d_drucker_auto_aus:
                    1927_2018-10-15_101206.png

                    3d_drucker_fertig:
                    1927_2018-10-15_101416.png

                    3d_drucker_status:
                    1927_2018-10-15_101542.png

                    3d_drucker_printtime_left_min:
                    1927_2018-10-15_101844.png
                    1927_2018-10-15_101750.png

                    {
                      "from": "system.adapter.admin.0",
                      "user": "system.user.admin",
                      "ts": 1538150256132,
                      "common": {
                        "name": "kosten_gesamt",
                        "role": "value",
                        "type": "number",
                        "unit": "€",
                        "desc": "Manuell erzeugt",
                        "read": true,
                        "write": true,
                        "def": false,
                        "custom": {
                          "material": {
                            "admin": {
                              "name": "Kosten gesamt",
                              "colorOn": "",
                              "doubleSize": "",
                              "icon": "",
                              "background": "",
                              "enabled": true
                            }
                          }
                        }
                      },
                      "native": {},
                      "acl": {
                        "object": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator",
                        "state": 1636
                      },
                      "_id": "octoprint.0.kosten_gesamt",
                      "type": "state"
                    }
                    
                    {
                      "from": "system.adapter.admin.0",
                      "user": "system.user.admin",
                      "ts": 1538150256132,
                      "common": {
                        "name": "printtime_left_in_min",
                        "role": "value",
                        "type": "number",
                        "unit": "min",
                        "desc": "Manuell erzeugt",
                        "read": true,
                        "write": true,
                        "def": false,
                        "custom": {
                          "material": {
                            "admin": {
                              "name": "verbleibende Zeit",
                              "colorOn": "",
                              "doubleSize": "",
                              "icon": "",
                              "background": "",
                              "enabled": true
                            }
                          }
                        }
                      },
                      "native": {},
                      "acl": {
                        "object": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator",
                        "state": 1636
                      },
                      "_id": "octoprint.0.printjob.progress.printtime_left_in_min",
                      "type": "state"
                    }
                    
                    {
                      "_id": "octoprint.0.printjob.progress.printtime_last",
                      "type": "state",
                      "common": {
                        "name": "printtime_last",
                        "role": "value",
                        "type": "number",
                        "read": true,
                        "unit": "min",
                        "write": true,
                        "desc": "Manuell erzeugt",
                        "def": false,
                        "custom": {
                          "material": {
                            "admin": {
                              "name": "Dauer letzter Druck",
                              "colorOn": "",
                              "doubleSize": "",
                              "icon": "",
                              "background": "",
                              "enabled": true
                            }
                          }
                        }
                      },
                      "native": {},
                      "from": "system.adapter.admin.0",
                      "user": "system.user.admin",
                      "ts": 1538150256132,
                      "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                      }
                    }
                    
                    1 Reply Last reply Reply Quote 0
                    • X
                      xbow42 last edited by

                      Hallo Denwo,

                      danke für eure Antworten! Denwo,schöne Einsicht in deine scripte, wird mit sicher weiterhelfen!

                      Hier mal schematisch mein Hardwareaufbau.
                      9142_schematic_skizze.png
                      Da mein Drucker nach dem sonoff-power-on erst mal noch kein Strom bekommt kann sich den octopi sich natürlich nicht automatisch verbinden.

                      also muss ich für den octopi ein bootscript bauen was das zugehörige Druckerrelay einschaltet. Das sollte ich hinbekommen, nur weiß ich nicht wie ich nach einer kurzen Wartezeit den octopi dazu bringe sich mit dem Drucker zu verbinden.

                      Wie geht das?

                      cu xbow42

                      1 Reply Last reply Reply Quote 0
                      • M
                        moeff last edited by

                        danke für den adapter, funktioniert perfekt!

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nippy last edited by

                          WOW..

                          Danke.

                          Ich habe mir bis jetzt immer die Webseite als iFrame im VIS anzeigen lassen.

                          So ist es natürlich etwas komfortabler 🙂

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

                            Ich habe mir das Blocky zur Fertigmeldung nachgebaut, wie hier beschrieben. Allerdings bekomme ich bereits bei der Aufheizphase und während des Druckens ständig Meldungen, dass der Druck fertig sei.

                            Kennt jemand eventuell den Fehler?

                            Gruss Joachim

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

                              Ich habe mir den Adapter auch mal installiert. Leider bleibt die Instanz gelb. Keine Fehlermeldung oder irgend etwas.

                              octoprint.0	2018-11-30 23:22:50.288	debug	refreshing OctoPrint state
                              octoprint.0	2018-11-30 23:21:50.272	debug	refreshing OctoPrint state
                              octoprint.0	2018-11-30 23:20:50.256	debug	refreshing OctoPrint state
                              octoprint.0	2018-11-30 23:20:50.256	info	starting. Version 0.0.1 in C:/ioBroker/node_modules/iobroker.octoprint, node: v8.13.0
                              octoprint.0	2018-11-30 23:20:49.866	debug	statesDB connected
                              octoprint.0	2018-11-30 23:20:49.834	debug	objectDB connected
                              host.iobroker	2018-11-30 23:20:49.272	info	instance system.adapter.octoprint.0 started with pid 7860
                              host.iobroker	2018-11-30 23:20:49.256	info	"system.adapter.octoprint.0" enabled
                              host.iobroker	2018-11-30 23:20:49.256	info	object change system.adapter.octoprint.0
                              host.iobroker	2018-11-30 23:20:43.522	info	object change system.adapter.octoprint.0
                              host.iobroker	2018-11-30 23:20:34.069	info	object change system.adapter.octoprint.0
                              host.iobroker	2018-11-30 23:20:24.225	info	instance system.adapter.octoprint.0 terminated with code null ()
                              host.iobroker	2018-11-30 23:20:24.225	warn	instance system.adapter.octoprint.0 terminated due to SIGTERM
                              host.iobroker	2018-11-30 23:20:24.209	info	stopInstance system.adapter.octoprint.0 killing pid 3236
                              host.iobroker	2018-11-30 23:20:24.209	info	stopInstance system.adapter.octoprint.0
                              

                              Er macht einfach nix. Jemand eine Idee dazu?

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

                                gibt es den Adapter nicht mehr?

                                ich habe mein System wegen eines Flashplattencrashes neu aufbauen müssen.

                                Die backups sind anscheinend auch kaputt.

                                Nun fange ich wieder von vorne an und finde octoprint nicht mehr.

                                Gruß,

                                Mathias

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

                                  @MathiasJ:

                                  gibt es den Adapter nicht mehr?

                                  ich habe mein System wegen eines Flashplattencrashes neu aufbauen müssen.

                                  Die backups sind anscheinend auch kaputt.

                                  Nun fange ich wieder von vorne an und finde octoprint nicht mehr.

                                  Gruß,

                                  Mathias `

                                  Hier findest du ih: https://github.com/klein0r/ioBroker.octoprint

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

                                    dankeschön! Ist wieder installiert.

                                    Jetzt muß ich nur noch auf meine Sonoff S20 warten, damit der Drucker sich auch ausschaltet, wenn er fertig ist.

                                    Gruß,

                                    Mathias

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

                                      Müssen in Octoprint irgend welche bestimmten PlugIn`s installiert sein damit in der Octoprint Instanz alle Datenpunkte ausgefüllt werden? Konkret geht es um die Filament Daten. Diese werden bei mir während eines Drucks nicht mit angezeigt.

                                      siehe -> https://www.dropbox.com/s/9jvw5c4ij4ncr … r.png?dl=0

                                      Ich habe als PlugIn den Filament Manager installiert, für den Fall das dass wichtig ist.

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xbow42 last edited by

                                        da ich gerade mal wieder einen Druckjob angeschmissen haben und hinterher immer noch manuell herunterfahre frage ich mal hier nach.

                                        Ich möchte dem octopi nach dem job nicht einfach den Strom wegziehen sondern vorher sauber herunterfahren.

                                        Wie habt ihr das gelöst?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          martin last edited by

                                          Ich nutze zwar noch kein Octoprint aber ist in Planung.

                                          Jetzt würden mich mal eure Views zum Thema Octoprint / 3D Drucker interessieren.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            muckel last edited by

                                            @xbow42

                                            Ich lasse meinen OctoPI immer laufen! Ist ja auch eine Webcam dran.

                                            ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                                            ! <block type="on_ext" id="jPa+e-oTwuMvqkll9^O" x="-813" y="12"><mutation items="1"></mutation> ! <field name="CONDITION">any</field> ! <value name="OID0"><shadow type="field_oid" id="#~L@//vxg^Qj1yk^s0Dr"><field name="oid">octoprint.0.printer_status</field></shadow></value> ! <statement name="STATEMENT"><block type="controls_if" id="._o/ONn*+[M/6a)71hk"><value name="IF0"><block type="logic_operation" id="(#Jr7fU}F-YgawY4AXN"><field name="OP">OR</field> ! <value name="A"><block type="time_compare_ex" id="5b9i5YT~c7W4HPj^0MT("><mutation end_time="false" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION">>=</field> ! <value name="START_TIME"><shadow type="text" id="S@6jX5*)9FB+d^z;;{w6"><field name="TEXT">23:59</field></shadow></value></block></value> ! <value name="B"><block type="time_compare_ex" id="vHSusy2bh[7!@fUazZVi"><mutation end_time="false" actual_time="true"></mutation> ! <field name="USE_ACTUAL_TIME">TRUE</field> ! <field name="OPTION"><</field> ! <value name="START_TIME"><shadow type="text" id="^;CH.q|?SzlD%RK8ucn="><field name="TEXT">06:00</field></shadow></value></block></value></block></value> ! <statement name="DO0"><block type="controls_if" id="I#P*fomL?a.ZDnXEkY8?"><value name="IF0"><block type="logic_operation" id="Z^s-E?4m3c~=SU][PGra"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id=".m8Nml1u){wi32;T1N^a"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="YoEpwvs|pr)4^ObMZQC6"><field name="ATTR">val</field> ! <field name="OID">octoprint.0.printer_status</field></block></value> ! <value name="B"><block type="text" id="T.UAy5NUX,h2C1BfV_Ao"><field name="TEXT">Operational</field></block></value></block></value> ! <value name="B"><block type="logic_compare" id="~,SCVn~FVTWIKWFWoHI]"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="iI~q^ahH;(DsU/UICg*"><field name="ATTR">val</field>
                                            ! <field name="OID">octoprint.0.printjob.progress.completion</field></block></value>
                                            ! <value name="B"><block type="math_number" id="1Ed%TcuUcQj_4e;.U+1"><field name="NUM">100</field></block></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="YS05]`T?AS5K{){~dU)"><mutation delay_input="true"></mutation>
                                            ! <field name="OID">hs100.0.192_168_0_37.state</field>
                                            ! <field name="WITH_DELAY">TRUE</field>
                                            ! <field name="DELAY_MS">15</field>
                                            ! <field name="UNIT">min</field>
                                            ! <field name="CLEAR_RUNNING">FALSE</field>
                                            ! <value name="VALUE"><block type="logic_boolean" id="J|tC)Ni#xF.E,FI^T?Ca"><field name="BOOL">FALSE</field></block></value></block></statement></block></statement></block></statement></block></xml>

                                            so habs ich gelöst mit einer Funksteckdose.

                                            Mein Ansatz war allerdings nach Fertigstellung den Strom vom Drucker abzudrehen.

                                            Für eine Heatbed Kühlung hab ich folgendes Script:

                                            ! <xml 1999/xmlns="<URL url=" http:/www.w3.org/xhtml"="">http://www.w3.org/1999/xhtml">
                                            ! <block type="on_ext" id="jPa+e-oTwuMvqkll9^O" x="-838" y="-212"><mutation items="1"></mutation> ! <field name="CONDITION">ge</field> ! <value name="OID0"><shadow type="field_oid" id="#~L@//vxg^Qj1yk^s0Dr"><field name="oid">octoprint.0.printjob.progress.completion</field></shadow></value> ! <statement name="STATEMENT"><block type="controls_if" id="I#P*fomL?a.ZDnXEkY8?"><mutation elseif="1"></mutation> ! <value name="IF0"><block type="logic_operation" id="~ftt,d@stkd2i5zAjs{_"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id="T0}MDoyC~T8l6*E|{o%p"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="+[8/RUdI!YGO}(qoiJ]h"><field name="ATTR">val</field> ! <field name="OID">octoprint.0.printer_status</field></block></value> ! <value name="B"><block type="text" id="j.|T%K,;mL%icwh.{n#v"><field name="TEXT">Operational</field></block></value></block></value> ! <value name="B"><block type="logic_operation" id=".a-Usz}7USy}KC(Kk2u9"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id="D^tb-I9eN{]I3mRwD^k"><field name="OP">EQ</field>
                                            ! <value name="A"><block type="get_value" id="HlkW!uTky~eLeGKRX3t7"><field name="ATTR">val</field>
                                            ! <field name="OID">octoprint.0.printjob.progress.completion</field></block></value>
                                            ! <value name="B"><block type="math_number" id="7WW^GA7H+@t+sph%zr4G"><field name="NUM">100</field></block></value></block></value>
                                            ! <value name="B"><block type="logic_compare" id="-3:?gg2eElcMjCxc}{3Q"><field name="OP">GTE</field>
                                            ! <value name="A"><block type="get_value" id="_hUW0+_g2OBskGG[.542"><field name="ATTR">val</field>
                                            ! <field name="OID">octoprint.0.temperature.bed.actual</field></block></value>
                                            ! <value name="B"><block type="math_number" id="z;EA^t5-R/@~7)O7Lu-"><field name="NUM">30</field></block></value></block></value></block></value></block></value> ! <statement name="DO0"><block type="control" id="YS05]T?AS5K{){~dU)"><mutation delay_input="false"></mutation> ! <field name="OID">hs100.0.192_168_0_38.state</field> ! <field name="WITH_DELAY">FALSE</field> ! <value name="VALUE"><block type="logic_boolean" id="J|tC)Ni#xF.E,FI^T?Ca"><field name="BOOL">TRUE</field></block></value></block></statement> ! <value name="IF1"><block type="logic_operation" id="Z^s-E?4m3c~=SU][PGra"><field name="OP">AND</field> ! <value name="A"><block type="logic_compare" id=".m8Nml1u){wi32;T1N^a"><field name="OP">EQ</field> ! <value name="A"><block type="get_value" id="YoEpwvs|pr)4^ObMZQC6"><field name="ATTR">val</field> ! <field name="OID">hs100.0.192_168_0_38.state</field></block></value> ! <value name="B"><block type="logic_boolean" id="#Ev3)B2II(x6[Ai!H-9|"><field name="BOOL">TRUE</field></block></value></block></value> ! <value name="B"><block type="logic_compare" id="{X~?!War1q8dHJ,.v4!C"><field name="OP">LT</field> ! <value name="A"><block type="get_value" id="c{mvK@X3,QocT-XF4e(D"><field name="ATTR">val</field> ! <field name="OID">octoprint.0.temperature.bed.actual</field></block></value> ! <value name="B"><block type="math_number" id="Uh2,[IS#g_AR=6#;[*S"><field name="NUM">30</field></block></value></block></value></block></value>
                                            ! <statement name="DO1"><block type="control" id="rjF]fs/UKg/4YLqu(0D("><mutation delay_input="false"></mutation>
                                            ! <field name="OID">hs100.0.192_168_0_38.state</field>
                                            ! <field name="WITH_DELAY">FALSE</field>
                                            ! <value name="VALUE"><block type="logic_boolean" id="b8+71vK6N~LuDm|1BB0#"><field name="BOOL">FALSE</field></block></value>
                                            ! <next><block type="controls_if" id="}]h)9l5:Gpj^):JV2GQq"><value name="IF0"><block type="time_compare" id="GC3SlU0i7t.}V+m9RG08"><mutation end_time="true"></mutation>
                                            ! <field name="OPTION">not between</field>
                                            ! <field name="START_TIME">12:00</field>
                                            ! <field name="END_TIME">16:00</field></block></value>
                                            ! <statement name="DO0"><block type="timeouts_settimeout" id="]}CW5/+ulF8RBd4/hiIh"><field name="NAME">timeout</field>
                                            ! <field name="DELAY">1</field>
                                            ! <field name="UNIT">min</field>
                                            ! <statement name="STATEMENT"><block type="sayit" id="9g)j7uw_cOp,FUauB;;b"><field name="INSTANCE">.1</field>
                                            ! <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                            ! <value name="VOLUME"><block type="math_number" id="2O@ecO97hTtuzKrAw6e`"><field name="NUM">20</field></block></value>
                                            ! <value name="MESSAGE"><shadow type="text" id=";gH[}uvuo:NmexNlEYmX"><field name="TEXT">Der Drucker ist fertig</field></shadow></value></block></statement></block></statement></block></next></block></statement></block></statement></block></xml>

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            811
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            42
                                            128
                                            20455
                                            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