-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rework of apinfo screen + variables in jsontemplate
- AP info screen content card. Can run on any tag. - now, you can use {variables} in the 'text' entries in a json template. You can set variables via a http call. If you update a variable, all tags with a json template containing that variable get updated. - font name in json template is more flexible. You can just use 'filename.ttf' or 'filename.vlw'. A full path is still possible. - colors in the json template can now be set using #rrggbb color values, and using 'black', 'white' or 'red'. - added direct output for the TFT display for the yellow esp32-s3. No file writes needed. - added POST variable 'ttl' to json template upload and image upload, to set the next checkin time - added /variables-demo.html to demonstrate the variables. - json templates received from jsonupload are now saved in /current, and reused. - known issue: 'backup db' button doesn't work due to some browser policy change. Fixing. thanks to @steinwedel for the inspiration on the variables and some other fixes.
- Loading branch information
Showing
17 changed files
with
487 additions
and
227 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
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 |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
|
||
#pragma once | ||
|
||
extern TFT_eSPI tft; | ||
|
||
struct imgParam { | ||
bool hasRed; | ||
uint8_t dataType; | ||
|
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
Oops, something went wrong.