-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef3a1b7
commit 61a0a60
Showing
41 changed files
with
278 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# StarMod | ||
# StarBase | ||
|
||
See [StarDocs](https://ewowi.github.io/StarDocs/) | ||
|
||
<img width="1456" alt="image" src="https://github.com/ewowi/StarMod/assets/138451817/e29cfed8-59b2-4abb-82e4-c26bbec4cde2"> | ||
<img width="1456" alt="image" src="https://github.com/ewowi/StarBase/assets/138451817/e29cfed8-59b2-4abb-82e4-c26bbec4cde2"> | ||
|
||
Forks: | ||
|
||
* [MoonModules/StarModLeds](https://github.com/MoonModules/StarModLeds) | ||
* [MoonModules/StarLeds](https://github.com/MoonModules/StarLeds) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// @title StarMod | ||
// @title StarBase | ||
// @file app.js | ||
// @date 20240411 | ||
// @repo https://github.com/ewowi/StarMod | ||
// @Authors https://github.com/ewowi/StarMod/commits/main | ||
// @Copyright © 2024 Github StarMod Commit Authors | ||
// @repo https://github.com/ewowi/StarBase | ||
// @Authors https://github.com/ewowi/StarBase/commits/main | ||
// @Copyright © 2024 Github StarBase Commit Authors | ||
// @license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
// @license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
/* | ||
@title StarMod | ||
@title StarBase | ||
@file index.css | ||
@date 20240411 | ||
@repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
@Authors https://github.com/ewowi/StarMod/commits/main | ||
@Copyright © 2024 Github StarMod Commit Authors | ||
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
@Authors https://github.com/ewowi/StarBase/commits/main | ||
@Copyright © 2024 Github StarBase Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
|
||
:root, | ||
:root.starmod { | ||
:root.starbase { | ||
--bg-color: linear-gradient(to bottom, #ffbe33 0%, #b60f62 100%); | ||
--text-color: #030303; | ||
--th-color: #b60f6281; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<!-- | ||
@title StarMod | ||
@title StarBase | ||
@file index.htm | ||
@date 20240411 | ||
@repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
@Authors https://github.com/ewowi/StarMod/commits/main | ||
@Copyright © 2024 Github StarMod Commit Authors | ||
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
@Authors https://github.com/ewowi/StarBase/commits/main | ||
@Copyright © 2024 Github StarBase Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
|
@@ -16,14 +16,14 @@ | |
<meta charset="utf-8"> | ||
<meta content="yes" name="apple-mobile-web-app-capable"> | ||
<meta name="author" content="MoonModules ☾ and it's contributors"> | ||
<link rel="icon" href="https://ewowi.github.io/StarDocs/assets/images/ui/starmod/favicon-16x16.png"> | ||
<link rel="icon" href="https://ewowi.github.io/StarDocs/assets/images/ui/StarBase/favicon-16x16.png"> | ||
<!-- <link rel="icon" type="image/x-icon" href="favicon-16x16.png"> currently only works in chrome --> | ||
<!-- <link rel="mask-icon" type="image/x-icon" href="favicon-16x16.png"> for safari tabs? --> | ||
<!-- <link rel="shortcut icon" type="image/x-icon" href="favicon-16x16.png"> found in wled... --> | ||
<link rel="stylesheet" href="index.css"> | ||
<script src="app.js"></script> | ||
<script src="index.js"></script> | ||
<title>StarMod💫 by MoonModules 🌔</title> | ||
<title>StarBase💫 by MoonModules 🌔</title> | ||
|
||
<!-- favicon in safari not working. see: --> | ||
<!-- https://stackoverflow.com/questions/68885882/favicon-not-displaying-on-safari --> | ||
|
@@ -45,7 +45,7 @@ | |
<body onload="onLoad()"> | ||
<div class="module"> | ||
<hgroup> | ||
<h1 style="float: left;">StarMod💫 by MoonModules 🌔</h1> | ||
<h1 style="float: left;">StarBase💫 by MoonModules 🌔</h1> | ||
<a href="https://ewowi.github.io/StarDocs" style="float: right;">ⓘ</a> | ||
</hgroup> | ||
<br> | ||
|
@@ -60,12 +60,12 @@ <h2><div id="serverName"></div></h2> | |
<input type="button" value="Save" id="bSave" onclick="saveModel(this)"> | ||
<span> | </span> | ||
<label>Theme</label> <select name="theme-select" id="theme-select" onchange="setTheme(this)"> | ||
<option value="starmod">StarMod</option> | ||
<option value="starbase">StarBase</option> | ||
<option value="wled">WLED</option> | ||
<option value="grayeen">Grayeen</option> | ||
<option value="dev">Dev</option> | ||
<option value="light">Light</option> | ||
<option value="dark">Dark</option> | ||
<option value="dark">DeathStar</option> | ||
<option value="blue">Blue</option> | ||
<option value="pink">Pink</option> | ||
<option value="space">Space</option> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
// @title StarMod | ||
// @title StarBase | ||
// @file index.css | ||
// @date 20240411 | ||
// @repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
// @Authors https://github.com/ewowi/StarMod/commits/main | ||
// @Copyright © 2024 Github StarMod Commit Authors | ||
// @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
// @Authors https://github.com/ewowi/StarBase/commits/main | ||
// @Copyright © 2024 Github StarBase Commit Authors | ||
// @license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
// @license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name=StarMod | ||
name=StarBase | ||
version=1.0.0 | ||
author=ewowi | ||
maintainer=ewowi | ||
sentence=Library to play with LEDs | ||
paragraph=Library to play with LEDs | ||
category=Communication | ||
url=https://github.com/ewowi/starmod | ||
url=https://github.com/ewowi/StarBase | ||
architectures=esp32 | ||
includes=* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
; @title StarMod | ||
; @title StarBase | ||
; @file platformio.ini | ||
; @date 20240411 | ||
; @repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
; @Authors https://github.com/ewowi/StarMod/commits/main | ||
; @Copyright © 2024 Github StarMod Commit Authors | ||
; @repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
; @Authors https://github.com/ewowi/StarBase/commits/main | ||
; @Copyright © 2024 Github StarBase Commit Authors | ||
; @license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
; @license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
|
||
|
@@ -22,17 +22,17 @@ lib_deps = | |
;Work in progress - not compiling yet | ||
[PsychicHttp] | ||
build_flags = | ||
-DSTARMOD_USE_Psychic | ||
-DSTARBASE_USE_Psychic | ||
lib_deps = | ||
; hoeken/PsychicHttp | ||
https://github.com/hoeken/PsychicHttp | ||
|
||
|
||
|
||
[starmod] | ||
[StarBase] | ||
build_flags = | ||
${ESPAsyncWebServer.build_flags} | ||
-D STARMOD_DEVMODE | ||
-D STARBASE_DEVMODE | ||
lib_deps = | ||
${ESPAsyncWebServer.lib_deps} | ||
https://github.com/bblanchon/ArduinoJson.git#v7.0.3 | ||
|
@@ -41,15 +41,15 @@ lib_deps = | |
|
||
|
||
|
||
[STARMOD_USERMOD_E131] | ||
[STARBASE_USERMOD_E131] | ||
build_flags = | ||
-D STARMOD_USERMOD_E131 | ||
-D STARBASE_USERMOD_E131 | ||
lib_deps = | ||
https://github.com/forkineye/ESPAsyncE131.git#v1.0.3 | ||
|
||
[STARMOD_USERMOD_HA] | ||
[STARBASE_USERMOD_HA] | ||
build_flags = | ||
-D STARMOD_USERMOD_HA | ||
-D STARBASE_USERMOD_HA | ||
lib_deps = | ||
https://github.com/dawidchyrzynski/arduino-home-assistant.git#2.0.0 | ||
https://github.com/knolleary/pubsubclient.git#v2.8 | ||
|
@@ -77,19 +77,19 @@ board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad | |
build_unflags = | ||
${Speed_Flags.build_unflags} | ||
build_flags = | ||
${starmod.build_flags} | ||
${StarBase.build_flags} | ||
${Speed_Flags.build_flags} | ||
-DCONFIG_ASYNC_TCP_USE_WDT=0 | ||
-DLFS_THREADSAFE ;; enables use of semaphores in LittleFS driver | ||
${STARMOD_USERMOD_E131.build_flags} | ||
; ${STARMOD_USERMOD_HA.build_flags} | ||
-DAPP=StarMod | ||
${STARBASE_USERMOD_E131.build_flags} | ||
; ${STARBASE_USERMOD_HA.build_flags} | ||
-DAPP=StarBase | ||
-DVERSION=24042614 ; Date and time (GMT!) | ||
-DPIOENV=$PIOENV | ||
lib_deps = | ||
${starmod.lib_deps} | ||
${STARMOD_USERMOD_E131.lib_deps} | ||
; ${STARMOD_USERMOD_HA.lib_deps} | ||
${StarBase.lib_deps} | ||
${STARBASE_USERMOD_E131.lib_deps} | ||
; ${STARBASE_USERMOD_HA.lib_deps} | ||
extra_scripts = | ||
post:tools/post_build.py | ||
|
||
|
@@ -142,7 +142,7 @@ build_flags = | |
; -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 ;; with serial-to-USB moddule (use in case your board hangs without USB connection) | ||
-DARDUINO_USB_MODE=0 ;; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (mandatory on -S2) | ||
; -D DEBUG=1 -D CORE_DEBUG_LEVEL=1 -D ARDUINOJSON_DEBUG=1 ;; for more debug output | ||
-DSTARMOD_LOLIN_WIFI_FIX ;; workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
-DSTARBASE_LOLIN_WIFI_FIX ;; workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
|
||
|
||
[env:lolin_c3_mini] | ||
|
@@ -161,7 +161,7 @@ build_flags = | |
-DARDUINO_USB_CDC_ON_BOOT=1 ;; for debugging over USB | ||
; -DARDUINO_USB_CDC_ON_BOOT=0 ;; with serial-to-USB moddule (use in case your board hangs without USB connection) | ||
-DARDUINO_USB_MODE=1 ;; Make sure that the right HardwareSerial driver is picked in arduino-esp32 (mandatory on -C3) | ||
-DSTARMOD_LOLIN_WIFI_FIX ;; activate workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
-DSTARBASE_LOLIN_WIFI_FIX ;; activate workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
; -D DEBUG=1 -D CORE_DEBUG_LEVEL=1 -D ARDUINOJSON_DEBUG=1 ;; for more debug output | ||
|
||
; RAM: [= ] 14.3% (used 46732 bytes from 327680 bytes) | ||
|
@@ -178,7 +178,7 @@ build_flags = | |
-DCONFIG_IDF_TARGET_ESP32S3=1 | ||
-DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MODE=1 -DARDUINO_USB_DFU_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 ;; for debugging over USB | ||
; -D DEBUG=1 -D CORE_DEBUG_LEVEL=1 -D ARDUINOJSON_DEBUG=1 ;; for more debug output | ||
; -DSTARMOD_LOLIN_WIFI_FIX ;; I don't trust the tiny ceramic antenna - use workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
; -DSTARBASE_LOLIN_WIFI_FIX ;; I don't trust the tiny ceramic antenna - use workaround for LOLIN C3/S2/S3 wifi instability. https://www.wemos.cc/en/latest/c3/c3_mini_1_0_0.html#about-wifi | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
/* | ||
@title StarMod | ||
@title StarBase | ||
@file AppModDemo.h | ||
@date 20240411 | ||
@repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
@Authors https://github.com/ewowi/StarMod/commits/main | ||
@Copyright © 2024 Github StarMod Commit Authors | ||
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
@Authors https://github.com/ewowi/StarBase/commits/main | ||
@Copyright © 2024 Github StarBase Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
/* | ||
@title StarMod | ||
@title StarBase | ||
@file SysModFiles.cpp | ||
@date 20240411 | ||
@repo https://github.com/ewowi/StarMod, submit changes to this file as PRs to ewowi/StarMod | ||
@Authors https://github.com/ewowi/StarMod/commits/main | ||
@Copyright © 2024 Github StarMod Commit Authors | ||
@repo https://github.com/ewowi/StarBase, submit changes to this file as PRs to ewowi/StarBase | ||
@Authors https://github.com/ewowi/StarBase/commits/main | ||
@Copyright © 2024 Github StarBase Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
|
@@ -223,7 +223,7 @@ bool SysModFiles::readObjectFromFile(const char* path, JsonDocument* dest) { | |
} | ||
else { | ||
ppf("File %s open to read, size %d bytes\n", path, (int)f.size()); | ||
DeserializationError error = deserializeJson(*dest, f, DeserializationOption::NestingLimit(20)); //StarMod requires more then 10 | ||
DeserializationError error = deserializeJson(*dest, f, DeserializationOption::NestingLimit(20)); //StarBase requires more then 10 | ||
if (error) { | ||
print->printJDocInfo("readObjectFromFile", *dest); | ||
ppf("readObjectFromFile deserializeJson failed with code %s\n", error.c_str()); | ||
|
@@ -236,7 +236,7 @@ bool SysModFiles::readObjectFromFile(const char* path, JsonDocument* dest) { | |
} | ||
} | ||
|
||
//candidate for deletion as taken over by StarModJson | ||
//candidate for deletion as taken over by StarJson | ||
// bool SysModFiles::writeObjectToFile(const char* path, JsonDocument* dest) { | ||
// File f = open(path, "w"); | ||
// if (f) { | ||
|
Oops, something went wrong.