From fe816bdb9515af993ac3306ae4164aa9b4d58679 Mon Sep 17 00:00:00 2001 From: Ewoud Date: Mon, 16 Oct 2023 10:51:19 +0200 Subject: [PATCH] Add mDNS (usermod) and serveJson for /json AppEffects: Add Octopus2D (empty, wip) Main: activate mDNS SysModModel: setValueI, add table column (array) support (WIP) SysModSystem: - add serverName (instance name) field SysModUI: add serveJson on URL /json SysModWeb: - loop: update clTbl columns evert second, instead of whole table (WIP) - add serveJson UserModInstances - remove inactive node bugfix - user serverName from mdl --- data/app.js | 2 +- data/index.css | 2 +- data/index.htm | 2 +- data/index.js | 2 +- platformio.ini | 3 +- src/App/AppEffects.h | 74 +++++++++++++++++++++++++++++++++-- src/App/AppLedsV.cpp | 2 +- src/App/AppLedsV.h | 2 +- src/App/AppModLedFixGen.h | 2 +- src/App/AppModLeds.h | 2 +- src/Module.h | 2 +- src/Sys/SysJsonRDWS.h | 2 +- src/Sys/SysModFiles.cpp | 2 +- src/Sys/SysModFiles.h | 4 +- src/Sys/SysModModel.cpp | 33 +++++++++++++--- src/Sys/SysModModel.h | 4 +- src/Sys/SysModModules.cpp | 2 +- src/Sys/SysModModules.h | 2 +- src/Sys/SysModNetwork.cpp | 2 +- src/Sys/SysModNetwork.h | 2 +- src/Sys/SysModPins.cpp | 2 +- src/Sys/SysModPins.h | 2 +- src/Sys/SysModPrint.cpp | 2 +- src/Sys/SysModPrint.h | 2 +- src/Sys/SysModSystem.cpp | 6 ++- src/Sys/SysModSystem.h | 2 +- src/Sys/SysModUI.cpp | 8 ++-- src/Sys/SysModUI.h | 2 +- src/Sys/SysModWeb.cpp | 78 ++++++++++++++++++++++++++++++------- src/Sys/SysModWeb.h | 6 ++- src/User/UserModArtNet.h | 4 +- src/User/UserModDDP.h | 4 +- src/User/UserModE131.h | 4 +- src/User/UserModExample.h | 4 +- src/User/UserModHA.h | 4 +- src/User/UserModInstances.h | 29 +++++++------- src/User/UserModMDNS.h | 4 +- src/User/UserModWLEDAudio.h | 4 +- src/main.cpp | 4 +- 39 files changed, 230 insertions(+), 89 deletions(-) diff --git a/data/app.js b/data/app.js index 094e0d2e..b122ce02 100644 --- a/data/app.js +++ b/data/app.js @@ -1,6 +1,6 @@ // @title StarMod // @file app.js -// @date 20230810 +// @date 20231016 // @repo https://github.com/ewowi/StarMod // @Authors https://github.com/ewowi/StarMod/commits/main // @Copyright (c) 2023 Github StarMod Commit Authors diff --git a/data/index.css b/data/index.css index 35235771..31fe9a84 100644 --- a/data/index.css +++ b/data/index.css @@ -1,7 +1,7 @@ /* @title StarMod @file index.css - @date 20230810 + @date 20231016 @repo https://github.com/ewowi/StarMod @Authors https://github.com/ewowi/StarMod/commits/main @Copyright (c) 2023 Github StarMod Commit Authors diff --git a/data/index.htm b/data/index.htm index 4847c901..5a33da50 100644 --- a/data/index.htm +++ b/data/index.htm @@ -1,6 +1,6 @@