Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [UMFRAGE] Besteht Interesse an einem Octoprint Adapter

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

      Hallo zusammen,

      habe es gerade installiert, funktioniert.

      Die Instanz hatte auch gefehlt, unter den Adaptern in der Zeile von OctoPrint kann man mit dem Plus Icon eine Instanz hinzufügen.

      Unter den Einstellungen musste ich noch den API Key eintragen und den Port auf 80 ändern.

      Eventuell hilft euch dies weiter.

      Grüße

      Uwe

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

        Hallo zusammen,

        dieser Thread ist zwar schon etwas älter, aber ich habe erst vor ca. 3 Monaten einen 3D-Drucker (Anicubic Mega S) in Betrieb genommen und den octoprint-Adapter installiert. Läuft soweit alles prima.

        Eine Frage/Bitte hätte ich an die Adapter-Entwickler:
        Läßt sich das Abfrage-Intervall des Adapters irgendwo ändern?

        Die voreingestellten 60000 Sek. = 1 Min. sind mir zu lang.

        Ich hatte mir auf GitHub die datei main.js angesehen, in der folgender Code enthalten ist:

        function main() {
            adapter.subscribeStates('*');
            adapter.setState('printer_status', {val: printerStatus, ack: true});
        
            // Refresh State every Minute
            refreshState();
            setInterval(refreshState, 60000);
        }
        

        Damitwird wohl das Refresh-Intervall festgelegt.
        Dann habe ich versucht, diese Datei, bzw. den String "setInterval(refreshState, 60000);" auf dem ioBroker-Raspi zu finden, leider erfolglos.

        Kann mir jemand sagen, wo ich diese Datei finde, bzw., wie ich anderweitig das Abfrage-Intervall des octoprint-Adapters ändern kann?

        Gruß und Danke
        Jörg

        1 Reply Last reply Reply Quote 0
        • Jey Cee
          Jey Cee Developer last edited by

          Die Datei findest du in /iobroker/nodem_modules/iobroker.octoprint

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

            @Jey-Cee
            Danke!
            Habe die Datei gefunden.
            Werde sie morgen mal editieren und testen.

            Gruß
            Jörg

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

              @Jey-Cee
              ich habe mal in der Datei /iobroker/nodem_modules/iobroker.octoprint/main.js das setInterval von 60000 ms auf 5000 ms herabgesetzt:

              function main() {
                  adapter.subscribeStates('*');
                  adapter.setState('printer_status', {val: printerStatus, ack: true});
              
                  // Refresh State every 5 seconds
                  refreshState();
                  setInterval(refreshState, 5000);
              .......
              

              Danach die octoprint.0-Instanz neu gestartet !!! (wichtig)
              Funktioniert ! 😀
              Ergo werden die Stati (Temperaturen, Druckfortschritt, etc.) im vis-View jetzt alle 5 Sekunden aktualisiert.

              Danke nochmals
              Jörg

              1 Reply Last reply Reply Quote 0
              • B
                bishop last edited by

                bekomme im octoprint keine length vom filament angezeigt!
                2019_11_22_23_13_55_.jpg
                ich slice mit Simplify3D vielleicht liegt es daran?

                hat jemand eine idee?

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

                  @bishop
                  Filament-length wird bei mir auch nicht angezeigt ( mit Cura gesliced).

                  Ich hatte auch mal in Octoprint ein Plugin zur Verwaltung der vorhandenen Filament-Rollen eingebunden,
                  wo man z.B. eintragen kann, von Filament-Rolle xy, rot, sind noch soundsoviel vorhanden.
                  Aber auch mit diesem Plugin wurden keine Längen angezeigt.
                  Mir war es auch zu aufwändig immer den Rollenbestand manuell zu pflegen, ergo habe ich das Plugin wieder deinstalliert.

                  Anscheinend wird der Adapter auch nicht mehr gepflegt.

                  Gruß
                  Jörg

                  1 Reply Last reply Reply Quote 0
                  • B
                    bishop last edited by

                    hm..

                    schade, die Stromkosten werden mir schon ausgerechnet.
                    Mit dem DP length könnte man die kompletten kosten des gedruckten Modelles ausrechnen lassen!

                    komisch ist ja das es den DP gibt aber nicht gefüllt wird.

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

                      @bishop
                      Wie ermittelst Du die Stromkosten?

                      Ich könnte meine Kosten auch mit einer "intelligenten" Steckdose ermitteln.
                      Ich verwende zum Einschalten des 3D-Druckers nebst OctoPrint-Raspi eine Shelly Plug S - WLAN-Steckdose
                      Siehe auch meine Skizze/Fotos hier im Forum : 3D Drucker für den Einstieg
                      Der Zwischenstecker gibt auch den Momentanverbrauch und Gesamtenergie in ioBroker aus.
                      Mit etwas JavaScript könnte man damit wahrscheinlich auch den Energieverbrauch pro Druckmodell ermitteln.
                      In etwa so: --> (Gesamtverbrauch - alter Verbrauch) = Energieverbrauch für aktuelles Modell.
                      Über den Energieverbrauch könnte ich mir dann zumindest die Stromkosten für das aktuelle Modellberechnen.

                      Aber - ehrlich gesagt - will ich gar nicht wissen 😄

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

                        Gerade installiert und scheint super zu laufen.

                        Musste port auf 80 einstellen (habe ein SD Karten image von octopi verwendet) und hat sich sofort verbunden. Objekte werden auch brav gefüllt.

                        Jetzt muss ich mir nur noch ein Blockly schreiben das zwischen 21 und 6 uhr wenn der druck fertig ist und die nozzle runtergekühlt ist den Drucker ausschaltet.

                        Mach ich das mit nem zweiten trigger oder ganz stumpf einfach 10 minuten warten und dann den sonoff vom Strom nehmen?

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

                          @Webranger
                          Warum zwischen 21:00 und 06:00 Uhr?
                          Wenn Du nur den Drucker ausschalten willst, reicht es m.E. aus, Du triggerst wenn Druckfortschritt = 100% und Nozzle-Temp ≤ 50 Grad.

                          Wenn Du allerdings auch den Raspi, auf dem Octoprint làuft, ausschalten willst, solltest Du ihm nicht einfach "den Saft abdrehen".
                          Da wird dann wahrscheinlich bald die SD-Karte defekt sein.

                          Such hier im Form mal nach "shutdown -h now", das ist der Befehl, um den Raspi "sauber" herunter zu fahren.

                          Webranger 1 Reply Last reply Reply Quote 0
                          • B
                            bishop last edited by bishop

                            @joergeli über ein sonoff pow, so wie du auch denke ich.

                            @Webranger so z.b.
                            [Link Text]

                            (https://forum.iobroker.net/topic/25032/einen-pi3-durch-iobroker-herunterfahren/3)3d drucker blockly.jpg
                            3d drucker blockly2.jpg

                            so siehts bei mir aus!
                            wenn bedarf besteht kann ich es auch noch exportieren.

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

                              @joergeli Der Raspi bleibt an und nur der Drucker wird ausgeschaltet.

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

                                Hab gerade versucht octopi per iframe in meine VIS zu bekommen.

                                Auf dem tablet auf dem fully läuft verlangt die Seite dann aber user+passwort und wenn ich versuche diese einzugeben springt die vis auf die Startseite.

                                Finde gerade den fehler nicht......... irgendwer ne idee?

                                gruss

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

                                  @bishop also ich hätte Interesse an deinem Blockly. Danke schonmal im vorraus.

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    George_Best last edited by

                                    Hallo und ein gutes neues Jahr wünsche ich 😊

                                    Erstmal vielen, vielen Dank für den Adapter - kann ich gut gebrauchen😀

                                    Meine Frage: Wie kann ich die Datenpunkte bezüglich der Zeit (printtime; printtime_left) in hours:minutes:seconds umrechnen? Unix Timestamp bringt nicht wirklich sinnvolle Ergebnisse...

                                    Ich danke euch schon mal vielmals für Eure Unterstützung!

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      George_Best @George_Best last edited by

                                      @George_Best sagte in [UMFRAGE] Besteht Interesse an einem Octoprint Adapter:

                                      Hallo und ein gutes neues Jahr wünsche ich 😊

                                      Erstmal vielen, vielen Dank für den Adapter - kann ich gut gebrauchen😀

                                      Meine Frage: Wie kann ich die Datenpunkte bezüglich der Zeit (printtime; printtime_left) in hours:minutes:seconds umrechnen? Unix Timestamp bringt nicht wirklich sinnvolle Ergebnisse...

                                      Ich danke euch schon mal vielmals für Eure Unterstützung!

                                      Ok.... das war einfach zu einfach...
                                      Ich hab´s in der Doku von Octoprint gefunden - es sind einfach nur Sekunden 🙄 😊

                                      Webranger 1 Reply Last reply Reply Quote 0
                                      • Webranger
                                        Webranger @George_Best last edited by

                                        @George_Best Dann schreib doch auch die Lösung hier auf falls mal einer die Suche benutzt und genau das sucht 😉

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          George_Best @Webranger last edited by George_Best

                                          @Webranger sagte in [UMFRAGE] Besteht Interesse an einem Octoprint Adapter:

                                          @George_Best Dann schreib doch auch die Lösung hier auf falls mal einer die Suche benutzt und genau das sucht 😉

                                          Klar - sehr gerne:

                                          //************ Calculate objects in seconds to HH:MM:SS********************* */
                                          on({id: new RegExp('octoprint\\.0\\.printjob\\.progress\\.completion' + "|" + 'octoprint\\.0\\.printjob\\.progress\\.printtime'), change: "ne"}, function (obj) {
                                            var value = obj.state.val;
                                            var oldValue = obj.oldState.val;
                                            //console.log((getDateObject(getState("octoprint.0.printjob.progress.printtime_left").val).getMinutes()));
                                          
                                              // variable for time left and job_time
                                              // write value from object "printtime_left" (in seconds) to variable
                                              var value_time_left;
                                              var job_time
                                              value_time_left = (getDateObject(getState("octoprint.0.printjob.progress.printtime_left").val));
                                              job_time = (getDateObject(getState('octoprint.0.printjob.progress.printtime'/*Progress print time*/).val));
                                          
                                              // Hours part 
                                              var hours_value_time_left = Math.floor( value_time_left / 3600 );
                                              var hours_job_time = Math.floor( job_time / 3600 );
                                          
                                              // Minutes part 
                                              var minutes_value_time_left = Math.floor( (value_time_left%3600) / 60 );
                                              var minutes_job_time = Math.floor( (job_time%3600) / 60 );
                                          
                                              // Seconds part 
                                              var seconds_value_time_left = Math.floor( value_time_left%60 );
                                              var seconds_job_time = Math.floor( job_time%60 );
                                          
                                              // Will display time in 10:30:23 format
                                              var formattedTime_value_time_left = hours_value_time_left + ':' + minutes_value_time_left + ':' + seconds_value_time_left;
                                              var formattedTime_job_time = hours_job_time + ':' + minutes_job_time + ':' + seconds_job_time;
                                              //console.log(formattedTime_value_time_left);
                                              //console.log(formattedTime_job_time);
                                          
                                              //write time_left to object
                                              setState("javascript.0.3DPrinter.3DPrinter_Time_Left"/*3DPrinter_Time_Left*/, formattedTime_value_time_left, true);
                                              setState('javascript.0.3DPrinter.3DPrinter_Job_Time'/*3DPrinter Job Time*/, formattedTime_job_time, true);
                                          });
                                          
                                              //************ Text-to-Speech on Chromecast********************* */
                                          var  timeout;
                                          on({id: 'octoprint.0.printjob.progress.completion'/*Progress completion*/, change: "ne"}, function (obj) {
                                              //console.log(getState("octoprint.0.printjob.progress.completion").val);
                                              var value = obj.state.val;
                                              var oldValue = obj.oldState.val;
                                                  if (getState("octoprint.0.printjob.progress.completion").val == 100) {
                                                      setState("sayit.0.tts.text", "de;" + '3D Drucker ist fertig');
                                                      sendTo("email.0", "send", {
                                                          text: '3D Drucker ist fertig',
                                                          to: 'xxxxxxxxxxxxx@gmail.com',
                                                          subject: '3D Drucker ist fertig'
                                                      });
                                                  }
                                              });
                                          

                                          Das Script holt die beiden Datenpunkte des octoprint-Adapters "printtime_left" und "printtime", wandelt diese ins Format HH:MM:SS um und schreibt diese dann in zwei (zuvor manuell erstellte) Datenpunkte "3DPrinter_Time_Left" und "3DPrinter_Job_Time".
                                          Außerdem gebe ich noch "3D Drucker fertig" über Google Home (Chromecast) aus und schicke mir eine Email, sobald der Datenpunkt "completion" bei 100 ist.

                                          Webranger joergeli 2 Replies Last reply Reply Quote 0
                                          • B
                                            bishop last edited by bishop

                                            @telekom0815
                                            sorry für die Verspätung hier der Export von meinem Script.
                                            Gibt bestimmt noch fehler...Feedback erwünscht

                                            <xml xmlns="http://www.w3.org/1999/xhtml">
                                              <variables>
                                                <variable type="undefined" id="timeout2">timeout2</variable>
                                                <variable type="undefined" id="timeout">timeout</variable>
                                              </variables>
                                              <block type="procedures_defcustomnoreturn" id="L)jSk0=?1664IBxAbQ${" x="413" y="-437">
                                                <mutation statements="false"></mutation>
                                                <field name="NAME">Licht</field>
                                                <field name="SCRIPT">bm9kZV9zc2ggPSByZXF1aXJlKCdub2RlLXNzaCcpOw0Kc3NoID0gbmV3IG5vZGVfc3NoKCk7DQpzc2guY29ubmVjdCh7DQogIGhvc3Q6ICcxOTIuMTY4LjEuOTAnLA0KICB1c2VybmFtZTogJ3BpJywNCiAgcGFzc3dvcmQ6ICdkc2xmbGF0MjM4OCcNCn0pLnRoZW4oKCkgPT4gew0KICBzc2guZXhlY0NvbW1hbmQoInN1ZG8gLi9sZWRyZWxhaXMuc2giKTsNCn0p</field>
                                                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                              </block>
                                              <block type="procedures_defcustomnoreturn" id=".(*orQFL])}0jxjU)4Y?" x="412" y="-413">
                                                <mutation statements="false"></mutation>
                                                <field name="NAME">shutdown</field>
                                                <field name="SCRIPT">bm9kZV9zc2ggPSByZXF1aXJlKCdub2RlLXNzaCcpOw0Kc3NoID0gbmV3IG5vZGVfc3NoKCk7DQpzc2guY29ubmVjdCh7DQogIGhvc3Q6ICcxOTIuMTY4LjEuOTAnLA0KICB1c2VybmFtZTogJ3VzZXInLA0KICBwYXNzd29yZDogJ3Bhc3N3b3JkJw0KfSkudGhlbigoKSA9PiB7DQogIHNzaC5leGVjQ29tbWFuZCgic3VkbyBzaHV0ZG93biBub3ciKTsNCn0p</field>
                                                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                              </block>
                                              <block type="on_ext" id="g{.@~ZsR7(G/6laF9/Q#" x="413" y="-362">
                                                <mutation items="1"></mutation>
                                                <field name="CONDITION">ne</field>
                                                <field name="ACK_CONDITION"></field>
                                                <value name="OID0">
                                                  <shadow type="field_oid" id="y~e.v;I`cDBP?LqcT?!U">
                                                    <field name="oid">sonoff.0.Pow_62_3dDrucker.POWER</field>
                                                  </shadow>
                                                </value>
                                                <statement name="STATEMENT">
                                                  <block type="controls_if" id="bq*f7B;^s0VIfH13or9d" collapsed="true">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="`)MWIWh=Tk#m/[rK2ME1">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="pI^wpX~rmS#KtR^3V#gW">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="Dypo~(SMny:}4_n1*v;o">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="update" id=")N[JwuYwCAbha*=m~vb#">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="SMqJ),5=rxG.tWDzQFHc">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="on_ext" id="3BKaKP9u)QPYQ%fo_H*,">
                                                    <mutation items="1"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid" id="/MXW2KlV+JX0__Wts%NE">
                                                        <field name="oid">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="Y1]RH9fVR^;wJ8Phe!+c" collapsed="true">
                                                        <mutation elseif="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="RYf.b.+|Wi,5*:d}+q|h">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="HcDY3c]hT.Ge6sRml(#}">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="id8SS.AOEpq,U9L#tYyw">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="jhq_UY7!XJ^;i,.Aw16/">
                                                            <mutation delay_input="false"></mutation>
                                                            <field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="@7s`u,CbB44u*8Kc;{fW">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_compare" id="H%jbito/W8rkjv5!omm(">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="PZw8r5)!Jn`t%p0d}Ij2">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="Uee7X#UslzxU]GjttWZ=">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="procedures_callcustomnoreturn" id="=#Q;NN(ZtFbYLwV?u3e7">
                                                            <mutation name="shutdown"></mutation>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="on_ext" id=".lRhF1)wPIdz.yV?=jUi">
                                                        <mutation items="1"></mutation>
                                                        <field name="CONDITION">ne</field>
                                                        <field name="ACK_CONDITION"></field>
                                                        <value name="OID0">
                                                          <shadow type="field_oid" id="rD1iSaDm.=Mn4;HAX!SZ">
                                                            <field name="oid">octoprint.0.info.connection</field>
                                                          </shadow>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="tceui~t=M5aK2PhN@AiR" collapsed="true">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="B#)x#N+vJUarGf^s_6{+">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="JW=V4G%F[o4KPRMMtzl^">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">octoprint.0.info.connection</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="axn9[abqsx%lro~{tV2(">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="timeouts_settimeout" id="SM?$]M-Vb4}!n0$moo8W">
                                                                <field name="NAME">timeout2</field>
                                                                <field name="DELAY">2</field>
                                                                <field name="UNIT">min</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="control" id="7BJy+SZfqlC-1?uxgv}T">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">sonoff.0.Pow_62_3dDrucker.POWER</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="Ae?^~gu-?tkI?Zf=l|05">
                                                                        <field name="BOOL">FALSE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="comment" id="/bgI6x_9=9MOPSSqT5y8">
                                                            <field name="COMMENT">Druck abbrechen</field>
                                                            <next>
                                                              <block type="on_ext" id="]`}dT6ao59[g0Zi7-8JR">
                                                                <mutation items="1"></mutation>
                                                                <field name="CONDITION">ne</field>
                                                                <field name="ACK_CONDITION"></field>
                                                                <value name="OID0">
                                                                  <shadow type="field_oid" id="LBh%wWJ6EIHSB8k6[F1-">
                                                                    <field name="oid">zigbee.0.00158d0001e832d0.click</field>
                                                                  </shadow>
                                                                </value>
                                                                <statement name="STATEMENT">
                                                                  <block type="controls_if" id="um*;L|HSsNG~}n_7RvJl" collapsed="true">
                                                                    <mutation elseif="1"></mutation>
                                                                    <value name="IF0">
                                                                      <block type="logic_operation" id="p,OaYSoY:[YL+Zf=9,)L">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="AHZ~4BmMwj*u+R59IT3{">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="D}UcxJ1Sk=PqTRKjUY=D">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">zigbee.0.00158d0001e832d0.click</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id="OD)9Sh(MuozULEVN^)`#">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_compare" id="#.1FXN4{StvBom4=GJya">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="hv||~J_bAqtb~m:Ba:ql">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">octoprint.0.printer_status</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="text" id="C-KJ-qgD/GSTwX-,ND*L">
                                                                                <field name="TEXT">Printing</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="control" id="Qevct?*ro((VFE4%#+o0">
                                                                        <mutation delay_input="false"></mutation>
                                                                        <field name="OID">octoprint.0.command.printjob</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="3y;+U@6WBcueR56Jy/oe">
                                                                            <field name="TEXT">cancel</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                    <value name="IF1">
                                                                      <block type="logic_operation" id="]3rHvQ||5QnEOLf5+ymh">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="?K]y+Tk%R|5-`ABPnU9U">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="l?oBL,{[]BYF*hzx/.BP">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">zigbee.0.00158d0001e832d0.click</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id="ds!DH]e(AJC2V3Fo;SL)">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_compare" id="^:CngW9,,CgWBy*~XRm-">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="fM[uY=Ev^{lka.T7SMqR">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">octoprint.0.printer_status</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="text" id="?H0rQWj/PzXC).^mAZrL">
                                                                                <field name="TEXT">Operational</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO1">
                                                                      <block type="control" id="XU3I,=yJ]psvvkPEN~h5">
                                                                        <mutation delay_input="false"></mutation>
                                                                        <field name="OID">octoprint.0.command.printjob</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="Rno,oYD.kNna/wHj6s#5">
                                                                            <field name="TEXT">start</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="comment" id="%H|c6ZCu?0Jj|mpe!fk/">
                                                                    <field name="COMMENT">temp einstellung button</field>
                                                                    <next>
                                                                      <block type="on_ext" id="~hcVKGpL=/72CVP6XSlJ">
                                                                        <mutation items="1"></mutation>
                                                                        <field name="CONDITION">ne</field>
                                                                        <field name="ACK_CONDITION"></field>
                                                                        <value name="OID0">
                                                                          <shadow type="field_oid" id="|-EXqAGm!ND+A-N;ddc_">
                                                                            <field name="oid">zigbee.0.00158d0001e832d0.double_click</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <statement name="STATEMENT">
                                                                          <block type="controls_if" id="_MO0.wji;GsHR@M1g|8)" collapsed="true">
                                                                            <mutation elseif="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_operation" id="xh-(v9+.g5*!4Y:4I,Zk">
                                                                                <field name="OP">AND</field>
                                                                                <value name="A">
                                                                                  <block type="logic_compare" id="_[MEoh(-#DiY{q4e7fG*">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id="nwK%{g@#-dH},r[Xi@6M">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">zigbee.0.00158d0001e832d0.double_click</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="ul{tzs2Gz@IuX[rZlOFE">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_operation" id="sL7w4jqN6vak2H4%*aoL" inline="false">
                                                                                    <field name="OP">AND</field>
                                                                                    <value name="A">
                                                                                      <block type="logic_compare" id="Y@{QMl3GeuOwy9kBa21W">
                                                                                        <field name="OP">LTE</field>
                                                                                        <value name="A">
                                                                                          <block type="get_value" id="B4iG!1%|qFlp!s295m%Z">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">octoprint.0.temperature.bed.target</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="math_number" id="3V%|drS@FVJ`:j~3?tz/">
                                                                                            <field name="NUM">0</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_compare" id="V_YfG}cf!y=P8h|DC9/^">
                                                                                        <field name="OP">LTE</field>
                                                                                        <value name="A">
                                                                                          <block type="get_value" id="(LOs]qM)+^#R}ro?lX7#">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">octoprint.0.temperature.tool0.target</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="math_number" id="`gAj^-c@9`f!SfMtUb!E">
                                                                                            <field name="NUM">0</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="comment" id="L,5QpW[=AX7IXmgfWm|0">
                                                                                <field name="COMMENT">Bett Temperatur</field>
                                                                                <next>
                                                                                  <block type="control" id="L[d?ER)zE`1|QrD#ovz4">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">octoprint.0.temperature.bed.target</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="@n=w(S..!Jg)`ZL1udp)">
                                                                                        <field name="NUM">45</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="comment" id="aFXN%;?3?g:#6rWXyjPO">
                                                                                        <field name="COMMENT">Nozzel Temperatur</field>
                                                                                        <next>
                                                                                          <block type="control" id="PG6:-RYgozPxp}/C?bay">
                                                                                            <mutation delay_input="false"></mutation>
                                                                                            <field name="OID">octoprint.0.temperature.tool0.target</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_number" id="xetGsWY6TkaMi};ssZXs">
                                                                                                <field name="NUM">180</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <value name="IF1">
                                                                              <block type="logic_operation" id="CeUEdB|O~7ztxS2_LM4+">
                                                                                <field name="OP">AND</field>
                                                                                <value name="A">
                                                                                  <block type="logic_compare" id="5od2{|:VlYf69JiDSMJg">
                                                                                    <field name="OP">EQ</field>
                                                                                    <value name="A">
                                                                                      <block type="get_value" id=")moE*+yiYzqRK;VkFH]+">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">zigbee.0.00158d0001e832d0.double_click</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_boolean" id="rIZ`y?szmU~M?cs*p9-r">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_operation" id="4xQ;Gag5UM2f]A)MF_;^" inline="false">
                                                                                    <field name="OP">AND</field>
                                                                                    <value name="A">
                                                                                      <block type="logic_compare" id="*noWYU*ip2[HWl5Jju4E">
                                                                                        <field name="OP">GTE</field>
                                                                                        <value name="A">
                                                                                          <block type="get_value" id="Y`lLaA6{,jW3kP6^8}FV">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">octoprint.0.temperature.bed.target</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="math_number" id="}Irl~8ZGghE,VFTnNRT%">
                                                                                            <field name="NUM">45</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="logic_compare" id="8)9Ke8Pb@X?g.o~0?J9g">
                                                                                        <field name="OP">GTE</field>
                                                                                        <value name="A">
                                                                                          <block type="get_value" id="aX.U2O-!C;rC!h}n@!%K">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">octoprint.0.temperature.tool0.target</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="math_number" id="4!WIJCN^xC(B)4nNIg3.">
                                                                                            <field name="NUM">40</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO1">
                                                                              <block type="control" id="A`xL#p+S4Eh~BVL3vvIT">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">octoprint.0.temperature.bed.target</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="TvZ~.tHp,.wCp#1jFg4Z">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="z@#vdQTEK{iS#2;gC94+">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">octoprint.0.temperature.tool0.target</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="%Jf{v!1ywIHx;:3?n4(s">
                                                                                        <field name="NUM">0</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="comment" id="7cJNZp)c?U]6L5*OXe3N">
                                                                            <field name="COMMENT">Licht</field>
                                                                            <next>
                                                                              <block type="on_ext" id="JH#v!^`pb0Mpp}`Nj,)p">
                                                                                <mutation items="1"></mutation>
                                                                                <field name="CONDITION">ne</field>
                                                                                <field name="ACK_CONDITION"></field>
                                                                                <value name="OID0">
                                                                                  <shadow type="field_oid" id="S[q1j_h4[wk=V#Y^H)w,">
                                                                                    <field name="oid">zigbee.0.00158d0001e832d0.triple_click</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="controls_if" id="POb=W3`E9[JG+Gu[NdZD">
                                                                                    <value name="IF0">
                                                                                      <block type="logic_compare" id="`@=;,CF]a4%;lKvwPKr]">
                                                                                        <field name="OP">EQ</field>
                                                                                        <value name="A">
                                                                                          <block type="get_value" id="fD]0iFX`,NzyvruDQ_RJ">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">zigbee.0.00158d0001e832d0.triple_click</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <block type="logic_boolean" id="_#iz]hw`0Iq[sTjPtq/P">
                                                                                            <field name="BOOL">TRUE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <statement name="DO0">
                                                                                      <block type="procedures_callcustomnoreturn" id=",}m+``lap``he:WJF6[@">
                                                                                        <mutation name="Licht"></mutation>
                                                                                        <next>
                                                                                          <block type="control" id="_xRVMZyO;trFt*m_069G" disabled="true">
                                                                                            <mutation delay_input="false"></mutation>
                                                                                            <field name="OID">octoprint.0.command.printer</field>
                                                                                            <field name="WITH_DELAY">FALSE</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="text" id="+L{6@Ms4387ig]_FQ-=.">
                                                                                                <field name="TEXT">home</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="comment" id="tIbGBR3z,ZUwEoogwR~b">
                                                                                    <field name="COMMENT">Drucker ausschalten</field>
                                                                                    <next>
                                                                                      <block type="on_ext" id="J0q~1~aOryAei(bnjTv$">
                                                                                        <mutation items="1"></mutation>
                                                                                        <field name="CONDITION">ne</field>
                                                                                        <field name="ACK_CONDITION"></field>
                                                                                        <value name="OID0">
                                                                                          <shadow type="field_oid" id=".4Q(bhe];EXB$@P2X^h(">
                                                                                            <field name="oid">zigbee.0.00158d0001e832d0.quad_click</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                        <statement name="STATEMENT">
                                                                                          <block type="controls_if" id="zb2RA5uQ-o)(LsZ;u$hK" collapsed="true">
                                                                                            <value name="IF0">
                                                                                              <block type="logic_operation" id="i`LcFCn/1En01on6xF/G" inline="false">
                                                                                                <field name="OP">AND</field>
                                                                                                <value name="A">
                                                                                                  <block type="logic_compare" id="A)EYGPyGQv9^C7}}eM3`">
                                                                                                    <field name="OP">EQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="get_value" id="wr|1U~=Qtc)Yt`-b!5I7">
                                                                                                        <field name="ATTR">val</field>
                                                                                                        <field name="OID">zigbee.0.00158d0001e832d0.quad_click</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="logic_boolean" id="N;?x?9SocoQWZa{P3kN.">
                                                                                                        <field name="BOOL">TRUE</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="logic_compare" id="V%u!qS9%|QzOHO$Itaoc">
                                                                                                    <field name="OP">NEQ</field>
                                                                                                    <value name="A">
                                                                                                      <block type="get_value" id="-5CP0a0X7{@+|uD9{LCG">
                                                                                                        <field name="ATTR">val</field>
                                                                                                        <field name="OID">octoprint.0.printer_status</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <block type="text" id="_=#~RYt5E3cJgc^4tmA^">
                                                                                                        <field name="TEXT">	Printing</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="control" id="[~*e*X-Wm-`AMi,!Xkfm">
                                                                                                <mutation delay_input="false"></mutation>
                                                                                                <field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                                <value name="VALUE">
                                                                                                  <block type="logic_boolean" id="-.:wT:^|fu[QSukm=iAq">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                              <block type="on_ext" id="+A7wlutQO8gBfqosc.y3" x="-388" y="12">
                                                <mutation items="2"></mutation>
                                                <field name="CONDITION">ne</field>
                                                <field name="ACK_CONDITION"></field>
                                                <value name="OID0">
                                                  <shadow type="field_oid" id="L[i=p{|ii-ai*/YAZ@8s">
                                                    <field name="oid">octoprint.0.temperature.bed.actual</field>
                                                  </shadow>
                                                </value>
                                                <value name="OID1">
                                                  <shadow type="field_oid" id="SrqWt)hN`dugaePnqgR:">
                                                    <field name="oid">octoprint.0.temperature.tool0.actual</field>
                                                  </shadow>
                                                </value>
                                                <statement name="STATEMENT">
                                                  <block type="controls_if" id="V6]e:v6u:?I_dnQ6L_VO" collapsed="true">
                                                    <mutation elseif="1"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="|GYXj{b?eejrNKL,dC1c">
                                                        <field name="OP">GTE</field>
                                                        <value name="A">
                                                          <block type="get_value" id="NE_0I9@@4+Vx=788NJ{O">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">octoprint.0.temperature.bed.actual</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="^ZZxvmafdi;Q}c)p)@Kd">
                                                            <field name="TEXT">50</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="vs.J|^}}{M%%SJ1bpk;V">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="gvfoVV5t!!Us3^C~!w.H">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_compare" id=".^Vr3!/]n3+mJC!/xH_P">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="get_value" id="SES|c80.WXQ*jSsOhFie">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">octoprint.0.temperature.bed.actual</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="text" id="yt?GRbeq!O:U6vuzE4-i">
                                                            <field name="TEXT">40</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="control" id="W@d-F3O_9HHWW#dCNkL=">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="A4H}`x`xaT~u.qw:OMjO">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="on_ext" id="u:R0u7j.Y,8EdsUCK6kQ">
                                                    <mutation items="1"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid" id="jgpdw:j!HF59WUplmK}~">
                                                        <field name="oid">javascript.0.schalter.3d_drucker_fertig</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="0KU30/v2h#W(!`#[gp76" collapsed="true">
                                                        <mutation elseif="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="]-Zb+?Hn_!lMC-aT9alk">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="ln#_*!,/omF%2!L4WRp-">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="pSN^b91_Se1kc2o;W4J^">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="telegram" id="i||{vH9*ebG3rYojyq#~">
                                                            <field name="INSTANCE">.0</field>
                                                            <field name="LOG"></field>
                                                            <field name="SILENT">FALSE</field>
                                                            <field name="PARSEMODE">default</field>
                                                            <value name="MESSAGE">
                                                              <shadow type="text" id="U][E8N^7Bu/+`G(NxN}#">
                                                                <field name="TEXT"></field>
                                                              </shadow>
                                                              <block type="text_join" id="2b|ng~sPvT|iC)a%*xI7">
                                                                <mutation items="3"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="#1kx@/m~N,F+j0]M7kg{">
                                                                    <field name="TEXT">Der 3D-Drucker hat angefangen </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="get_value" id="LhG1A9ZJ}qx=J?Fhl^@Y">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">octoprint.0.printjob.file.name</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="text" id="o:.!{V?z_(eK9jLH:hJ|">
                                                                    <field name="TEXT"> zu drucken</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_compare" id="21(9~CU|XRCn:EOXk2/@">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="TSvo:2H{H+}IE{#M1`FO">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.schalter.3d_drucker_fertig</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="h=.8?l5o{aiN|)W)LXh@">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="telegram" id="ed05d|bQf^sw*MK?SR-6">
                                                            <field name="INSTANCE">.0</field>
                                                            <field name="LOG"></field>
                                                            <field name="SILENT">FALSE</field>
                                                            <field name="PARSEMODE">default</field>
                                                            <value name="MESSAGE">
                                                              <shadow type="text" id="sKyyX,f?IkAZP`RFQReF">
                                                                <field name="TEXT">Die Waschmaschine ist fertig :)</field>
                                                              </shadow>
                                                              <block type="text_join" id=":?(LV%}eMmeGg5)=s63{">
                                                                <mutation items="9"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="Me[sfL:79y?isrCAn~-e">
                                                                    <field name="TEXT">Der 3D-Drucker ist fertig! </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="text_newline" id="=Ln@t]2hKoRekBO*=I$x">
                                                                    <field name="Type">\n</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="text" id="0bN](j4?-62PDxGTFs`K">
                                                                    <field name="TEXT">Das waren </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD3">
                                                                  <block type="get_value" id="5nYhH(Z-[f`G*,+qIZ;H">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">sonoff.0.Pow_62_3dDrucker.ENERGY_Today</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD4">
                                                                  <block type="text" id=",nn}rYrBfCaxgJPdJkp7">
                                                                    <field name="TEXT"> kWh die für das Drucken verbraucht worden sind.</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD5">
                                                                  <block type="text_newline" id="y[Hf}4D:ri]xj@q@[wha">
                                                                    <field name="Type">\n</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD6">
                                                                  <block type="text" id="0%vbNiH.-uK;q[)6ZRx=">
                                                                    <field name="TEXT">Das sind ca.</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD7">
                                                                  <block type="get_value" id="hCs/qrxQ~vwE?sKSN/10">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.Berechnungen.3D_Drucker.Heute</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD8">
                                                                  <block type="text" id="@sTCB@TuHU6fdmi31@bV">
                                                                    <field name="TEXT">Euro</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="controls_if" id="rfQaG-]RZG[J7N^zgcn}">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="|R+(A4n%[[2~FwDmCB!;">
                                                                    <field name="OP">LT</field>
                                                                    <value name="A">
                                                                      <block type="get_value" id="jfZP8qNUbZ+4PRi3OXZ9">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">octoprint.0.temperature.bed.actual</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="text" id="NjDd8G#S{W![sJ:pi6bw">
                                                                        <field name="TEXT">40</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="debug" id="mk7sgm[,N@wIZIyGEF+2">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="AQ~nPFy6}@Z-b5jNlXDc">
                                                                        <field name="TEXT">in 10min wird runtergefahren</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <next>
                                                                      <block type="timeouts_settimeout" id="LC5}R,k-3]_F.tzTdv~y">
                                                                        <field name="NAME">timeout</field>
                                                                        <field name="DELAY">10</field>
                                                                        <field name="UNIT">min</field>
                                                                        <statement name="STATEMENT">
                                                                          <block type="controls_if" id="G_npA;)|vwA)AvdWb.it">
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="mm4*,5X2mVm,I[O^!M*|">
                                                                                <field name="OP">LT</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="]qP|`R^KqX*{Qxy-;GB/">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">octoprint.0.temperature.bed.actual</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="text" id="06oZ4u||h!S@CRJuNrEj">
                                                                                    <field name="TEXT">35</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="control" id="`4mp,TnHO)6@[,=Jg@G}">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">javascript.0.schalter.3d_drucker_rpi_shutdown</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="logic_boolean" id="}:_~nb#_A7mJ7[Sq+F5n">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </xml>
                                            
                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            493
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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