Jakob Vicari
Published © MIT

Butterfly Diaries - Interactive Metamorphosis Observatory

An innovative project that transforms the metamorphosis of Painted Lady butterflies into an interactive hero's journey.

AdvancedWork in progressOver 4 days288
Butterfly Diaries - Interactive Metamorphosis Observatory

Things used in this project

Story

Read more

Custom parts and enclosures

CAd Prototype version 0ß.1

This is the box as a prototype. Unfortunately not perfect in this condition.

Sketchfab still processing.

Code

ButterflyDiaries Code

MicroPython
Use flow.m5stack.com in version 1. Load the additional blocks first. Then the code.
{"components":[{"id":"____screen","createTime":1744011035388,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","size":0,"screenType":"default","type":"screen"},{"id":"____buttonA","createTime":1744011035388,"name":"ButtonA","buttonIndex":0,"x":44,"y":274,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1744011035388,"name":"ButtonB","buttonIndex":1,"x":158,"y":274,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1744011035388,"name":"ButtonC","buttonIndex":2,"x":273,"y":274,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"du2CdHuB8j3$YXiU","createTime":1744011477720,"isCoreTwo":false,"isPaper":false,"name":"Temperatur","x":153,"y":109,"color":"#FFFFFF","text":"0","font":"lcd.FONT_DejaVu18","rotation":0,"screenType":"default","type":"label","layer":8},{"id":"Hc=Lg!K9rz@P7a_q","createTime":1744011642767,"isCoreTwo":false,"isPaper":false,"name":"label0","x":12,"y":209,"color":"#ffc1c1","text":"miss mich!","font":"lcd.FONT_Comic","rotation":0,"screenType":"default","type":"label","layer":10},{"id":"^E#eYoyZk5ub%n=k","createTime":1744011876137,"isCoreTwo":false,"isPaper":false,"name":"Feuchte_Label","x":153,"y":163,"color":"#FFFFFF","text":"0","font":"lcd.FONT_DejaVu18","rotation":0,"screenType":"default","type":"label","layer":12},{"id":"IVzfwS8flzt4KzMb","createTime":1747577392136,"isCoreTwo":false,"isPaper":false,"name":"wifilabel","x":278,"y":10,"color":"#FFFFFF","text":"Wifi","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":10},{"id":"Ke#z1!^J08zp9-dR","createTime":1747578117102,"isCoreTwo":false,"isPaper":false,"name":"batlabel","x":13,"y":10,"color":"#FFFFFF","text":"Batterie","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":12},{"id":"3RtCb&+Spdfi1Fwl","createTime":1747653281642,"name":"batterie","x":80,"y":10,"width":20,"height":10,"borderColor":"#FFFFFF","backgroundColor":"#FFFFFF","screenType":"default","type":"rectangle","layer":16},{"id":"H=8UQ=gXtVyG4=V!","createTime":1747041717469,"isCoreTwo":false,"isPaper":false,"name":"label2","x":22,"y":38,"color":"#ff1616","text":"Raupi 22","font":"lcd.FONT_DejaVu56","rotation":0,"screenType":"default","type":"label","layer":12},{"id":"J9kT9$qH2*Qb^!m3","createTime":1748860505743,"isCoreTwo":false,"isPaper":false,"name":"Uhrzeit","x":262,"y":217,"color":"#FFFFFF","text":"label1","font":"lcd.FONT_Default","rotation":0,"screenType":"default","type":"label","layer":16},{"id":"a!5V%#MXe!8slmqL","createTime":1748864277178,"isCoreTwo":false,"isCoreInk":false,"isPaper":false,"name":"image0","x":26,"y":109,"imagePath":"raupe2.png","visibility":true,"imageInvert":false,"imageThreshold":128,"screenType":"default","type":"image","layer":22}],"type":"fire","versions":"Beta","units":[{"id":"QP*Bmo=S_FZ0d4zs","createTime":1751288395322,"count":"36","type":"neopixel","name":"neopixel_0","port":"B","default":["A","B","E","Custom"],"user_port":["21","22"],"icon":"rgb_led.png","url":"https://docs.m5stack.com/en/products/sku/A035"},{"id":"@vVo_nGlsZCK_QxW","createTime":1751288395322,"hidden":false,"type":"env4","name":"env4_0","port":"A","default":["A","E","PAHUB","Custom"],"pb_port":[0,1,2,4,4,5],"new_pb_port":"0","user_port":["21","22"],"icon":"env4.png","url":"https://docs.m5stack.com/en/products/sku/U001-D"}],"hats":[],"stamps":[],"blockly":"<variables><variable id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</variable><variable id=\"Kaje`#miSi}87?D+f0ZM\">humidity</variable><variable id=\"O0i?~dWYy`Tsfzv0;i#W\">pressure</variable><variable id=\"Jm8S^bl(B!%eX:@($-b(\">gas</variable><variable id=\"siq[Wn8E)+e#2.Lz#2ua\">sensorvalue</variable></variables><block type=\"wifi_doConnect\" id=\"]8A?G623%zrSF[k2cqhv\" disabled=\"true\" x=\"-790\" y=\"-890\"><value name=\"apiKey\"><shadow type=\"text\" id=\"}fRqy2v7|iK#ve_iZy?!\" disabled=\"true\"><field name=\"TEXT\"></field></shadow></value><value name=\"Msg\"><shadow type=\"text_password\" id=\"^WyC1k6.^5#`4Q:zYjhY\" disabled=\"true\"><field name=\"TEXT\"></field></shadow></value></block><block type=\"button_callback\" id=\"Y{4A^Ub5Zaq8e-=o%k$*\" x=\"270\" y=\"-910\"><mutation buttonValue=\"A\" eventValue=\"wasPressed\"></mutation><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"variables_set\" id=\"D#SLB3PfZ`Klz~UXs$1Z\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field><value name=\"VALUE\"><block type=\"dht12_get_temperature\" id=\"e-r0Y9WwSn`4A~msXs0R\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"timer_delay_ms\" id=\"L4;Yc.c{){aXIm)sY~]D\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"1v{8?.7H,fS;x_LkEpIt\"><field name=\"NUM\">2000</field></shadow></value><next><block type=\"__tactilenews_airtable_publish\" id=\"_!wBxn2ic8;(p_EJ{a1X\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">TEMP</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"q%g@tN_(s-)MK=WH2)+}\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field></block></value><next><block type=\"label_set_text\" id=\"EcaQwvH~Zf?gPKSLz[2[\"><field name=\"COMPONENT\">Temperatur</field><value name=\"TEXT\"><shadow type=\"text\" id=\"$rMrBId/nqqtkd=u)ob7\"><field name=\"TEXT\">warte</field></shadow><block type=\"text_add\" id=\"fu^0tUqI|Dc;;Qe0cX,B\"><value name=\"arg0\"><shadow type=\"text\" id=\"Q9U+n2*xMx53tb0CkCli\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"rdx%qJ^2r5df.p|P{+XB\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field></block></value><value name=\"arg1\"><block type=\"text\" id=\",3hZ=|a7O/`~v(wE^--q\"><field name=\"TEXT\"> Grad</field></block></value></block></value><next><block type=\"variables_set\" id=\"a._`VWy*TGn9H?Gt,o1y\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field><value name=\"VALUE\"><block type=\"dht12_get_humidity\" id=\"jCpL5.eK@l/o;fw@;xl#\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"timer_delay_ms\" id=\"434E[Gm:=1~;u=s-8ol5\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"mFE,VK|fVc2.?w8bUxZM\"><field name=\"NUM\">2000</field></shadow></value><next><block type=\"__tactilenews_airtable_publish\" id=\"9uQJMUB6x1,!Gi|~}/E=\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">HUM</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"D^O$GpbV2/F[P|H$w~v.\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field></block></value><next><block type=\"label_set_text\" id=\"H!L_Cy3l{(2H0U4K$dD7\"><field name=\"COMPONENT\">Feuchte_Label</field><value name=\"TEXT\"><shadow xmlns=\"\" type=\"text\"><field name=\"TEXT\">warte</field></shadow><block type=\"text_add\" id=\"HCvZv,q(otryp1cYS0:!\"><value name=\"arg0\"><shadow xmlns=\"\" type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"!}Z.t7G^(U:ctw-?h2+z\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"zCFa|jTqFOUQnsFbH}*]\"><field name=\"TEXT\">%</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-730\" y=\"-770\"><next><block type=\"wifi_connect\" id=\"*Gdp|ev*^2+g;tR)WDh{\"><next><block type=\"ntp_init_timezone\" id=\"EERl}5UrhoUYNQn5H[RQ\"><value name=\"host\"><shadow type=\"text\" id=\"XcNYwG3|SS+djK`C=c%f\"><field name=\"TEXT\">cn.pool.ntp.org</field></shadow></value><value name=\"h\"><shadow type=\"math_number\" id=\"cNa@.Bap9U{FZWRQ{xS=\"><field name=\"NUM\">2</field></shadow></value><value name=\"min\"><shadow type=\"math_slider\" id=\"]yqEVs}(!Wu!s}PvvINj\"><field name=\"NUM\" max=\"60\" step=\"1\">0</field></shadow></value><next><block type=\"timer_setStart\" id=\"9yfL`a@8h|C;Mn%+T[a/\"><field name=\"start_name\">messtimer</field><field name=\"mode\">0x00</field><value name=\"period\"><shadow type=\"math_number\" id=\"Cxq*As}O9kE_TEknk`Eg\"><field name=\"NUM\">900000</field></shadow></value><next><block type=\"timer_setStart\" id=\"/9WnsqE~ATbJCgP[nHE@\"><field name=\"start_name\">sendetimer</field><field name=\"mode\">0x00</field><value name=\"period\"><shadow type=\"math_number\" id=\"xB82v#kVyX7q%}5s?T-$\"><field name=\"NUM\">950000</field></shadow></value><next><block type=\"timer_setStart\" id=\"ECZ8G:j2;YTc=m(TvK=*\"><field name=\"start_name\">bildschirmupdate</field><field name=\"mode\">0x00</field><value name=\"period\"><shadow type=\"math_number\" id=\"rZ;G|mWhRuXvl0aD.;I=\"><field name=\"NUM\">500</field></shadow></value><next><block type=\"variables_set\" id=\"OF*e`s$x+PY?Vwd69TS7\"><field name=\"VAR\" id=\"siq[Wn8E)+e#2.Lz#2ua\">sensorvalue</field><value name=\"VALUE\"><block type=\"math_number\" id=\"^znxHH}KNm3ooEx7#k8Z\"><field name=\"NUM\">25</field></block></value><next><block type=\"__tactilenews_airtable_setup\" id=\"v*baGZAepkWI5_}[U|-|\"><field name=\"KEY\"></field><field name=\"BASE_ID\"></field><field name=\"TEAM_NAME\"></field><next><block type=\"variables_set\" id=\"}taiImDF{]stY#DKzsh?\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field><value name=\"VALUE\"><block type=\"dht12_get_temperature\" id=\"hq~`zwD_v:]Of3`2SUyc\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"variables_set\" id=\"Nnyoz$2ntQ;Gt|rm/ljQ\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field><value name=\"VALUE\"><block type=\"dht12_get_humidity\" id=\";:pSIlkzx%B(97xda3Zc\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"basic_on_loop\" id=\"BJ]Z.t;O-Z|L-M}/fW-F\"></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"timer_callback\" id=\"9u#Mx@]aC(bl+mf_Sh+e\" x=\"-70\" y=\"-370\"><field name=\"name\">messtimer</field><statement name=\"FUNC\"><block type=\"variables_set\" id=\"[lSq?k^::$Kjpmi^onW^\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field><value name=\"VALUE\"><block type=\"dht12_get_temperature\" id=\"ebswU31^p8cF;hYBp0c8\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"variables_set\" id=\"QG(Jc]hV`.kws`kni?bM\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field><value name=\"VALUE\"><block type=\"dht12_get_humidity\" id=\"W^b9Yp3*+u05{gp.PX(X\"><field name=\"VARNAME\">env4_0</field></block></value><next><block type=\"variables_set\" id=\"rIrTyqmIPxM!@-U!RXio\"><field name=\"VAR\" id=\"O0i?~dWYy`Tsfzv0;i#W\">pressure</field><value name=\"VALUE\"><block type=\"dht12_pressure\" id=\"_~%D#MI:L;_5?.Ii@ZR;\"><field name=\"VARNAME\">env4_0</field></block></value></block></next></block></next></block></statement></block><block type=\"button_callback\" id=\"C7!4JWhY(k)0CQp4jI^;\" x=\"-390\" y=\"-290\"><mutation buttonValue=\"C\" eventValue=\"wasPressed\"></mutation><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"screen_set_brightness\" id=\"D%snBTiW{6cG*[#!3Qvc\"><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"HZMoq2U$LU6+CO.[);E{\"><field name=\"NUM\" max=\"100\" step=\"1\">0</field></shadow></value></block></statement></block><block type=\"button_callback\" id=\"q^uwa:J9}b4~,,f~4l%?\" x=\"-370\" y=\"-190\"><mutation buttonValue=\"C\" eventValue=\"wasDoublePress\"></mutation><field name=\"BUTTON\">C</field><field name=\"EVENT\">wasDoublePress</field><statement name=\"FUNC\"><block type=\"screen_set_brightness\" id=\",2,}xWP^((!Ir7uuw1RG\"><value name=\"BRIGHTNESS\"><shadow type=\"math_slider\" id=\"U~b9EN#:H[LP#)SPnwNr\"><field name=\"NUM\" max=\"100\" step=\"1\">30</field></shadow></value></block></statement></block><block type=\"timer_callback\" id=\"%CqSdlct1QnS3dJ:IIwS\" x=\"-770\" y=\"-150\"><field name=\"name\">bildschirmupdate</field><statement name=\"FUNC\"><block type=\"controls_if\" id=\"Kl]2,8{wRDRqlk}$gZsy\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"wifi_isconnect\" id=\"gACZ?$^g#KL{0L-:gV@y\"></block></value><statement name=\"DO0\"><block type=\"label_set_color_input\" id=\"xDa7];BaALOZ9EJ,8.~H\"><field name=\"COMPONENT\">wifilabel</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"1{v?kfcOE4J!DZ5J!~^k\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#33cc00</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"label_set_color_input\" id=\"43[OV)+vDsqsBM%{w+*P\"><field name=\"COMPONENT\">wifilabel</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"XoGCB@;voacgr;U-5m%!\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#cc0000</field></block></value></block></statement><next><block type=\"controls_if\" id=\"0ZoR,]V}-J%yUwKZkKE~\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_compare\" id=\"t3^%G9aZ/Z3ks;0wtu(F\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"power_getBatteryLevel\" id=\"qg[vy{HhG}b3lWV.Msk~\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"RDt~MDi+~s,v95X?jEe0\"><field name=\"NUM\">30</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_color_input\" id=\"2?uSXlP0=#{`7(Fy6$54\"><field name=\"COMPONENT\">batlabel</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"mNc.YSMtaE,]+X-e`yM]\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#33cc00</field></block></value><next><block type=\"rect_set_bgcolor_input\" id=\"H}c8jW*+nDX*S/TVlW{^\"><field name=\"COMPONENT\">batterie</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"Z]j:q8P$SqlewRBb-1)^\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#006600</field></block></value><next><block type=\"rect_set_bordercolor_input\" id=\"HqTX|~W1dSMx5xR0`F;+\"><field name=\"COMPONENT\">batterie</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"|9_{9h.g)Gmy,}tQx@Y`\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#009900</field></block></value></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_color_input\" id=\"n$Kgsj18:fR23]RAWf52\"><field name=\"COMPONENT\">batlabel</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"lR$Dic6$)}A9nqZC7k.M\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#cc0000</field></block></value><next><block type=\"rect_set_bgcolor_input\" id=\"VG,D.;-D/+C-G~XFso*x\"><field name=\"COMPONENT\">batterie</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"O$iiBq[l1n}7l$,tZ_p2\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#cc0000</field></block></value><next><block type=\"rect_set_bordercolor_input\" id=\"U]?:RQ~qQR?+{9N-JT^U\"><field name=\"COMPONENT\">batterie</field><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"BeFhq2:R!x_8m?XfC9H?\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff0000</field></block></value></block></next></block></next></block></statement><next><block type=\"label_set_text\" id=\"9slgExD:dJ-xXX03Vh9d\"><field name=\"COMPONENT\">Temperatur</field><value name=\"TEXT\"><shadow xmlns=\"\" type=\"text\" id=\"l^O4~6sFvRX*tO-%^Zat\"><field name=\"TEXT\">warte</field></shadow><block type=\"text_add\" id=\"#GR7_zT~6Ca~94uvyN=)\"><value name=\"arg0\"><shadow xmlns=\"\" type=\"text\" id=\"CDaV,UF!,9$5(_[L2}g4\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"P%7#A3vPYU:Hp(bi1(eG\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"MJ_iR5?~(fH-=@4+],J5\"><field name=\"TEXT\">Grad</field></block></value></block></value><next><block type=\"label_set_text\" id=\"9EvqSnPnQGatCrg(P3%|\"><field name=\"COMPONENT\">Feuchte_Label</field><value name=\"TEXT\"><shadow xmlns=\"\" type=\"text\"><field name=\"TEXT\">warte</field></shadow><block type=\"text_add\" id=\"WbyVnF(cwGO7oA(Ujjhv\"><value name=\"arg0\"><shadow xmlns=\"\" type=\"text\" disabled=\"true\"><field name=\"TEXT\"></field></shadow><block type=\"variables_get\" id=\"]FIVsCfD}l-hcKw$Cz%^\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"j73%2kW?iI.3*ZyuQs+w\"><field name=\"TEXT\">%</field></block></value></block></value><next><block type=\"label_set_text\" id=\"lv.[)oaUI;u]vns8h^~p\"><field name=\"COMPONENT\">Uhrzeit</field><value name=\"TEXT\"><shadow xmlns=\"\" type=\"text\"><field name=\"TEXT\">warte</field></shadow><block type=\"ntp_get_hour\" id=\"*,(tq|1h/2AuyY=55Zhk\"></block></value><next><block type=\"controls_ifelse\" id=\"wmQ^uH,%DH.:#23,K)!,\"><value name=\"IF0\"><block type=\"logic_operation\" id=\"$%yS!$!06%[824JTJ-?U\"><field name=\"OP\">AND</field><value name=\"A\"><block type=\"logic_compare\" id=\"6Pyldj+r[@NzX|f=D!|N\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"ntp_get_hour\" id=\"3DG!OFR955F3jY-KAcBB\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"-Ge?{#PlXQS:|BA:7(s1\"><field name=\"NUM\">7</field></block></value></block></value><value name=\"B\"><block type=\"logic_compare\" id=\"^O-is5I9M{O0[CSE19oW\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"ntp_get_hour\" id=\"bZNqe/kI#1Fw~WOXun~j\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"EFJ[oJuK=cMk-X}5pQt{\"><field name=\"NUM\">18</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"rgb_multi_set_color_from\" id=\"$QIoEB}CJ9!.R7|`a8;a\"><field name=\"VARNAME\">neopixel_0</field><field name=\"COLOR\">#ffffcc</field><value name=\"FROM\"><shadow type=\"math_number\" id=\"?[/s$(W7$/$=y]Gq43b0\"><field name=\"NUM\">16</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"gcJ2+$[8kcY/|(EJQRav\"><field name=\"NUM\">22</field></shadow></value><next><block type=\"rgb_multi_set_brightness\" id=\"PswKL2Nh4DBm}b77wN7r\"><field name=\"VARNAME\">neopixel_0</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\".u,+g.d/~pHqV56Dpn,p\"><field name=\"NUM\">10</field></shadow></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"rgb_multi_set_color_from\" id=\";q)m^=?J5#,)AOS#d/0+\"><field name=\"VARNAME\">neopixel_0</field><field name=\"COLOR\">#ffffcc</field><value name=\"FROM\"><shadow type=\"math_number\" id=\"P{6N/bBW{1_mCCK4iU!a\"><field name=\"NUM\">16</field></shadow></value><value name=\"TO\"><shadow type=\"math_number\" id=\"mjRDwPvpV_I.)dRxP[)7\"><field name=\"NUM\">22</field></shadow></value><next><block type=\"rgb_multi_set_brightness\" id=\"DH=^2+2YKG+e:v9PL)a$\"><field name=\"VARNAME\">neopixel_0</field><value name=\"BRIGHTNESS\"><shadow type=\"math_number\" id=\"?9UdU^uGx%%ggUfk4;^j\"><field name=\"NUM\">0</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"timer_callback\" id=\"$Se9V}M:N0U8~-]gH3Pd\" x=\"-70\" y=\"-150\"><field name=\"name\">sendetimer</field><statement name=\"FUNC\"><block type=\"__tactilenews_airtable_publish\" id=\"E^,:^t|+.;n]pWR3A8zA\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">TEMP</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"uN:uP{NBhc~4YZY!1Gk]\"><field name=\"VAR\" id=\"ul$@TXDZwfvy+Q?Puf_}\">temperature</field></block></value><next><block type=\"__tactilenews_airtable_publish\" id=\"~T~`IKb3Wu/^FS0W(Iq{\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">HUM</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"qEBR+p:*4jgLK.FwKi9U\"><field name=\"VAR\" id=\"Kaje`#miSi}87?D+f0ZM\">humidity</field></block></value><next><block type=\"__tactilenews_airtable_publish\" id=\"^@pPu[X;B7m3uWW6t6:u\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">PRESS</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"9$u,:*uEuYx%J0ExwLrE\"><field name=\"VAR\" id=\"O0i?~dWYy`Tsfzv0;i#W\">pressure</field></block></value><next><block type=\"__tactilenews_airtable_publish\" id=\"i/KZ#1_|F{Eg4f@%$O|L\"><field name=\"TABLE_ID\">tbljdokWtUd12Av1t</field><field name=\"SENSOR_TYPE\">GAS</field><value name=\"SENSOR_VALUE\"><block type=\"variables_get\" id=\"+RF1fHg,,#46}}p,fSAN\"><field name=\"VAR\" id=\"Jm8S^bl(B!%eX:@($-b(\">gas</field></block></value><next><block type=\"label_set_text\" id=\"nc3MaR/[$F%Y%*Mniv|z\"><field name=\"COMPONENT\">Temperatur</field><value name=\"TEXT\"><shadow type=\"text\" id=\"XI,QY)A{lmI*7K.Mlqao\"><field name=\"TEXT\">gespeichert</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"math_number\" id=\"QWH3pzXuk3rO!m7*RkEp\" disabled=\"true\" x=\"-435\" y=\"496\"><field name=\"NUM\">20</field></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"id":"__title","blockId":"","createTime":1751288395322,"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":"IuDZJmxDnTu4CA2WDrmhm3LHlIkIfbl9","topic":"","needShadow":false,"type":"title","x":0,"y":0}],"modules":[],"cbIdList_":[],"eventCBIdList_":[],"apikey":"160D5741","uuid":"a5b395bb-9d92-49f0-b1a0-d28e51286f23"}

Credits

Jakob Vicari
1 project • 0 followers
Thanks to Florian Wallenwein, Emanuel Spieske, Greta Martensen, Kai Weise, Noah Hermann, Yann Kanngiesser, Deliah El-Chehade, and Josha Hummel .

Comments