Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter OctoPrint

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Test Adapter OctoPrint

Geplant Angeheftet Gesperrt Verschoben Tester
adapter entwicklungadatper updatesdevelopertesten
461 Beiträge 49 Kommentatoren 97.4k Aufrufe 44 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • joergeliJ joergeli

    @da_woody
    na und sowas von ...🤡 , aber auf der anderen Seite will ich mein System auch nicht kaputtpielen 🤒

    da_WoodyD Offline
    da_WoodyD Offline
    da_Woody
    schrieb am zuletzt editiert von
    #261

    @joergeli backup und gut ists. 🙂 aber klar, mitm raspi schaut man halt mehr aufs sparen. mit meinen 4 VMs und einer 1TB SSD hab ich mehr bewegungsfreiheit.

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

    joergeliJ 1 Antwort Letzte Antwort
    0
    • da_WoodyD da_Woody

      @joergeli backup und gut ists. 🙂 aber klar, mitm raspi schaut man halt mehr aufs sparen. mit meinen 4 VMs und einer 1TB SSD hab ich mehr bewegungsfreiheit.

      joergeliJ Offline
      joergeliJ Offline
      joergeli
      schrieb am zuletzt editiert von
      #262

      @da_woody sagte in Test Adapter OctoPrint:

      backup und gut ists.

      Mag ja mit "nur" ioBroker richtig sein, aber auf dem Raspi läuft z.B. noch ein Mosquitto, piHole und noch div. Sachen, die ich irgendwann mal konfiguriert/eingerichtet habe (z.B. feste IP) und größtenteils vergessen habe.

      Deshalb erstelle ich mir vor größeren Aktionen immer ein kpl. SD-Card-Image.
      Aber die Diskussion gab's an anderer Stelle hier im Forum auch schon.

      1 Antwort Letzte Antwort
      1
      • haus-automatisierungH Online
        haus-automatisierungH Online
        haus-automatisierung
        Developer Most Active
        schrieb am zuletzt editiert von
        #263

        Bitte beim OctoPrint Thema bleiben. Ich muss mir die ganzen OffTopic Notifications durchlesen... 🙂
        Sonst mache ich hier Benachrichtigungen aus

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

        1 Antwort Letzte Antwort
        3
        • LatziL Online
          LatziL Online
          Latzi
          schrieb am zuletzt editiert von
          #264

          Für das thumbnail-script habe ich unter
          https://forum.iobroker.net/topic/51635/octoprint-script-für-thumbnail-des-aktuellen-drucks
          eine zusätzliche Variante erstellt (hat aber auch einige Nachteile), kann jedoch mit Verzeichnissen umgehen. Somit bleibt dieser Thread frei für Adapter-Themen.

          1 Antwort Letzte Antwort
          0
          • U Offline
            U Offline
            UncleB
            schrieb am zuletzt editiert von
            #265

            Ist es möglich das man über den Adapter ein Screenshot der Webcam abholt?

            Hintergrund:
            Ich finde das Script von @Sven_Topp um sich über den aktuellen Status des Drucks über Telegram informieren zu können super...
            Eine der nützlichsten Funktionen, nach Fertigstellung des Drucks bekommt man n Screenshot der Webcam aufs Handy gesendet..
            Seit dem man bei Ocotprint einen Benutzer mit Passwort erstellen muss, funktioniert das ganze so leider nicht mehr, da man sich mit dem Script dann irgendwie bei OctoPi anmelden müsste um an den Screenshot zu gelangen..
            Dafür reichen meine Kenntnisse nicht aus..

            da_WoodyD haus-automatisierungH 2 Antworten Letzte Antwort
            0
            • U UncleB

              Ist es möglich das man über den Adapter ein Screenshot der Webcam abholt?

              Hintergrund:
              Ich finde das Script von @Sven_Topp um sich über den aktuellen Status des Drucks über Telegram informieren zu können super...
              Eine der nützlichsten Funktionen, nach Fertigstellung des Drucks bekommt man n Screenshot der Webcam aufs Handy gesendet..
              Seit dem man bei Ocotprint einen Benutzer mit Passwort erstellen muss, funktioniert das ganze so leider nicht mehr, da man sich mit dem Script dann irgendwie bei OctoPi anmelden müsste um an den Screenshot zu gelangen..
              Dafür reichen meine Kenntnisse nicht aus..

              da_WoodyD Offline
              da_WoodyD Offline
              da_Woody
              schrieb am zuletzt editiert von
              #266

              @uncleb ich verwende telgram nicht, aber es gibt mehrere möglichkeiten.
              du kannst dir das Access Anywhere - The Spaghetti Detective plugin in octoprint installieren.
              da bekommst du bei druckproblemen und ende eine email mit foto per email. bei einem problem kannst du entscheiden, oder der druck abgebrochen, oder fortgesetzt werden soll. oder du installierst OctoRemote aufs handy, dann kannst du steuern, live zusehn u.s.w.

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

              1 Antwort Letzte Antwort
              0
              • U UncleB

                Ist es möglich das man über den Adapter ein Screenshot der Webcam abholt?

                Hintergrund:
                Ich finde das Script von @Sven_Topp um sich über den aktuellen Status des Drucks über Telegram informieren zu können super...
                Eine der nützlichsten Funktionen, nach Fertigstellung des Drucks bekommt man n Screenshot der Webcam aufs Handy gesendet..
                Seit dem man bei Ocotprint einen Benutzer mit Passwort erstellen muss, funktioniert das ganze so leider nicht mehr, da man sich mit dem Script dann irgendwie bei OctoPi anmelden müsste um an den Screenshot zu gelangen..
                Dafür reichen meine Kenntnisse nicht aus..

                haus-automatisierungH Online
                haus-automatisierungH Online
                haus-automatisierung
                Developer Most Active
                schrieb am zuletzt editiert von
                #267

                @uncleb sagte in Test Adapter OctoPrint:

                Eine der nützlichsten Funktionen, nach Fertigstellung des Drucks bekommt man n Screenshot der Webcam aufs Handy gesendet..

                Also ich habe bisher immer mJPEGstreamer separat auf dem Pi installiert und damit eine USB-Kamera zu einer IP-Kamera gemacht. Das hat dann nichts mit OctoPrint zu tun und ich kann einfach über eine URL die Snapshots holen und per Telegram versenden.

                https://youtu.be/NiTXB4lZv0A?t=704

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

                1 Antwort Letzte Antwort
                0
                • H Offline
                  H Offline
                  hegse
                  schrieb am zuletzt editiert von
                  #268

                  Hallo.

                  Habe mir die beliebte Logitech C270 Webcam geholt und sie in Octoprint eingebunden. Das funktioniert auch wunderbar. Wenn ich jetzt allerdings ein Bild via Telegram über Iobroker versenden möchte passiert gar nix.
                  Nutze folgendes Script (irgendwo mal gefunden):

                  /* BILDSPEICHERUNG
                  soll bei Aktion Webcam Bild speichern und per telegram senden
                  Skript ist normalerweise inaktiv und wird per ScriptEnabled ausgelöst
                  */
                  
                  var source_url = 'http://192.168.178.176/webcam/?action=stream', // Kamerabild zB http://kameraserver:9090/image1.jpg
                      dest_path = '/opt/iobroker/temp/cam/';
                  
                  var request = require('request');
                  var fs      = require('fs');
                  
                  
                  // Bild an telegram schicken (immer Dienst 3)
                  function sendImage (pfad) {
                      setTimeout(function() {
                          sendTo('telegram.0', pfad);
                          log('Webcam Bild per telegram verschickt');
                      }, 2 * 1000);
                  }
                  
                  // Bild speichern
                  function saveImage() {
                      request.get({url: source_url, encoding: 'binary'}, function (err, response, body) {
                          fs.writeFile(dest_path + 'image1.jpg', body, 'binary', function(err) {
                  
                          if (err) {
                              log('Fehler beim Bild speichern: ' + err, 'warn');
                          } else {
                              log('Webcam Bild gespeichert');
                              sendImage(dest_path + 'image1.jpg');
                          }
                        }); 
                      });
                  }
                  
                  
                  // bei Skriptstart ausführen
                  saveImage();
                  
                  // selbständig Skript wieder anhalten (nach 12s)
                  setStateDelayed('javascript.' + instance +  '.scriptEnabled.' + name.slice(10), false, 12*1000);
                  

                  Verzeichnis ist vorhanden, funktioniert mit meinen Reolink Kameras. Liegt es am Stream das kein Bild abgegriffen und gespeichert wird?

                  frana120500F 1 Antwort Letzte Antwort
                  0
                  • H hegse

                    Hallo.

                    Habe mir die beliebte Logitech C270 Webcam geholt und sie in Octoprint eingebunden. Das funktioniert auch wunderbar. Wenn ich jetzt allerdings ein Bild via Telegram über Iobroker versenden möchte passiert gar nix.
                    Nutze folgendes Script (irgendwo mal gefunden):

                    /* BILDSPEICHERUNG
                    soll bei Aktion Webcam Bild speichern und per telegram senden
                    Skript ist normalerweise inaktiv und wird per ScriptEnabled ausgelöst
                    */
                    
                    var source_url = 'http://192.168.178.176/webcam/?action=stream', // Kamerabild zB http://kameraserver:9090/image1.jpg
                        dest_path = '/opt/iobroker/temp/cam/';
                    
                    var request = require('request');
                    var fs      = require('fs');
                    
                    
                    // Bild an telegram schicken (immer Dienst 3)
                    function sendImage (pfad) {
                        setTimeout(function() {
                            sendTo('telegram.0', pfad);
                            log('Webcam Bild per telegram verschickt');
                        }, 2 * 1000);
                    }
                    
                    // Bild speichern
                    function saveImage() {
                        request.get({url: source_url, encoding: 'binary'}, function (err, response, body) {
                            fs.writeFile(dest_path + 'image1.jpg', body, 'binary', function(err) {
                    
                            if (err) {
                                log('Fehler beim Bild speichern: ' + err, 'warn');
                            } else {
                                log('Webcam Bild gespeichert');
                                sendImage(dest_path + 'image1.jpg');
                            }
                          }); 
                        });
                    }
                    
                    
                    // bei Skriptstart ausführen
                    saveImage();
                    
                    // selbständig Skript wieder anhalten (nach 12s)
                    setStateDelayed('javascript.' + instance +  '.scriptEnabled.' + name.slice(10), false, 12*1000);
                    

                    Verzeichnis ist vorhanden, funktioniert mit meinen Reolink Kameras. Liegt es am Stream das kein Bild abgegriffen und gespeichert wird?

                    frana120500F Offline
                    frana120500F Offline
                    frana120500
                    schrieb am zuletzt editiert von
                    #269

                    @hegse änder mal die source url auf

                    'http://192.168.178.176:8080/?action=snapshot'

                    frana120500F H 2 Antworten Letzte Antwort
                    0
                    • frana120500F frana120500

                      @hegse änder mal die source url auf

                      'http://192.168.178.176:8080/?action=snapshot'

                      frana120500F Offline
                      frana120500F Offline
                      frana120500
                      schrieb am zuletzt editiert von
                      #270

                      gerade selbst getestet... funktioniert

                      1 Antwort Letzte Antwort
                      0
                      • frana120500F frana120500

                        @hegse änder mal die source url auf

                        'http://192.168.178.176:8080/?action=snapshot'

                        H Offline
                        H Offline
                        hegse
                        schrieb am zuletzt editiert von
                        #271

                        @frana120500 sagte in Test Adapter OctoPrint:

                        @hegse änder mal die source url auf

                        'http://192.168.178.176:8080/?action=snapshot'

                        Vielen Dank! 👍
                        Funktioniert bei mir so http://192.168.178.176/webcam/?action=snapshot
                        Sehr schön, jetzt muß ich nur noch den Empfänger ändern, meine Frau braucht die Fotos vom Drucker nicht wirklich 😊

                        frana120500F 1 Antwort Letzte Antwort
                        0
                        • H hegse

                          @frana120500 sagte in Test Adapter OctoPrint:

                          @hegse änder mal die source url auf

                          'http://192.168.178.176:8080/?action=snapshot'

                          Vielen Dank! 👍
                          Funktioniert bei mir so http://192.168.178.176/webcam/?action=snapshot
                          Sehr schön, jetzt muß ich nur noch den Empfänger ändern, meine Frau braucht die Fotos vom Drucker nicht wirklich 😊

                          frana120500F Offline
                          frana120500F Offline
                          frana120500
                          schrieb am zuletzt editiert von
                          #272

                          @hegse 🙂 ein kleines Wort

                          wenn es für dich einfacher ist Blockly zu benutzen sag Bescheid... da sieht der Block etwas einfacher aus

                          H 1 Antwort Letzte Antwort
                          0
                          • frana120500F frana120500

                            @hegse 🙂 ein kleines Wort

                            wenn es für dich einfacher ist Blockly zu benutzen sag Bescheid... da sieht der Block etwas einfacher aus

                            H Offline
                            H Offline
                            hegse
                            schrieb am zuletzt editiert von hegse
                            #273

                            @frana120500
                            Jeep, wäre für mich definitiv einfacher.

                            Edit:
                            auf die schnelle mit blockly
                            Screenshot_20220123-220231_Chrome.jpg

                            1 Antwort Letzte Antwort
                            0
                            • haus-automatisierungH Online
                              haus-automatisierungH Online
                              haus-automatisierung
                              Developer Most Active
                              schrieb am zuletzt editiert von
                              #274

                              Bitte beim Thema Adapter-Test und Probleme mit dem Adapter bleiben 🖐

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

                              1 Antwort Letzte Antwort
                              2
                              • S Offline
                                S Offline
                                SevenUp
                                schrieb am zuletzt editiert von SevenUp
                                #275

                                EDIT: nun ist alles wieder OK... Auch mit neuen Aufträgen


                                ich nutze den Adapter erst seit gestern und möchte es gerne für VIS Einbindung nutzen.
                                Was mir heute aufgefallen ist:

                                • der aktuelle Druck wird unter "Files" nicht angezeigt
                                • unter "Printer Status" wird oft "API not connected" angezeigt, im Log entsprechend "API is offline" und Adapter geht auf gelb. Nach einigen Sekunden ist wieder alles okay.

                                Was kann ich hier tun?

                                2022-01-30 14_52_01-objects - ioBroker.png

                                octoprint.0	2022-01-30 14:57:24.614	debug	(14149) system.adapter.admin.0: logging true
                                octoprint.0	2022-01-30 14:57:22.291	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:57:22.291	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:57:22.289	info	(14149) error ECONNABORTED from /api/version: timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:57:20.288	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 82 - seconds: 10
                                octoprint.0	2022-01-30 14:57:20.287	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:57:20.287	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:20.287	debug	(14149) refreshState: started from "timeout (printing)"
                                octoprint.0	2022-01-30 14:57:12.888	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:57:12.887	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:57:12.880	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:57:12.879	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:57:11.413	debug	(14149) sending "get" request to "/api/job" without data
                                octoprint.0	2022-01-30 14:57:11.413	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:11.412	debug	(14149) sending "get" request to "/api/printer" without data
                                octoprint.0	2022-01-30 14:57:11.412	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:11.411	debug	(14149) sending "get" request to "/api/connection" without data
                                octoprint.0	2022-01-30 14:57:11.411	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:11.410	debug	(14149) connected to OctoPrint API - online! - status: 200
                                octoprint.0	2022-01-30 14:57:11.410	debug	(14149) received 200 response from /api/version with content: {"api":"0.1","server":"1.7.3","text":"OctoPrint 1.7.3"}
                                octoprint.0	2022-01-30 14:57:10.286	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 81 - seconds: 10
                                octoprint.0	2022-01-30 14:57:10.286	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:57:10.285	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:10.285	debug	(14149) refreshState: started from "timeout (printing)"
                                octoprint.0	2022-01-30 14:57:01.852	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:57:01.852	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:57:01.721	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:57:01.705	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:57:00.437	debug	(14149) sending "get" request to "/api/job" without data
                                octoprint.0	2022-01-30 14:57:00.437	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:00.436	debug	(14149) sending "get" request to "/api/printer" without data
                                octoprint.0	2022-01-30 14:57:00.436	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:00.435	debug	(14149) sending "get" request to "/api/connection" without data
                                octoprint.0	2022-01-30 14:57:00.435	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:00.435	debug	(14149) connected to OctoPrint API - online! - status: 200
                                octoprint.0	2022-01-30 14:57:00.434	debug	(14149) received 200 response from /api/version with content: {"api":"0.1","server":"1.7.3","text":"OctoPrint 1.7.3"}
                                octoprint.0	2022-01-30 14:57:00.285	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 80 - seconds: 10
                                octoprint.0	2022-01-30 14:57:00.284	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:57:00.284	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:57:00.284	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:56:53.589	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:56:53.588	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:56:53.502	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:56:53.453	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:56:52.200	debug	(14149) sending "get" request to "/api/job" without data
                                octoprint.0	2022-01-30 14:56:52.200	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:52.199	debug	(14149) sending "get" request to "/api/printer" without data
                                octoprint.0	2022-01-30 14:56:52.199	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:52.198	debug	(14149) sending "get" request to "/api/connection" without data
                                octoprint.0	2022-01-30 14:56:52.197	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:52.196	debug	(14149) connected to OctoPrint API - online! - status: 200
                                octoprint.0	2022-01-30 14:56:52.196	debug	(14149) received 200 response from /api/version with content: {"api":"0.1","server":"1.7.3","text":"OctoPrint 1.7.3"}
                                octoprint.0	2022-01-30 14:56:50.284	debug	(14149) refreshStateTimeout: re-created refresh timeout (API not connected): id 79 - seconds: 10
                                octoprint.0	2022-01-30 14:56:50.283	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:50.283	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:50.282	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:56:42.284	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:56:42.284	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:56:42.282	debug	(14149) timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:56:40.281	debug	(14149) refreshStateTimeout: re-created refresh timeout (API not connected): id 78 - seconds: 10
                                octoprint.0	2022-01-30 14:56:40.281	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:40.280	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:40.280	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:56:32.282	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:56:32.282	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:56:32.281	debug	(14149) timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:56:30.279	debug	(14149) refreshStateTimeout: re-created refresh timeout (API not connected): id 77 - seconds: 10
                                octoprint.0	2022-01-30 14:56:30.278	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:30.278	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:30.278	debug	(14149) refreshState: started from "timeout (printing)"
                                octoprint.0	2022-01-30 14:56:22.281	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:56:22.281	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:56:22.279	info	(14149) error ECONNABORTED from /api/version: timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:56:20.278	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 76 - seconds: 10
                                octoprint.0	2022-01-30 14:56:20.277	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:20.277	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:20.276	debug	(14149) refreshState: started from "timeout (printing)"
                                octoprint.0	2022-01-30 14:56:13.112	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:56:13.103	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:56:13.098	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:56:13.098	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:56:11.482	debug	(14149) sending "get" request to "/api/job" without data
                                octoprint.0	2022-01-30 14:56:11.482	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:11.481	debug	(14149) sending "get" request to "/api/printer" without data
                                octoprint.0	2022-01-30 14:56:11.481	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:11.480	debug	(14149) sending "get" request to "/api/connection" without data
                                octoprint.0	2022-01-30 14:56:11.480	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:11.479	debug	(14149) connected to OctoPrint API - online! - status: 200
                                octoprint.0	2022-01-30 14:56:11.479	debug	(14149) received 200 response from /api/version with content: {"api":"0.1","server":"1.7.3","text":"OctoPrint 1.7.3"}
                                octoprint.0	2022-01-30 14:56:10.276	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 75 - seconds: 10
                                octoprint.0	2022-01-30 14:56:10.275	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:10.275	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:10.274	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:56:01.345	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:56:01.311	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:56:01.298	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:56:01.297	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:56:00.662	debug	(14149) sending "get" request to "/api/job" without data
                                octoprint.0	2022-01-30 14:56:00.662	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:00.661	debug	(14149) sending "get" request to "/api/printer" without data
                                octoprint.0	2022-01-30 14:56:00.661	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:00.660	debug	(14149) sending "get" request to "/api/connection" without data
                                octoprint.0	2022-01-30 14:56:00.660	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:00.659	debug	(14149) connected to OctoPrint API - online! - status: 200
                                octoprint.0	2022-01-30 14:56:00.659	debug	(14149) received 200 response from /api/version with content: {"api":"0.1","server":"1.7.3","text":"OctoPrint 1.7.3"}
                                octoprint.0	2022-01-30 14:56:00.274	debug	(14149) refreshStateTimeout: re-created refresh timeout (API not connected): id 74 - seconds: 10
                                octoprint.0	2022-01-30 14:56:00.273	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:56:00.272	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:56:00.272	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:55:52.275	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:55:52.274	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:55:52.273	debug	(14149) timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:55:50.272	debug	(14149) refreshStateTimeout: re-created refresh timeout (API not connected): id 73 - seconds: 10
                                octoprint.0	2022-01-30 14:55:50.271	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:55:50.271	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:55:50.270	debug	(14149) refreshState: started from "timeout (printing)"
                                octoprint.0	2022-01-30 14:55:42.273	debug	(14149) API is offline
                                octoprint.0	2022-01-30 14:55:42.272	debug	(14149) (version) received error - API is now offline: {"message":"timeout of 2000ms exceeded","name":"Error","stack":"Error: timeout of 2000ms exceeded\n at createError (/opt/iobroker/node_module
                                octoprint.0	2022-01-30 14:55:42.271	info	(14149) error ECONNABORTED from /api/version: timeout of 2000ms exceeded
                                octoprint.0	2022-01-30 14:55:40.269	debug	(14149) refreshStateTimeout: re-created refresh timeout (printing): id 72 - seconds: 10
                                octoprint.0	2022-01-30 14:55:40.268	debug	(14149) sending "get" request to "/api/version" without data
                                octoprint.0	2022-01-30 14:55:40.268	debug	(14149) Starting service request
                                octoprint.0	2022-01-30 14:55:40.268	debug	(14149) refreshState: started from "timeout (API not connected)"
                                octoprint.0	2022-01-30 14:55:32.638	debug	(14149) received 200 response from /api/job with content: {"job":{"averagePrintTime":8170.761188558,"estimatedPrintTime":8168.974748087396,"filament":{"tool0":{"length":10424.098388664424,"volume":25
                                octoprint.0	2022-01-30 14:55:32.628	debug	(14149) received 200 response from /api/printer with content: {"state":{"error":"","flags":{"cancelling":false,"closedOrError":false,"error":false,"finishing":false,"operational":true,"paused":false,
                                octoprint.0	2022-01-30 14:55:32.610	debug	(14149) updatePrinterStatus from: "Printing" -> printerOperational: true, printerPrinting: true
                                octoprint.0	2022-01-30 14:55:32.610	debug	(14149) received 200 response from /api/connection with content: {"current":{"baudrate":250000,"port":"/dev/ttyUSB0","printerProfile":"_default","state":"Printing"},"options":{"baudratePreference":25
                                octoprint.0	2022-01-30 14:55:30.810	debug	(14149) sending "get" request to "/api/job" without data
                                


                                1 Antwort Letzte Antwort
                                0
                                • S Offline
                                  S Offline
                                  SevenUp
                                  schrieb am zuletzt editiert von SevenUp
                                  #276

                                  Nun habe ich es aber kaputt gespielt: 😕
                                  2022-01-30 23_42_37-instances - ioBroker.png

                                  Bei mir wurden DP für Thumbnails nicht angezeigt, deshalb habe ich den Adapter neuinstalliert (von v3 auf v3). Danach kommt es zu dem Fehler.
                                  Neuinstallation bringt nichts, "iobroker upload octoprint" und "... all" auch nicht. Sicherheitshalber ein "iobroker fix" löste das Problem auch nicht.

                                  Und nu? 🙂

                                  $ ./iobroker upgrade octoprint@3.0.0
                                  Update octoprint from @3.0.0 to @3.0.0
                                  NPM version: 6.14.15npm install iobroker.octoprint@3.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                  upload [11] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/octoprint.png octoprint.png image/png
                                  Update "system.adapter.octoprint.0"
                                  upload [10] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/jsonConfig.json jsonConfig.json application/json
                                  upload [9] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                  upload [8] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                  upload [7] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                  upload [6] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                  upload [5] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                  upload [4] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                  upload [3] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                  upload [2] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                  upload [1] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                  upload [0] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                  Adapter "octoprint" updated
                                  process exited with code 0
                                  

                                  EDIT:
                                  --> tritt nur mit der alten Admin Oberfläche auf (benötige ich leider weiterhin für den linkeddevices Adapter). Schalte ich auf die neue Oberfläche um, sehe ich auch die Octoprint Config und die Möglichkeit die Plugins zu aktivieren (sah ich in der alten Oberfläche nicht).

                                  haus-automatisierungH 1 Antwort Letzte Antwort
                                  0
                                  • S SevenUp

                                    Nun habe ich es aber kaputt gespielt: 😕
                                    2022-01-30 23_42_37-instances - ioBroker.png

                                    Bei mir wurden DP für Thumbnails nicht angezeigt, deshalb habe ich den Adapter neuinstalliert (von v3 auf v3). Danach kommt es zu dem Fehler.
                                    Neuinstallation bringt nichts, "iobroker upload octoprint" und "... all" auch nicht. Sicherheitshalber ein "iobroker fix" löste das Problem auch nicht.

                                    Und nu? 🙂

                                    $ ./iobroker upgrade octoprint@3.0.0
                                    Update octoprint from @3.0.0 to @3.0.0
                                    NPM version: 6.14.15npm install iobroker.octoprint@3.0.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                    upload [11] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/octoprint.png octoprint.png image/png
                                    Update "system.adapter.octoprint.0"
                                    upload [10] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/jsonConfig.json jsonConfig.json application/json
                                    upload [9] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                    upload [8] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                    upload [7] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                    upload [6] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                    upload [5] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                    upload [4] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                    upload [3] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                    upload [2] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                    upload [1] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                    upload [0] octoprint.admin /opt/iobroker/node_modules/iobroker.octoprint/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                    Adapter "octoprint" updated
                                    process exited with code 0
                                    

                                    EDIT:
                                    --> tritt nur mit der alten Admin Oberfläche auf (benötige ich leider weiterhin für den linkeddevices Adapter). Schalte ich auf die neue Oberfläche um, sehe ich auch die Octoprint Config und die Möglichkeit die Plugins zu aktivieren (sah ich in der alten Oberfläche nicht).

                                    haus-automatisierungH Online
                                    haus-automatisierungH Online
                                    haus-automatisierung
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #277

                                    @sevenup sagte in Test Adapter OctoPrint:

                                    --> tritt nur mit der alten Admin Oberfläche auf (benötige ich leider weiterhin für den linkeddevices Adapter).

                                    Der ioBroker Admin liegt mittlerweile in Version 5 vor. Leider muss man bei der Adapter-Pflege dann aktuell drei verschiedene Dateien aktualisieren, wenn man z.B. ein neues Textfeld im Admin möchte, welches in allen Versionen funktioniert. Da mir dazu die Zeit beim testen und entwickeln fehlt, habe ich alles rausgeworfen und nur die Admin 5 Konfiguration drin gelassen. Zumal ich selbst die "alte UI" gar nicht mehr verwende.

                                    Hast Du Lust das zu pflegen? 🙂

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

                                    S joergeliJ 2 Antworten Letzte Antwort
                                    1
                                    • haus-automatisierungH haus-automatisierung

                                      @sevenup sagte in Test Adapter OctoPrint:

                                      --> tritt nur mit der alten Admin Oberfläche auf (benötige ich leider weiterhin für den linkeddevices Adapter).

                                      Der ioBroker Admin liegt mittlerweile in Version 5 vor. Leider muss man bei der Adapter-Pflege dann aktuell drei verschiedene Dateien aktualisieren, wenn man z.B. ein neues Textfeld im Admin möchte, welches in allen Versionen funktioniert. Da mir dazu die Zeit beim testen und entwickeln fehlt, habe ich alles rausgeworfen und nur die Admin 5 Konfiguration drin gelassen. Zumal ich selbst die "alte UI" gar nicht mehr verwende.

                                      Hast Du Lust das zu pflegen? 🙂

                                      S Offline
                                      S Offline
                                      SevenUp
                                      schrieb am zuletzt editiert von
                                      #278

                                      @haus-automatisierung verstehe ich vollkommen! Ich würde auch gerne auf den Admin 5 umsteigen, aber linkeddevices unterstützt es noch nicht... Deshalb schalte ich immer zwischen der alten und neue GUI hin und her und manchmal bleibe ich bei der alten hängen.

                                      Würdest du in der Adapter Beschreibung einen gut sichtbaren Hinweis platzieren, dass man die neue GUI nutzen sollte? Sonst kommt es evtl wie bei mir zu Verwirrungen 🙂

                                      1 Antwort Letzte Antwort
                                      0
                                      • H Offline
                                        H Offline
                                        hetti72
                                        schrieb am zuletzt editiert von
                                        #279

                                        Hallo,

                                        ich bin noch recht neu in dem Thema 3d Druckt und Octoprint. Ich habe nun mal eine Frage zum Seriellen reconnect von Octoprint.
                                        Gibt es die Möglichkeit über den Adapter in Octoprint den seriellen Reconnect zum Drucker zu triggern? Ich hab beim ersten Blick über die Objekte nichts passendes gefunden.

                                        Hintergrund: Ich möchte über IOBroker den Drucker mit einem Smart Plug ein bzw. auschalten, der Raspi mit Octoprint soll aber anbleiben. Allerdings verbindet sich Octoprint nicht wieder automatisch mit dem Drucker, wenn dieser ausgeschaltet war.

                                        gruß,
                                        Frank

                                        S Ralf_NR 2 Antworten Letzte Antwort
                                        0
                                        • H hetti72

                                          Hallo,

                                          ich bin noch recht neu in dem Thema 3d Druckt und Octoprint. Ich habe nun mal eine Frage zum Seriellen reconnect von Octoprint.
                                          Gibt es die Möglichkeit über den Adapter in Octoprint den seriellen Reconnect zum Drucker zu triggern? Ich hab beim ersten Blick über die Objekte nichts passendes gefunden.

                                          Hintergrund: Ich möchte über IOBroker den Drucker mit einem Smart Plug ein bzw. auschalten, der Raspi mit Octoprint soll aber anbleiben. Allerdings verbindet sich Octoprint nicht wieder automatisch mit dem Drucker, wenn dieser ausgeschaltet war.

                                          gruß,
                                          Frank

                                          S Offline
                                          S Offline
                                          SevenUp
                                          schrieb am zuletzt editiert von
                                          #280

                                          @hetti72 Hallo Frank,

                                          vielleicht hilft dir dieser Plugin?
                                          https://plugins.octoprint.org/plugins/portlister/

                                          "It also (if you have autoconnect turned on), will automatically connect to the printer (if the new port is the same as the one you’ve selected in connection settings) after a reasonable (long) delay to wait for the printer to actually come on."

                                          H 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          708

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe