Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Nochmal Waschmaschine (Blockly)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    712

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Nochmal Waschmaschine (Blockly)

Scheduled Pinned Locked Moved Skripten / Logik
153 Posts 18 Posters 34.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DutchmanD Offline
    DutchmanD Offline
    Dutchman
    Developer Most Active Administrators
    wrote on last edited by
    #60

    @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
    0
    • totocotonioT Offline
      totocotonioT Offline
      totocotonio
      wrote on last edited by
      #61

      ! ````
      <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

      Gruß Totocotonio

      Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

      1 Reply Last reply
      0
      • DutchmanD Offline
        DutchmanD Offline
        Dutchman
        Developer Most Active Administrators
        wrote on last edited by
        #62

        @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
        0
        • totocotonioT Offline
          totocotonioT Offline
          totocotonio
          wrote on last edited by
          #63

          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 !

          Gruß Totocotonio

          Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

          1 Reply Last reply
          0
          • DutchmanD Offline
            DutchmanD Offline
            Dutchman
            Developer Most Active Administrators
            wrote on last edited by
            #64

            exportiere mal bitte das komplette script da ist irgendwas faul

            1 Reply Last reply
            0
            • totocotonioT Offline
              totocotonioT Offline
              totocotonio
              wrote on last edited by
              #65

              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.

              Gruß Totocotonio

              Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

              1 Reply Last reply
              0
              • DutchmanD Offline
                DutchmanD Offline
                Dutchman
                Developer Most Active Administrators
                wrote on last edited by
                #66

                @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
                0
                • totocotonioT Offline
                  totocotonioT Offline
                  totocotonio
                  wrote on last edited by
                  #67

                  ! ````
                  <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.

                  Gruß Totocotonio

                  Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                  1 Reply Last reply
                  0
                  • rantanplanR Offline
                    rantanplanR Offline
                    rantanplan
                    wrote on last edited by
                    #68

                    Hmm, bin etwas ratlos :(

                    Beobachte mal die Variable "WaschmaschineFertig" Bleibt die auf den Status True ?

                    Ich habe hier mal den Meldetext etwas erweitert.

                    ! ````
                    <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_join" id="]VT9FNVk`pS5#Pk9_mRR"><mutation items="3"></mutation>
                                        <value name="ADD0"><block type="text" id="{QcAY3oi:,FGG.929?TS"><field name="TEXT">Waschmaschine läuft</field></block></value> 
                                        <value name="ADD1"><block type="text" id="t-]|nx8Dr4=#oNBg{nr#"><field name="TEXT"> Power=</field></block></value> 
                                        <value name="ADD2"><block type="get_value" id="@TX(b[*}rDsMeInQdE^w"><field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></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_join" id="w[L3_.p||Ib9zKIy46Ri"><mutation items="3"></mutation>
                                                    <value name="ADD0"><block type="text" id="(]@zEC}t.vRad}u(e.jr"><field name="TEXT">Die Waschmaschine ist fertig</field></block></value> 
                                                    <value name="ADD1"><block type="text" id="L1~*+tMXtluadyiu7av)"><field name="TEXT"> Power=</field></block></value> 
                                                    <value name="ADD2"><block type="get_value" id="831j%M^pYMDO*ap-DAxy"><field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.0.KEQ0964000.2.POWER</field></block></value></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" disabled="true" x="38" y="-112"><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> 
                    

                    ! ````

                    Grüße

                    Rantanplan

                    CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                    1 Reply Last reply
                    0
                    • totocotonioT Offline
                      totocotonioT Offline
                      totocotonio
                      wrote on last edited by
                      #69

                      Hi,

                      Waschmaschine gerade gestartet.

                      Kein Telegramm , kein Saying.

                      State= false

                      sayit.0	2017-11-09 19:00:45.168	error	null
                      sayit.0	2017-11-09 19:00:45.163	info	Copied file "/opt/iobroker/node_modules/iobroker.sayit/lib/../say.mp3" to "/opt/iobroker/cache/4e5d74dc5f642dd0d794de1b460e9b41.mp3"
                      sayit.0	2017-11-09 19:00:44.802	info	saying: Waschmaschine läuft Power=11.58
                      sayit.0	2017-11-09 19:00:43.773	info	saying: /opt/iobroker/node_modules/iobroker.sayit/gong.mp3
                      javascript.0	2017-11-09 19:00:43.755	info	script.js.aktwaschmaschninerantanplan: Waschmaschine läuft Power=11.58
                      

                      Alles neu gestartet.

                      Jetzt kam ein saying aber kein telegramm.

                      Telegramm Bot , neu getartet mal sehen was passiert wenn die Maschine fertig ist.

                      Gruß Totocotonio

                      Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                      1 Reply Last reply
                      0
                      • totocotonioT Offline
                        totocotonioT Offline
                        totocotonio
                        wrote on last edited by
                        #70

                        Hi,

                        so der Waschgang wurde beendet. Habe 10 Minten gewartet.

                        Leistung 2,13 Watt.

                        State ist immer noch false.

                        Kein Telegramm, kein Saying

                        Gruß Totocotonio

                        Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                        1 Reply Last reply
                        0
                        • DutchmanD Offline
                          DutchmanD Offline
                          Dutchman
                          Developer Most Active Administrators
                          wrote on last edited by
                          #71

                          @totocotonio:

                          Hi,

                          so der Waschgang wurde beendet. Habe 10 Minten gewartet.

                          Leistung 2,13 Watt.

                          State ist immer noch false.

                          Kein Telegramm, kein Saying `

                          passiert was en du den state manuell auf true setzt ? ich moechte mal wissen ob das script ueberhaupt noch was macht (btw: anstatt auf waschmachine zu warten kannst du auch mal schnell nen staubsauger nehmen :)

                          1 Reply Last reply
                          0
                          • totocotonioT Offline
                            totocotonioT Offline
                            totocotonio
                            wrote on last edited by
                            #72

                            Hi,

                            wenn ich den Script auf true setzte, dann kommt die Meldung per sayit und telgramm mit Waschmaschine läuft.

                            power…

                            State springt direkt wieder auf false.

                            Gruß Totocotonio

                            Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                            1 Reply Last reply
                            0
                            • DutchmanD Offline
                              DutchmanD Offline
                              Dutchman
                              Developer Most Active Administrators
                              wrote on last edited by
                              #73

                              @totocotonio:

                              Hi,

                              wenn ich den Script auf true setzte, dann kommt die Meldung per sayit und telgramm mit Waschmaschine läuft.

                              power…

                              State springt direkt wieder auf false. `

                              jetzt mal in meine worten:

                              • Du setzt manuel den datenpunkt (also nicht script ) auf true

                              • du sorgst dafuer das ein verbraucher >5 watt zieht

                              • sayit geht und der datenpunkt springt auf false

                              richtig ?

                              Und nac 5 minuten kommt keine meldung waschmaschine fertig und state bleibt false ?

                              1 Reply Last reply
                              0
                              • totocotonioT Offline
                                totocotonioT Offline
                                totocotonio
                                wrote on last edited by
                                #74

                                Hi,

                                ja genau so wars es.

                                Habe jetzt nochmal eine Kurzwäsche gemacht (Jetzt ist die Wäsche weg)

                                Telegram Waschmaschine läuft kam, saying nicht.

                                Waschmaschine fertig, nichts kam , State false

                                Bin jetzt ratlos. Für heute bin ich fertig.

                                Vielleicht kannst du mir helfen.

                                Morgen würde ich dann den Staubsauger nehmen(gute Idee) :lol: Dann ist die Wohnung auch sauber.

                                Gruß Totocotonio

                                Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                                1 Reply Last reply
                                0
                                • DutchmanD Offline
                                  DutchmanD Offline
                                  Dutchman
                                  Developer Most Active Administrators
                                  wrote on last edited by
                                  #75

                                  @totocotonio:

                                  Morgen würde ich dann den Staubsauger nehmen(gute Idee) :lol: Dann ist die Wohnung auch sauber. `

                                  Lol ich sehe den Fehler nicht aber werde nochmal in Ruhe drüber schauen

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

                                  Send from mobile device

                                  1 Reply Last reply
                                  0
                                  • totocotonioT Offline
                                    totocotonioT Offline
                                    totocotonio
                                    wrote on last edited by
                                    #76

                                    1626_state.png

                                    Das ist das Objekt das ich manuell angelegt hatte,

                                    das scheint i.O. zu sein.

                                    Gruß Totocotonio

                                    Bin noch Anfänger in Sachen IO-Broker und lerne gerne dazu. :P

                                    1 Reply Last reply
                                    0
                                    • rantanplanR Offline
                                      rantanplanR Offline
                                      rantanplan
                                      wrote on last edited by
                                      #77

                                      Wähle Deine Datenpunkte nochmal im Blockly explizit aus.

                                      Vielleicht ist bei dem ganz Ex- und Import was schief gelaufen.

                                      Rantanplan

                                      CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                      1 Reply Last reply
                                      0
                                      • rantanplanR Offline
                                        rantanplanR Offline
                                        rantanplan
                                        wrote on last edited by
                                        #78

                                        EDIT: Es gab noch Probleme beim Einschalten einiger Geräte. Neue Version weiter unten.

                                        Bild und Export habe ich hier gelöscht.

                                        Hallo

                                        Ich wollte sowieso mal unsere Waschmaschine überwachen.

                                        Habe das alles mal etwas zusammengerafft.

                                        ACHTUNG!!

                                        Die Logik hat sich zum Blockly von totocotonio geändert.

                                        Bei mir geht das über die Variable "WaschmaschineAN".

                                        Das hat eine umgekehrte Logik zu "WaschmaschineFertig"

                                        (WaschmaschineFertig = wahr bedeutet bei mir WaschmaschineAN = unwahr)

                                        "WaschmaschineAN" dient bei mir nur der Visualisierung.

                                        Die POWER Werte und Länge des Timeouts muss man an seine Waschmaschine anpassen.

                                        Habe auch noch ein bisschen aus der "Trickkiste" reingepackt. Ihr wollt ja lernen. ;)

                                        Grüße

                                        Rantanplan

                                        CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                        1 Reply Last reply
                                        0
                                        • DutchmanD Offline
                                          DutchmanD Offline
                                          Dutchman
                                          Developer Most Active Administrators
                                          wrote on last edited by
                                          #79

                                          Zur Erklärung der trickkiste: die variabelen Wert und vorheriger Wert die rantanplan Benutzt sind die Werte des triggers.

                                          Dadurch erspart man sich den Block "Wert von object xxx"

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

                                          Send from mobile device

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          515

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe