nurChrisYT

WaMa1

Jan 18th, 2020
3,935
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.99 KB | None | 0 0
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <variables>
  3. <variable type="" id="Hhe!Hg(xh7gHuy(6hLlx">WaMa_EinAus</variable>
  4. <variable type="undefined" id="timeout2">timeout2</variable>
  5. </variables>
  6. <block type="variables_set" id="i@;~wXOo)(5+=$*9v:QF" x="13" y="13">
  7. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  8. <value name="VALUE">
  9. <block type="logic_boolean" id="stD7DD67D[4(YSQ3dCvR">
  10. <field name="BOOL">FALSE</field>
  11. </block>
  12. </value>
  13. <next>
  14. <block type="on_ext" id="%l??Ns0%ZOhlZQJn)RIY">
  15. <mutation items="1"></mutation>
  16. <field name="CONDITION">ne</field>
  17. <field name="ACK_CONDITION"></field>
  18. <value name="OID0">
  19. <shadow type="field_oid" id="8p+iN2CjzC1M$2o|Xq=m">
  20. <field name="oid">sonoff.0.SP1_WaMa_4966_109.ENERGY_Power</field>
  21. </shadow>
  22. </value>
  23. <statement name="STATEMENT">
  24. <block type="controls_if" id="-4y,4m5H6`8[U,UjJH(0">
  25. <mutation elseif="1"></mutation>
  26. <value name="IF0">
  27. <block type="logic_operation" id="-^U__L=#GGG_LD~6o~hg" inline="false">
  28. <field name="OP">AND</field>
  29. <comment pinned="false" h="90" w="276">Falls Maschinengang erkannt (Wattzahl &gt;10) UND Modus ist auf falsch dann starte und schreibe den aktuellen verbrauch in DP</comment>
  30. <value name="A">
  31. <block type="logic_compare" id="-%Kg)H+S;{}Yyd@cqe=l">
  32. <field name="OP">GTE</field>
  33. <value name="A">
  34. <block type="on_source" id="QS5)==Ahwtfe.nNTl`R@">
  35. <field name="ATTR">state.val</field>
  36. </block>
  37. </value>
  38. <value name="B">
  39. <block type="math_number" id="OT1x**T)z3hCtGxhqDDI">
  40. <field name="NUM">10</field>
  41. </block>
  42. </value>
  43. </block>
  44. </value>
  45. <value name="B">
  46. <block type="logic_compare" id=",LW+*+gUB/lbO[yiNJdv">
  47. <field name="OP">EQ</field>
  48. <value name="A">
  49. <block type="variables_get" id="[$/1md}o9xogfLp*!}WA">
  50. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  51. </block>
  52. </value>
  53. <value name="B">
  54. <block type="logic_boolean" id="V}KP*,b;J,.3q802Q0l^">
  55. <field name="BOOL">FALSE</field>
  56. </block>
  57. </value>
  58. </block>
  59. </value>
  60. </block>
  61. </value>
  62. <statement name="DO0">
  63. <block type="variables_set" id="HHIFm}6:*U#VVrIRv7e|">
  64. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  65. <value name="VALUE">
  66. <block type="logic_boolean" id="%.`!o$LmcZOm0##5WWoJ">
  67. <field name="BOOL">TRUE</field>
  68. </block>
  69. </value>
  70. </block>
  71. </statement>
  72. <value name="IF1">
  73. <block type="logic_operation" id="[:7QWv4Op8S6o@lG45(y" inline="false">
  74. <field name="OP">AND</field>
  75. <comment pinned="false" h="94" w="164">Falls Verbrauch unter 3 Watt fällt und der Modus ist Wahr dann beende den Waschmodus.</comment>
  76. <value name="A">
  77. <block type="logic_compare" id="igy_8vlVI|k$sL-O!_Ya">
  78. <field name="OP">EQ</field>
  79. <value name="A">
  80. <block type="on_source" id="oKi^o%$Qa%i0^MVE?s)Y">
  81. <field name="ATTR">state.val</field>
  82. </block>
  83. </value>
  84. <value name="B">
  85. <block type="math_number" id="*bx}yjZ_C7J2#/$NzLoS">
  86. <field name="NUM">0</field>
  87. </block>
  88. </value>
  89. </block>
  90. </value>
  91. <value name="B">
  92. <block type="logic_compare" id="}A,!m2TVXL.^LQWg%!e|">
  93. <field name="OP">EQ</field>
  94. <value name="A">
  95. <block type="variables_get" id="r/rnzWL?1!/.2!+pr@5(">
  96. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  97. </block>
  98. </value>
  99. <value name="B">
  100. <block type="logic_boolean" id="S,c^%F*KOd(.(Q(BL!=g">
  101. <field name="BOOL">TRUE</field>
  102. </block>
  103. </value>
  104. </block>
  105. </value>
  106. </block>
  107. </value>
  108. <statement name="DO1">
  109. <block type="variables_set" id="vj!Vu=sDr5yt.:ZU#OfU">
  110. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  111. <value name="VALUE">
  112. <block type="logic_boolean" id="5xCJ(QRB3mIo5.*f1Fsg">
  113. <field name="BOOL">FALSE</field>
  114. </block>
  115. </value>
  116. <next>
  117. <block type="debug" id="~(eEE8/,iS{wG@j0X)TU">
  118. <field name="Severity">log</field>
  119. <value name="TEXT">
  120. <shadow type="text" id="3K0c5WSS9VmMq/XFB(e9">
  121. <field name="TEXT">test</field>
  122. </shadow>
  123. <block type="text_join" id="2xby$^zDuX^$?-Yp2~k,">
  124. <mutation items="2"></mutation>
  125. <value name="ADD0">
  126. <block type="text" id="L6trfC]%tV;Q1#[_3UQJ">
  127. <field name="TEXT">Status Waschmaschine Ein/Aus ist: </field>
  128. </block>
  129. </value>
  130. <value name="ADD1">
  131. <block type="variables_get" id="mN7^USWq(%,us)OL?!1#">
  132. <field name="VAR" id="Hhe!Hg(xh7gHuy(6hLlx" variabletype="">WaMa_EinAus</field>
  133. </block>
  134. </value>
  135. </block>
  136. </value>
  137. <next>
  138. <block type="timeouts_settimeout" id=",NjGW@Wtt+n7RKNkcxK!">
  139. <field name="NAME">timeout2</field>
  140. <field name="DELAY">5</field>
  141. <field name="UNIT">sec</field>
  142. <statement name="STATEMENT">
  143. <block type="telegram" id=":)Sqh|eio_J%+h7Q@6nJ">
  144. <field name="INSTANCE"></field>
  145. <field name="LOG"></field>
  146. <field name="SILENT">FALSE</field>
  147. <field name="PARSEMODE">default</field>
  148. <value name="MESSAGE">
  149. <shadow type="text" id="zaE.r=+WylppU_4Nmdx~">
  150. <field name="TEXT">Waschmaschine ist fertig</field>
  151. </shadow>
  152. <block type="text_join" id="3,~.TJZeugM.!B%S1^X}">
  153. <mutation items="2"></mutation>
  154. <value name="ADD0">
  155. <block type="text" id="|9?4%ic*sy2}Q088ry:q">
  156. <field name="TEXT">Wama1: Die Waschmaschine ist Fertig.</field>
  157. </block>
  158. </value>
  159. <value name="ADD1">
  160. <block type="time_get" id="a?D^RPe+s+Si=*kkfgj[">
  161. <mutation format="true" language="false"></mutation>
  162. <field name="OPTION">custom</field>
  163. <field name="FORMAT">\n</field>
  164. </block>
  165. </value>
  166. </block>
  167. </value>
  168. <value name="USERNAME">
  169. <block type="text" id="ClQ#mBX9^]LxIc[8FtLL">
  170. <field name="TEXT">Chris</field>
  171. </block>
  172. </value>
  173. </block>
  174. </statement>
  175. </block>
  176. </next>
  177. </block>
  178. </next>
  179. </block>
  180. </statement>
  181. </block>
  182. </statement>
  183. </block>
  184. </next>
  185. </block>
  186. </xml>
Advertisement
Add Comment
Please, Sign In to add comment