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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter OctoPrint

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

      @joergeli k, rot ist nicht beendet, sollte aber tropsdem nicht ein problem sein. keine daten, so what. aber ok, wenn du ein problem damit hast. dann musst du aber auch die instanz wieder starten.
      ist wie beim mqqtt. wenn kein tablet mit iqontrol läuft, ist der adapter rot. wenn ja, dann automatisch wieder online.
      aber da hat halt jeder seine eigene sichtweise... 🙂

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

        @joergeli sagte in Test Adapter OctoPrint:

        Ist wahrscheinlich unkritisch, aber da dort steht "report to developer", dachte ich, ich poste es mal hier.

        Danke, habe die Timeout-Logik in 2.0.4 auch angepasst. Klingt nicht so, als ob das gerade richtig funktioniert 🙂 Gucke ich mir an

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

          @haus-automatisierung gerade update auf 2.0.5 gemacht.
          jetzt hab ich auch

          octoprint.0
          2021-11-20 12:42:06.289	warn	Found uncleared timeouts (report to developer): 1069
          

          im log stehn...

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

            @da_woody sagte in Test Adapter OctoPrint:

            @haus-automatisierung gerade update auf 2.0.5 gemacht.

            Das ist halb so wild. Allerdings sollte das in 2.0.5 gefixt sein. Muss ich nochmal testen.

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

              @haus-automatisierung darum hab ichs ja getippselt... 😉

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

                Hallo zusammen,
                Ich habe mir Octoprint in einem Proxmox Container installiert.
                Der läuft wie er soll und drucken kann ich auch ohne Probleme.

                Jedoch bekomme ich keine Verbindung vom IoBroker Octoprint Adapter zum Octoprint Server hin.
                Api Schlüssel ist eingegeben.
                Octoprint Version: V1.7.2
                Adapter Version: V1.1.1

                https über selbst signiertes Zertifikat
                Port im Adapter 443

                Hier das Log (Adapter auf Debug):

                octoprint.0
                2021-11-29 15:42:26.260	debug	socket hang up
                
                octoprint.0
                2021-11-29 15:42:26.258	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:42:26.257	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:42:26.257	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:42:16.259	debug	socket hang up
                
                octoprint.0
                2021-11-29 15:42:16.256	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:42:16.255	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:42:16.255	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:42:06.255	debug	socket hang up
                
                octoprint.0
                2021-11-29 15:42:06.254	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:42:06.253	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:42:06.252	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:41:56.252	debug	socket hang up
                
                octoprint.0
                2021-11-29 15:41:56.251	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:41:56.249	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:41:56.248	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:41:46.264	info	socket hang up
                
                octoprint.0
                2021-11-29 15:41:46.249	debug	re-creating refresh files timeout
                
                octoprint.0
                2021-11-29 15:41:46.248	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:41:46.239	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:41:46.239	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:41:46.238	debug	Starting with API refresh interval: 60 (10 while printing)
                
                octoprint.0
                2021-11-29 15:41:46.225	info	starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.octoprint, node: v12.22.7, js-controller: 3.3.20
                
                octoprint.0
                2021-11-29 15:41:46.025	debug	Plugin sentry Initialize Plugin (enabled=true)
                
                octoprint.0
                2021-11-29 15:41:45.612	debug	statesDB connected
                
                octoprint.0
                2021-11-29 15:41:45.612	debug	States connected to redis: 127.0.0.1:9000
                
                octoprint.0
                2021-11-29 15:41:45.589	debug	States create User PubSub Client
                
                octoprint.0
                2021-11-29 15:41:45.588	debug	States create System PubSub Client
                
                octoprint.0
                2021-11-29 15:41:45.583	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                
                octoprint.0
                2021-11-29 15:41:45.582	debug	objectDB connected
                
                octoprint.0
                2021-11-29 15:41:45.578	debug	Objects connected to redis: 127.0.0.1:9001
                
                octoprint.0
                2021-11-29 15:41:45.565	debug	Objects client initialize lua scripts
                
                octoprint.0
                2021-11-29 15:41:45.564	debug	Objects create User PubSub Client
                
                octoprint.0
                2021-11-29 15:41:45.561	debug	Objects create System PubSub Client
                
                octoprint.0
                2021-11-29 15:41:45.560	debug	Objects client ready ... initialize now
                
                octoprint.0
                2021-11-29 15:41:45.538	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                

                Bei Versuch mit Port 80:

                
                octoprint.0
                octoprint.0
                2021-11-29 15:39:50.225	debug	self signed certificate
                
                octoprint.0
                2021-11-29 15:39:50.220	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:39:50.219	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:39:50.218	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:39:40.225	debug	self signed certificate
                
                octoprint.0
                2021-11-29 15:39:40.217	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:39:40.216	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:39:40.215	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:39:30.265	info	self signed certificate
                
                octoprint.0
                2021-11-29 15:39:30.216	debug	re-creating refresh files timeout
                
                octoprint.0
                2021-11-29 15:39:30.215	debug	re-creating refresh state timeout (api not connected)
                
                octoprint.0
                2021-11-29 15:39:30.206	debug	sending get request to /api/version with data: null
                
                octoprint.0
                2021-11-29 15:39:30.206	debug	refreshing OctoPrint state
                
                octoprint.0
                2021-11-29 15:39:30.205	debug	Starting with API refresh interval: 60 (10 while printing)
                
                octoprint.0
                2021-11-29 15:39:30.192	info	starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.octoprint, node: v12.22.7, js-controller: 3.3.20
                
                octoprint.0
                2021-11-29 15:39:29.960	debug	Plugin sentry Initialize Plugin (enabled=true)
                

                Hat jemand eine Idee warum der Adapter sich nicht verbindet?

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

                  @david83 eventuell gibts da ein problem mit https in verbindung mit dem container?
                  wozu aber auch https im eigenen netzwerk?
                  nebenbei, warum nicht einen kleinen raspi beim drucker? da ist das USB kabel kurz. oder steht der server bei dem drucker?

                  edith: sicher das de API-key passt?

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

                    @da_woody
                    Der Server steht direkt beim Drucker. Das Kabel ist 1m lang und drucken funktioniert einwandfrei.
                    Https muss nicht sein das stimmt allerdings wäre es schön. Hat das denn jemand mit https am laufen?
                    Mfg
                    David

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

                      @david83 mein edit nicht gesehn? wegen dem APIkey. seit einiger zeit funktioniert der normale key nicht mehr. du musst einen eigenen anlegen. dich auch bei octoprint anmelden...

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

                        @da_woody
                        oh, nicht wahrgenommen. Ich probiere es aus. Moment

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

                          @da_woody
                          So ich habe einen eigenen Key erstellt und eingegeben. Leider mit dem gleichen Ergebnis. .....Socket hang up....

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

                            @david83 hmm, dann dürfte es an der LXC unter proxmox liegen. keine weiterleitung oder so.
                            wie gesagt, ich hab an jedem drucker einen raspi dran... ohne probleme.
                            hat auch den vorteil wenn der server mal abschmiert, macht der raspi totzdem weiter.

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

                              @da_woody
                              Das kann ich mir nicht vorstellen. Bisher laufen alle Dienste die ich je in einem Container aufgesetzt habe. Die Api nutzt ja auch den Port 80 standartmäßig. Standartmäßiger geht ja nicht...

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

                                Also ohne https auf Port 5000 läuft der Adapter und verbindet sich ohne Probleme mit Octoprint. Warum der kein https über port 443 mag wäre für mich trotzdem weiterhin interessant.

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

                                  @haus-automatisierung
                                  Hallo und erstmal danke für diesen tollen Adapter.
                                  Ist es möglich die Pause Funktion unter Kommandos/Jobs hinzufügen?

                                  Mfg David

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

                                    @david83 sagte in Test Adapter OctoPrint:

                                    Warum der kein https über port 443 mag wäre für mich trotzdem weiterhin interessant.

                                    Weil das nicht implementiert ist und die Verbindung immer über HTTP aufgebaut wird.

                                    https://github.com/klein0r/ioBroker.octoprint/blob/100170f853fecc5206a9446a8d72a8cd2b494285/main.js#L962

                                    1 Reply Last reply Reply Quote 0
                                    • david83
                                      david83 @david83 last edited by

                                      @david83 said in Test Adapter OctoPrint:

                                      @haus-automatisierung
                                      Ist es möglich die Pause Funktion unter Kommandos/Jobs hinzufügen?

                                      Wie sieht es mit der Pause Funktion aus? Ich kenne mich leider zu wenig aus um das aus dem Code rauslesen oder Implementieren zu können. Es wäre jedenfalls toll wenn das ginge.

                                      Mfg
                                      David

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

                                        @david83 sagte in Test Adapter OctoPrint:

                                        Wie sieht es mit der Pause Funktion aus? Ich kenne mich leider zu wenig aus um das aus dem Code rauslesen oder Implementieren zu können. Es wäre jedenfalls toll wenn das ginge.

                                        Habe ich heute fertig gemacht, allerdings noch nicht getestet. Wenn das läuft, baue ich eine neue Version.

                                        https://github.com/klein0r/ioBroker.octoprint/commit/589498d83c19aa1718af0f9d2a8bef512b4df638

                                        0 klein0r committed to klein0r/ioBroker.octoprint
                                        Pause/Resume
                                        david83 1 Reply Last reply Reply Quote 1
                                        • david83
                                          david83 @haus-automatisierung last edited by

                                          @haus-automatisierung

                                          Vielen vielen Dank für deine Arbeit! Wirklich toll! Ich werde es gerne testen...

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

                                            @david83 sagte in Test Adapter OctoPrint:

                                            Vielen vielen Dank für deine Arbeit! Wirklich toll! Ich werde es gerne testen...

                                            Teste mal 2.0.6

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            828
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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