Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Nochmal Waschmaschine (Blockly)

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Nochmal Waschmaschine (Blockly)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Dutchman
      Dutchman Developer Most Active Administrators last edited by

      @nibblerrick:

      Na um zu sehen ob es funktioniert ist es doch mal eine perfekte Motivation selbst was zu waschen 😉 `

      Es gibt Grenzen 😛

      Bin gespannt sag Bescheid ob es was geworden ist

      –-----------------------

      Send from mobile device

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

        Also meine Frau koennte ja heute noch nicht waschen, wenn ich ihr das nicht beigebracht haette 😄

        Ja, bin auch gespannt ob es funktioniert!

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

          Hi,

          also da ich eine Waschmaschine nicht bedienen kann, hat dies meine Frau getan. :lol:

          Die erste Meldung das Waschmaschine läuft kam, seit dem sie läuft ist alles ruhig.

          Jetzt warte ich mal ab wenn sie fertig ist.

          Ich werde berichten.

          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            @totocotonio:

            Hi,

            also da ich eine Waschmaschine nicht bedienen kann, hat dies meine Frau getan. :lol:

            Die erste Meldung das Waschmaschine läuft kam, seit dem sie läuft ist alles ruhig.

            Jetzt warte ich mal ab wenn sie fertig ist.

            Ich werde berichten. `

            :lol:

            Na dann funktioniert auf jedenfall schonmal 50% 😛

            –-----------------------

            Send from mobile device

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

              Hi,

              muss leider berichten das es nicht funktioniert.

              Die Anfangs Meldung kam.

              Leistung jetzt seit ca.10 Minuten auf 2 Watt, State True. :?:

              Keine Meldung

              1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators last edited by

                @totocotonio:

                Hi,

                muss leider berichten das es nicht funktioniert.

                Die Anfangs Meldung kam.

                Leistung jetzt seit ca.10 Minuten auf 2 Watt, State True. :?:

                Keine Meldung `

                ok und du bist dir sicher das der wert zwischendurch nicht mal nach >5 gegangen ist ?

                kans du mal bitte logging einbauen hinter allen IF abfragen damit wir sehen welche routine er durschlaeuft

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

                  Hi,

                  ok danke für den Hinweis.

                  Ich habe mal wieder ein Logging eingebaut.

                  Nur heute wird nicht mehr gewaschen 😛

                  Ich werde morgen berichten.

                  Danke bis morgen dann .

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

                    Habe mir mal das Blockly von Dutchman angeschaut.

                    Es ist, für mich, schwer zu "lesen".

                    Die Variablen Benennung ist etwas unglücklich.

                    Warum soll bei "WaschmaschieneFertig = false" die Meldung kommen , dass die Maschine fertig ist?

                    Ich denke da immer andersrum "WaschmaschineFertig = true", dann wäre für mich die Maschine fertig.

                    Grüße

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

                      Ich habe mal die Logik der Variable auf meine Denkweise umgestellt.

                      Die Vorgehensweise von Dutchman war schon richtig.

                      Habe jetzt nicht überprüft ob da ein Logik-Dreher drin war.

                      Grundsätzlich sollte man sich ein genaues Protokoll von den Leistungsdaten seiner Waschmaschine erstellen.

                      Wahrscheinlich ist wird auch mit unterschiedlichen Waschprogrammen gewaschen.

                      Ohne genaue Daten der Waschmaschine ist das ein fischen im Trüben.
                      147_beispiel.png

                      Export

                      ! ````
                      <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly" x="-737" y="-162"><mutation items="1"></mutation>
                      <field name="CONDITION">ne</field>

                      <value name="OID0"><shadow type="field_oid" id="@Uda~stBc8L/=2DFzrvo"><field name="oid">hm-rpc.0.KEQ0964000.2.POWER</field></shadow></value> 
                      <statement name="STATEMENT"><block type="procedures_callnoreturn" id="IVHR(]?*K6E(XAH3iw*`"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> 
                          <value name="ARG0"><block type="text_join" id="93tj,#+Z4-mx=Fv_Ve0Q"><mutation items="2"></mutation>
                              <value name="ADD0"><block type="text" id="ln:{E)TNG?6tAh1bOVh)"><field name="TEXT">***Leistung Waschmaschine</field></block></value> 
                              <value name="ADD1"><block type="get_value" id="!yLn|?I4;qOFtJ3Ga2hW"><field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></block></value> 
                          <next><block type="controls_if" id="Z5|[vDkx-;wE)n{g3h5A"><mutation elseif="2"></mutation>
                              <value name="IF0"><block type="logic_operation" id="NOVG1{{6R.;TAAh#v:UO" inline="false"><field name="OP">AND</field>
                                  <value name="A"><block type="logic_compare" id="RDf^,X[TFQ#jOw9*+|a|"><field name="OP">GT</field>
                                      <value name="A"><block type="get_value" id="Y}z?|,]x;.[Y?nmoB_s/"><field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                      <value name="B"><block type="math_number" id="+|Yj%~7wLv8n4e4dH./g"><field name="NUM">5</field></block></value></block></value> 
                                  <value name="B"><block type="logic_compare" id=")}{w;ZbwB)k3txT,A;=#"><field name="OP">EQ</field>
                                      <value name="A"><block type="get_value" id="@c(1!S?xMk}JGgK|bGlx"><field name="ATTR">val</field>
                                          <field name="OID">javascript.0.WaschmaschineFertig</field></block></value> 
                                      <value name="B"><block type="logic_boolean" id="z_W;~p[!3,i7T%Fz9ta."><field name="BOOL">TRUE</field></block></value></block></value></block></value> 
                              <statement name="DO0"><block type="comment" id="AQ2D[:gclugPLA1/8}x!"><field name="COMMENT">Waschgang beginnt</field>
                                  <next><block type="control" id="TZy1bs~cU0]#Q/llGnxT"><mutation delay_input="false"></mutation>
                                      <field name="OID">javascript.0.WaschmaschineFertig</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE"><block type="logic_boolean" id="G/q*p]xf4ro}^~?xKTM:"><field name="BOOL">FALSE</field></block></value> 
                                      <next><block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> 
                                          <value name="ARG0"><block type="text" id="{QcAY3oi:,FGG.929?TS"><field name="TEXT">Waschmaschine läuft</field></block></value></block></next></block></next></block></statement> 
                              <value name="IF1"><block type="logic_operation" id="@{7k94li-JxVqj@t@gQ!" inline="false"><field name="OP">AND</field>
                                  <value name="A"><block type="logic_compare" id="C0*35eawvw`t+v-WVWP@"><field name="OP">GT</field>
                                      <value name="A"><block type="get_value" id="8R*A2%8%:I8t3Kix6XO+"><field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                      <value name="B"><block type="math_number" id="{Kw5XA/x9p0{z4yQ_6r3"><field name="NUM">5</field></block></value></block></value> 
                                  <value name="B"><block type="logic_compare" id="7Uc{g8acG,c-8t`{]:L)"><field name="OP">EQ</field>
                                      <value name="A"><block type="variables_get" id="kY*iz1~X^Xd2p.8hJM)D"><field name="VAR">check_ready</field></block></value> 
                                      <value name="B"><block type="logic_boolean" id=",I1.9I/cktHnk%W9z-xj"><field name="BOOL">TRUE</field></block></value></block></value></block></value> 
                              <statement name="DO1"><block type="comment" id="HQL/_vWme!|w^~@lTM`U"><field name="COMMENT">Power war schon mal unter 2.5</field>
                                  <next><block type="comment" id="kL+[~..qKXP923)-(QTH"><field name="COMMENT">Timer wieder stoppen</field>
                                      <next><block type="timeouts_cleartimeout" id="CUH4u1*~,d8@=rn|d[-t"><field name="NAME">ready</field>
                                          <next><block type="variables_set" id="Mpln]FVs06lI17me1NW0"><field name="VAR">check_ready</field>
                                              <value name="VALUE"><block type="logic_boolean" id="MNwyF2ChG*X{lSgp0Rq4"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement> 
                              <value name="IF2"><block type="logic_operation" id="ITf[:#D]rT*N(OE9k(])" inline="false"><field name="OP">AND</field>
                                  <value name="A"><block type="logic_compare" id="TpC0To:j6|8MzRy1.f2k"><field name="OP">LT</field>
                                      <value name="A"><block type="get_value" id="T=u6bL/a/n!;dBAIYw6}"><field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                      <value name="B"><block type="math_number" id="G7qj]rc!Em08Z:ZUsn5x"><field name="NUM">2.5</field></block></value></block></value> 
                                  <value name="B"><block type="logic_operation" id="t|X/`_5/NFsnY4Ej!p1@" inline="false"><field name="OP">AND</field>
                                      <value name="A"><block type="logic_compare" id="8rTp8F1^XtG_[nleJ@G3"><field name="OP">EQ</field>
                                          <value name="A"><block type="get_value" id="e,Ywtew-),wrj7KJ4W]Y"><field name="ATTR">val</field>
                                              <field name="OID">javascript.0.WaschmaschineFertig</field></block></value> 
                                          <value name="B"><block type="logic_boolean" id="-RVml^-rH[c*)cCu4}oV"><field name="BOOL">FALSE</field></block></value></block></value> 
                                      <value name="B"><block type="logic_compare" id="}C@yU^z*.TPRlSzP6+05"><field name="OP">EQ</field>
                                          <value name="A"><block type="variables_get" id="Rf}b@/f5qTJELOy92#:g"><field name="VAR">check_ready</field></block></value> 
                                          <value name="B"><block type="logic_boolean" id="Qz}!muDx94x=?b`A/nhO"><field name="BOOL">FALSE</field></block></value></block></value></block></value></block></value> 
                              <statement name="DO2"><block type="comment" id="G~cT}m2_UG;fFEXQywAM"><field name="COMMENT">Power geht unter 2.5</field>
                                  <next><block type="variables_set" id="@7_1gL2z!VBA_Phg+5]B"><field name="VAR">check_ready</field>
                                      <value name="VALUE"><block type="logic_boolean" id="4R2+st0_Td6FV?D[GPve"><field name="BOOL">TRUE</field></block></value> 
                                      <next><block type="timeouts_cleartimeout" id="`4wEif?i7xM%Wty}?F*L"><field name="NAME">ready</field>
                                          <next><block type="timeouts_settimeout" id=";F~?;,Bq-Lq[ShIwPxcD"><field name="NAME">ready</field>
                                              <field name="DELAY">5</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT"><block type="control" id="TW.9Qyp_]qo(-{!4/W`6"><mutation delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.WaschmaschineFertig</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE"><block type="logic_boolean" id="@ue~G;yl^o]24s](g]`5"><field name="BOOL">TRUE</field></block></value> 
                                                  <next><block type="procedures_callnoreturn" id="B`l`+_QZ59(g^%)j}HaL"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> 
                                                      <value name="ARG0"><block type="text" id="(]@zEC}t.vRad}u(e.jr"><field name="TEXT">Die Waschmaschine ist fertig</field></block></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></next></block></statement></block> 
                      

                      <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;Stf+" x="38" y="-13"><mutation><arg name="Meldetext"></arg></mutation>
                      <field name="NAME">Melden</field>
                      <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                      <statement name="STACK"><block type="debug" id="SYQu;@N0JgE!W~[JZcZ
                      "><field name="Severity">log</field>
                      <value name="TEXT"><shadow type="text" id="4+J8c.^+FrkDV^]dAda-"><field name="TEXT">test</field></shadow>
                      <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR"><field name="VAR">Meldetext</field></block></value></block></statement></block></xml>

                      ! ````

                      Grüße

                      1 Reply Last reply Reply Quote 0
                      • Dutchman
                        Dutchman Developer Most Active Administrators last edited by

                        Ich hatte die Variable so übernommen von totocotonio fand sie auch falschherum aber da dies bereits so lief hatte ich es dabei gelassen.

                        Umdrehen ist aber besser für die Logic 😉

                        –-----------------------

                        Send from mobile device

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

                          Hi,

                          ihr habt natürlich recht, die Logik von mir war falsch

                          andersherum macht es mehr Sinn.

                          Ich schreibe im Moment mal die Daten mit.

                          Fakt ist, bei genau 2,01 Watt ist Waschmaschine fertig (Standby)

                          Deshalb habe ich den Wert 2,5 Watt genommen.

                          Ich werde heute Abend mal das Blockly nach Deinen Vorgaben "Umbauen"

                          und mal wieder einen Waschgang starten.

                          Vielen Dank für die super Hilfe hier im Forum.

                          Ich melde mich und werde berichten.

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

                            Hi,

                            jetzt kommt keine Meldung mehr das die Maschine an ist, komisch.

                            Sobald sie fertig ist kommt ständig die Meldung mit der Leistung der Maschine :?:

                            17:48:25.177	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine2.09
                            17:51:07.867	[info]	javascript.0 Stop script script.js.Waschmaschine_Rantanplan
                            17:51:07.956	[info]	javascript.0 Start javascript script.js.Waschmaschine_Rantanplan
                            17:51:07.956	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: registered 13 subscriptions and 9 schedules
                            17:51:11.233	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine0.09
                            17:58:02.955	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine0.08
                            

                            Jetzt Waschmaschine neu gestartet, dann das. State ist true

                            17:58:50.698	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine11.47
                            17:58:50.699	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            17:58:58.693	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine60.47
                            17:59:06.753	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine63.25
                            17:59:06.753	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            17:59:23.683	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine67.39
                            17:59:31.699	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine72.71
                            17:59:31.699	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            17:59:39.681	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine76.03
                            17:59:47.699	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine96.58
                            17:59:47.699	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            17:59:55.708	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine102.92
                            18:00:03.747	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine119.14
                            18:00:03.748	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            18:00:11.681	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine2.45
                            18:00:27.705	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine17.78
                            18:00:35.724	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine122.8
                            18:00:35.724	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            18:00:37.177	[info]	javascript.0 Stop script script.js.Waschmaschine_Rantanplan
                            18:00:37.237	[info]	javascript.0 Start javascript script.js.Waschmaschine_Rantanplan
                            18:00:37.237	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Leistung Waschmaschine122.8
                            18:00:37.238	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: registered 13 subscriptions and 9 schedules
                            18:00:51.701	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            18:00:59.670	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            18:01:29.680	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            18:01:45.864	[info]	javascript.0 script.js.Waschmaschine_Rantanplan: Waschmaschine läuft
                            

                            Mod Edit : Log in code block bitte !

                            1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators last edited by

                              @totocotonio:

                              Jetzt Waschmaschine neu gestartet, dann das. State ist true `

                              das stimm schomal nicht er sollte unwahr sein wen die machine angelaufen ist, stehen jetzt mehrere blocklys mal bitten:

                              • dein jetziges blockly posten (screen und export)
                              1 Reply Last reply Reply Quote 0
                              • totocotonio
                                totocotonio last edited by

                                ! ````
                                <block xmlns="http://www.w3.org/1999/xhtml" type="procedures_callnoreturn" id="IVHR(]?K6E(XAH3iw`" x="162.5999755859375" y="-187"><mutation name="Melden"><arg name="Meldetext"></arg></mutation>
                                <value name="ARG0"><block type="text_join" id="93tj,#+Z4-mx=Fv_Ve0Q"><mutation items="2"></mutation>
                                <value name="ADD0"><block type="text" id="ln:{E)TNG?6tAh1bOVh)"><field name="TEXT">Leistung Waschmaschine</field></block></value>
                                <value name="ADD1"><block type="get_value" id="!yLn|?I4;qOFtJ3Ga2hW"><field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></block></value></block>

                                
                                 ![1626_aktuellles_blockly.png](/assets/uploads/files/1626_aktuellles_blockly.png) 
                                
                                Hier die geforderten Daten.
                                
                                Bitte um Hilfe
                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  @totocotonio:

                                  ! ````
                                  <block xmlns="http://www.w3.org/1999/xhtml" type="procedures_callnoreturn" id="IVHR(]?K6E(XAH3iw`" x="162.5999755859375" y="-187"><mutation name="Melden"><arg name="Meldetext"></arg></mutation>
                                  <value name="ARG0"><block type="text_join" id="93tj,#+Z4-mx=Fv_Ve0Q"><mutation items="2"></mutation>
                                  <value name="ADD0"><block type="text" id="ln:{E)TNG?6tAh1bOVh)"><field name="TEXT">Leistung Waschmaschine</field></block></value>
                                  <value name="ADD1"><block type="get_value" id="!yLn|?I4;qOFtJ3Ga2hW"><field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></block></value></block>

                                  
                                  aktuellles blockly.png
                                  
                                  Hier die geforderten Daten.
                                  
                                  Bitte um Hilfe `  
                                  

                                  da fehlt was in deinem export 🙂 sieht so aus als ob nur ein block exportiert worden ist anstatt alles…

                                  Ich sehe so schnell kein fehler im script, mal ausgeschrieben:

                                  [situation 1]

                                  • Wen der wert power > 5 ist und waschmachine fertig = wahr, dan setze wert auf unwahr und sende sayit text

                                  [dieser teil functioniert auch nicht mehr ?]

                                  [situation 2]

                                  • wen der wert jetzt < 2.5 wird und check_ready variable = unwahr, dan setze variable auf wahr und starte time fuer sayit waschmachine ist aus

                                  [situation 3]

                                  • wen der wert jetzt wieder >5 und die variable fuer den time ist wahr, dan resette den timer wieder

                                  Ich sehe auch keine debug bloecke, als wo kommen da jetzt die werte her aus deinem post ? Laeuft da eventuel noch ein 2tes script ?

                                  ich kappier vor allem nicht das: "Jetzt Waschmaschine neu gestartet, dann das. State ist true" da genau dieser wert ja auf unwahr gehen muesste wen die waschmachine wieder angelaufen ist

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

                                    Hallo,

                                    ich habe nur dieses Script am laufen.

                                    Die Werte habe ich mitgeloggt aber nicht exportiert

                                    Auch den Melden Block habe ich nicht exportiert, der tut ja nichts zu Sache

                                    Ich habe die Waschmaschine gestartet und wie die im Log gesehen hast, kommt die Meldung das

                                    die Maschine läuft aber der State war "true". Keine Ahnung warum.

                                    Es kam ständig die Meldung "Waschmaschine läuft"

                                    Hier mal der Mitschnitt in Telegramm, dann musste ich das Script schließen, denn die Meldungen hörten nicht auf.

                                    ! Leistung Waschmaschine0.09 ! Leistung Waschmaschine0.08 ! Leistung Waschmaschine11.47 ! Waschmaschine läuft ! Waschmaschine läuft ! Leistung Waschmaschine60.47 ! Waschmaschine läuft ! Leistung Waschmaschine63.25 ! Waschmaschine läuft ! Leistung Waschmaschine67.39 ! Leistung Waschmaschine72.71 ! Waschmaschine läuft ! Waschmaschine läuft ! Leistung Waschmaschine76.03 ! Waschmaschine läuft ! Leistung Waschmaschine96.58 ! Waschmaschine läuft ! Leistung Waschmaschine102.92 ! Leistung Waschmaschine119.14 ! Waschmaschine läuft ! Leistung Waschmaschine2.45 ! Waschmaschine läuft ! Leistung Waschmaschine17.78 ! Leistung Waschmaschine122.8 ! Waschmaschine läuft ! Leistung Waschmaschine122.8 ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft ! Waschmaschine läuft !

                                    1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators last edited by

                                      exportiere mal bitte das komplette script da ist irgendwas faul

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

                                        Ok,danke mache ich heute Abend wenn

                                        ich von der Arbeit zurück bin.

                                        Ich kann doch nur exportieren klicken, dann müsste er doch alle Blöcke exportieren oder

                                        muss ich die irgendwie alle auswählen.

                                        1 Reply Last reply Reply Quote 0
                                        • Dutchman
                                          Dutchman Developer Most Active Administrators last edited by

                                          @totocotonio:

                                          Ok,danke mache ich heute Abend wenn

                                          ich von der Arbeit zurück bin.

                                          Ich kann doch nur exportieren klicken, dann müsste er doch alle Blöcke exportieren oder

                                          muss ich die irgendwie alle auswählen. `

                                          wen du einen selectiert exportiert er nur diesen, das ist glaube ich bei deinen vorige export passiert ich bekommen naemlich nur die funtion 🙂

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

                                            ! ````
                                            <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly" x="-737" y="-162"><mutation items="1"></mutation>
                                            <field name="CONDITION">ne</field>

                                            <value name="OID0"><shadow type="field_oid" id="@Uda~stBc8L/=2DFzrvo"><field name="oid">hm-rpc.0.KEQ0964000.2.POWER</field></shadow></value> 
                                            <statement name="STATEMENT"><block type="controls_if" id="Z5|[vDkx-;wE)n{g3h5A"><mutation elseif="2"></mutation>
                                                <value name="IF0"><block type="logic_operation" id="NOVG1{{6R.;TAAh#v:UO" inline="false"><field name="OP">AND</field>
                                                    <value name="A"><block type="logic_compare" id="RDf^,X[TFQ#jOw9*+|a|"><field name="OP">GT</field>
                                                        <value name="A"><block type="get_value" id="Y}z?|,]x;.[Y?nmoB_s/"><field name="ATTR">val</field>
                                                            <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                                        <value name="B"><block type="math_number" id="+|Yj%~7wLv8n4e4dH./g"><field name="NUM">5</field></block></value></block></value> 
                                                    <value name="B"><block type="logic_compare" id=")}{w;ZbwB)k3txT,A;=#"><field name="OP">EQ</field>
                                                        <value name="A"><block type="get_value" id="@c(1!S?xMk}JGgK|bGlx"><field name="ATTR">val</field>
                                                            <field name="OID">javascript.0.WaschmaschineFertig</field></block></value> 
                                                        <value name="B"><block type="logic_boolean" id="z_W;~p[!3,i7T%Fz9ta."><field name="BOOL">TRUE</field></block></value></block></value></block></value> 
                                                <statement name="DO0"><block type="comment" id="AQ2D[:gclugPLA1/8}x!"><field name="COMMENT">Waschgang beginnt</field>
                                                    <next><block type="control" id="TZy1bs~cU0]#Q/llGnxT"><mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.WaschmaschineFertig</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE"><block type="logic_boolean" id="G/q*p]xf4ro}^~?xKTM:"><field name="BOOL">FALSE</field></block></value> 
                                                        <next><block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> 
                                                            <value name="ARG0"><block type="text" id="{QcAY3oi:,FGG.929?TS"><field name="TEXT">Waschmaschine läuft</field></block></value></block></next></block></next></block></statement> 
                                                <value name="IF1"><block type="logic_operation" id="@{7k94li-JxVqj@t@gQ!" inline="false"><field name="OP">AND</field>
                                                    <value name="A"><block type="logic_compare" id="C0*35eawvw`t+v-WVWP@"><field name="OP">GT</field>
                                                        <value name="A"><block type="get_value" id="8R*A2%8%:I8t3Kix6XO+"><field name="ATTR">val</field>
                                                            <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                                        <value name="B"><block type="math_number" id="{Kw5XA/x9p0{z4yQ_6r3"><field name="NUM">5</field></block></value></block></value> 
                                                    <value name="B"><block type="logic_compare" id="7Uc{g8acG,c-8t`{]:L)"><field name="OP">EQ</field>
                                                        <value name="A"><block type="variables_get" id="kY*iz1~X^Xd2p.8hJM)D"><field name="VAR">check_ready</field></block></value> 
                                                        <value name="B"><block type="logic_boolean" id=",I1.9I/cktHnk%W9z-xj"><field name="BOOL">TRUE</field></block></value></block></value></block></value> 
                                                <statement name="DO1"><block type="comment" id="HQL/_vWme!|w^~@lTM`U"><field name="COMMENT">Power war schon mal unter 2.5</field>
                                                    <next><block type="comment" id="kL+[~..qKXP923)-(QTH"><field name="COMMENT">Timer wieder stoppen</field>
                                                        <next><block type="timeouts_cleartimeout" id="CUH4u1*~,d8@=rn|d[-t"><field name="NAME">ready</field>
                                                            <next><block type="variables_set" id="Mpln]FVs06lI17me1NW0"><field name="VAR">check_ready</field>
                                                                <value name="VALUE"><block type="logic_boolean" id="MNwyF2ChG*X{lSgp0Rq4"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></statement> 
                                                <value name="IF2"><block type="logic_operation" id="ITf[:#D]rT*N(OE9k(])" inline="false"><field name="OP">AND</field>
                                                    <value name="A"><block type="logic_compare" id="TpC0To:j6|8MzRy1.f2k"><field name="OP">LT</field>
                                                        <value name="A"><block type="get_value" id="T=u6bL/a/n!;dBAIYw6}"><field name="ATTR">val</field>
                                                            <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value> 
                                                        <value name="B"><block type="math_number" id="G7qj]rc!Em08Z:ZUsn5x"><field name="NUM">2.5</field></block></value></block></value> 
                                                    <value name="B"><block type="logic_operation" id="t|X/`_5/NFsnY4Ej!p1@" inline="false"><field name="OP">AND</field>
                                                        <value name="A"><block type="logic_compare" id="8rTp8F1^XtG_[nleJ@G3"><field name="OP">EQ</field>
                                                            <value name="A"><block type="get_value" id="e,Ywtew-),wrj7KJ4W]Y"><field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.WaschmaschineFertig</field></block></value> 
                                                            <value name="B"><block type="logic_boolean" id="-RVml^-rH[c*)cCu4}oV"><field name="BOOL">FALSE</field></block></value></block></value> 
                                                        <value name="B"><block type="logic_compare" id="}C@yU^z*.TPRlSzP6+05"><field name="OP">EQ</field>
                                                            <value name="A"><block type="variables_get" id="Rf}b@/f5qTJELOy92#:g"><field name="VAR">check_ready</field></block></value> 
                                                            <value name="B"><block type="logic_boolean" id="Qz}!muDx94x=?b`A/nhO"><field name="BOOL">FALSE</field></block></value></block></value></block></value></block></value> 
                                                <statement name="DO2"><block type="comment" id="G~cT}m2_UG;fFEXQywAM"><field name="COMMENT">Power geht unter 2.5</field>
                                                    <next><block type="variables_set" id="@7_1gL2z!VBA_Phg+5]B"><field name="VAR">check_ready</field>
                                                        <value name="VALUE"><block type="logic_boolean" id="4R2+st0_Td6FV?D[GPve"><field name="BOOL">TRUE</field></block></value> 
                                                        <next><block type="timeouts_cleartimeout" id="`4wEif?i7xM%Wty}?F*L"><field name="NAME">ready</field>
                                                            <next><block type="timeouts_settimeout" id=";F~?;,Bq-Lq[ShIwPxcD"><field name="NAME">ready</field>
                                                                <field name="DELAY">5</field>
                                                                <field name="UNIT">min</field>
                                                                <statement name="STATEMENT"><block type="control" id="TW.9Qyp_]qo(-{!4/W`6"><mutation delay_input="false"></mutation>
                                                                    <field name="OID">javascript.0.WaschmaschineFertig</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE"><block type="logic_boolean" id="@ue~G;yl^o]24s](g]`5"><field name="BOOL">TRUE</field></block></value> 
                                                                    <next><block type="procedures_callnoreturn" id="B`l`+_QZ59(g^%)j}HaL"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> 
                                                                        <value name="ARG0"><block type="text" id="(]@zEC}t.vRad}u(e.jr"><field name="TEXT">Die Waschmaschine ist fertig</field></block></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></statement></block> 
                                            

                                            <block type="procedures_callnoreturn" id="IVHR(]?K6E(XAH3iw" x="163" y="-187"><mutation name="Melden"><arg name="Meldetext"></arg></mutation> <value name="ARG0"><block type="text_join" id="93tj,#+Z4-mx=Fv_Ve0Q"><mutation items="2"></mutation> <value name="ADD0"><block type="text" id="ln:{E)TNG?6tAh1bOVh)"><field name="TEXT">Leistung Waschmaschine</field></block></value> <value name="ADD1"><block type="get_value" id="!yLn|?I4;qOFtJ3Ga2hW"><field name="ATTR">val</field> <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></block></value></block> <block type="procedures_defnoreturn" id="l1.gmYNTt2#Ww;_Stf+" x="38" y="-13"><mutation><arg name="Meldetext"></arg></mutation>
                                            <field name="NAME">Melden</field>
                                            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                            <statement name="STACK"><block type="telegram" id="qeXSX4ZqV)9r]%/aF^c-"><value name="MESSAGE"><shadow type="text" id="B[gXJTVryMHY0%3dMM-V"><field name="TEXT">text</field></shadow>
                                            <block type="variables_get" id="Vv@sYq]5EIaZ7]yd2=,U"><field name="VAR">Meldetext</field></block></value>
                                            <next><block type="sayit" id="OBX-i}?Pff]w@CV,gAOQ"><field name="INSTANCE">.0</field>
                                            <field name="LANGUAGE">de</field>

                                                    <value name="MESSAGE"><shadow type="text" id="H?c?t#M!gEg`p~A-}D)p"><field name="TEXT">text</field></shadow> 
                                                      <block type="variables_get" id="vb*+mV[r3)ql7(BL,uDu"><field name="VAR">Meldetext</field></block></value> 
                                                    <next><block type="debug" id="SYQu;@N0JgE!W~[JZcZ_"><field name="Severity">log</field>
                                                        <value name="TEXT"><shadow type="text" id="4+J8c.^+FrkDV^]dAda-"><field name="TEXT">test</field></shadow> 
                                                          <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR"><field name="VAR">Meldetext</field></block></value></block></next></block></next></block></statement></block></xml> 
                                            
                                             ![1626_blockly_waschmaschine.png](/assets/uploads/files/1626_blockly_waschmaschine.png) 
                                            
                                            So, nun noch einmal der Code.
                                            
                                            Hoffe das ich jetzt alles habe.
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            823
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            153
                                            26113
                                            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