Kieren MaWei Feng ChanMohamed SabithFrancis Ng
Published © GPL3+

Smart Wellness Station

The Smart Wellness Station uses an M5Stack kit to monitor wellness, giving real-time feedback for healthy habits.

BeginnerShowcase (no instructions)6 hours527
Smart Wellness Station

Things used in this project

Story

Read more

Schematics

Circuit Diagram

Code

Smart Wellness System_online.m5f

Python
We used the UniFlow blocky code to code for our Smart Wellness System project. Our code includes the use of the Remote+ function
{"components":[{"id":"____screen","createTime":1667120102809,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#eaeaea","backgroundImage":"","size":0,"screenType":"default","type":"screen"},{"id":"____buttonA","createTime":1667120102810,"name":"ButtonA","buttonIndex":0,"x":44,"y":274,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1667120102810,"name":"ButtonB","buttonIndex":1,"x":158,"y":274,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1667120102810,"name":"ButtonC","buttonIndex":2,"x":273,"y":274,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"mLbQf&%t+HLnW02M","createTime":1667120415275,"isCoreTwo":false,"isPaper":false,"name":"lux_value","x":220,"y":125,"color":"#f49004","text":"lux","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":33},{"id":"DPdVrBu_!H3b+YFP","createTime":1739109672102,"isCoreTwo":false,"isPaper":false,"name":"light_label","x":11,"y":125,"color":"#f49004","text":"Light Intensity (Lux): ","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":36},{"id":"^YEZ3@y91RWdFoQg","createTime":1739113706529,"isCoreInk":false,"isPaper":false,"name":"title0","x":0,"y":0,"width":320,"height":20,"color":"#FFFFFF","backgroundColor":"#0048ff","text":"Smart Wellness System","textOffset":"80","font":"lcd.FONT_Default","screenType":"default","type":"title","layer":200},{"id":"fr!U_ZunTf!tRcV4","createTime":1739114397192,"isCoreTwo":false,"isPaper":false,"name":"temp_value","x":220,"y":153,"color":"#000000","text":"deg","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":33},{"id":"V#=oSj-4HKop%pK%","createTime":1739114401137,"isCoreTwo":false,"isPaper":false,"name":"humidity_value","x":220,"y":183,"color":"#000000","text":"%","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":33},{"id":"MR72QZ*+XfP0uly9","createTime":1739114911583,"isCoreTwo":false,"isCoreInk":false,"isPaper":false,"name":"temp_img","x":220,"y":23,"imagePath":"R.png","visibility":true,"imageInvert":false,"imageThreshold":128,"screenType":"default","type":"image","layer":50},{"id":"bc2cj2!lwhF&N2f`","createTime":1739115113900,"isCoreTwo":false,"isPaper":false,"name":"temp_label","x":11,"y":153,"color":"#000000","text":"Temperature: ","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":36},{"id":"h13Q91!x6ku$_d&=","createTime":1739115118172,"isCoreTwo":false,"isPaper":false,"name":"humidity_label","x":11,"y":183,"color":"#000000","text":"Humidity:","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":37},{"id":"BLBg^Ts4^L@SU+XF","createTime":1739116871650,"isCoreTwo":false,"isPaper":false,"name":"PIR_label","x":11,"y":79,"color":"#0540f3","text":"Work Mode","font":"lcd.FONT_DejaVu24","rotation":0,"screenType":"default","type":"label","layer":39},{"id":"m2QZD4AMau``S7x6","createTime":1739196500522,"isCoreTwo":false,"isPaper":false,"name":"welcome_label","x":21,"y":29,"color":"#000000","text":"Welcome!","font":"lcd.FONT_UNICODE","rotation":0,"screenType":"default","type":"label","layer":30},{"id":"HMJw9V+9h^qKig#t","createTime":1739252506289,"isCoreTwo":false,"isPaper":false,"name":"distance_label","x":11,"y":213,"color":"#f809d0","text":"Distance Monitoring:","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":36},{"id":"XgBiQTEoaA59^JSp","createTime":1739252597727,"isCoreTwo":false,"isPaper":false,"name":"distance_value","x":220,"y":213,"color":"#f809d0","text":"cm","font":"lcd.FONT_Ubuntu","rotation":0,"screenType":"default","type":"label","layer":17}],"type":"fire","versions":"Beta","units":[{"id":"JO-EJ7Yi#w%O5r^7","createTime":1739675613633,"hidden":false,"type":"env2","name":"env2_1","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"0","user_port":["21","22"],"icon":"env2.png","hasPnP":true,"url":"https://docs.m5stack.com/en/products/sku/U001-B"},{"id":"-EfRKTBjw0hxTT3h","createTime":1739675613633,"type":"rfid","name":"rfid_1","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"1","user_port":["21","22"],"icon":"rfid.png","url":"https://docs.m5stack.com/en/products/sku/U031"},{"id":"gLYa%$AGEiI#LLjE","createTime":1739675613633,"type":"pahub","name":"pahub_4","port":"A","default":["A","E","Custom"],"user_port":["21","22"],"icon":"pa_hub.png","address":"0x70","url":"https://docs.m5stack.com/en/products/sku/U040"},{"id":"e1ucDTLk*X_iJCF3","createTime":1739675613633,"stickType":"stick","type":"light","name":"light_0","port":"B","default":["A","B","D","Custom"],"user_port":["21","22"],"icon":"light.png","url":"https://docs.m5stack.com/en/products/sku/U021"},{"id":"oSRMMYkSRyKXYY-c","createTime":1739675613633,"stickNone":"stick","type":"tof","name":"tof_0","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"2","user_port":["21","22"],"icon":"tof.png","url":"https://docs.m5stack.com/en/products/sku/U010"},{"id":"TAMeTXUC#xw6JzU&","createTime":1739675613633,"type":"pbhub","name":"pbhub_0","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"3","user_port":["21","22"],"icon":"pb_hub.png","url":"https://docs.m5stack.com/en/products/sku/U041"}],"hats":[],"stamps":[],"blockly":"<variables><variable id=\"a8JaT=veW^[c[#r)dnqW\">temp_data</variable><variable id=\"z!JP1MZ%,8}xX^ej@rVZ\">humidity_data</variable><variable id=\"^j[O.h?QPz44))x6WZu-\">distance_data</variable><variable id=\"Sasvp{_6WnX,+[A;F$1;\">light_data</variable><variable id=\"vOezMK,E5+s}W8hP$%jf\">motion_data</variable><variable id=\"hFqKj?INrW`dJZD0pCR/\">set_screen_distance</variable></variables><block type=\"timer_delay\" id=\"_07]Pq4$yU9Jm!o;)lie\" disabled=\"true\" x=\"551\" y=\"-869\"><comment pinned=\"false\" h=\"93\" w=\"184\">Wellness System to detect if user is moving 15 mins(900 secs)</comment><value name=\"DELAY\"><shadow type=\"math_number\" id=\";YDHif~VTgyF)!Eci9NV\" disabled=\"true\"><field name=\"NUM\">900</field></shadow></value></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-30\" y=\"-829\"><next><block type=\"label_set_mode\" id=\"H,L!E|D;d~m,/p(irhq5\"><field name=\"COMPONENT\">PIR_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\":r_DU)f13j(|gAU%uJtD\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"dnLk{y%[i^Xf/60S?*4F\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"HmNnIVdh@*oMD}B[Gk$v\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"%aO%pZp8v#x}[XWWmjv_\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"^/#n]|lf33sp5fE=..eD\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"r-65,./TL{zcOH1hk.vj\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"8JQJ;q2hNkI8o!9)/049\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"Un2TR6WUs|m-R|qE%,:y\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_hide\" id=\"rl{3)Gc$d^)BF9lQTT5V\"><field name=\"COMPONENT\">temp_img</field><next><block type=\"basic_on_loop\" id=\"x]S(`5Xn9lJz7W;l.w+5\"><statement name=\"LOOP\"><block type=\"controls_if\" id=\"fpDl4!^]T$)wfUKyW8|R\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"rfid_cardOn\" id=\"K*?Ahg[fJ%!v2n7^VUSV\"><field name=\"RFID\">rfid_1</field></block></value><statement name=\"DO0\"><block type=\"rgb_set_all\" id=\"R?o^S,fy*](}hi4B!03K\"><field name=\"COLOR\">#cccccc</field><next><block type=\"timer_delay\" id=\"dTRU%I,Gb#jl{~wc/@e)\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Z~bRfX.C!GVt%M`bw{7L\"><field name=\"NUM\">0.25</field></shadow></value><next><block type=\"controls_if\" id=\"}Y3vs;NcSO$PDJtT8x-|\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"`h0_x-0TV_yhAe~Bm[7B\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"rfid_uid\" id=\"KQxhL:@=k|IspI~9ecjo\"><field name=\"RFID\">rfid_1</field></block></value><value name=\"B\"><block type=\"text\" id=\"0n-r;y$5V,{]niH]n/AP\"><field name=\"TEXT\">c03c154fa6</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_all\" id=\"$=9n51sR6M`=NF2j~%_d\"><field name=\"COLOR\">#33cc00</field><next><block type=\"label_set_text\" id=\"Pk{Y`YWV*.BnmPwH;Avt\"><field name=\"COMPONENT\">welcome_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"=ok.FA@~PAO*xob(54u$\"><field name=\"TEXT\">Hi, Wei Feng!</field></shadow></value><next><block type=\"speaker_vol\" id=\"XN(h[1jiUrz+%JTtvto9\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"W:N=;G=}bGU-j(76YUO4\"><field name=\"NUM\">0.2</field></shadow></value><next><block type=\"speaker_sing\" id=\".CwMeSy[LPzUg]I9=jR5\"><field name=\"TONE\">220</field><field name=\"BEAT\">1</field><next><block type=\"basic_on_loop\" id=\"ip9,eaRi/fV6(O/f7V](\"><statement name=\"LOOP\"><block type=\"rgb_set_all\" id=\"U+kB(gO#PZ6!J*n,iHY)\"><field name=\"COLOR\">#000000</field><next><block type=\"label_set_mode\" id=\";KC+mK0a,yMDX@|DEd_3\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"S{LzmNFqP:%R:73n6,pj\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"KH*%(ocw9;l8Od6F4NiN\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"$ZV=Z,gGT=0dZ9*Nv};;\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"xUc(7oemez+|;!+a78p-\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"a#pp,=7g.4tA}2v!m]${\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"uE[K+aK9V_HAu/Mbzb|Q\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">False</field><next><block type=\"label_set_mode\" id=\"df.]Hi0N,b97yZ:}.2$9\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">False</field><next><block type=\"label_set_text\" id=\"P`-RQa+MiJmsSfcQzGG$\"><field name=\"COMPONENT\">lux_value</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text_add\" id=\"RIYLAuZrx:yccvpNyUit\"><value name=\"arg0\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"light_a_read\" id=\"AWrZb=Q}ZkZ^H]vF;Sey\"><field name=\"VARNAME\">light_0</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"zaGJ6#oZ.v6j}GlN9G+S\"><field name=\"TEXT\"> lux</field></block></value></block></value><next><block type=\"controls_if\" id=\"@q,o3QL0TN13M1i`!O1t\"><mutation elseif=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"=bk6JoYPxnDn!Vz;w1;#\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"light_a_read\" id=\".]9#@?grQq_?hdOm/*W]\"><field name=\"VARNAME\">light_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"qZtQ.-r=|h/#YM*8J?ZJ\"><field name=\"NUM\">500</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"#k7g,yVa/1,_h[^SV^80\"><field name=\"VAR\" id=\"Sasvp{_6WnX,+[A;F$1;\">light_data</field><value name=\"VALUE\"><block type=\"text\" id=\"pP67ow}[x5HR1qX*gnhZ\"><field name=\"TEXT\">Environment Dim!</field></block></value><next><block type=\"label_set_mode\" id=\"Foqs5x;ntA`Kzp~L;yn}\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"?XHG,PL8[_n{NWqBTwS.\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"n3%Q=/QxHKicj-)cm=T|\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"CLM2L#*hzdT{6vJM51II\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"lw^Ef450p%9Oli+=znzQ\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"(dYC)]|I2CZymq9]CRm~\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_hide\" id=\"w=o*#5R3#_~ALM%!TC7q\"><field name=\"COMPONENT\">temp_img</field><next><block type=\"label_set_text\" id=\"^By^!H@hYUKbng9#zyzn\"><field name=\"COMPONENT\">light_label</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text\" id=\"HOqI+-6nSOt(5TKozM%N\"><field name=\"TEXT\">Environment Dim!</field></block></value><next><block type=\"label_set_color\" id=\"s`DP#21m}!$TPts`ZT~[\"><field name=\"COMPONENT\">light_label</field><field name=\"COLOR\">#ff6600</field><next><block type=\"label_set_font\" id=\"6Qcz.*Ug`gXbIkfTp=Ds\"><field name=\"COMPONENT\">light_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_color\" id=\"/KTmPTh6}i/B.+S2cZGy\"><field name=\"COMPONENT\">lux_value</field><field name=\"COLOR\">#ff6600</field><next><block type=\"label_set_font\" id=\"5X2?MBwzc.fA?WO;|d.v\"><field name=\"COMPONENT\">lux_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\"ee*k0w7g}[%#W.rGyVtp\"><field name=\"COMPONENT\">lux_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"Vw7OWl;jR(ml%Mi(~Lg~\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"Phex9[?RS/p;GOYGcm2s\"><field name=\"NUM\">150</field></shadow></value><next><block type=\"speaker_sing\" id=\"@m1Q=uG:?gfLorUU3-F=\"><field name=\"TONE\">220</field><field name=\"BEAT\">1</field><next><block type=\"speaker_vol\" id=\"CQm0PnDR/5TU:DO};E%i\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"+Z~~#qDAO8ULkYa.x#rA\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"rgb_set_all\" id=\"*11QltWS_06}a%^,YYPE\"><field name=\"COLOR\">#ffcc00</field><next><block type=\"timer_delay\" id=\"-dAkptV?qnIoS]eFikUC\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"(bkw{+~t.zFDr5;JASc(\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"a90AU[[f4jNzL:)fPI$;\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"light_a_read\" id=\",s5(-gV]|v)I+PopN@Bf\"><field name=\"VARNAME\">light_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"oXFdm3|zb8||;P!zfgKB\"><field name=\"NUM\">500</field></block></value></block></value><statement name=\"DO1\"><block type=\"variables_set\" id=\"y5_~RIcl:tr6E|@|$N-j\"><field name=\"VAR\" id=\"Sasvp{_6WnX,+[A;F$1;\">light_data</field><value name=\"VALUE\"><block type=\"text\" id=\"E9-oMuYLVaxn$NC3lThl\"><field name=\"TEXT\">Light Intensity (Normal)</field></block></value><next><block type=\"label_set_text\" id=\"57dH12Kf9A[4pJxsV+PY\"><field name=\"COMPONENT\">light_label</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text\" id=\"k%d+D0*s%x;}SiT=,_ug\"><field name=\"TEXT\">Light Intensity (Normal): </field></block></value><next><block type=\"label_set_font\" id=\"y!_ggA$-SAXozXKP|pK5\"><field name=\"COMPONENT\">light_label</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_mode\" id=\".r/T#l?au5lU0H)tZQIe\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"_]mXYmLWX~CeEJt!K8$Y\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"MAjk48RPI!;roMj}Ln^3\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"n)!8sU,R4Qg8_rqh@)!Y\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"XwY3DtsV=?Y,;2{Ms;^A\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"0FZEy*BSAihn.tg/Ssyr\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_set_image\" id=\"-H5d-K{HD9pr:lL@=qbB\"><field name=\"COMPONENT\">temp_img</field><field name=\"IMAGE\">default.jpg</field><next><block type=\"label_set_text\" id=\"Rq12e,XH8SE41?ka:s8r\"><field name=\"COMPONENT\">temp_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"e*RaKCMmVLF^MrX+zI6{\"><field name=\"TEXT\">TOO COLD!</field></shadow></value><next><block type=\"label_set_color\" id=\"ogt*PAdmEOor$?YHh(jO\"><field name=\"COMPONENT\">temp_label</field><field name=\"COLOR\">#33ffff</field><next><block type=\"label_set_font\" id=\"bK%h574sz`ELCIzE_uZ~\"><field name=\"COMPONENT\">temp_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_position\" id=\"X^po3+|mtq9IlL}doT_[\"><field name=\"COMPONENT\">temp_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"QDkJup()V8bjSe{j*+(|\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"3wL4};tDd/%VB9ASUmYq\"><field name=\"NUM\">110</field></shadow></value><next><block type=\"label_set_color\" id=\"sYVH8md@mQDv,gu`=BQ}\"><field name=\"COMPONENT\">temp_value</field><field name=\"COLOR\">#33ffff</field><next><block type=\"label_set_font\" id=\"B!w+sNR2@y$jrt}4E$lw\"><field name=\"COMPONENT\">temp_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\")?)H%{5Vl%pXg;T0+)bb\"><field name=\"COMPONENT\">temp_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"r=iYORAf8TbVl0^|p;8:\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"$s~1@cN6@Y!@36]+HSy3\"><field name=\"NUM\">135</field></shadow></value><next><block type=\"speaker_sing\" id=\"cTr7a-_*WfS316qrY_e`\"><field name=\"TONE\">220</field><field name=\"BEAT\">1</field><next><block type=\"speaker_vol\" id=\"j`.n$Gf#@gROAHj}h3?1\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"!1Z_|/X`d5uf[!y3%|~n\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"rgb_set_all\" id=\"Y]vQI3o|#/!0N]shJ?NK\"><field name=\"COLOR\">#33ffff</field><next><block type=\"timer_delay\" id=\".3megr~WeR9NaSB=Fcc[\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\".nL*oP%1V/clTw5V:xO|\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"label_set_font\" id=\"8{~9SZUkvE)|[B0m+n)O\"><field name=\"COMPONENT\">lux_value</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"~aTzK6r95gYJ@w02lr?i\"><field name=\"COMPONENT\">lux_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"LD=sU#WonA!s.]eQXv0`\"><field name=\"NUM\">220</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"H8eqEWu$|/1a-nZU(9O*\"><field name=\"NUM\">125</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type=\"label_set_text\" id=\"qiYAL*iGvIMoO.=n-_a[\"><field name=\"COMPONENT\">temp_value</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text_add\" id=\"!2=!yZ:7~QlxZ9(OE6l=\"><value name=\"arg0\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"dht12_get_temperature\" id=\"5P$*z6)72IM}Mh)k/6MF\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"|W,;I3hI!uSRem)@ZrrJ\"><field name=\"TEXT\">C</field></block></value></block></value><next><block type=\"label_set_text\" id=\"t]^rsc.^OwW]TDjcEmP2\"><field name=\"COMPONENT\">humidity_value</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text_add\" id=\".Jm3!`~8!e}h7Kkc;|+P\"><value name=\"arg0\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"dht12_get_humidity\" id=\"|pjsLc4j+0i-TlHkw~VU\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"C%wKm]IXg7auHMbe-GXq\"><field name=\"TEXT\">%</field></block></value></block></value><next><block type=\"controls_if\" id=\"pc,pxD]Ty)#SP(9kqApF\"><mutation elseif=\"1\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"$FW!m+il_1gRSW9c~y#e\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"dht12_get_temperature\" id=\"k@*Nz(ko:mfGSsqi)#Rx\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"?UM}rA$%G]k)leO+nGVP\"><field name=\"NUM\">20</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"A-mptzI;I6,$Y;5=pesN\"><field name=\"VAR\" id=\"a8JaT=veW^[c[#r)dnqW\">temp_data</field><value name=\"VALUE\"><block type=\"text\" id=\"`FwMuktIpn}I[kRM;_`u\"><field name=\"TEXT\">TOO COLD!</field></block></value></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"_?hI@.Ili:9/%EwpiV1T\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"dht12_get_temperature\" id=\"u1]FpD}X1p#oh.oU6l1g\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"LKRwkbj5e*vwxg?C$#9q\"><field name=\"NUM\">30</field></block></value></block></value><statement name=\"DO1\"><block type=\"variables_set\" id=\"4u,I[P+R_B1qk%$DeMFG\"><field name=\"VAR\" id=\"a8JaT=veW^[c[#r)dnqW\">temp_data</field><value name=\"VALUE\"><block type=\"text\" id=\"pO)A/7oom^+,}%k3NtOR\"><field name=\"TEXT\">TOO WARM!</field></block></value><next><block type=\"label_set_mode\" id=\"E[hacS4pOwj@FTNp#Hr%\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"VRkzK-5(^-PvI0|[;,Vf\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"fR7s+Hjyp1U*?L(S#uup\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"LGC$|Na-|5W1y%k7QE|Z\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"qAmIS,}n+n_4#gf!GNbf\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"6]N#-;0/hF@bR/E*qm|7\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_set_image\" id=\"3x!=^a%CS}]xqA:LNH+;\"><field name=\"COMPONENT\">temp_img</field><field name=\"IMAGE\">default.jpg</field><next><block type=\"label_set_text\" id=\"d|Z(v.[d*3eCMbrmdb^z\"><field name=\"COMPONENT\">temp_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"cJrAfs4rwb4wF}(y,`uK\"><field name=\"TEXT\">TOO WARM!</field></shadow></value><next><block type=\"label_set_color\" id=\"`@yPldWjYO7Sh[ww_q/*\"><field name=\"COMPONENT\">temp_label</field><field name=\"COLOR\">#ff0000</field><next><block type=\"label_set_font\" id=\"z(+Et?KTsfJQAAgeLq(R\"><field name=\"COMPONENT\">temp_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_position\" id=\"+h4zQgkCCYYNW0frWe{g\"><field name=\"COMPONENT\">temp_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"3cr/NaDG2P/Z|,HA6i9$\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"7$@=/^ij]!H`WI(!Vp0^\"><field name=\"NUM\">110</field></shadow></value><next><block type=\"label_set_color\" id=\"v,J7{HF|Y,uD1TpMP[xu\"><field name=\"COMPONENT\">temp_value</field><field name=\"COLOR\">#ff0000</field><next><block type=\"label_set_font\" id=\"Wu8jX4Ptp3Ua:w!!PKSW\"><field name=\"COMPONENT\">temp_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\"F_m9fj9]OlKwl?B[qf4+\"><field name=\"COMPONENT\">temp_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"|T;w*@[qn9g-]yt~7r?`\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"04:Y-)slv_NC-k}3JF|J\"><field name=\"NUM\">135</field></shadow></value><next><block type=\"speaker_sing\" id=\"U*$sV;PpU#nDQB_I:s+*\"><field name=\"TONE\">220</field><field name=\"BEAT\">1</field><next><block type=\"speaker_vol\" id=\"@f#mp1yMF7=qe$Qgqv3b\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"n_|xz;h%OQ*IS}J%Qw]L\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"rgb_set_all\" id=\"yussIR?f^YVmZ]`Q~a=D\"><field name=\"COLOR\">#ff0000</field><next><block type=\"timer_delay\" id=\"bWZC(PL+WX=R!MdQ=Gl0\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"uBEZ9$%Ki1h#n_R/R}lX\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"yz_,y@P[)/8G_[jR9RAW\"><field name=\"VAR\" id=\"a8JaT=veW^[c[#r)dnqW\">temp_data</field><value name=\"VALUE\"><block type=\"text\" id=\"E$!+@:T$awSc:@yLlhtJ\"><field name=\"TEXT\">Normal Temp</field></block></value><next><block type=\"label_set_text\" id=\"@2IzS)PIT|`tN57xt)XT\"><field name=\"COMPONENT\">temp_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"m1c~xlDt|-?DaywmV+C^\"><field name=\"TEXT\">Temperature:</field></shadow></value><next><block type=\"label_set_font\" id=\"5Y8:uqQ=v`MpNnq7EXRv\"><field name=\"COMPONENT\">temp_label</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"r8n|g84C-92?whGk1C`z\"><field name=\"COMPONENT\">temp_label</field><value name=\"X\"><shadow type=\"math_number\" id=\",VNVaMh.eSpe~`s^$J9N\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"B*uPmQgUM}j72SS0%siw\"><field name=\"NUM\">153</field></shadow></value><next><block type=\"label_set_font\" id=\"n8DKr+zjVs:*8/jb*QjS\"><field name=\"COMPONENT\">temp_value</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"*eOeuEkE:cJ=;TB(/q93\"><field name=\"COMPONENT\">temp_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"crO:thW}ya8BU!tog:x6\"><field name=\"NUM\">220</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\".fLYZo`m`4qYuQ(?{@R_\"><field name=\"NUM\">153</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type=\"controls_if\" id=\"zp!oK.L^p7+VgZL_~*)V\"><mutation elseif=\"1\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"RSt71?N#/`08udW]z{8!\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"dht12_get_humidity\" id=\"@N`0TCgC/Q=V#P;.H^Sv\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"o:IzNQDqqhY*cWjf-t%i\"><field name=\"NUM\">40</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"N7bh4Acalmx}SKQVUs_w\"><field name=\"VAR\" id=\"z!JP1MZ%,8}xX^ej@rVZ\">humidity_data</field><value name=\"VALUE\"><block type=\"text\" id=\"dTJu5,ERS#FpE1oE,Q}K\"><field name=\"TEXT\">Low humidity!</field></block></value><next><block type=\"label_set_mode\" id=\"X=AZS0cc};Mn@!)}M)My\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"aRb)RcV{i0OWGeHTNw]!\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"0Peo+E3S^X9eq)XG{$rd\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"3ls7LDaxNpkLiiSST#M|\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"%{0Kc+S5A?0wK#p0jC~G\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"2;F/m6QI6#OyWHBg#iWo\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_hide\" id=\"@+Ay-$0F2qh97*TyU1W;\"><field name=\"COMPONENT\">temp_img</field><next><block type=\"label_set_text\" id=\"h:^F|x:p0UqB/(htV+r_\"><field name=\"COMPONENT\">humidity_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"nUN?jiyl}i(;`~0ul@WV\"><field name=\"TEXT\">Low humidity!</field></shadow></value><next><block type=\"label_set_color\" id=\"p1y!O^C|?c[e])h;W7he\"><field name=\"COMPONENT\">humidity_label</field><field name=\"COLOR\">#33ffff</field><next><block type=\"label_set_font\" id=\"MTDSk3e2zH`E_fB8Lv$2\"><field name=\"COMPONENT\">humidity_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_position\" id=\"m|qxV.jA0e#Ih#s#B^H@\"><field name=\"COMPONENT\">humidity_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"#)%Y+!9UWEOV/$j5j*rW\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"X$}YT!MIE9bdy%l2x!IW\"><field name=\"NUM\">160</field></shadow></value><next><block type=\"label_set_color\" id=\"GdqVf5Y[S^CAc=Tv%w8K\"><field name=\"COMPONENT\">humidity_value</field><field name=\"COLOR\">#33ffff</field><next><block type=\"label_set_font\" id=\"!;x3;ITCfRY-=MW_fLs)\"><field name=\"COMPONENT\">humidity_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\"z2|CB@uM4u_a]nY@Gluy\"><field name=\"COMPONENT\">humidity_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"XbjEr;|K`yvazp!w=M8X\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"ukfN?k5PYB:LP~/ShPwg\"><field name=\"NUM\">185</field></shadow></value><next><block type=\"timer_delay\" id=\"XPdD%MlRT}A=^D}t-Bi|\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Tl@~xsgatn[6U{{r#ih^\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name=\"IF1\"><block type=\"logic_compare\" id=\"7}1#![Ya7h=d*qL|wJE$\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"dht12_get_humidity\" id=\"7luElsDMiORX,VJU9TQ$\"><field name=\"VARNAME\">env2_1</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"tf~q?%.ay^!b?,GapA1k\"><field name=\"NUM\">70</field></block></value></block></value><statement name=\"DO1\"><block type=\"variables_set\" id=\"07{6_]q7X`%QiH|-lt!`\"><field name=\"VAR\" id=\"z!JP1MZ%,8}xX^ej@rVZ\">humidity_data</field><value name=\"VALUE\"><block type=\"text\" id=\"SacO4,(BsH_lx7YZ6U._\"><field name=\"TEXT\">High Humidity!</field></block></value><next><block type=\"label_set_mode\" id=\"8_,mqXq^y_^z/nrMzape\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"Oo!Z+X.Hj+g8@BP({Qaw\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"{N)ENyOq2ccQaiZOv=wE\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"T^a5elOHA^gBCce]|:#F\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"o%WFlyPKiXDI!3{k_f{a\"><field name=\"COMPONENT\">distance_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"GphpT!XPBqh7l{Bz[?5{\"><field name=\"COMPONENT\">distance_value</field><field name=\"MODE\">True</field><next><block type=\"image_hide\" id=\"[Ig4K;]y^n}cIBQvC1Jf\"><field name=\"COMPONENT\">temp_img</field><next><block type=\"label_set_text\" id=\"/)4NsNqT(KNUcH|}*NSV\"><field name=\"COMPONENT\">humidity_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"@fr4~)R2+,Hwepj#/_xa\"><field name=\"TEXT\">High Humidity!</field></shadow></value><next><block type=\"label_set_color\" id=\"TUW_ds?*[j@U_;4s:KG4\"><field name=\"COMPONENT\">humidity_label</field><field name=\"COLOR\">#3366ff</field><next><block type=\"label_set_font\" id=\"@JxfK$T_uD_XmPr.s9i]\"><field name=\"COMPONENT\">humidity_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_position\" id=\"/kqmT^k7m[/F{6KsM4Co\"><field name=\"COMPONENT\">humidity_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"0~jhBMBh`N*86J1[@iWL\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"`oGf`IxIXBd?4j[xaE@Y\"><field name=\"NUM\">160</field></shadow></value><next><block type=\"label_set_color\" id=\"a,Lk)w#J0zV_Miz(-?[#\"><field name=\"COMPONENT\">humidity_value</field><field name=\"COLOR\">#3366ff</field><next><block type=\"label_set_font\" id=\"-`b:4:7wwC=00d?o;uZ7\"><field name=\"COMPONENT\">humidity_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\"PmXo6F`wVJ,L}c!(F^A0\"><field name=\"COMPONENT\">humidity_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"Q@(,_7*LycW=X]eiK!86\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"k}B1d.FJO#{l2h2T/;f.\"><field name=\"NUM\">185</field></shadow></value><next><block type=\"timer_delay\" id=\"s!7HX@f`db7CO]5TqB|T\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"{6@pw~0^Pj$?#A.JkOtB\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\";N[Q13BZZJB7VEzchV]%\"><field name=\"VAR\" id=\"z!JP1MZ%,8}xX^ej@rVZ\">humidity_data</field><value name=\"VALUE\"><block type=\"text\" id=\"l/y)KE{5}E]O4`@OcD[4\"><field name=\"TEXT\">Normal Humidity</field></block></value><next><block type=\"label_set_text\" id=\"K5~d=4VS@VQhkX}cP%Uc\"><field name=\"COMPONENT\">humidity_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\";.y%m/aULQuC/tY{/EuD\"><field name=\"TEXT\">Humidity:</field></shadow></value><next><block type=\"label_set_font\" id=\"q0Pmg;|-S68EyaX/fZx:\"><field name=\"COMPONENT\">humidity_label</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"1,;l5~D)G*VFRS;O?2/4\"><field name=\"COMPONENT\">humidity_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"_x[W--6IVg$KH9s/bvy4\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\";Uf(!Emlsda%*;{jCR0]\"><field name=\"NUM\">183</field></shadow></value><next><block type=\"label_set_font\" id=\"%hU(*Hl1RGt9r])2w7w|\"><field name=\"COMPONENT\">humidity_value</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"lpKGDmVeqQ6T,`x*,y#S\"><field name=\"COMPONENT\">humidity_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"W0~l;UYc/P-~QdOAQHqp\"><field name=\"NUM\">220</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"+cSNQ@:|!{n.L:)TG}pz\"><field name=\"NUM\">183</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type=\"variables_set\" id=\"B},|[q9jBmj^$2%4!n}E\"><field name=\"VAR\" id=\"hFqKj?INrW`dJZD0pCR/\">set_screen_distance</field><value name=\"VALUE\"><block type=\"convent_int\" id=\"4U9(BS4Mnf:FEytqA5-*\"><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"6TT5}7d14Jz1xHWKwfY8\"><field name=\"OP\">DIVIDE</field><value name=\"A\"><block type=\"unit_tof_state\" id=\"04l)]jNDUyhuk4(x{jwS\"><field name=\"TOF\">tof_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"l],S+3Dqznm;wO-EG%i!\"><field name=\"NUM\">10</field></block></value></block></value></block></value><next><block type=\"label_set_text\" id=\"{TH}2ls3-I$HP!:N0jyu\"><field name=\"COMPONENT\">distance_value</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"text_add\" id=\"DvX9?4oJ*Hc+H_.uP92%\"><value name=\"arg0\"><shadow type=\"text\" id=\"voIk0r@Q?qnSRf-grk)]\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"9eTFjxOZt4$0O=.i7ebB\"><field name=\"VAR\" id=\"hFqKj?INrW`dJZD0pCR/\">set_screen_distance</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"NK?aKMgB%+z6t/5@kIDA\"><field name=\"TEXT\"> cm</field></block></value></block></value><next><block type=\"controls_if\" id=\"{^UmqK/s@3;pf*vpO[H;\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"3#KN+72Dmg,r@0iT8rtt\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"40}_7akWU)=(R!@dLCc~\"><field name=\"VAR\" id=\"hFqKj?INrW`dJZD0pCR/\">set_screen_distance</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"^Q|p8X#r+:Fg_vsNMyK2\"><field name=\"NUM\">30</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"FSiG;6p{2N=mHZC:t[s1\"><field name=\"VAR\" id=\"^j[O.h?QPz44))x6WZu-\">distance_data</field><value name=\"VALUE\"><block type=\"text\" id=\"UkEyuH8%^26sw6L@3Z{I\"><field name=\"TEXT\">TOO CLOSE!!</field></block></value><next><block type=\"label_set_mode\" id=\"4bxHx9Lgzy[A}XVW?9,O\"><field name=\"COMPONENT\">light_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"@(_P!!YW~)P#X*LzDjk.\"><field name=\"COMPONENT\">lux_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"C(7-GK~4kdy@*2,a%2?x\"><field name=\"COMPONENT\">humidity_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"r%P).u,;,{~,y#YhCcX,\"><field name=\"COMPONENT\">humidity_value</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"{c$sw;YU/Y=WAV;c4W^^\"><field name=\"COMPONENT\">temp_label</field><field name=\"MODE\">True</field><next><block type=\"label_set_mode\" id=\"P6?KVU_oo#cCn0dSFT7J\"><field name=\"COMPONENT\">temp_value</field><field name=\"MODE\">True</field><next><block type=\"image_hide\" id=\"J/fsa?HcmszpAeHn|Q,[\"><field name=\"COMPONENT\">temp_img</field><next><block type=\"label_set_text\" id=\";G1r#U.#tyF]H%K_-hSv\"><field name=\"COMPONENT\">distance_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"KJ}Ky)TE%)H:Z7T9y**8\"><field name=\"TEXT\">TOO CLOSE!!</field></shadow></value><next><block type=\"label_set_color\" id=\"9gGIl3MvA_P?%o5KsOh!\"><field name=\"COMPONENT\">distance_label</field><field name=\"COLOR\">#ff0000</field><next><block type=\"label_set_font\" id=\"a_i[V2P(Zigjp(h[5nG5\"><field name=\"COMPONENT\">distance_label</field><field name=\"FONT_FAMILY\">FONT_DejaVu24</field><next><block type=\"label_set_position\" id=\"$AM311}*)6oH%r),lF#5\"><field name=\"COMPONENT\">distance_label</field><value name=\"X\"><shadow type=\"math_number\" id=\")viRmVMVHB;i*lIY:;6#\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"B4a|NI!,3`!m8q5r4b,D\"><field name=\"NUM\">125</field></shadow></value><next><block type=\"label_set_color\" id=\"A_5x1?UJuR324g_%j|{|\"><field name=\"COMPONENT\">distance_value</field><field name=\"COLOR\">#ff0000</field><next><block type=\"label_set_font\" id=\"d)25+[Wv6B.=$UAlAMU3\"><field name=\"COMPONENT\">distance_value</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_position\" id=\"9N-d@hvlM%a)u{D2c6gI\"><field name=\"COMPONENT\">distance_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"8BZQx$5|0^w]OY30ENj7\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"gWAgWhr!Tz~zt2JXKSeK\"><field name=\"NUM\">150</field></shadow></value><next><block type=\"rgb_set_all\" id=\"NgGmZ2u,QkMI0M)}$-Of\"><field name=\"COLOR\">#ff0000</field><next><block type=\"speaker_sing\" id=\"g5b!KD6So/9DSX30X9MT\"><field name=\"TONE\">220</field><field name=\"BEAT\">1/2</field><next><block type=\"speaker_vol\" id=\"Zq$IuavVtA/CMGk8*yx$\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"?+n#(w3siz^IN7,{1z@v\"><field name=\"NUM\">0.1</field></shadow></value><next><block type=\"timer_delay\" id=\"@:_OfhYkD(V+vnHUfMao\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Ct(Iv#PIanme9Y+B`O/z\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"WgPgjuG0[l=8xuy-Kua2\"><field name=\"VAR\" id=\"^j[O.h?QPz44))x6WZu-\">distance_data</field><value name=\"VALUE\"><block type=\"text\" id=\"7YcA4h9lBe(Cd+*BeVhO\"><field name=\"TEXT\">Normal Distance</field></block></value><next><block type=\"label_set_text\" id=\"a.Niv;kjt:y6Yp:`Ru=E\"><field name=\"COMPONENT\">distance_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"LDLdqWh,Mr.bnh0W*sP+\"><field name=\"TEXT\">Distance Monitoring:</field></shadow></value><next><block type=\"label_set_font\" id=\"fz;Voz8SzqB.{nq1l/oC\"><field name=\"COMPONENT\">distance_label</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"!9uR}ob;spn!dqEC$9A@\"><field name=\"COMPONENT\">distance_label</field><value name=\"X\"><shadow type=\"math_number\" id=\"BE}P4b/L-0?w_dDd59*P\"><field name=\"NUM\">11</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"1/CH[!mqLub/cb]lgGtu\"><field name=\"NUM\">213</field></shadow></value><next><block type=\"label_set_font\" id=\"Q9T}O@I%H!NSI.X6Y[s,\"><field name=\"COMPONENT\">distance_value</field><field name=\"FONT_FAMILY\">FONT_Ubuntu</field><next><block type=\"label_set_position\" id=\"u_MR4dHM;;x87{aRLY_G\"><field name=\"COMPONENT\">distance_value</field><value name=\"X\"><shadow type=\"math_number\" id=\"p(3DT=l!l%o|=Y68#$fY\"><field name=\"NUM\">220</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"Um#r7zGIR[2AhHcJhZLK\"><field name=\"NUM\">213</field></shadow></value><next><block type=\"rgb_set_all\" id=\"Whbu-$+,rTs)s^ohmve2\"><field name=\"COLOR\">#000000</field></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_all\" id=\"pVj]^.kT!gW%!Q+$79)V\"><field name=\"COLOR\">#000000</field><next><block type=\"label_set_text\" id=\"oW,oTd]@iu?kiD18~e/v\"><field name=\"COMPONENT\">welcome_label</field><value name=\"TEXT\"><shadow type=\"text\"><field name=\"TEXT\">Hi, User</field></shadow><block type=\"text\" id=\"G8zWz-G$=)RRQh+y+N_Y\"><field name=\"TEXT\">Welcome!</field></block></value></block></next></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"remoteplus_set_qrcode\" id=\"y}pqp,.9})_(ag8bkKD+\" disabled=\"true\" x=\"1070\" y=\"-850\"><value name=\"X\"><shadow type=\"math_number\" id=\"i*$Aj%;wstdWX29q,,V!\" disabled=\"true\"><field name=\"NUM\">72</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"7i+-453/1]Kc6+2ACbXO\" disabled=\"true\"><field name=\"NUM\">32</field></shadow></value><value name=\"SIZE\"><shadow type=\"math_number\" id=\"fC;`{mimr:MIB*(5Wp3?\" disabled=\"true\"><field name=\"NUM\">176</field></shadow></value></block><block type=\"button_callback\" id=\"[}TMN2Rf@iyMb42v%VxH\" x=\"551\" y=\"-809\"><mutation buttonValue=\"A\" eventValue=\"wasPressed\"></mutation><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"basic_on_loop\" id=\"/r*R{(3#4P:+$p45T!M?\"><statement name=\"LOOP\"><block type=\"label_set_mode\" id=\"oHr*OOjg~swlu{!#j~cI\"><field name=\"COMPONENT\">PIR_label</field><field name=\"MODE\">False</field><next><block type=\"controls_ifelse\" id=\"PjBgW!AW8q~Fy8IxSQw7\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"4HT2D4jCYr}mKlDQ53=T\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"pbhub_analogRead\" id=\"tPBBaLmg!%v+k1=28RFJ\"><field name=\"VARNAME\">pbhub_0</field><value name=\"num\"><shadow type=\"math_number\" id=\"-+OH-,~iS.C[TC#KZRmz\"><field name=\"NUM\">0</field></shadow></value></block></value><value name=\"B\"><block type=\"math_number\" id=\"}=TYvK.%5y#,9j%j@~7/\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"}/PznZ*#4fclTMYV.eC{\"><field name=\"VAR\" id=\"vOezMK,E5+s}W8hP$%jf\">motion_data</field><value name=\"VALUE\"><block type=\"text\" id=\";!D;Bz1D7G7V@ev{5-uV\"><field name=\"TEXT\">No Motion</field></block></value><next><block type=\"label_set_text\" id=\"-o;z`n8hZa%Z!;3m^=mX\"><field name=\"COMPONENT\">PIR_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"RzCh,0;Ar!O(br(rWR-}\"><field name=\"TEXT\"></field></shadow><block type=\"text\" id=\"zQ)$c0!y09fQ%s`iV8Zk\"><field name=\"TEXT\">No Motion</field></block></value><next><block type=\"rgb_set_all\" id=\"~1:Tsryb4bcGJ(3_um+W\"><field name=\"COLOR\">#3333ff</field><next><block type=\"speaker_tone\" id=\"0!ucjE]9fHcq94f5Z9jW\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"Uw_s90OGt+AM}C?/l1br\"><field name=\"NUM\">1000</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"u3L)|A|6%MnYt(_79iO.\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"speaker_vol\" id=\"E]mV}S{GukLDrm^c{V]7\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"qzQg/hjr!JqlIU$TuGri\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set\" id=\"P{Cr@X@sv^sKV{a,QO-~\"><field name=\"VAR\" id=\"vOezMK,E5+s}W8hP$%jf\">motion_data</field><value name=\"VALUE\"><block type=\"text\" id=\":yc[E/l3(rc8#*%G,FLy\"><field name=\"TEXT\">User Active</field></block></value><next><block type=\"label_set_text\" id=\"=~e[:TBNTl^R7_/vS/dx\"><field name=\"COMPONENT\">PIR_label</field><value name=\"TEXT\"><shadow type=\"text\" id=\"_wR[GA3gtvu@/=XaVsQS\"><field name=\"TEXT\"></field></shadow><block type=\"text\" id=\"7l`as:e4m$p;-Z]9QfI!\"><field name=\"TEXT\">User Active</field></block></value><next><block type=\"rgb_set_all\" id=\"feW=CKf#:$6@._]%j,`n\"><field name=\"COLOR\">#000000</field><next><block type=\"speaker_tone\" id=\"gj9rO0R.iG9k!rC0i3Ss\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"h_)N%X+U=xR~#pU5l$]B\"><field name=\"NUM\">0</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"_lR{EbX:L!mt#/KQ#ZJh\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"speaker_vol\" id=\"[Lgebm+-*h,9{O%nAvB]\"><value name=\"VOLUME\"><shadow type=\"math_number\" id=\"B{dlq;b)ZNuTulX+-t}w\"><field name=\"NUM\">0</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></statement></block><block type=\"remoteplus_add_gauge\" id=\"usef]q=O|eqw}f55V7sA\" x=\"1070\" y=\"-790\"><value name=\"RETURN\"><block type=\"dht12_get_temperature\" id=\"gjNjNURJ?90oyf??UWNQ\"><field name=\"VARNAME\">env2_1</field></block></value></block><block type=\"remoteplus_add_label\" id=\"6g7sR3a1y*fhLld/K1sQ\" x=\"1070\" y=\"-710\"><value name=\"RETURN\"><block type=\"variables_get\" id=\"S~DjK*dGzSgw8[=EUfs`\"><field name=\"VAR\" id=\"a8JaT=veW^[c[#r)dnqW\">temp_data</field></block></value></block><block type=\"remoteplus_add_gauge\" id=\"t*E^+u/l[#Xgirrh=X4)\" x=\"1070\" y=\"-630\"><value name=\"RETURN\"><block type=\"dht12_get_humidity\" id=\"yl1HGw+DEPz)+X(148}d\"><field name=\"VARNAME\">env2_1</field></block></value></block><block type=\"remoteplus_add_label\" id=\"+c$Q2dOZ^`g+,0Ie3Y7)\" x=\"1070\" y=\"-550\"><value name=\"RETURN\"><block type=\"variables_get\" id=\"4VX.+u/+npgg[Pw#a!9,\"><field name=\"VAR\" id=\"z!JP1MZ%,8}xX^ej@rVZ\">humidity_data</field></block></value></block><block type=\"remoteplus_add_gauge\" id=\"99hGZ.q4P:t;*pC)T?(]\" x=\"1070\" y=\"-470\"><value name=\"RETURN\"><block type=\"unit_tof_state\" id=\"F74^XoBd];-XsKCQcDC|\"><field name=\"TOF\">tof_0</field></block></value></block><block type=\"remoteplus_add_label\" id=\"[vD.P*O8P6Ez$JjH~e$C\" x=\"1070\" y=\"-390\"><value name=\"RETURN\"><block type=\"variables_get\" id=\",x34OJUl),MHY1-QszlV\"><field name=\"VAR\" id=\"^j[O.h?QPz44))x6WZu-\">distance_data</field></block></value></block><block type=\"remoteplus_add_gauge\" id=\"g!7/7|3Ghk9|YIdK9@ac\" x=\"1070\" y=\"-310\"><value name=\"RETURN\"><block type=\"light_a_read\" id=\"X*P$K$=L7/c(dz(~]An{\"><field name=\"VARNAME\">light_0</field></block></value></block><block type=\"remoteplus_add_label\" id=\"hgFpdqOwEQMcSBdD%qm5\" x=\"1070\" y=\"-230\"><value name=\"RETURN\"><block type=\"variables_get\" id=\"mBJMZfpgfJwF0Z)IkN_-\"><field name=\"VAR\" id=\"Sasvp{_6WnX,+[A;F$1;\">light_data</field></block></value></block><block type=\"remoteplus_add_label\" id=\",trVG[{gcZ6_UEd.;v*P\" x=\"1070\" y=\"-150\"><value name=\"RETURN\"><block type=\"variables_get\" id=\"pU5w)ggepOomR9phW`^1\"><field name=\"VAR\" id=\"vOezMK,E5+s}W8hP$%jf\">motion_data</field></block></value></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1739675613634,"name":"M5RemoteTitle","dragAndDrop":false,"resizable":false,"options":{"minWidth":1,"minHeight":1,"maxWidth":6,"maxHeight":10,"defaultWidth":2,"defaultHeight":1},"w":2,"h":1,"bgColor":"#0080FF","color":"#fff","fontsize":"L","label":"Smart Wellness System","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"","topic":"","needShadow":false,"type":"title","x":0,"y":0},{"id":"DIWzR4viTz$P#RkV","blockId":"usef]q=O|eqw}f55V7sA","createTime":1739675614156,"name":"Temp","dragAndDrop":true,"resizable":true,"options":{"minWidth":4,"minHeight":4,"maxWidth":6,"maxHeight":6,"defaultWidth":4,"defaultHeight":4},"w":4,"h":4,"showTitle":false,"color":"#00ffff","interval":3000,"fontsize":"L","label":"Tempeature","code":"def gauge_Temp_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return env2_1.temperature","event":"gauge_Temp_callback","needShadow":false,"minValue":0,"maxValue":40,"suffix":"C","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","type":"gauge","x":0,"y":0},{"id":"#4Ng0iT+Ml11gCqE","blockId":"6g7sR3a1y*fhLld/K1sQ","createTime":1739675614157,"name":"Temp","dragAndDrop":true,"resizable":true,"options":{"minWidth":2,"minHeight":1,"maxWidth":6,"maxHeight":6,"defaultWidth":2,"defaultHeight":2},"w":2,"h":2,"showTitle":false,"color":"#00ffff","interval":3000,"fontsize":"M","code":"def label_Temp_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return temp_data","event":"label_Temp_callback","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","needShadow":false,"type":"label","x":4,"y":1},{"id":"+Pf7l2NGfGPCMTq8","blockId":"t*E^+u/l[#Xgirrh=X4)","createTime":1739675614157,"name":"Humidity","dragAndDrop":true,"resizable":true,"options":{"minWidth":4,"minHeight":4,"maxWidth":6,"maxHeight":6,"defaultWidth":4,"defaultHeight":4},"w":4,"h":4,"showTitle":false,"color":"#0080FF","interval":3000,"fontsize":"M","label":"Humidity","code":"def gauge_Humidity_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return env2_1.humidity","event":"gauge_Humidity_callback","needShadow":false,"minValue":0,"maxValue":100,"suffix":"%","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","type":"gauge","x":0,"y":4},{"id":"sdEazBF#d^LC!Qcq","blockId":"+c$Q2dOZ^`g+,0Ie3Y7)","createTime":1739675614157,"name":"humidity","dragAndDrop":true,"resizable":true,"options":{"minWidth":2,"minHeight":1,"maxWidth":6,"maxHeight":6,"defaultWidth":2,"defaultHeight":2},"w":2,"h":2,"showTitle":false,"color":"#0080FF","interval":3000,"fontsize":"M","code":"def label_humidity_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return humidity_data","event":"label_humidity_callback","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","needShadow":false,"type":"label","x":4,"y":5},{"id":"*az%QqiMI2t4Ecqy","blockId":"99hGZ.q4P:t;*pC)T?(]","createTime":1739675614158,"name":"distance","dragAndDrop":true,"resizable":true,"options":{"minWidth":4,"minHeight":4,"maxWidth":6,"maxHeight":6,"defaultWidth":4,"defaultHeight":4},"w":4,"h":4,"showTitle":false,"color":"#ff0000","interval":3000,"fontsize":"M","label":"Screen Distance","code":"def gauge_distance_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return tof_0.distance","event":"gauge_distance_callback","needShadow":false,"minValue":0,"maxValue":100,"suffix":"cm","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","type":"gauge","x":0,"y":12},{"id":"H^8C8_ewtvM%Ydag","blockId":"[vD.P*O8P6Ez$JjH~e$C","createTime":1739675614158,"name":"distance","dragAndDrop":true,"resizable":true,"options":{"minWidth":2,"minHeight":1,"maxWidth":6,"maxHeight":6,"defaultWidth":2,"defaultHeight":2},"w":2,"h":2,"showTitle":false,"color":"#ff0000","interval":3000,"fontsize":"M","code":"def label_distance_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return distance_data","event":"label_distance_callback","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","needShadow":false,"type":"label","x":4,"y":13},{"id":"t=FT=eoyDzr24la9","blockId":"g!7/7|3Ghk9|YIdK9@ac","createTime":1739675614158,"name":"light","dragAndDrop":true,"resizable":true,"options":{"minWidth":4,"minHeight":4,"maxWidth":6,"maxHeight":6,"defaultWidth":4,"defaultHeight":4},"w":4,"h":4,"showTitle":false,"color":"#ffaf00","interval":3000,"fontsize":"M","label":"Brightness","code":"def gauge_light_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return light_0.analogValue","event":"gauge_light_callback","needShadow":false,"minValue":0,"maxValue":1000,"suffix":"lux","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","type":"gauge","x":0,"y":8},{"id":"v51B3xqXGVxB#`$k","blockId":"hgFpdqOwEQMcSBdD%qm5","createTime":1739675614159,"name":"brightness","dragAndDrop":true,"resizable":true,"options":{"minWidth":2,"minHeight":1,"maxWidth":6,"maxHeight":6,"defaultWidth":2,"defaultHeight":2},"w":2,"h":2,"showTitle":false,"color":"#ffaf00","interval":3000,"fontsize":"M","code":"def label_brightness_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return light_data","event":"label_brightness_callback","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","needShadow":false,"type":"label","x":4,"y":9},{"id":"yRQqs$QzI2fV4l^p","blockId":",trVG[{gcZ6_UEd.;v*P","createTime":1739675614159,"name":"motion","dragAndDrop":true,"resizable":true,"options":{"minWidth":2,"minHeight":1,"maxWidth":6,"maxHeight":6,"defaultWidth":2,"defaultHeight":2},"w":2,"h":2,"showTitle":false,"color":"#0080FF","interval":3000,"fontsize":"M","code":"def label_motion_callback():\n  global temp_data, humidity_data, distance_data, light_data, motion_data, set_screen_distance, env2_1, rfid_1, pahub_4, light_0, tof_0, pbhub_0 \n  return motion_data","event":"label_motion_callback","dataSource":"uiflow","ezdataToken":"6Gl18CnGGW908RssBx92hIGCSJAkjasw","topic":"","needShadow":false,"type":"label","x":2,"y":16}],"modules":["rgb","remotePlus","remoteplus"],"cbIdList_":[],"eventCBIdList_":[],"apikey":"D99D7D34","uuid":"fde3b743-6c91-4a56-9b99-d9917f78ae48"}

Credits

Kieren Ma
1 project • 1 follower
Wei Feng Chan
1 project • 1 follower
Mohamed Sabith
1 project • 1 follower
Francis Ng
1 project • 1 follower

Comments