-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start v45 branch * #36 add config struct (#83) * Split stastics * ADD: autodimmer implementation * Add autodimmer enable/disable log * Add config set API message * change AutoDimWait 30->10 * checkpoint commit * intermediate commit * fix setup mode wifi * last 1 error * compile passed! * fix config read bug * startup success * move SimpleMap to include * add setup post BUGCHECK * debuglog to category log * delete comment * [BUG] Waning is override by Caution (#88) Fixes #85 * yakumo-saki/issue89 (#90) * [Enhance] Config Metadata Fixes #89 * Add comment * Prepare for add validation * [Enhance] Config Metadata Fixes #89 * [BUG] set api not response invalid key (#94) Fixes #91 * [Enhance] value error handling on Config Set API Fixes #93 * ignore embed dir (generated) * add embed to gitignore * fix gitignore * CSS: setup_err background color * [Enhance] Use sendContent in HTTP Fixes #96 * Update documents for v45 * Update docs * fix compile error * fix wrong diff value on boot * Prepare for webconfig in normal mode * test
- Loading branch information
1 parent
b822947
commit 5fd787a
Showing
30 changed files
with
532 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
[*.cpp,*.h, *.hpp] | ||
indent_size = 2; | ||
indent_style = space | ||
root = true | ||
|
||
charset = utf-8 | ||
|
||
[*.{cpp,h,hpp}] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.{py}] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.{htm,html,css}] | ||
indent_size = 4 | ||
indent_style = space | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.{ini}] | ||
indent_size = 4 | ||
indent_style = tab |
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,7 +1,10 @@ | ||
{ | ||
// See http://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": [ | ||
"platformio.platformio-ide" | ||
] | ||
} | ||
{ | ||
// See http://go.microsoft.com/fwlink/?LinkId=827846 | ||
// for the documentation about the extensions.json format | ||
"recommendations": [ | ||
"platformio.platformio-ide" | ||
], | ||
"unwantedRecommendations": [ | ||
"ms-vscode.cpptools-extension-pack" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# how to develop web ui | ||
|
||
## copy files except config.html to static/ | ||
|
||
``` | ||
cd embed | ||
rsync -v --exclude=config.html ./* static | ||
``` | ||
|
||
## run python http.server or some simple web server on embed | ||
|
||
``` | ||
cd embed | ||
python -m http.server | ||
``` | ||
|
||
## Access web via web browser | ||
|
||
Use firefox or chrome newer version. | ||
|
||
# after development | ||
|
||
Dont forget to write back all files in static/ to embed. | ||
|
||
``` | ||
cd embed/static | ||
cp -v ./* ../ | ||
``` |
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,5 +1,4 @@ | ||
#include <Arduino.h> | ||
|
||
static const char $$REPLACE_NAME$$[] PROGMEM = R"=====( | ||
$$REPLACE_CONTENT$$ | ||
static const char $$REPLACE_NAME$$[] PROGMEM = R"=====($$REPLACE_CONTENT$$ | ||
)====="; |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash -eu | ||
|
||
WORKDIR=$(dirname $0) | ||
|
||
cd $WORKDIR/embed | ||
|
||
python -m http.server 8080 |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
WORKDIR=$(dirname $0) | ||
|
||
cd $WORKDIR/embed | ||
|
||
watch -n 15 cp -v "./static/*" . |
Oops, something went wrong.