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.
    • K
      Knoddel @haus-automatisierung last edited by Knoddel

      @haus-automatisierung

      Der Adapter funktioniert bei mir soweit, das Einzige was mich etwas Stört ist diese Meldung im log, in der Version 0.0.4 kommt der Logeintrag nicht.

      
      octoprint.0	2020-08-25 11:45:23.386	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:45:23.385	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:45:23.384	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:45:23.383	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:45:20.312	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:44:20.313	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:44:20.313	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:44:20.312	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:44:20.311	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      octoprint.0	2020-08-25 11:44:17.240	error	(19604) Error: connect EHOSTUNREACH 192.168.178.205:80
      
      

      Mein OctoPrint Sever läuft nur wenn ich auch etwas Drucke, wäre Toll wenn man die Ausgabe im log optional machen könnte.

      haus-automatisierung 1 Reply Last reply Reply Quote 0
      • haus-automatisierung
        haus-automatisierung Developer Most Active @Knoddel last edited by

        @Knoddel Ah okay, danke, nehme ich mal mit mit auf für die nächste Version

        haus-automatisierung 1 Reply Last reply Reply Quote 1
        • haus-automatisierung
          haus-automatisierung Developer Most Active @haus-automatisierung last edited by haus-automatisierung

          Sollte in 0.0.6 besser sein 🙂

          K 1 Reply Last reply Reply Quote 1
          • K
            Knoddel @haus-automatisierung last edited by

            @haus-automatisierung

            Ja, danke für die schnelle Umsetzung

            1 Reply Last reply Reply Quote 0
            • H
              hills8 @haus-automatisierung last edited by

              @haus-automatisierung

              Habe mit dem 0.0.6 Adapter folgende warnungen im Log. Anonsten sind eigentlich alle Daten im Datenpunkt zu sehen und ich habe keine Fehler erhalten.

              octoprint.0	2020-08-25 17:11:29.567	warn	(25715) This object will not be created in future versions. Please report this to the developer.
              octoprint.0	2020-08-25 17:11:29.566	warn	(25715) Object octoprint.0.command.jog.z is invalid: obj.common.type has an invalid value (numeric) but has to be one of number, string, boolean, array, object, mixed, file, json
              octoprint.0	2020-08-25 17:11:29.564	warn	(25715) This object will not be created in future versions. Please report this to the developer.
              octoprint.0	2020-08-25 17:11:29.564	warn	(25715) Object octoprint.0.command.jog.y is invalid: obj.common.type has an invalid value (numeric) but has to be one of number, string, boolean, array, object, mixed, file, json
              octoprint.0	2020-08-25 17:11:29.561	warn	(25715) This object will not be created in future versions. Please report this to the developer.
              octoprint.0	2020-08-25 17:11:29.560	warn	(25715) Object octoprint.0.command.jog.x is invalid: obj.common.type has an invalid value (numeric) but has to be one of number, string, boolean, array, object, mixed, file, json
              

              hills8

              haus-automatisierung 1 Reply Last reply Reply Quote 0
              • haus-automatisierung
                haus-automatisierung Developer Most Active @hills8 last edited by

                @hills8 Oh man, wie komm ich denn auf „numeric“? Danke, wird behoben

                -cs- 1 Reply Last reply Reply Quote 1
                • -cs-
                  -cs- @haus-automatisierung last edited by

                  Hi,
                  da dies ja anscheinend ei Aktueller Thread ist, und ich seit neuestem auch Octoprint benutze, hätte ich eine Frage:

                  Ist es absehbar, dass die Daten vom Enclosure PlugIn auch mal als Datenpunkte übernommen werden?

                  Dies war ja in anderen Threads auch schon mal die Frage, aber es gab nie eine Antwort.

                  Danke und schöne Grüße
                  Chris

                  ? haus-automatisierung 2 Replies Last reply Reply Quote 0
                  • M
                    martin last edited by

                    Der Adapter ist sehr sinnvoll.
                    Hat jemand eine VIS dazu die er zur Verfügung stellt?

                    joergeli 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @-cs- last edited by

                      @csr sagte in Test Adapter OctoPrint 0.0.6:

                      Ist es absehbar, dass die Daten vom Enclosure PlugIn auch mal als Datenpunkte übernommen werden?

                      Theoretisch ist dies alles mit iobroker möglich falls die Komponenten zur Temperatur und Lüftung über iobroker gesteuert werden?

                      Wenn Wünsche geäußert werden dann Z-Höhe oder Layer 😉

                      -cs- haus-automatisierung 2 Replies Last reply Reply Quote 0
                      • -cs-
                        -cs- @Guest last edited by

                        @Brainbug sagte in Test Adapter OctoPrint 0.0.6:

                        Theoretisch ist dies alles mit iobroker möglich falls die Komponenten zur Temperatur und Lüftung über iobroker gesteuert werden?

                        Gesteuert wird mit Octoprint, Visualisiert mit IO-Broker

                        Wenn Wünsche geäußert werden dann Z-Höhe oder Layer 😉

                        ? also nur Layer als Wunsch ?

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @-cs- last edited by

                          @csr sagte in Test Adapter OctoPrint 0.0.6:

                          ? also nur Layer als Wunsch ?

                          Ja ich hätte gerne den aktuellen Layer von max. Layer als Beispiel oder aktuelle Z- Höhe in der gerade gedruckt wird.
                          Unter Octoprint gibt's DisplayLayerProgress oder LayerDisplay das finde ich sehr wichtig für meine Bedürfnisse.

                          1 Reply Last reply Reply Quote 0
                          • A
                            Andre R. last edited by

                            was ist der Unterschied zwischen den 2 Refresh Intervallen?

                            haus-automatisierung 1 Reply Last reply Reply Quote 0
                            • haus-automatisierung
                              haus-automatisierung Developer Most Active @Andre R. last edited by

                              @Andre-R Die Idee ist, dass man die Werte während des Drucks öfter abholen kann. Also zum Beispiel alle 2 Min wenn nichts los ist und alle 15 Sekunden während des Drucks

                              A 1 Reply Last reply Reply Quote 0
                              • haus-automatisierung
                                haus-automatisierung Developer Most Active @Guest last edited by

                                @Brainbug Aktuelle Layer bekommt man leider nicht über die API im Standard. Dazu muss man ein Plugin installieren damit die Infos mitgeliefert werden. Ist aber notiert

                                1 Reply Last reply Reply Quote 0
                                • haus-automatisierung
                                  haus-automatisierung Developer Most Active @-cs- last edited by

                                  @csr Enclosure habe ich nicht. Hast Du ein Beispiel wie die Infos per API abgerufen werden können?

                                  -cs- 1 Reply Last reply Reply Quote 0
                                  • A
                                    Andre R. @haus-automatisierung last edited by

                                    @haus-automatisierung also kann ich die 1 Refresh Funktion auf 600 Sek. stellen? sonst spammt er mir jede Minute den Log zu, da Octopi nur läuft wenn der Drucker läuft.

                                    haus-automatisierung 1 Reply Last reply Reply Quote 0
                                    • -cs-
                                      -cs- @haus-automatisierung last edited by

                                      @haus-automatisierung sagte in Test Adapter OctoPrint 0.0.6:

                                      @csr Enclosure habe ich nicht. Hast Du ein Beispiel wie die Infos per API abgerufen werden können?

                                      Leider nein, dazu bin zu sehr nur Anwender 😞 .

                                      1 Reply Last reply Reply Quote 0
                                      • haus-automatisierung
                                        haus-automatisierung Developer Most Active @Andre R. last edited by

                                        @Andre-R Ja, genau. Steht ja auch unter den Feldern in der Konfiguration 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • joergeli
                                          joergeli @martin last edited by

                                          @martin
                                          Evtl. hilft Dir mein JS-Script & VIS-View ?

                                          Gruß
                                          Jörg

                                          joergeli 1 Reply Last reply Reply Quote 1
                                          • joergeli
                                            joergeli @joergeli last edited by joergeli

                                            @haus-automatisierung

                                            Da Du dankenswerterweise im Adaper Octoprint 0.0.6 die jog- und custom-commands-Datenpunkte eingebaut hast,
                                            habe ich mal einen View erstellt, der nur die X/Y- und Z-Steuerung ermöglicht ( wie in Octoprint selbst )
                                            3D-Drucker-Steuerung.gif
                                            Hier mein exportierter View: 3D-Drucker-Steuerung.zip
                                            Zusätzlich muß man noch einige CSS-Rotationen einbinden, um das pfeillinks.gif zu drehen:

                                            .rotate90{
                                            transform: rotate(90deg);
                                            }
                                            
                                            .rotate-90{
                                            transform: rotate(-90deg);
                                            }
                                            
                                            .rotate180{
                                            transform: rotate(180deg);
                                            }
                                            

                                            und hier noch die beiden verwendeten Icons:
                                            home-icon.gif
                                            pfeillinks.gif

                                            Edit 15.09.2020:
                                            Da @haus-automatisierung wohl noch nicht dazu gekommen ist, den kleinen Bug mit "numeric" (s.o.) zu fixen,
                                            habe ich folgendende Datei selbst gepatched:
                                            /opt/iobroker/node_modules/iobroker.octoprint/io-package.json
                                            ab Zeile 165 - 3 mal type: numeric durch type: number ersetzen:

                                                  "_id": "command.jog.x",
                                                  "type": "state",
                                                  "common": {
                                                    "name": "Jog X axis",
                                                    "type": "number",
                                                    "role": "value",
                                                    "read": false,
                                                    "write": true
                                                  },
                                                  "native": {}
                                                },
                                                {
                                                  "_id": "command.jog.y",
                                                  "type": "state",
                                                  "common": {
                                                    "name": "Jog Y axis",
                                                    "type": "number",
                                                    "role": "value",
                                                    "read": false,
                                                    "write": true
                                                  },
                                                  "native": {}
                                                },
                                                {
                                                  "_id": "command.jog.z",
                                                  "type": "state",
                                                  "common": {
                                                    "name": "Jog Z axis",
                                                    "type": "number",
                                                    "role": "value",
                                                    "read": false,
                                                    "write": true
                                                  },
                                            

                                            Wenn der Adapter Octoprint 0.0.6 schon installiert ist, kontrollieren ob die Datenpunkte
                                            octoprint.0.command.jog.x, octoprint.0.command.jog.y und octoprint.0.command.jog.z auf Art "Zahl" stehen, wenn nicht, entspr. anpassen.

                                            Evtl. kann das ja jemand gebrauchen?

                                            Gruß
                                            Jörg

                                            P.S.
                                            Kein wirkliches Problen, aber "unschön":
                                            Ich hatte ja weiter oben einen Link zu meinem JS-Script eingestellt, mit dem ich eine WLAN-Steckdose einschalte, die ihrerseits den 3D-Drucker startet.
                                            Anschließend wird automatisch der Octoprint-Adapter gestartet, der normalerweise gestoppt ist.
                                            Dabei kommt im Log 2 Mal die Warnung 502 Bad Gateway, danach ist Octoprint aber problemlos erreichbar.

                                            javascript.0	2020-09-04 15:04:07.657	info	(886) script.js.common.PAW.OctoPi: __ Octoprint-Server ist online __
                                            octoprint.0	2020-09-04 15:03:46.790	warn	(29535) received error 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"
                                            octoprint.0	2020-09-04 15:03:41.782	info	(29535) OctoPrint API not connected
                                            octoprint.0	2020-09-04 15:03:41.780	warn	(29535) received error 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"
                                            javascript.0	2020-09-04 15:03:26.009	info	(886) script.js.common.PAW.OctoPi: __ OctoPrint-Server wird gestartet __
                                            octoprint.0	2020-09-04 15:03:23.862	info	(29535) starting. Version 0.0.6 in /opt/iobroker/node_modules/iobroker.octoprint, node: v12.16.3, js-controller: 3.1.6
                                            host.Raspberrypi	2020-09-04 15:03:21.638	info	instance system.adapter.octoprint.0 started with pid 29535
                                            

                                            Könnte das evtl. ein Timing-Problem sein, d.h.der Octoprint-Adapter versucht zu früh, sich mit dem Octoprint-Webserver zu verbinden, obwohl der noch nicht kpl. hochgefahren ist?

                                            haus-automatisierung 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            814
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter entwicklung adatper updates developer testen
                                            49
                                            461
                                            69259
                                            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