Hardware components | ||||||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
| × | 1 | ||||
Software apps and online services | ||||||
|
Youtube video:
We first came into this problem of Retail stores, Restaurants and many more places where people have access to storeroom at free will. There is also the fact that these places leave their lights on although there's no one in there. I myself have encountered these problem which I thought to myself, how can I solve it? I also went online to research more on these situations to see if it a problem worth solving.link for people breaking in to ware houses: https://www.thestar.com.my/news/nation/2023/08/02/johor-cops-arrest-suspect-linked-to-theft-at-pengerang-warehouse
Stores in the UK leaving their lights on: https://www.businesswaste.co.uk/news/shop-lights-left-on-during-the-lockdown-costing-millions/
Our innovative project—a smart storage system poised to redefine conventional storage management. This system is meticulously crafted to elevate security measures, streamline climate control, and enhance energy efficiency within storage facilities.
Allow me to elucidate its functionalities. At its core, our system integrates several pivotal components. Firstly, the PIR Sensor autonomously activates lighting upon detecting human presence through infrared light emission, ensuring both safety and convenience.
Further reinforcing security protocols is the RFID sensor, employing advanced radio frequency identification technology. Access is restricted solely to authorized personnel possessing the designated RFID card, fortifying the integrity of your storage environment.
However, our aspirations extend beyond security alone. The ENV III Sensor assumes a pivotal role in maintaining optimal storage conditions. By monitoring temperature, humidity, and atmospheric pressure, it safeguards stored items against environmental fluctuations, preserving their integrity.
In parallel, our system prioritizes energy efficiency through the strategic utilization of servo motors. Serving as both door mechanisms and ventilation shafts, these motors respond to environmental exigencies such as extreme temperatures or chemical spills, thereby ensuring climate stability and judicious energy consumption.
Moreover, our RGB LED lighting system provides efficient illumination within the storage space, facilitating seamless navigation and item retrieval.
In summation, our smart storage system transcends mere storage functionality—it embodies a holistic solution engineered to fortify security, optimize climate control, and maximize energy efficiency. With our system, rest assured that your stored items are safeguarded with the utmost care and precision.
{"components":[{"id":"____screen","createTime":1633849548889,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","size":0,"screenType":"default","type":"screen"},{"id":"____buttonA","createTime":1633849548889,"name":"ButtonA","buttonIndex":0,"x":44,"y":274,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1633849548889,"name":"ButtonB","buttonIndex":1,"x":158,"y":274,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1633849548889,"name":"ButtonC","buttonIndex":2,"x":273,"y":274,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"SR0GzWUKQ`4XScd7","createTime":1707333177078,"isCoreTwo":false,"isPaper":false,"name":"label0","x":22,"y":33,"color":"#FFFFFF","text":"Temperature:","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":38},{"id":"vjVrAYWfkSqf@S5*","createTime":1707333434653,"isCoreTwo":false,"isPaper":false,"name":"label1","x":119,"y":33,"color":"#FFFFFF","text":"label1","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":40},{"id":"98a^!$0G9wLyGZmI","createTime":1707333437177,"isCoreTwo":false,"isPaper":false,"name":"label2","x":22,"y":71,"color":"#FFFFFF","text":"Humidity:","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":42},{"id":"3Rja391bJ@AiD9GC","createTime":1707333439350,"isCoreTwo":false,"isPaper":false,"name":"label3","x":118,"y":71,"color":"#FFFFFF","text":"label3","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":44},{"id":"I5XWa=vM_i*tC*_E","createTime":1707333441563,"isCoreTwo":false,"isPaper":false,"name":"label4","x":118,"y":135,"color":"#FFFFFF","text":"label4","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":46},{"id":"TffgIMIW4vvE+bES","createTime":1707333446108,"isCoreTwo":false,"isPaper":false,"name":"label5","x":118,"y":173,"color":"#FFFFFF","text":"label5","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":48}],"type":"core","versions":"Beta","units":[{"id":"Gg$IkwjtBR0^InUv","createTime":1707365806039,"type":"servo","name":"servo_1","port":"B","default":["A","B","C","E","Custom"],"user_port":["21","22"],"icon":"servo.png","url":"https://docs.m5stack.com/en/accessory/servo_kit","new_port":"B","new_default":["A","B","C","E","Custom"]},{"id":"ZhTa9U$7iT^-fqk^","createTime":1707365806039,"hidden":false,"type":"env2","name":"env2_0","port":"A","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/unit/envII","new_port":"A","new_default":["A","E","PAHUB","Custom"]}],"hats":[],"stamps":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"90\" y=\"-470\"><next><block type=\"servo_unit_write_angle\" id=\"T0x2CH[0(3{0)=rqmWNR\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\".aZ8#=dCVS_.Uo1sT0#P\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"rgb_set_brightness\" id=\"r^O?Eh}}Gq=+z#0aYguU\"><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"Tei2J)BgY/6`]qKCMiak\"><field name=\"NUM\" max=\"100\" step=\"1\">0</field></shadow></value><next><block type=\"basic_on_loop\" id=\"TotWtvxE{1gy9C5d4N{W\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\"B|}{yt^5;@KIjq]uMZ2J\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"o0oZ/AsOAz-FwFEsK633\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"dht12_get_temperature\" id=\"!Fv[/$+?#CNo8}24|CMJ\"><field name=\"VARNAME\">env2_0</field></block></value><next><block type=\"label_set_text\" id=\"3zlUG;*)V/o^yzsaEu|Y\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"yhG!s#EzLb}CQc6E^@mI\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"dht12_get_humidity\" id=\"Dro`)Le(~vyd@#[g_-ce\"><field name=\"VARNAME\">env2_0</field></block></value><next><block type=\"controls_ifelse\" id=\"c.R/};4mQ(zohw2?Zf42\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"K!HmlcTMui|(x[uaYMaP\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"dht12_get_temperature\" id=\"fF~=RE4.)|8rNktBuOIv\"><field name=\"VARNAME\">env2_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"~e0hc%iy|K[@;(ov~-s6\"><field name=\"NUM\">30</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"1}P0nnlYd2J.*$07oUJG\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\" id=\"%Sr9OBS6d(`{$Bw]5(z@\"><field name=\"TEXT\">High Temperature,check!</field></shadow></value><next><block type=\"speaker_tone\" id=\"GnV#K^H(dszS)awmqQC5\"><value name=\"FREQ\"><shadow type=\"math_number\" id=\"934qrr-XP)#c[0A#?r%H\"><field name=\"NUM\">1800</field></shadow></value><value name=\"TIMEOUT\"><shadow type=\"math_number\" id=\"$K^cKV|:90OFQf48vSh`\"><field name=\"NUM\">1000</field></shadow></value><next><block type=\"rgb_set_brightness\" id=\"4^EL+WSC(H34Xw4ofAWX\"><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"e1yK4O,RU2L|*xC@[;.1\"><field name=\"NUM\" max=\"100\" step=\"1\">100</field></shadow></value><next><block type=\"rgb_set_all\" id=\"RA.CUx@csP_376:~hYMw\"><field name=\"COLOR\">#ff0000</field></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"(gWH{@#D:SY4gin^h]Re\"><field name=\"COMPONENT\">label4</field><value name=\"TEXT\"><shadow type=\"text\" id=\"wh79A%6da$*nMB%f)QsG\"><field name=\"TEXT\">Normal temperature</field></shadow></value></block></statement><next><block type=\"controls_ifelse\" id=\"|*RA%5_Jd`k*d7aisz:h\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"t3t~+qxYGf:`TB8k{$78\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"dht12_get_humidity\" id=\"{2MZLn%({7Hfd_C_@F*e\"><field name=\"VARNAME\">env2_0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"Cya]u`i_^#_MIF3{og4l\"><field name=\"NUM\">80</field></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_set_all\" id=\"$|VGRRG#6eefb0D2JloQ\"><field name=\"COLOR\">#ffff66</field><next><block type=\"speaker_sing\" id=\"0Q0TW]4r#/rBNwUhE?Fw\"><field name=\"TONE\">440</field><field name=\"BEAT\">1/2</field><next><block type=\"label_set_text\" id=\"1IX6jO2huDPmKN~P!pzI\"><field name=\"COMPONENT\">label5</field><value name=\"TEXT\"><shadow type=\"text\" id=\"QFC^h_%B5`[IsC*@7.1u\"><field name=\"TEXT\">Too humid,dehumidifying</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"c+/c#a]-}f0j$eaGqAay\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"{Uc~(Fq/njfBOe?TP[ui\"><field name=\"NUM\">180</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"37:KSMuN6YdjE[cu^7XO\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"h)WpV[^#4CbpvOJ?qfT2\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"}nrU#x{N|h.;/GR3s]Dl\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"UD%4Hb+*wbQp-(*M;3HY\"><field name=\"NUM\">180</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"7:ZH[4c7Yf,E9jgtVe1Z\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"S0?R]=e09~c6~vv8M:PR\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"@|$}61w7X#H@AvR;29!Z\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"e=EHN]uc,[{8b}EJ+_@5\"><field name=\"NUM\">180</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"Q/|,:u5l}`8%`$s[NT`y\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"[oki(,,IsjY:#@ji9`iq\"><field name=\"NUM\">0</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"E.E1%s]Uuyho5{g*04UR\"><field name=\"COMPONENT\">label5</field><value name=\"TEXT\"><shadow type=\"text\" id=\"]c|lPR/frE$|0Ud^nN64\"><field name=\"TEXT\">Normal humidity</field></shadow></value></block></statement></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1707365806039,"name":"M5Remote","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":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":["rgb"],"cbIdList_":[],"eventCBIdList_":[],"apikey":"E8267010","uuid":"0dcf0be3-7323-46ba-9c04-ea8a6dff1435"}
{"components":[{"id":"____screen","createTime":1633849548889,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1633849548889,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1633849548889,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1633849548889,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"r`=%c-3l-Omr&ykz","createTime":1633849805141,"isCoreTwo":false,"isPaper":false,"name":"label0","x":107,"y":40,"color":"#FFFFFF","text":"Door Status","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":4},{"id":"jgCngXw$V1$^3^K8","createTime":1633849847123,"isCoreTwo":false,"isPaper":false,"name":"label1","x":136,"y":99,"color":"#FFFFFF","text":"T","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":5},{"id":"BTBgFXcI+Ap#yTlr","createTime":1706758960187,"isCoreTwo":false,"isPaper":false,"name":"label2","x":125,"y":170,"color":"#FFFFFF","text":"User:","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":11},{"id":"$y0@5EcaFTb2I2_u","createTime":1706758960187,"isCoreTwo":false,"isPaper":false,"name":"label3","x":173,"y":170,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":12}],"type":"core","versions":"Beta","units":[{"id":"@=Ps^@#b8vJ_=!Y$","createTime":1707363530711,"type":"rfid","name":"rfid_0","port":"A","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"1","user_port":["21","22"],"icon":"rfid.png","new_port":"A","new_default":["A","E","PAHUB","Custom"]},{"id":"LywHz1rnuoGAAixs","createTime":1707363530711,"type":"servo","name":"servo_1","port":"B","default":["A","B","C","E","Custom"],"user_port":["21","22"],"icon":"servo.png","new_port":"B","new_default":["A","B","C","E","Custom"]}],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"291\" y=\"-50\"><next><block type=\"label_set_text\" id=\"@dG1vjZ|nupt%^yZ6)0C\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"McI%LJD$CoqPuL6))qtv\"><field name=\"TEXT\">Locked</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"y6p.UdMD5y^O.YN}2=Np\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"Oy,v5x6x=~hk~%nndR+e\"><field name=\"NUM\">0</field></shadow></value><next><block type=\"basic_on_loop\" id=\"o`NCd@@OWo7TBn`;`Vxq\"><statement name=\"LOOP\"><block type=\"controls_if\" id=\"`i7XL{m65i=*Nm`}K:L6\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"dW`T/#s6l|=JgUnM_H5C\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"rfid_uid\" id=\"arb@F6=SRcUUCGu3cCM?\"><field name=\"RFID\">rfid_0</field></block></value><value name=\"B\"><block type=\"text\" id=\"ZCnKkub8u[jQgkX`@Jga\"><field name=\"TEXT\">f4d5642a6f</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"S[Dy/}#[eLUDb0JkjrUZ\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"xPNx~;gg85:`wL8KMVG7\"><field name=\"TEXT\">Unlocked</field></shadow></value><next><block type=\"label_set_text\" id=\"11b]2T=,%RB=!+F+ZQwv\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"Ihr}]5*F#@,Lt8;h:g],\"><field name=\"TEXT\">STAFF!</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"Od~n$+}S6of~9_)B]9-s\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"y/!=:jIHrEMZ~fQo^v0}\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"rgb_set_all\" id=\"#].ze2Nx0yV{Sx()/845\"><field name=\"COLOR\">#33ff33</field><next><block type=\"timer_delay\" id=\"2SWo@t:k3c~w4U.I+tqy\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"rE[3`it9VD!zE2-EZMWt\"><field name=\"NUM\">5</field></shadow></value><next><block type=\"servo_unit_write_angle\" id=\"eL#qE])`JpsT5GmX8[OY\"><field name=\"VARNAME\">servo_1</field><value name=\"ANGLE\"><shadow type=\"math_number\" id=\"Pr`zl`SY0tq3Xxe$v2bz\"><field name=\"NUM\">0</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"_Sh.2nt$;]fvh+[IrXye\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"aj=cftC0;b6)TM{dij86\"><field name=\"TEXT\">Locked</field></shadow></value><next><block type=\"label_set_text\" id=\"^T;A_lD#jKsy5HMON4fe\"><field name=\"COMPONENT\">label3</field><value name=\"TEXT\"><shadow type=\"text\" id=\"Wn[}vi9aKgM[zchG)X`%\"><field name=\"TEXT\">Unauthorised</field></shadow></value><next><block type=\"rgb_set_all\" id=\"1WC,zWQk?0A^_*g(iqKO\"><field name=\"COLOR\">#ff0000</field></block></next></block></next></block></statement></block></statement></block></next></block></next></block></next></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1707363530711,"name":"M5Remote","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":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":["rgb"],"cbIdList_":[],"eventCBIdList_":[]}
{"components":[{"id":"____screen","createTime":1543458582801,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#000000","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1543458582802,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1543458582802,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1543458582802,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"V^Kibl81dJ%$3z0E","createTime":1547456200476,"name":"circle0","x":97,"y":76,"radius":15,"borderColor":"#000000","backgroundColor":"#000000","type":"circle","layer":1},{"id":"VHO9r%#l_hS2Y6Go","createTime":1547456202020,"isCoreTwo":false,"isPaper":false,"name":"label0","x":135,"y":152,"color":"#FFFFFF","text":"Z","font":"lcd.FONT_DejaVu18","rotation":0,"type":"label","layer":2},{"id":"*UQ^cMTZm4e_WNwI","createTime":1547456214036,"isCoreTwo":false,"isPaper":false,"name":"label1","x":168,"y":126,"color":"#FFFFFF","text":"Z","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":3},{"id":"cjo*-=y8WFD-+q+1","createTime":1547456219124,"isCoreTwo":false,"isPaper":false,"name":"label2","x":204,"y":94,"color":"#FFFFFF","text":"Z","font":"lcd.FONT_DejaVu40","rotation":0,"type":"label","layer":4},{"id":"T^L=FQqds#&TQfNv","createTime":1547456261260,"isCoreTwo":false,"isPaper":false,"name":"label3","x":245,"y":56,"color":"#FFFFFF","text":"Z","font":"lcd.FONT_DejaVu56","rotation":0,"type":"label","layer":5},{"id":"YjyKK6DkQ^+3ej_t","createTime":1547456295900,"name":"circle1","x":214,"y":76,"radius":15,"borderColor":"#000000","backgroundColor":"#000000","type":"circle","layer":6}],"type":"core","versions":"Beta","units":[{"id":"yIy3#sT!Lh@PmX8=","createTime":1706726294008,"type":"pir","name":"pir0","port":"B","default":["A","B","C"],"user_port":["21","22"],"icon":"pir.png"},{"id":"XwSzG!sFRdEqr@ZR","createTime":1706726473411,"type":"pahub","name":"pahub_1","port":"A","default":["A","E","Custom"],"user_port":["21","22"],"icon":"pa_hub.png"},{"id":"3Bm7^&eDsT0LD9k3","createTime":1706726475326,"type":"pbhub","name":"pbhub_1","port":"PAHUB","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,3,4,5],"new_pb_port":"5","user_port":["21","22"],"icon":"pb_hub.png"}],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"210\" y=\"190\"><next><block type=\"basic_on_loop\" id=\"fSy-UiDHpbQ9|r/Q(x0o\"><statement name=\"LOOP\"><block type=\"controls_ifelse\" id=\";xg?qAl;ToFN]|b7VP_I\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"bE!.MR3j:G2hVkxkeiIq\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"pir_read\" id=\"FSh2g80V4Er5STg=%FWG\"><field name=\"VARNAME\">pir0</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"-93Gf{r)w[}z3~?G+FA%\"><field name=\"NUM\">1</field></block></value></block></value><statement name=\"DO0\"><block type=\"pbhub_setColorPos\" id=\"o+pKuiZ3xBBB2VT-*C,6\"><field name=\"VARNAME\">pbhub_1</field><field name=\"digitalWriteNum\">5</field><field name=\"digitalWritePos\">1</field><field name=\"COLOR\">#ff0000</field></block></statement><statement name=\"ELSE\"><block type=\"pbhub_setColorPos\" id=\"U1s3Bd+[jg,)^?G{0xH6\"><field name=\"VARNAME\">pbhub_1</field><field name=\"digitalWriteNum\">5</field><field name=\"digitalWritePos\">0</field><field name=\"COLOR\">#ffffff</field></block></statement></block></statement></block></next></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1706726294008,"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":"M","label":"M5Remote","interval":3000,"code":"","event":"","dataSource":"none","ezdataToken":"","topic":"","needShadow":false,"type":"title","x":null,"y":null}],"modules":["rgb"],"cbIdList_":[],"eventCBIdList_":[]}
Comments
Please log in or sign up to comment.