Advertisement
nurChrisYT

Green Pulse with Red Flash

Jun 21st, 2019
1,303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.32 KB | None | 0 0
  1. <xml xmlns="http://www.w3.org/1999/xhtml">
  2. <variables>
  3. <variable type="" id="T~zKztob)wQ-mv7m2Tr(">Level1</variable>
  4. <variable type="" id="C,=klC./!_(YssEDv0?6">R1</variable>
  5. <variable type="" id="?H4Yj!?*P:|sm})?{13]">G1</variable>
  6. <variable type="" id="K0ou5R6:[5;,dhjW7SUv">B1</variable>
  7. <variable type="" id="K{?4#bzr.+f#L5?AX8tB">Transition1</variable>
  8. <variable type="" id="+)^vD*n~=BJ@-VxpLte-">Level2</variable>
  9. <variable type="" id="9Xla5v3/s-xQ}}ke6J|q">R2</variable>
  10. <variable type="" id="[*oVC,d1oN~pJ/PyW}mC">G2</variable>
  11. <variable type="" id="aO1)R*{-dnPFjya|O!c@">B2</variable>
  12. <variable type="" id="g@?3c$_Qo{`.wEOhI2hd">Transition2</variable>
  13. <variable type="undefined" id="Intervall">Intervall</variable>
  14. </variables>
  15. <block type="comment" id="_~4)pL@30m;-GE1cA.lc" x="63" y="-712">
  16. <field name="COMMENT">Green</field>
  17. <next>
  18. <block type="variables_set" id="moS5?u]Xp[BtXIAzZgH^">
  19. <field name="VAR" id="T~zKztob)wQ-mv7m2Tr(" variabletype="">Level1</field>
  20. <value name="VALUE">
  21. <block type="text" id="lfWhR8TfgQm/;g}ii^xM">
  22. <field name="TEXT">80</field>
  23. </block>
  24. </value>
  25. <next>
  26. <block type="variables_set" id="b~bF4Q(=@BH;gf=E;k-g">
  27. <field name="VAR" id="C,=klC./!_(YssEDv0?6" variabletype="">R1</field>
  28. <value name="VALUE">
  29. <block type="text" id="LV{wN`svnFUg.4XLyp#=">
  30. <field name="TEXT">67</field>
  31. </block>
  32. </value>
  33. <next>
  34. <block type="variables_set" id="5w*yfGLCY5h6jZ32p64}">
  35. <field name="VAR" id="?H4Yj!?*P:|sm})?{13]" variabletype="">G1</field>
  36. <value name="VALUE">
  37. <block type="text" id="sJrs!.;Ym=!{2}%Xwu*O">
  38. <field name="TEXT">177</field>
  39. </block>
  40. </value>
  41. <next>
  42. <block type="variables_set" id="H~;NPpYA34pv^p`i8(*!">
  43. <field name="VAR" id="K0ou5R6:[5;,dhjW7SUv" variabletype="">B1</field>
  44. <value name="VALUE">
  45. <block type="text" id="hVqSS)v3/fe/-7d:w3Vj">
  46. <field name="TEXT">126</field>
  47. </block>
  48. </value>
  49. <next>
  50. <block type="variables_set" id="~`1W@J7BFwGQ^FCunas.">
  51. <field name="VAR" id="K{?4#bzr.+f#L5?AX8tB" variabletype="">Transition1</field>
  52. <value name="VALUE">
  53. <block type="text" id="oM+Ca/j_.PUqg]sTDXCz">
  54. <field name="TEXT">25</field>
  55. </block>
  56. </value>
  57. <next>
  58. <block type="comment" id="@i;2e~kVq%ix3.eeSJd+">
  59. <field name="COMMENT">Red</field>
  60. <next>
  61. <block type="variables_set" id="=4drzO)_oF%Y9gE7ry:S">
  62. <field name="VAR" id="+)^vD*n~=BJ@-VxpLte-" variabletype="">Level2</field>
  63. <value name="VALUE">
  64. <block type="text" id="0sP;Sj^IBRjCL)QJJ!6]">
  65. <field name="TEXT">50</field>
  66. </block>
  67. </value>
  68. <next>
  69. <block type="variables_set" id=";XsGi2S/t)yt=7FFIQZ:">
  70. <field name="VAR" id="9Xla5v3/s-xQ}}ke6J|q" variabletype="">R2</field>
  71. <value name="VALUE">
  72. <block type="text" id="!Pc=_WVJ^?d~!S7THg}@">
  73. <field name="TEXT">254</field>
  74. </block>
  75. </value>
  76. <next>
  77. <block type="variables_set" id="O_yd?vA1v)=H%i1~Zi]T">
  78. <field name="VAR" id="[*oVC,d1oN~pJ/PyW}mC" variabletype="">G2</field>
  79. <value name="VALUE">
  80. <block type="text" id="Z`JkZ!i8`rN/q9Dj~^KN">
  81. <field name="TEXT">53</field>
  82. </block>
  83. </value>
  84. <next>
  85. <block type="variables_set" id="N)I^cIKmcZ7T`:UdK`-k">
  86. <field name="VAR" id="aO1)R*{-dnPFjya|O!c@" variabletype="">B2</field>
  87. <value name="VALUE">
  88. <block type="text" id="w/B?8],/5AG0ImuMinGw">
  89. <field name="TEXT">30</field>
  90. </block>
  91. </value>
  92. <next>
  93. <block type="variables_set" id="5-/XhO6R++^}hdwDjUn[">
  94. <field name="VAR" id="g@?3c$_Qo{`.wEOhI2hd" variabletype="">Transition2</field>
  95. <value name="VALUE">
  96. <block type="text" id="D8g2)oDK+xyL49Z}0|q-">
  97. <field name="TEXT">1</field>
  98. </block>
  99. </value>
  100. <next>
  101. <block type="comment" id="B?:`2P;FWJAg]:Gw:rIr">
  102. <field name="COMMENT">SCRIPT</field>
  103. <next>
  104. <block type="on" id="EzDL`5jMd8Qe?M:Cjq}W">
  105. <field name="OID">javascript.0.Eigene_Datenpunkte.HUE.GreenPulseWithRedFlashSW</field>
  106. <field name="CONDITION">any</field>
  107. <field name="ACK_CONDITION"></field>
  108. <statement name="STATEMENT">
  109. <block type="controls_if" id="2_-8jCb.s[0fL/chtuoh">
  110. <mutation elseif="1"></mutation>
  111. <value name="IF0">
  112. <block type="logic_compare" id="AH+BG?(meURiLE#HS)e2">
  113. <field name="OP">EQ</field>
  114. <value name="A">
  115. <block type="on_source" id="gKJd~(hC^N1Yp[qNYHE!">
  116. <field name="ATTR">state.val</field>
  117. </block>
  118. </value>
  119. <value name="B">
  120. <block type="logic_boolean" id="8;%4!x|?#SDNk?/[C)M^">
  121. <field name="BOOL">TRUE</field>
  122. </block>
  123. </value>
  124. </block>
  125. </value>
  126. <statement name="DO0">
  127. <block type="control" id="mlBGR?;yrfATWKG_{d*G">
  128. <mutation delay_input="true"></mutation>
  129. <field name="OID">hue.0.Philips_hue.INFO.command</field>
  130. <field name="WITH_DELAY">TRUE</field>
  131. <field name="DELAY_MS">100</field>
  132. <field name="UNIT">ms</field>
  133. <field name="CLEAR_RUNNING">FALSE</field>
  134. <value name="VALUE">
  135. <block type="text_join" id="Oo.6?JuYSUJq`P{L#ccz" collapsed="true">
  136. <mutation items="11"></mutation>
  137. <value name="ADD0">
  138. <block type="text" id="HVIQv:pSHXyRd8tktudw">
  139. <field name="TEXT">{"on":true,"level":</field>
  140. </block>
  141. </value>
  142. <value name="ADD1">
  143. <block type="variables_get" id="5`1/1{x2)t(s3H%@vNYx">
  144. <field name="VAR" id="T~zKztob)wQ-mv7m2Tr(" variabletype="">Level1</field>
  145. </block>
  146. </value>
  147. <value name="ADD2">
  148. <block type="text" id="b~s*_d{FMPdrhL.(JudH">
  149. <field name="TEXT">,"r":</field>
  150. </block>
  151. </value>
  152. <value name="ADD3">
  153. <block type="variables_get" id="]yy^!8dAsHPA`5HImuUE">
  154. <field name="VAR" id="C,=klC./!_(YssEDv0?6" variabletype="">R1</field>
  155. </block>
  156. </value>
  157. <value name="ADD4">
  158. <block type="text" id="{(6LOUpKVb%-7:t_=I90">
  159. <field name="TEXT">,"g":</field>
  160. </block>
  161. </value>
  162. <value name="ADD5">
  163. <block type="variables_get" id="}E:MitDrMy5K@?fnhWG-">
  164. <field name="VAR" id="?H4Yj!?*P:|sm})?{13]" variabletype="">G1</field>
  165. </block>
  166. </value>
  167. <value name="ADD6">
  168. <block type="text" id="#ZD.F*:A+a4fvq8x|zuB">
  169. <field name="TEXT">,"b":</field>
  170. </block>
  171. </value>
  172. <value name="ADD7">
  173. <block type="variables_get" id="50~P34=6r^o`oBBsk.%]">
  174. <field name="VAR" id="K0ou5R6:[5;,dhjW7SUv" variabletype="">B1</field>
  175. </block>
  176. </value>
  177. <value name="ADD8">
  178. <block type="text" id="hNKJzCy=6FHq+im/hUhN">
  179. <field name="TEXT">,"transitiontime":</field>
  180. </block>
  181. </value>
  182. <value name="ADD9">
  183. <block type="variables_get" id="uwglsYib(up.I]INFo{^">
  184. <field name="VAR" id="K{?4#bzr.+f#L5?AX8tB" variabletype="">Transition1</field>
  185. </block>
  186. </value>
  187. <value name="ADD10">
  188. <block type="text" id="8q@-[5Q9l}e[/OV5#;O|">
  189. <field name="TEXT">}</field>
  190. </block>
  191. </value>
  192. </block>
  193. </value>
  194. <next>
  195. <block type="control" id="_bbjQRH?5NCB_W!T?|%|">
  196. <mutation delay_input="true"></mutation>
  197. <field name="OID">hue.1.Philips_hue.INFO.command</field>
  198. <field name="WITH_DELAY">TRUE</field>
  199. <field name="DELAY_MS">4000</field>
  200. <field name="UNIT">ms</field>
  201. <field name="CLEAR_RUNNING">FALSE</field>
  202. <value name="VALUE">
  203. <block type="text_join" id="S]U}^{fd8AD[(od?DDl-" collapsed="true">
  204. <mutation items="11"></mutation>
  205. <value name="ADD0">
  206. <block type="text" id="1(O!=Z6mbH7pnic94RSl">
  207. <field name="TEXT">{"on":true,"level":</field>
  208. </block>
  209. </value>
  210. <value name="ADD1">
  211. <block type="variables_get" id="Tv;z(h!YC={U@1h~Xl3k">
  212. <field name="VAR" id="+)^vD*n~=BJ@-VxpLte-" variabletype="">Level2</field>
  213. </block>
  214. </value>
  215. <value name="ADD2">
  216. <block type="text" id="W?zpN`R:iRYmbbl?AUsO">
  217. <field name="TEXT">,"r":</field>
  218. </block>
  219. </value>
  220. <value name="ADD3">
  221. <block type="variables_get" id="_~5SYt0An!]nz8+5)o7`">
  222. <field name="VAR" id="9Xla5v3/s-xQ}}ke6J|q" variabletype="">R2</field>
  223. </block>
  224. </value>
  225. <value name="ADD4">
  226. <block type="text" id="Ukl`0]r7.XGMs|B|bbNl">
  227. <field name="TEXT">,"g":</field>
  228. </block>
  229. </value>
  230. <value name="ADD5">
  231. <block type="variables_get" id="ZRa%!o-Cu1*9l`y4]kTt">
  232. <field name="VAR" id="[*oVC,d1oN~pJ/PyW}mC" variabletype="">G2</field>
  233. </block>
  234. </value>
  235. <value name="ADD6">
  236. <block type="text" id="_R.`kk!/fX+RYGP2b4my">
  237. <field name="TEXT">,"b":</field>
  238. </block>
  239. </value>
  240. <value name="ADD7">
  241. <block type="variables_get" id="Q).|j3C!G5`TsY{!AR}M">
  242. <field name="VAR" id="aO1)R*{-dnPFjya|O!c@" variabletype="">B2</field>
  243. </block>
  244. </value>
  245. <value name="ADD8">
  246. <block type="text" id="7W0tWsNpaoIQcBN1nJR9">
  247. <field name="TEXT">,"transitiontime":</field>
  248. </block>
  249. </value>
  250. <value name="ADD9">
  251. <block type="variables_get" id="B16^Ni5g(us9JD9Q%qpC">
  252. <field name="VAR" id="g@?3c$_Qo{`.wEOhI2hd" variabletype="">Transition2</field>
  253. </block>
  254. </value>
  255. <value name="ADD10">
  256. <block type="text" id="{_[_3Axh=:)QEed*Q2{2">
  257. <field name="TEXT">}</field>
  258. </block>
  259. </value>
  260. </block>
  261. </value>
  262. <next>
  263. <block type="timeouts_clearinterval" id="NX}Uqxa}AHc*:+J~ebHz">
  264. <field name="NAME">Intervall</field>
  265. <next>
  266. <block type="timeouts_setinterval" id="S6dm3jbG]XG(IQ(ZHBZ(">
  267. <field name="NAME">Intervall</field>
  268. <field name="INTERVAL">4000</field>
  269. <field name="UNIT">ms</field>
  270. <statement name="STATEMENT">
  271. <block type="control" id="84l=EdP@`pe*y.NDhg_^">
  272. <mutation delay_input="true"></mutation>
  273. <field name="OID">hue.0.Philips_hue.INFO.command</field>
  274. <field name="WITH_DELAY">TRUE</field>
  275. <field name="DELAY_MS">100</field>
  276. <field name="UNIT">ms</field>
  277. <field name="CLEAR_RUNNING">FALSE</field>
  278. <value name="VALUE">
  279. <block type="text_join" id="a{A|M`2NpKZ3Nq!:b3)B" collapsed="true">
  280. <mutation items="11"></mutation>
  281. <value name="ADD0">
  282. <block type="text" id="}9ZW83LO|{[SPlM[x[Xt">
  283. <field name="TEXT">{"on":true,"level":</field>
  284. </block>
  285. </value>
  286. <value name="ADD1">
  287. <block type="variables_get" id="[y75`~rg/y3[cpiqN#x%">
  288. <field name="VAR" id="T~zKztob)wQ-mv7m2Tr(" variabletype="">Level1</field>
  289. </block>
  290. </value>
  291. <value name="ADD2">
  292. <block type="text" id="KrsTF=C3I?0!.[_e;}Tb">
  293. <field name="TEXT">,"r":</field>
  294. </block>
  295. </value>
  296. <value name="ADD3">
  297. <block type="variables_get" id=")JdWSj,Md6w0vRtYc4!l">
  298. <field name="VAR" id="C,=klC./!_(YssEDv0?6" variabletype="">R1</field>
  299. </block>
  300. </value>
  301. <value name="ADD4">
  302. <block type="text" id="e@-Y.]tpuxIacd.E}~7d">
  303. <field name="TEXT">,"g":</field>
  304. </block>
  305. </value>
  306. <value name="ADD5">
  307. <block type="variables_get" id="h[4jUYXdztyX1xS{]fkR">
  308. <field name="VAR" id="?H4Yj!?*P:|sm})?{13]" variabletype="">G1</field>
  309. </block>
  310. </value>
  311. <value name="ADD6">
  312. <block type="text" id="hMhNr?D8+vxu/dsGDfzS">
  313. <field name="TEXT">,"b":</field>
  314. </block>
  315. </value>
  316. <value name="ADD7">
  317. <block type="variables_get" id="Snw(tAR5NHv/e?A2QosE">
  318. <field name="VAR" id="K0ou5R6:[5;,dhjW7SUv" variabletype="">B1</field>
  319. </block>
  320. </value>
  321. <value name="ADD8">
  322. <block type="text" id="[V){W4)t1c@[Qax`Akv:">
  323. <field name="TEXT">,"transitiontime":</field>
  324. </block>
  325. </value>
  326. <value name="ADD9">
  327. <block type="variables_get" id="1.=m.AD5j}+s~I]D5#4B">
  328. <field name="VAR" id="K{?4#bzr.+f#L5?AX8tB" variabletype="">Transition1</field>
  329. </block>
  330. </value>
  331. <value name="ADD10">
  332. <block type="text" id="1zI{{|px%iYtak3+aK]1">
  333. <field name="TEXT">}</field>
  334. </block>
  335. </value>
  336. </block>
  337. </value>
  338. <next>
  339. <block type="control" id="ugHp25~@roZCO67d`l~o">
  340. <mutation delay_input="true"></mutation>
  341. <field name="OID">hue.1.Philips_hue.INFO.command</field>
  342. <field name="WITH_DELAY">TRUE</field>
  343. <field name="DELAY_MS">4000</field>
  344. <field name="UNIT">ms</field>
  345. <field name="CLEAR_RUNNING">FALSE</field>
  346. <value name="VALUE">
  347. <block type="text_join" id="[|Bfg-AW6Pm`X7ZyU].Y" collapsed="true">
  348. <mutation items="11"></mutation>
  349. <value name="ADD0">
  350. <block type="text" id="W2MQ#26]qMEa3!hRl=Jr">
  351. <field name="TEXT">{"on":true,"level":</field>
  352. </block>
  353. </value>
  354. <value name="ADD1">
  355. <block type="variables_get" id="49nLKitdod8i}ze.8ED!">
  356. <field name="VAR" id="+)^vD*n~=BJ@-VxpLte-" variabletype="">Level2</field>
  357. </block>
  358. </value>
  359. <value name="ADD2">
  360. <block type="text" id="J(cvN*(G6_)JM^rvee8u">
  361. <field name="TEXT">,"r":</field>
  362. </block>
  363. </value>
  364. <value name="ADD3">
  365. <block type="variables_get" id=";*i7J[LKk7MG;ie[vguz">
  366. <field name="VAR" id="9Xla5v3/s-xQ}}ke6J|q" variabletype="">R2</field>
  367. </block>
  368. </value>
  369. <value name="ADD4">
  370. <block type="text" id="pMt*hLPJ:t#f:%5AsU@h">
  371. <field name="TEXT">,"g":</field>
  372. </block>
  373. </value>
  374. <value name="ADD5">
  375. <block type="variables_get" id=")F.uj)q*68k1ES!A8X#{">
  376. <field name="VAR" id="[*oVC,d1oN~pJ/PyW}mC" variabletype="">G2</field>
  377. </block>
  378. </value>
  379. <value name="ADD6">
  380. <block type="text" id="64QeWAD1*W^U,^mB{#dT">
  381. <field name="TEXT">,"b":</field>
  382. </block>
  383. </value>
  384. <value name="ADD7">
  385. <block type="variables_get" id="@//bA[OL3S(JA(ua]Y!a">
  386. <field name="VAR" id="aO1)R*{-dnPFjya|O!c@" variabletype="">B2</field>
  387. </block>
  388. </value>
  389. <value name="ADD8">
  390. <block type="text" id="(e4:Xe%DO#6i1N}A2YrC">
  391. <field name="TEXT">,"transitiontime":</field>
  392. </block>
  393. </value>
  394. <value name="ADD9">
  395. <block type="variables_get" id="72eLkRad?XsOu_O%4MaK">
  396. <field name="VAR" id="g@?3c$_Qo{`.wEOhI2hd" variabletype="">Transition2</field>
  397. </block>
  398. </value>
  399. <value name="ADD10">
  400. <block type="text" id="F?Fk=.~1mn{,~mkQ#9NM">
  401. <field name="TEXT">}</field>
  402. </block>
  403. </value>
  404. </block>
  405. </value>
  406. </block>
  407. </next>
  408. </block>
  409. </statement>
  410. </block>
  411. </next>
  412. </block>
  413. </next>
  414. </block>
  415. </next>
  416. </block>
  417. </statement>
  418. <value name="IF1">
  419. <block type="logic_compare" id="lQQOzL]gh|B.KJyKlc_`">
  420. <field name="OP">EQ</field>
  421. <value name="A">
  422. <block type="on_source" id="y,-IRdsi_Ill_h5uJoPo">
  423. <field name="ATTR">state.val</field>
  424. </block>
  425. </value>
  426. <value name="B">
  427. <block type="logic_boolean" id="^(cL-D@qcvy+t}YL{ySw">
  428. <field name="BOOL">FALSE</field>
  429. </block>
  430. </value>
  431. </block>
  432. </value>
  433. <statement name="DO1">
  434. <block type="timeouts_clearinterval" id=":]P3pGVwPyR;A{g0k~eO">
  435. <field name="NAME">Intervall</field>
  436. <next>
  437. <block type="control" id="9Q8il0!vE@;3budnZ+Fe">
  438. <mutation delay_input="true"></mutation>
  439. <field name="OID">hue.0.Philips_hue.INFO.command</field>
  440. <field name="WITH_DELAY">TRUE</field>
  441. <field name="DELAY_MS">50</field>
  442. <field name="UNIT">ms</field>
  443. <field name="CLEAR_RUNNING">FALSE</field>
  444. <value name="VALUE">
  445. <block type="text" id="`_P|+-ho+QN;YW*xngUF">
  446. <field name="TEXT">{"on":false,"transitiontime":3}</field>
  447. </block>
  448. </value>
  449. <next>
  450. <block type="control" id="cyc#eu]_UeLY`IOo-bZR">
  451. <mutation delay_input="true"></mutation>
  452. <field name="OID">hue.0.Philips_hue.INFO.command</field>
  453. <field name="WITH_DELAY">TRUE</field>
  454. <field name="DELAY_MS">2500</field>
  455. <field name="UNIT">ms</field>
  456. <field name="CLEAR_RUNNING">FALSE</field>
  457. <value name="VALUE">
  458. <block type="text" id="NKc|sg^Q[9i:{*wq-AKL">
  459. <field name="TEXT">{"on":false,"transitiontime":3}</field>
  460. </block>
  461. </value>
  462. <next>
  463. <block type="control" id="dTFAh!B?sO+}9K*kHC0.">
  464. <mutation delay_input="true"></mutation>
  465. <field name="OID">hue.0.Philips_hue.INFO.command</field>
  466. <field name="WITH_DELAY">TRUE</field>
  467. <field name="DELAY_MS">4500</field>
  468. <field name="UNIT">ms</field>
  469. <field name="CLEAR_RUNNING">FALSE</field>
  470. <value name="VALUE">
  471. <block type="text" id="8^UH/sN#;e{lI%4d5n`k">
  472. <field name="TEXT">{"on":false,"transitiontime":3}</field>
  473. </block>
  474. </value>
  475. </block>
  476. </next>
  477. </block>
  478. </next>
  479. </block>
  480. </next>
  481. </block>
  482. </statement>
  483. </block>
  484. </statement>
  485. </block>
  486. </next>
  487. </block>
  488. </next>
  489. </block>
  490. </next>
  491. </block>
  492. </next>
  493. </block>
  494. </next>
  495. </block>
  496. </next>
  497. </block>
  498. </next>
  499. </block>
  500. </next>
  501. </block>
  502. </next>
  503. </block>
  504. </next>
  505. </block>
  506. </next>
  507. </block>
  508. </next>
  509. </block>
  510. </next>
  511. </block>
  512. </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement