From dedb9825720ef4c7f50c3f260d393b0306ace086 Mon Sep 17 00:00:00 2001 From: Ewoud Date: Wed, 24 Jan 2024 15:13:46 +0100 Subject: [PATCH] set/getValue bugfix --- src/Sys/SysModModel.h | 9 +- src/testOutput.txt | 332 ++++++++++++++++++++++++++---------------- 2 files changed, 212 insertions(+), 129 deletions(-) diff --git a/src/Sys/SysModModel.h b/src/Sys/SysModModel.h index ba7ea800..feb07d29 100644 --- a/src/Sys/SysModModel.h +++ b/src/Sys/SysModModel.h @@ -109,12 +109,12 @@ class SysModModel:public SysModule { JsonObject setValue(const char * id, Type value, uint8_t rowNr = UINT8_MAX) { JsonObject var = findVar(id); if (!var.isNull()) { - setValue(var, value, rowNr); + return setValue(var, value, rowNr); } else { USER_PRINTF("setValue Var %s not found\n", id); + return JsonObject(); } - return var; } template @@ -174,10 +174,10 @@ class SysModModel:public SysModule { JsonVariant getValue(const char * id, uint8_t rowNr = UINT8_MAX) { JsonObject var = findVar(id); if (!var.isNull()) { - getValue(var, rowNr); + return getValue(var, rowNr); } else { - // USER_PRINTF("getValue: Var %s does not exist!!\n", id); + USER_PRINTF("getValue: Var %s does not exist!!\n", id); return JsonVariant(); } } @@ -188,6 +188,7 @@ class SysModModel:public SysModule { return valueArray[rowNr]; else { USER_PRINTF("perror getValue no array or rownr wrong %s %d\n", var["value"].as().c_str(), rowNr); + return JsonVariant(); } } else diff --git a/src/testOutput.txt b/src/testOutput.txt index 18152ba4..1edbe017 100644 --- a/src/testOutput.txt +++ b/src/testOutput.txt @@ -1,152 +1,234 @@ λReading model from /model.json... (deserializeConfigFromFS) -λFile /model.json open to read, size 6653 bytes -λRead model [{"id":"Leds","type":"module","ro":false,"o":1,"n":[{"id":"on","type":"checkbox","ro":false,"o":2,"value":true,"stage":true},{"id":"bri","type":"range","ro":false,"o":3,"value":11,"max":255,"log":true,"stage":true},{"id":"pview","type":"canvas","ro":false,"o":4,"loopFun":0,"value":-1},{"id":"fx","type":"select","ro":false,"o":6,"value":15,"stage":true,"n":[{"id":"pal","type":"select","ro":false,"o":7,"value":4,"stage":true},{"id":"gravity","type":"range","ro":false,"o":8,"value":128,"max":255},{"id":"balls","type":"range","ro":false,"o":9,"value":8,"min":1,"max":16}]},{"id":"fixture","type":"select","ro":false,"o":14,"value":1},{"id":"dimensions","type":"text","ro":true,"o":15,"max":32},{"id":"nrOfLeds","type":"text","ro":true,"o":16,"max":32},{"id":"fps","type":"number","ro":false,"o":17,"value":60,"min":1,"max":999},{"id":"realFps","type":"text","ro":true,"o":18,"max":10},{"id":"fxTbl","type":"table","ro":false,"o":5,"n":[{"id":"pro","type":"select","ro":false,"o":10,"value":[2],"stage":true},{"id":"pointX","type":"number","ro":false,"o":11,"value":[21],"max":127},{"id":"pointY","type":"number","ro":false,"o":12,"value":[12],"max":127},{"id":"pointZ","type":"number","ro":false,"o":13,"value":[0],"max":127}]}]},{"id":"Fixture Generator","type":"module","ro":false,"o":19,"n":[{"id":"fixtureGen","type":"select","ro":false,"o":20,"value":0,"n":[{"id":"ledCount","type":"number","ro":false,"o":21,"value":64,"min":1,"max":4096}]},{"id":"pinList","type":"text","ro":false,"o":22,"value":"16","max":32},{"id":"generate","type":"button","ro":false,"o":23}]},{"id":"Files","type":"module","ro":false,"o":24,"n":[{"id":"fileTbl","type":"table","ro":false,"o":25,"n":[{"id":"flName","type":"text","ro":true,"o":26,"max":32},{"id":"flSize","type":"number","ro":true,"o":27},{"id":"flLink","type":"url","ro":true,"o":28},{"id":"flDel","type":"button","ro":false,"o":29,"value":"⌫"}]},{"id":"drsize","type":"text","ro":true,"o":30,"max":32},{"id":"deleteFiles","type":"button","ro":false,"o":31}]},{"id":"System","type":"module","ro":false,"o":32,"n":[{"id":"serverName","type":"text","ro":false,"o":33,"value":"StarMod16MB","max":32},{"id":"upTime","type":"text","ro":true,"o":34,"max":16},{"id":"loops","type":"text","ro":true,"o":35,"max":16},{"id":"heap","type":"text","ro":true,"o":36,"max":32},{"id":"stack","type":"text","ro":true,"o":37,"max":16},{"id":"reboot","type":"button","ro":false,"o":38},{"id":"reset0","type":"select","ro":true,"o":39},{"id":"reset1","type":"select","ro":true,"o":40},{"id":"restartReason","type":"select","ro":true,"o":41},{"id":"version","type":"text","ro":true,"o":42,"max":16}],"view":"vApp"},{"id":"Pins","type":"module","ro":false,"o":43,"n":[{"id":"pinTbl","type":"table","ro":false,"o":44,"n":[{"id":"pinNr","type":"number","ro":true,"o":45,"max":50},{"id":"pinOwner","type":"text","ro":true,"o":46,"max":32},{"id":"pinDetails","type":"text","ro":true,"o":47,"max":256}]},{"id":"board","type":"canvas","ro":true,"o":48,"loopFun":1},{"id":"pin19","type":"checkbox","ro":false,"o":49,"value":true}]},{"id":"Print","type":"module","ro":false,"o":50,"n":[{"id":"pOut","type":"select","ro":false,"o":51,"value":1},{"id":"log","type":"textarea","ro":true,"o":52}]},{"id":"Web","type":"module","ro":false,"o":53,"n":[{"id":"clTbl","type":"table","ro":false,"o":54,"n":[{"id":"clNr","type":"number","ro":true,"o":55,"max":999},{"id":"clIp","type":"text","ro":true,"o":56,"max":16},{"id":"clIsFull","type":"checkbox","ro":true,"o":57},{"id":"clStatus","type":"select","ro":true,"o":58},{"id":"clLength","type":"number","ro":true,"o":59,"max":32}]},{"id":"wsSendBytes","type":"text","ro":true,"o":60,"max":16},{"id":"wsSendJson","type":"text","ro":true,"o":61,"max":16},{"id":"queueLength","type":"number","ro":true,"o":62,"max":32}]},{"id":"Network","type":"module","ro":false,"o":63,"n":[{"id":"ssid","type":"text","ro":false,"o":64,"value":"ewtr","max":32},{"id":"pw","type":"password","ro":false,"o":65,"value":"zonledmod"},{"id":"connect","type":"button","ro":false,"o":66},{"id":"nwstatus","type":"text","ro":true,"o":67,"max":32},{"id":"rssi","type":"text","ro":true,"o":68,"max":32}]},{"id":"DDP","type":"module","ro":false,"o":69,"n":[{"id":"ddpInst","type":"select","ro":false,"o":70,"value":255}]},{"id":"ArtNet","type":"module","ro":false,"o":71,"n":[{"id":"artInst","type":"select","ro":false,"o":72,"value":255}]},{"id":"e131-sACN","type":"module","ro":false,"o":73,"n":[{"id":"dun","type":"number","ro":false,"o":74,"value":1,"max":7},{"id":"dch","type":"number","ro":false,"o":75,"value":1,"min":1,"max":512,"stage":true},{"id":"e131Tbl","type":"table","ro":false,"o":76,"n":[{"id":"e131Channel","type":"number","ro":true,"o":77,"min":1,"max":512},{"id":"e131Name","type":"text","ro":true,"o":78,"max":32},{"id":"e131Max","type":"number","ro":true,"o":79},{"id":"e131Value","type":"number","ro":true,"o":80,"max":255}]}]},{"id":"Model","type":"module","ro":false,"o":81,"n":[{"id":"mSize","type":"text","ro":true,"o":82,"max":32},{"id":"saveModel","type":"button","ro":false,"o":83},{"id":"showObsolete","type":"checkbox","ro":false,"o":84,"value":false},{"id":"deleteObsolete","type":"button","ro":false,"o":85},{"id":"deleteModel","type":"button","ro":false,"o":86}]},{"id":"UI","type":"module","ro":false,"o":87,"n":[{"id":"vlTbl","type":"table","ro":false,"o":88,"n":[{"id":"vlVar","type":"text","ro":true,"o":89,"max":32},{"id":"vlLoopps","type":"number","ro":true,"o":90,"max":999}]}]},{"id":"Instances","type":"module","ro":false,"o":91,"n":[{"id":"insTbl","type":"table","ro":false,"o":92,"n":[{"id":"insName","type":"text","ro":true,"o":93,"max":32},{"id":"insLink","type":"url","ro":true,"o":94},{"id":"insIp","type":"text","ro":true,"o":95,"max":16},{"id":"insType","type":"text","ro":true,"o":96,"max":16},{"id":"insVersion","type":"number","ro":true,"o":97,"max":-1},{"id":"insUp","type":"number","ro":true,"o":98,"max":-1},{"id":"inson","type":"checkbox","ro":false,"o":100},{"id":"insbri","type":"range","ro":false,"o":101,"max":255},{"id":"insfx","type":"select","ro":false,"o":102},{"id":"inspro","type":"select","ro":false,"o":105},{"id":"insdch","type":"number","ro":false,"o":106,"min":1,"max":512},{"id":"inssma","type":"select","ro":false,"o":107},{"id":"inspal","type":"select","ro":false,"o":103}]},{"id":"sma","type":"select","ro":false,"o":99,"value":0,"stage":true}]},{"id":"Modules","type":"module","ro":false,"o":108,"n":[{"id":"mdlTbl","type":"table","ro":false,"o":109,"n":[{"id":"mdlName","type":"text","ro":true,"o":110,"max":32},{"id":"mdlSucces","type":"checkbox","ro":true,"o":111},{"id":"mdlEnabled","type":"checkbox","ro":false,"o":112,"value":true}]}]}] +λFile /model.json open to read, size 6955 bytes +λRead model [{"id":"Preview","type":"appmod","ro":false,"o":1,"n":[{"id":"pview","type":"canvas","ro":false,"o":2,"loopFun":0,"interval":160}]},{"id":"Leds","type":"appmod","ro":false,"o":3,"n":[{"id":"on","type":"checkbox","ro":false,"o":4,"value":1,"stage":true},{"id":"bri","type":"range","ro":false,"o":5,"value":10,"max":255,"log":true,"stage":true},{"id":"fxTbl","type":"table","ro":false,"o":6,"n":[{"id":"pro","type":"select","ro":false,"o":12,"value":2,"stage":true},{"id":"fxStart","type":"coord3D","ro":false,"o":13,"value":[{"x":6,"y":8,"z":0}],"max":127},{"id":"fxEnd","type":"coord3D","ro":false,"o":14,"value":[{"x":24,"y":22,"z":0}],"max":127},{"id":"dimensions","type":"text","ro":true,"o":16,"max":32},{"id":"nrOfLeds","type":"text","ro":true,"o":17,"max":32}]},{"id":"fx","type":"select","ro":false,"o":7,"value":10,"stage":true,"n":[{"id":"pal","type":"select","ro":false,"o":8,"value":4,"stage":true},{"id":"BPM","type":"range","ro":false,"o":9,"value":60,"max":255},{"id":"intensity","type":"range","ro":false,"o":10,"value":128,"max":255},{"id":"blur","type":"range","ro":false,"o":11,"value":128,"max":255}]},{"id":"fixture","type":"select","ro":false,"o":15,"value":0},{"id":"fps","type":"number","ro":false,"o":18,"value":60,"min":1,"max":999},{"id":"realFps","type":"text","ro":true,"o":19,"max":10}]},{"id":"Fixture Generator","type":"usermod","ro":false,"o":20,"n":[{"id":"fixtureGen","type":"select","ro":false,"o":21,"value":1,"n":[{"id":"width","type":"number","ro":false,"o":22,"value":8,"min":1,"max":255},{"id":"height","type":"number","ro":false,"o":23,"value":8,"min":1,"max":255},{"id":"firstLedX","type":"select","ro":false,"o":24,"value":0},{"id":"firstLedY","type":"select","ro":false,"o":25,"value":0},{"id":"serpentine","type":"checkbox","ro":false,"o":26}]},{"id":"pinList","type":"text","ro":false,"o":27,"value":"16","max":32},{"id":"generate","type":"button","ro":false,"o":28}]},{"id":"Files","type":"sysmod","ro":false,"o":29,"n":[{"id":"fileTbl","type":"table","ro":false,"o":30,"n":[{"id":"flName","type":"text","ro":true,"o":31,"max":32},{"id":"flSize","type":"number","ro":true,"o":32},{"id":"flLink","type":"url","ro":true,"o":33}]},{"id":"drsize","type":"text","ro":true,"o":34,"max":32}]},{"id":"System","type":"sysmod","ro":false,"o":35,"n":[{"id":"serverName","type":"text","ro":false,"o":36,"value":"StarMod16MB","max":32},{"id":"upTime","type":"text","ro":true,"o":37,"max":16},{"id":"loops","type":"text","ro":true,"o":38,"max":16},{"id":"chip","type":"text","ro":true,"o":39,"max":16},{"id":"heap","type":"text","ro":true,"o":40,"max":32},{"id":"stack","type":"text","ro":true,"o":41,"max":16},{"id":"reboot","type":"button","ro":false,"o":42},{"id":"reset0","type":"select","ro":true,"o":43},{"id":"reset1","type":"select","ro":true,"o":44},{"id":"restartReason","type":"select","ro":true,"o":45},{"id":"version","type":"text","ro":true,"o":46,"max":16}],"view":"vAll"},{"id":"Pins","type":"sysmod","ro":false,"o":47,"n":[{"id":"pinTbl","type":"table","ro":true,"o":48,"n":[{"id":"pinNr","type":"number","ro":true,"o":49,"max":50},{"id":"pinOwner","type":"text","ro":true,"o":50,"max":32},{"id":"pinDetails","type":"text","ro":true,"o":51,"max":256}]},{"id":"board","type":"canvas","ro":true,"o":52,"loopFun":1,"interval":1000},{"id":"pin19","type":"checkbox","ro":false,"o":53,"value":1}]},{"id":"Print","type":"sysmod","ro":false,"o":54,"n":[{"id":"pOut","type":"select","ro":false,"o":55,"value":1},{"id":"log","type":"textarea","ro":true,"o":56}]},{"id":"Web","type":"sysmod","ro":false,"o":57,"n":[{"id":"clTbl","type":"table","ro":true,"o":58,"n":[{"id":"clNr","type":"number","ro":true,"o":59,"max":999},{"id":"clIp","type":"text","ro":true,"o":60,"max":16},{"id":"clIsFull","type":"checkbox","ro":true,"o":61},{"id":"clStatus","type":"select","ro":true,"o":62},{"id":"clLength","type":"number","ro":true,"o":63,"max":64}]},{"id":"wsSendBytes","type":"text","ro":true,"o":64,"max":16},{"id":"wsSendJson","type":"text","ro":true,"o":65,"max":16},{"id":"queueLength","type":"number","ro":true,"o":66,"max":64}]},{"id":"Network","type":"sysmod","ro":false,"o":67,"n":[{"id":"ssid","type":"text","ro":false,"o":68,"value":"ewtr","max":32},{"id":"pw","type":"password","ro":false,"o":69,"value":"zonledmod"},{"id":"connect","type":"button","ro":false,"o":70},{"id":"nwstatus","type":"text","ro":true,"o":71,"max":32},{"id":"rssi","type":"text","ro":true,"o":72,"max":32}]},{"id":"DDP","type":"usermod","ro":false,"o":73,"n":[{"id":"ddpInst","type":"select","ro":false,"o":74}]},{"id":"ArtNet","type":"usermod","ro":false,"o":75,"n":[{"id":"artInst","type":"select","ro":false,"o":76}]},{"id":"e131-sACN","type":"usermod","ro":false,"o":77,"n":[{"id":"dun","type":"number","ro":false,"o":78,"value":1,"max":7},{"id":"dch","type":"number","ro":false,"o":79,"value":1,"min":1,"max":512,"stage":true},{"id":"e131Tbl","type":"table","ro":true,"o":80,"n":[{"id":"e131Channel","type":"number","ro":true,"o":81,"min":1,"max":512},{"id":"e131Name","type":"text","ro":true,"o":82,"max":32},{"id":"e131Max","type":"number","ro":true,"o":83},{"id":"e131Value","type":"number","ro":true,"o":84,"max":255}]}]},{"id":"Model","type":"sysmod","ro":false,"o":85,"n":[{"id":"mSize","type":"text","ro":true,"o":86,"max":32},{"id":"saveModel","type":"button","ro":false,"o":87},{"id":"showObsolete","type":"checkbox","ro":false,"o":88,"value":0},{"id":"deleteObsolete","type":"button","ro":false,"o":89}]},{"id":"UI","type":"sysmod","ro":false,"o":90,"n":[{"id":"vlTbl","type":"table","ro":true,"o":91,"n":[{"id":"vlVar","type":"text","ro":true,"o":92,"max":32},{"id":"vlLoopps","type":"number","ro":true,"o":93,"max":999}]}]},{"id":"Instances","type":"sysmod","ro":false,"o":94,"n":[{"id":"insTbl","type":"table","ro":true,"o":95,"n":[{"id":"insName","type":"text","ro":true,"o":96,"max":32},{"id":"insLink","type":"url","ro":true,"o":97},{"id":"insIp","type":"text","ro":true,"o":98,"max":16},{"id":"insType","type":"text","ro":true,"o":99,"max":16},{"id":"insVersion","type":"number","ro":true,"o":100,"max":-1},{"id":"insUp","type":"number","ro":true,"o":101,"max":-1},{"id":"inson","type":"checkbox","ro":false,"o":103},{"id":"insbri","type":"range","ro":false,"o":104,"max":255,"log":true},{"id":"inspro","type":"select","ro":false,"o":105},{"id":"insfx","type":"select","ro":false,"o":106},{"id":"insdch","type":"number","ro":false,"o":108,"min":1,"max":512},{"id":"inssma","type":"select","ro":false,"o":109},{"id":"inspal","type":"select","ro":false,"o":107}]},{"id":"sma","type":"select","ro":false,"o":102,"value":0,"stage":true}]},{"id":"Modules","type":"sysmod","ro":false,"o":110,"n":[{"id":"mdlTbl","type":"table","ro":true,"o":111,"n":[{"id":"mdlName","type":"text","ro":true,"o":112,"max":32},{"id":"mdlSucces","type":"checkbox","ro":true,"o":113},{"id":"mdlEnabled","type":"checkbox","ro":false,"o":114,"value":[true,true,true,true,true,true,true,true,true,false,false,true,true,true,true,true,true]}]}]}] λsendDataWs no ws -λchFun init bri v:11 -λSet Brightness to 11 -> b:11 r:1 -λchFun init fx v:15 -λsetEffect 15 20 20 -λinitVar create new select: fx->pal -λchFun init pal v:4 -λinitVar create new range: fx->gravity -λinitVar create new range: fx->balls -λparentVar {"id":"fx","type":"select","ro":false,"o":-6,"value":15,"stage":true,"uiFun":4,"chFun":1,"n":[{"id":"pal","type":"select","ro":false,"o":-7,"uiFun":5,"chFun":2,"value":4,"stage":true},{"id":"gravity","type":"range","ro":false,"o":-8,"value":128,"max":255},{"id":"balls","type":"range","ro":false,"o":-9,"value":8,"min":1,"max":16}]} -λchFun init pro v:[2] -λchFun init fixture v:1 +λinitVarAndUpdate chFun init bri v:10 +λSet Brightness to 10 -> b:10 r:1 +λinitVarAndUpdate chFun init fx v:10 +λsetEffect 10 +λinitVar create new select var: fx->pal +λinitVarAndUpdate chFun init pal v:4 +λinitVar create new range var: fx->BPM +λinitVar create new range var: fx->intensity +λinitVar create new range var: fx->blur +λparentVar {"details":{"id":"fx","type":"select","ro":false,"o":-7,"value":10,"stage":true,"uiFun":4,"chFun":1,"n":[{"id":"pal","type":"select","ro":false,"o":-8,"uiFun":5,"chFun":2,"value":4,"stage":true},{"id":"BPM","type":"range","ro":false,"o":-9,"value":60,"max":255},{"id":"intensity","type":"range","ro":false,"o":-10,"value":128,"max":255},{"id":"blur","type":"range","ro":false,"o":-11,"value":128,"max":255}]}} +λinitVarAndUpdate chFun init pro v:2 +λinitVarAndUpdate chFun init fxStart v:[{"x":6,"y":8,"z":0}] +λCoord3D assign 6 8 0 +λinitVarAndUpdate chFun init fxEnd v:[{"x":24,"y":22,"z":0}] +λCoord3D assign 24 22 0 +λinitVarAndUpdate chFun init fixture v:0 λseqNrToName: 2DMatrix3232.json 9640 λfixture chFun send ws done {"pview":{"file":"/2DMatrix3232.json"}} -λchFun init fps v:60 -λchFun init fixtureGen v:0 -λinitVar create new number: fixtureGen->ledCount -λversion 23121416 Dec 14 2023 16:30:04 16:30:4 -λchFun init pin19 v:true -λupdateGPIO pin19:=1 -λchFun init ddpInst v:255 -λchFun init artInst v:255 -λchFun init dun v:1 -λchFun init dch v:1 -λchFun init showObsolete v:false -λstage on true found -λstage bri 11 found -λstage fx 15 found +λinitVarAndUpdate chFun init fps v:60 +λinitVarAndUpdate chFun init fixtureGen v:1 +λinitVar create new number var: fixtureGen->width +λinitVar create new number var: fixtureGen->height +λinitVar create new select var: fixtureGen->firstLedX +λinitVar create new select var: fixtureGen->firstLedY +λinitVar create new checkbox var: fixtureGen->serpentine +λparentVar {"details":{"id":"fixtureGen","type":"select","ro":false,"o":-21,"value":1,"uiFun":14,"chFun":8,"n":[{"id":"width","type":"number","ro":false,"o":-22,"value":8,"min":1,"max":255},{"id":"height","type":"number","ro":false,"o":-23,"value":8,"min":1,"max":255},{"id":"firstLedX","type":"select","ro":false,"o":-24,"uiFun":15,"value":0},{"id":"firstLedY","type":"select","ro":false,"o":-25,"uiFun":16,"value":0},{"id":"serpentine","type":"checkbox","ro":false,"o":-26}]}} +λversion 24012415 Jan 24 2024 15:06:21 15:6:21 +λinitVarAndUpdate chFun init pin19 v:1 +λinitVarAndUpdate chFun init ddpInst v:null +λinitVarAndUpdate chFun init artInst v:null +λinitVarAndUpdate chFun init dun v:1 +λinitVarAndUpdate chFun init dch v:1 +λinitVarAndUpdate chFun init showObsolete v:0 +λstage on 1 found +λstage bri 10 found +λstage pro 2 found +λstage fx 10 found λstage pal 4 found -λstage pro [2] found λstage dch 1 found λstage sma 0 found -λUDPWLEDSyncMessage 44 1460 1193λchFun init mdlEnabled v:true -λ no rowNr!!λ {"id":"mdlEnabled","type":"checkbox","ro":false,"o":-111,"value":true,"uiFun":74,"chFun":27} +λUDPWLEDSyncMessage 44 1460 1193 +λinitVarAndUpdate uiFun value is null {"id":"mdlName","type":"text","ro":true,"o":-112,"max":32,"uiFun":72} +λinitVarAndUpdate mdlName count:17 b:1 +λsetValue var mdlName (0) value null not array, creating +λsetChFunAndWs mdlName JsonArray ["Preview"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN","Model"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN","Model","UI"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN","Model","UI","WLED Audio Sync Receiver"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN","Model","UI","WLED Audio Sync Receiver","MDNS"] +λsetChFunAndWs mdlName JsonArray ["Preview","Leds","Fixture Generator","Files","System","Pins","Print","Web","Network","DDP","ArtNet","e131-sACN","Model","UI","WLED Audio Sync Receiver","MDNS","Instances"] +λinitVarAndUpdate uiFun value is null {"id":"mdlSucces","type":"checkbox","ro":true,"o":-113,"uiFun":73} +λinitVarAndUpdate mdlSucces count:17 b:1 +λsetValue var mdlSucces (0) value null not array, creating +λsetChFunAndWs mdlSucces JsonArray [true] +λsetChFunAndWs mdlSucces JsonArray [true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true] +λsetChFunAndWs mdlSucces JsonArray [true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true] +λinitVarAndUpdate mdlEnabled count:17 b:0 +λinitVarAndUpdate chFun init mdlEnabled v:[true,true,true,true,true,true,true,true,true,false,false,true,true,true,true,true,true] λseqNrToName: 2DMatrix3232.json 9640 λJsonRDWS constructing /2DMatrix3232.json r λpins 16: 0-1023 λallocatePin 16 Leds 0-1023 λJsonRDWS found all what it was looking for 1030 >= 6 -λfixtureProjectAndMap P:32x32x1 V:8x8x1 and P:1024 V:44 -λsetValueC: RO non lossy dimensions P:32x32x1 V:8x8x1 -λsetValueC: RO non lossy nrOfLeds P:1024 V:44 +λfixtureProjectAndMap P:32x32x1 V:18x14x1 and P:1024 V:252 +λsetValue changed dimensions (255) null->.. +λsetValue changed nrOfLeds (255) null->.. λJsonRDWS destructing λFastLED.addLeds new 16: 0-1024 λlastReconnectAttempt == 0 λAccess point disabled (init). λConnecting to WiFi ewtr / ********* +λsetValue var vlLoopps (0) value null not array, creating +λsetChFunAndWs vlLoopps JsonArray [1] +λsetChFunAndWs vlLoopps JsonArray [1,1] λConnected 192.168.8.153 -λsetValueC: RO non lossy nwstatus Connected 192.168.8.153 +λsetValue changed nwstatus (255) null->.. λserver (re)started λUserModE131::connected && enabled λUserModE131 - Create ESPAsyncE131 λNetwork exists, begin e131.begin ok λmDNS started C8:F0:9E:73:61:EC -> c8f09e7361ec -> wled-7361ec -αWebserver: addUrl / text/html csdata 1061164936-19248 (/)α! -λinsTbl updateNode 166 -αWS client connected client: 1 ...126 q:0 l:0 s:1 (#:1) -λsendDataWs parallel 2 loopTask -λsendDataWs parallel 2 loopTask -λsendDataWs parallel 2 loopTask -λsendDataWs parallel 2 loopTask -λsendDataWs parallel 2 loopTask -αWS event data client: 1 ...126 q:0 l:1 s:1 (#:1) -αfxTbl childs {"id":"pro","type":"select","ro":false,"o":10,"value":[2],"stage":true,"uiFun":6,"chFun":3} -αfxTbl childs {"id":"pointX","type":"number","ro":false,"o":11,"value":[21],"max":127,"uiFun":7} -αfxTbl childs {"id":"pointY","type":"number","ro":false,"o":12,"value":[12],"max":127} -αfxTbl childs {"id":"pointZ","type":"number","ro":false,"o":13,"value":[0],"max":127} +λsetChFunAndWs vlLoopps JsonArray [5,1] +λinsTbl updateNode 152 +αWebserver: server->on addUrl / text/html csdata 1061164416-20735 (/)α! +αWS client connected client: 1 ...125 q:0 l:0 s:1 (#:1) +αWS event data client: 1 ...125 q:0 l:15 s:1 (#:1) +αWS_EVT_DATA json {"pview":{"label":"Preview","comment":"Shows the fixture"}} +αWS_EVT_DATA info 74 / 3072 (2%) (1 0 2) +αWS event data client: 1 ...125 q:0 l:16 s:1 (#:1) +αWS_EVT_DATA json {"on":{"label":"On/Off"},"bri":{"label":"Brightness"},"pro":{"label":"Projection","comment":"How to project fx to fixture","options":["None","Random","Distance from point","Distance from center","Mirror","Reverse","Multiply","Kaleidoscope","Fun"]},"fxStart":{"label":"Start"},"fxEnd":{"label":"End"},"dimensions":{"value":"P:32x32x1 V:18x14x1"},"nrOfLeds":{"value":"P:1024 V:252","comment":"Max 4096"}} +αWS_EVT_DATA info 526 / 3072 (17%) (7 0 3) +αWS event data client: 1 ...125 q:0 l:17 s:1 (#:1) αseqNrToName: 2DMatrix3232.json 9640 -αWS_EVT_DATA json {"uiFun":["on","bri","pview","fxTbl","pro","pointX","fx","pal","fixture"],"on":{"label":"On/Off"},"bri":{"label":"Brightness"},"pview":{"label":"Preview","comment":"Shows the fixture","file":"/2DMatrix3232.json"},"fxTbl":{"label":"Effects","comment":"List of effects (WIP)","table":[[[2],[21],[12],[0]]]},"pro":{"label":"Projection","comment":"How to project fx to fixture","select":["None","Random","Distance from point","Distance from center","Mirror","Reverse","Multiply","Kaleidoscope","Fun"],"value":[2]},"pointX":{"comment":"Depends on how much leds fastled has configured"},"fx":{"label":"Effect","comment":"Effect to show","select":["Solid 1D","Rainbow 1D","Rainbow with glitter 1D","Sinelon 1D","Running 1D","Confetti 1D","Beats per minute 1D","Juggle 1D","Ripples 3D","SphereMove 3D","Frizzles 2D","Lines 2D","DistortionWaves 2D","Octopus 2D","Lissajous 2D","Bouncing Balls 1D","RingRandomFlow 1D","GEQ 2D","AudioRings 1D","FreqMatrix 1D"],"value":15},"pal":{"label":"Palette","select":["CloudColors","LavaColors","OceanColors","ForestColors","RainbowColors","RainbowStripeColors","PartyColors","HeatColors"],"value":4},"fixture":{"comment":"Fixture to display effect on","select":["1DSpiral64.json","2DMatrix3232.json","2DRing24.json","2DRing241.json","3DSideCube205.json"],"value":1}} -αWS_EVT_DATA info 1826 / 3072 (59%) (10 0 5) -αWS event data client: 1 ...126 q:0 l:4 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["dimensions","nrOfLeds","fps","realFps","fixtureGen","pinList","generate","fileTbl","flName"],"dimensions":{"value":"P:32x32x1 V:8x8x1"},"nrOfLeds":{"value":"P:1024 V:44","comment":"Max 4096"},"fps":{"comment":"Frames per second"},"realFps":{"comment":"Depends on how much leds fastled has configured"},"fixtureGen":{"label":"Fixture","comment":"Type of fixture","select":["1DSpiral","2DMatrix","2DRing","2DRings241","2DCloud","2DWall","2DWheel","3DCone","3DSideCube","3DCube","3DGlobe WIP","3DGeodesicDome WIP"],"value":0},"pinList":{"comment":"One or more e.g. 12,13,14"},"fileTbl":{"label":"Files","comment":"List of files","table":[["1DSpiral64.json",778,"file/1DSpiral64.json","⌫"],["2DMatrix3232.json",9640,"file/2DMatrix3232.json","⌫"],["2DRing24.json",278,"file/2DRing24.json","⌫"],["2DRing241.json",2252,"file/2DRing241.json","⌫"],["3DSideCube205.json",29245,"file/3DSideCube205.json","⌫"],["model.json",6653,"file/model.json","⌫"]]},"flName":{"label":"Name"}} -αWS_EVT_DATA info 1580 / 3072 (51%) (9 0 4) -αWS event data client: 1 ...126 q:0 l:6 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["flSize","flLink","flDel","drsize","deleteFiles","serverName","upTime","heap","reset0"],"flSize":{"label":"Size (B)"},"flLink":{"label":"Show"},"flDel":{"label":"Delete"},"drsize":{"value":"69632 / 1507328 B","label":"Total FS size"},"deleteFiles":{"comment":"All but model.json"},"serverName":{"label":"Name","comment":"Instance name"},"upTime":{"comment":"Uptime of board"},"heap":{"comment":"Free / Total (largest free)"},"reset0":{"label":"Reset 0","comment":"Reason Core 0","select":["NO_MEAN","Vbat power on reset","SW_RESET (2)","SW_RESET (3)","OWDT_RESET","DEEPSLEEP_RESET","SDIO_RESET","TG0WDT_SYS_RESET","TG1WDT_SYS_RESET","RTCWDT_SYS_RESET","INTRUSION_RESET","TGWDT_CPU_RESET","SW reset CPU (12)","RTCWDT_CPU_RESET","for APP CPU, reset by PRO CPU","RTCWDT_BROWN_OUT_RESET","RTCWDT_RTC_RESET"],"value":1}} -αWS_EVT_DATA info 957 / 3072 (31%) (10 0 3) -αWS event data client: 1 ...126 q:0 l:7 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["reset1","restartReason","pinTbl","pinNr","pinOwner","pinDetails","board","pOut","log"],"reset1":{"label":"Reset 1","comment":"Reason Core 1","select":["NO_MEAN","Vbat power on reset","SW_RESET (2)","SW_RESET (3)","OWDT_RESET","DEEPSLEEP_RESET","SDIO_RESET","TG0WDT_SYS_RESET","TG1WDT_SYS_RESET","RTCWDT_SYS_RESET","INTRUSION_RESET","TGWDT_CPU_RESET","SW reset CPU (12)","RTCWDT_CPU_RESET","for APP CPU, reset by PRO CPU","RTCWDT_BROWN_OUT_RESET","RTCWDT_RTC_RESET"],"value":14},"restartReason":{"label":"Restart","comment":"Reason restart","select":["ESP_RST_UNKNOWN","Reset due to power-on event","ESP_RST_EXT","Software reset via esp_restart (3)","SW reset due to exception/panic (4)","ESP_RST_INT_WDT","ESP_RST_TASK_WDT","ESP_RST_WDT","ESP_RST_DEEPSLEEP","ESP_RST_BROWNOUT","ESP_RST_SDIO"],"value":1},"pinTbl":{"label":"Pins","comment":"List of pins","table":[[16,"Leds","0-1023"]]},"pinNr":{"label":"Pin"},"pinOwner":{"label":"Owner"},"pinDetails":{"label":"Details"},"board":{"label":"Board layout","comment":"WIP"},"pOut":{"label":"Output","comment":"System log to Serial or Net print (WIP)","select":["No","Serial","UI","192.168.8.126"],"value":1},"log":{"comment":"Show the printed log"}} -αWS_EVT_DATA info 1408 / 3072 (45%) (10 0 4) -αWS event data client: 1 ...126 q:0 l:9 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["clTbl","clNr","clIp","clIsFull","clStatus","clLength","pw","connect","nwstatus"],"clTbl":{"label":"Clients","comment":"List of clients","table":[[1,"192.168.8.126",false,1,9]]},"clNr":{"label":"Nr"},"clIp":{"label":"IP"},"clIsFull":{"label":"Is full"},"clStatus":{"label":"Status","select":["Disconnected","Connected","Disconnecting"],"value":255},"clLength":{"label":"Length"},"pw":{"label":"Password"},"connect":{"comment":"Force reconnect (you loose current connection)"},"nwstatus":{"label":"Status"}} -αWS_EVT_DATA info 778 / 3072 (25%) (10 0 4) -αWS event data client: 1 ...126 q:0 l:10 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["rssi","ddpInst","artInst","dun","dch","e131Tbl","e131Channel","e131Name","e131Max"],"rssi":{"label":"Wifi signal"},"ddpInst":{"label":"Instance","comment":"Instance to send data","select":[[0,"no sync"],[166,"192.168.8.166 StarModRing"]],"value":255},"artInst":{"label":"Instance","comment":"Instance to send data","select":[[0,"no sync"],[166,"192.168.8.166 StarModRing"]],"value":255},"dun":{"label":"DMX Universe"},"dch":{"label":"DMX Channel","comment":"First channel"},"e131Tbl":{"label":"Vars to watch","comment":"List of instances","table":[[1,"bri",255,0],[2,"fx",20,0],[3,"pal",8,0]]},"e131Channel":{"label":"Channel"},"e131Name":{"label":"Name"},"e131Max":{"label":"Max"}} -αWS_EVT_DATA info 1192 / 3072 (38%) (10 0 4) -αWS event data client: 1 ...126 q:0 l:12 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["e131Value","mSize","saveModel","showObsolete","deleteObsolete","deleteModel","vlTbl","vlVar","vlLoopps"],"e131Value":{"label":"Value"},"mSize":{"label":"Size"},"saveModel":{"comment":"Write to model.json (manual save only currently)"},"showObsolete":{"comment":"Show in UI (refresh)"},"deleteObsolete":{"label":"Delete obsolete variables","comment":"WIP"},"deleteModel":{"comment":"Back to defaults"},"vlTbl":{"label":"Variable loops","comment":"Loops initiated by a variable","table":[["pview",5],["board",1]]},"vlVar":{"label":"Name"},"vlLoopps":{"label":"Loops p s"}} -αWS_EVT_DATA info 792 / 3072 (25%) (10 0 4) -λαWS event data client: 1 ...126 q:0 l:14 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["insTbl","insName","insLink","insIp","insType","insVersion","insUp","inson","insbri"],"insTbl":{"label":"Instances","comment":"List of instances","table":[["StarModRing","http://192.168.8.166","192.168.8.166","StarMod",23121315,62386,1,11,17,4,2,1,0]]},"insName":{"label":"Name"},"insLink":{"label":"Show"},"insIp":{"label":"IP"},"insType":{"label":"Type"},"insVersion":{"label":"Version"},"insUp":{"label":"Uptime"},"inson":{"label":"On/Off"},"insbri":{"label":"Brightness"}} -αWS_EVT_DATA info 830 / 3072 (27%) (10 0 4) -αWS event data client: 1 ...126 q:0 l:15 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["insfx","inspal","inspro","insdch","inssma","sma","mdlTbl","mdlName","mdlSucces"],"insfx":{"label":"Effect","comment":"Effect to show","select":["Solid 1D","Rainbow 1D","Rainbow with glitter 1D","Sinelon 1D","Running 1D","Confetti 1D","Beats per minute 1D","Juggle 1D","Ripples 3D","SphereMove 3D","Frizzles 2D","Lines 2D","DistortionWaves 2D","Octopus 2D","Lissajous 2D","Bouncing Balls 1D","RingRandomFlow 1D","GEQ 2D","AudioRings 1D","FreqMatrix 1D"],"value":0},"inspal":{"label":"Palette","select":["CloudColors","LavaColors","OceanColors","ForestColors","RainbowColors","RainbowStripeColors","PartyColors","HeatColors"],"value":0},"inspro":{"label":"Projection","comment":"How to project fx to fixture","select":["None","Random","Distance from point","Distance from center","Mirror","Reverse","Multiply","Kaleidoscope","Fun"],"value":0},"insdch":{"label":"DMX Channel","comment":"First channel"},"inssma":{"label":"Sync Master","comment":"Instance to sync from","sesetVlect"a:l[u[eB 0v,a"rno sync"] ,[166,"192.168.8.166 StarModRing"]],clIsFull" value":0},"sma":{"(label":"Sync Master","comment":"Instance to sync f0rom","select":[[0,"no sync"],[166,"192.168.8.166 StarModRing"]],"value":0},"mdlTbl":{"label":"Modules","comment":"List of modules","table":[["Leds",true,true],["Fixture Generator",true,true],["Files",true,true],["System",true,true],["Pins",true,true],["Print",true,true],["Web",true,true],["Network",true,true],["DDP",true,false],["ArtNet",true,false],["e131-sACN",true,true],["Model",true,true],["UI",true,true],["WLED Audio Sync Receiver",true,true],["MDNS",true,true],["Instances",true,true]]},"mdlName":{"label":"Name"},"mdlSucces":{"label":"Success"}} -αWS_EVT_DATA info 2721 / 3072 (88%) (10 0 4) -)αWS event data client: 1 ...126 q:0 l:16 s:1 (#:1) -αprocessJson view v:vApp n: 0 s:System -αWS_EVT_DATA json {"view":"vApp"} -αWS_EVT_DATA info 16 / 3072 (0%) (1 0 1) -αWS event data client: 1 ...126 q:0 l:17 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["mdlEnabled"],"mdlEnabled":{"label":"Enabled"}} -αWS_EVT_DATA info 72 / 3072 (2%) (2 0 2) - value false not array, creating +αWS_EVT_DATA json {"fxTbl":{"label":"Effects","comment":"List of effects (WIP)","value":[[2,[{"x":6,"y":8,"z":0}],[{"x":24,"y":22,"z":0}],"P:32x32x1 V:18x14x1","P:1024 V:252"]]},"pal":{"label":"Palette","comment":"Colors","options":["CloudColors","LavaColors","OceanColors","ForestColors","RainbowColors","RainbowStripeColors","PartyColors","HeatColors"]},"fx":{"label":"Effect","comment":"Effect to show","options":["Solid 1D","Rainbow 1D","Rainbow with glitter 1D","Sinelon 1D","Running 1D","Confetti 1D","Beats per minute 1D","Juggle 1D","Ripples 3D","SphereMove 3D","Frizzles 2D","Lines 2D","DistortionWaves 2D","Octopus 2D","Lissajous 2D","Bouncing Balls 1D","RingRandomFlow 1D","GEQ 2D","AudioRings 1D","FreqMatrix 1D"]},"fixture":{"comment":"Fixture to display effect on","options":["2DMatrix3232.json","2DRing241.json"]},"pview":{"file":"/2DMatrix3232.json"},"fps":{"comment":"Frames per second"},"realFps":{"comment":"Depends on how much leds fastled has configured"}} +αWS_EVT_DATA info 1293 / 3072 (42%) (7 0 6) +λSysModWeb clientsChanged +λsetValue var clNr (0) value null αWS event data client: 1 ...125 q:0 l:20 s:1 (#:1) +αWS_EVT_DATA json {"firstLedX":{"options":["Left","Right"]},"firstLedY":{"options":["Top","Bottom"]},"fixtureGen":{"label":"Fixture","comment":"Type of fixture","options":["1DSpiral","2DMatrix","2DRing","2DRings241","2DCloud","2DWall","2DWheel","3DCone","3DSideCube","3DCube","3DGlobe WIP","3DGeodesicDome WIP"]},"pinList":{"comment":"One or more e.g. 12,13,14"}} +αWS_EVT_DATA info 466 / 3072 (15%) (4 0 3) +not array, creating +λsetChFunAndWs clNr JsonArray [1] +αWS event data client: 1 ...125 q:0 l:20 s:1 (#:1) +λsetValue var clIp (0) value null not array, creating +λsetChFunAndWs clIp JsonArray ["192.168.8.125"] +λsetValue var clIsFull (0) value null not array, creating λsetChFunAndWs clIsFull JsonArray [false] -λsetValueI var clStatus value 255 not array, creating -λsetValueI var clStatus[0] value [] := 1 +λsetValue var clStatus (0) value null not array, creating λsetChFunAndWs clStatus JsonArray [1] -λsetValueI var clLength value 0 not array, creating -λsetValueI var clLength[0] value [] := 19 -λsetChFunAndWs clLength JsonArray [19] -λinsTbl updateNode 172 +λsetValue var clLength (0) value null not array, creating +λsetChFunAndWs clLength JsonArray [24] +αWS_EVT_DATA json {"flName":{"label":"Name"},"flSize":{"label":"Size (B)"},"flLink":{"label":"Show"},"fileTbl":{"label":"Files","comment":"List of files","value":[["2DMatrix3232.json",9640,"file/2DMatrix3232.json"],["2DRing241.json",2252,"file/2DRing241.json"],["model.json",6955,"file/model.json"]]},"drsize":{"value":"32768 / 262144 B","label":"Total FS size"}} +αWS_EVT_DATA info 573 / 3072 (18%) (5 0 4) +λsetChFunAndWs vlLoopps JsonArray [6,1] +αWS event data client: 1 ...125 q:0 l:32 s:1 (#:1) +αWS_EVT_DATA json {"serverName":{"label":"Name","comment":"Instance name"},"upTime":{"comment":"Uptime of board"},"heap":{"comment":"Free / Total (largest free)"},"reset0":{"label":"Reset 0","comment":"Reason Core 0","options":["NO_MEAN (0)","power-on (1)","exception (2)","SW reset (3)","watchdog (4)","wakeup (5)","watchdog (6)","watchdog (7)","watchdog (8)","watchdog (9)","intrusion (10)","watchdog (11)","SW restart (12)","watchdog (13)","restart (14)","brown-out (15)","watchdog (16)","watchdog (17)","super watchdog (18)","glitch (19)","EFUSE reset (20)","USB UART reset (21)","JTAG reset (22)","power glitch (23)"]},"reset1":{"label":"Reset 1","comment":"Reason Core 1","options":["NO_MEAN (0)","power-on (1)","exception (2)","SW reset (3)","watchdog (4)","wakeup (5)","watchdog (6)","watchdog (7)","watchdog (8)","watchdog (9)","intrusion (10)","watchdog (11)","SW restart (12)","watchdog (13)","restart (14)","brown-out (15)","watchdog (16)","watchdog (17)","super watchdog (18)","glitch (19)","EFUSE reset (20)","USB UART reset (21)","JTAG reset (22)","power glitch (23)"]},"restartReason":{"label":"Restart","comment":"Reason restart","options":["(0) ESP_RST_UNKNOWN","(1) power-on event","(2) external pin reset","(3) SW restart by esp_restart()","(4) SW error - panic or exception","(5) interrupt watchdog","(6) task watchdog","(7) other watchdog","(8) exit from deep sleep","(9) Brownout Reset","(10) Reset over SDIO"]}} +αWS_EVT_DATA info 1977 / 3072 (64%) (6 0 3) +αWS event data client: 1 ...125 q:0 l:32 s:1 (#:1) +αWS_EVT_DATA json {"pinNr":{"label":"Pin"},"pinOwner":{"label":"Owner"},"pinDetails":{"label":"Details"},"pinTbl":{"label":"Pins","comment":"List of pins","value":[[16,"Leds","0-1023"]]},"board":{"label":"Board layout","comment":"WIP"}} +αWS_EVT_DATA info 337 / 3072 (10%) (5 0 4) +αWS event data client: 1 ...125 q:0 l:32 s:1 (#:1) +αWS_EVT_DATA json {"pOut":{"label":"Output","comment":"System log to Serial or Net print (WIP)","options":["No","Serial","UI","192.168.8.125"]},"log":{"comment":"Show the printed log"}} +αWS_EVT_DATA info 242 / 3072 (7%) (2 0 3) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"clNr":{"label":"Nr"},"clIp":{"label":"IP"},"clIsFull":{"label":"Is full"},"clStatus":{"label":"Status","options":["Disconnected","Connected","Disconnecting"]},"clLength":{"label":"Length"},"clTbl":{"label":"Clients","comment":"List of clients"}} +αWS_EVT_DATA info 324 / 3072 (10%) (6 0 3) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"pw":{"label":"Password"},"connect":{"comment":"Force reconnect (you loose current connection)"},"nwstatus":{"label":"Status"},"rssi":{"label":"Wifi signal"}} +αWS_EVT_DATA info 203 / 3072 (6%) (4 0 2) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"ddpInst":{"label":"Instance","comment":"Instance to send data","options":[[0,"no sync"],[152,"192.168.8.152 StarModS2"]]}} +αWS_EVT_DATA info 215 / 3072 (6%) (1 0 4) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"artInst":{"label":"Instance","comment":"Instance to send data","options":[[0,"no sync"],[152,"192.168.8.152 StarModS2"]]}} +αWS_EVT_DATA info 215 / 3072 (6%) (1 0 4) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"dun":{"label":"DMX Universe"},"dch":{"label":"DMX Channel","comment":"First channel"},"e131Channel":{"label":"Channel"},"e131Name":{"label":"Name"},"e131Max":{"label":"Max"},"e131Value":{"label":"Value"},"e131Tbl":{"label":"Vars to watch","comment":"List of instances","value":[[1,"bri",255,0],[2,"fx",20,0],[3,"pal",8,0]]}} +αWS_EVT_DATA info 617 / 3072 (20%) (7 0 4) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"mSize":{"label":"Size"},"saveModel":{"comment":"Write to model.json (manual save only currently)"},"showObsolete":{"comment":"Show in UI (refresh)"},"deleteObsolete":{"label":"Delete obsolete variables","comment":"WIP"}} +αWS_EVT_DATA info 249 / 3072 (8%) (4 0 2) +αWS event data client: 1 ...125 q:0 l:33 s:1 (#:1) +αWS_EVT_DATA json {"vlVar":{"label":"Name"},"vlLoopps":{"label":"Loops p s"}} +αWS_EVT_DATA info 79 / 3072 (2%) (2 0 2) +αWS event data client: 1 ...125 q:0 l:34 s:1 (#:1) +αWS_EVT_DATA json {"vlTbl":{"label":"Variable loops","comment":"Loops initiated by a variable","value":[["pview",2],["board",0]]}} +αWS_EVT_DATA info 217 / 3072 (7%) (1 0 4) +αWS event data client: 1 ...125 q:0 l:34 s:1 (#:1) +αWS_EVT_DATA json {"insName":{"label":"Name"},"insLink":{"label":"Show"},"insIp":{"label":"IP"},"insType":{"label":"Type"},"insVersion":{"label":"Version"},"insUp":{"label":"Uptime"},"inson":{"label":"On/Off"},"insbri":{"label":"Brightness"},"inspro":{"label":"Projection","comment":"How to project fx to fixture","options":["None","Random","Distance from point","Distance from center","Mirror","Reverse","Multiply","Kaleidoscope","Fun"]}} +αWS_EVT_DATA info 555 / 3072 (18%) (9 0 3) +αWS event data client: 1 ...125 q:0 l:35 s:1 (#:1) +αWS_EVT_DATA json {"insfx":{"label":"Effect","comment":"Effect to show","options":["Solid 1D","Rainbow 1D","Rainbow with glitter 1D","Sinelon 1D","Running 1D","Confetti 1D","Beats per minute 1D","Juggle 1D","Ripples 3D","SphereMove 3D","Frizzles 2D","Lines 2D","DistortionWaves 2D","Octopus 2D","Lissajous 2D","Bouncing Balls 1D","RingRandomFlow 1D","GEQ 2D","AudioRings 1D","FreqMatrix 1D"]},"inspal":{"label":"Palette","comment":"Colors","options":["CloudColors","LavaColors","OceanColors","ForestColors","RainbowColors","RainbowStripeColors","PartyColors","HeatColors"]},"insdch":{"label":"DMX Channel","comment":"First channel"},"inssma":{"label":"Sync Master","comment":"Instance to sync from","options":[[0,"no sync"],[152,"192.168.8.152 StarModS2"]]},"insTbl":{"label":"Instances","comment":"List of instances","value":[["StarModS2","http://192.168.8.152","192.168.8.152","StarMod",24012317,29386,1,10,2,14,4,1,0]]},"sma":{"label":"Sync Master","comment":"Instance to sync from","options":[[0,"no sync"],[152,"192.168.8.152 StarModS2"]]}} +αWS_EVT_DATA info 1426 / 3072 (46%) (6 0 4) +αWS event data client: 1 ...125 q:0 l:35 s:1 (#:1) +αWS_EVT_DATA json {"mdlName":{"label":"Name"},"mdlSucces":{"label":"Success"},"mdlEnabled":{"label":"Enabled"}} +αWS_EVT_DATA info 117 / 3072 (3%) (3 0 2) +αWS event data client: 1 ...125 q:0 l:36 s:1 (#:1) +αWS_EVT_DATA json {"mdlTbl":{"label":"Modules","comment":"List of modules"}} +αWS_EVT_DATA info 72 / 3072 (2%) (1 0 2) αfileServer request /file /file/2DMatrix3232.json /2DMatrix3232.json -λsetValueI var clLength[0] value [19] := 2 -λsetChFunAndWs clLength JsonArray [2] -λinsTbl updateNode 189 -λinsTbl updateNode 147 -λsetValueI var clLength[0] value [2] := 1 -λsetChFunAndWs clLength JsonArray [1] -λinsTbl updateNode 153 -λsendSysInfoUDP ���StarMod16MB s:1460 p:65506 i:...153 -λsetValueC: RO non lossy version 23121416 -λ❤️λsetValueI var clLength[0] value [1] := 2 -λsetChFunAndWs clLength JsonArray [2] -αWS event data client: 1 ...126 q:0 l:1 s:1 (#:1) -αprocessJson k:fx r:na (15 == 10 ? 0) -αchFun fx r:255 v:10 -αsetEffect 10 20 20 -αinitVar create new select: fx->pal -αchFun init pal v:4 -αinitVar create new range: fx->BPM -αinitVar create new range: fx->intensity -αinitVar create new range: fx->blur -αparentVar {"id":"fx","type":"select","ro":false,"o":6,"value":10,"stage":true,"uiFun":4,"chFun":1,"n":[{"id":"pal","type":"select","ro":false,"o":-112,"uiFun":75,"chFun":28,"value":4,"stage":true},{"id":"BPM","type":"range","ro":false,"o":-113,"value":60,"max":255},{"id":"intensity","type":"range","ro":false,"o":-114,"value":128,"max":255},{"id":"blur","type":"range","ro":false,"o":-115,"value":128,"max":255}]} -αWS_EVT_DATA json {"fx":{"value":10}} -αWS_EVT_DATA info 32 / 3072 (1%) (1 0 2) -αWS event data client: 1 ...126 q:0 l:2 s:1 (#:1) -αWS_EVT_DATA json {"uiFun":["pal"],"pal":{"label":"Palette","select":["CloudColors","LavaColors","OceanColors","ForestColors","RainbowColors","RainbowStripeColors","PartyColors","HeatColors"],"value":4}} -αWS_EVT_DATA info 232 / 3072 (7%) (2 0 3) -λseqNrToName: 2DMatrix3232.json 9640 -λJsonRDWS constructing /2DMatrix3232.json r -λpins 16: 0-1023 -λallocatePin 16 Leds 0-1023 -λJsonRDWS found all what it was looking for 1030 >= 6 -λfixtureProjectAndMap P:32x32x1 V:16x16x1 and P:1024 V:256 -λsetValueC: RO non lossy dimensions P:32x32x1 V:16x16x1 -λsetValueC: RO non lossy nrOfLeds P:1024 V:256 -λJsonRDWS destructing -λFastLED.addLeds new 16: 0-1024 -λsendSysInfoUDP ���StarMod16MB s:1460 p:65506 i:...153 -λsendSysInfoUDP ���StarMod16MB s:1460 p:65506 i:...153 \ No newline at end of file +λsetChFunAndWs clLength JsonArray [28] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs clLength JsonArray [3] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetValue changed version (255) null->.. +λ❤️λinsTbl updateNode 153 +λsendSysInfoUDP StarMod16MB s:1460 p:65506 i:...153 +λsetChFunAndWs vlLoopps JsonArray [5,1] +λinsTbl updateNode 166 +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λ❤️λsetChFunAndWs vlLoopps JsonArray [6,1] +λsendSysInfoUDP StarMod16MB s:1460 p:65506 i:...153 +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λinsTbl updateNode 171 +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λ❤️λsetChFunAndWs vlLoopps JsonArray [6,1] +λsendSysInfoUDP StarMod16MB s:1460 p:65506 i:...153 +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λ❤️λsendSysInfoUDP StarMod16MB s:1460 p:65506 i:...153 +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λsetChFunAndWs vlLoopps JsonArray [6,1] +λsetChFunAndWs vlLoopps JsonArray [5,1] +λ❤️λsendSysInfoUDP StarMod16MB s:1460 p:65506 i:...153 \ No newline at end of file