Compare commits

...

3 Commits

Author SHA1 Message Date
Marcus b82faeb38d firmware wip - comment stuff 2024-04-30 22:45:42 +02:00
Marcus 81c39bea65 firmware wip - comment stuff 2024-04-30 22:29:40 +02:00
Marcus 5e7db0946b firmware wip - comment stuff 2024-04-30 22:26:16 +02:00
1 changed files with 11 additions and 4 deletions

View File

@ -172,6 +172,8 @@ ESP8266WebServer webserver(80);
*/
// Template: const char HTMLexamplepage[] PROGMEM = R"EOF()EOF";
// first part of HTML header stuff
const char HTMLheaderP1[] PROGMEM = R"EOF(
<!DOCTYPE html>
<html>
@ -180,7 +182,9 @@ const char HTMLheaderP1[] PROGMEM = R"EOF(
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>
)EOF";
// page title
// here comes the page title in returnHTMLheader()
// second part of HTML header stuff
const char HTMLheaderP2[] PROGMEM = R"EOF(
</title>
<!-- <link rel='stylesheet' href='/style.css'> -->
@ -276,7 +280,7 @@ a:active {
</head>
<body>
<ul class='nav'>)EOF";
// Menu as unordered List, defined in returnHTMLheader
// here comes the menu as unordered List in returnHTMLheader()
const char HTMLfooter[] PROGMEM = R"EOF(
@ -2132,10 +2136,13 @@ void APIgetSensors() {
*
*
* - when PWM for fan is set, set fan speed to regulate humidity and
* temperature
* temperature, depending on which phase of grow the plant is
* (https://www.royalqueenseeds.de/blog-cannabisanbau-im-grow-room-relative-luftfeuchtigkeit-und-temperaturen-n243)
* - re-organize EEPROM saved values.
* - prevent GrowStart to be in the future
*
* - Display values on OLED screen, iterate through different vies
* - maybe let the user configure some screens to display.
* - collect sensor data within 1 sec millis() case, dont collect them when e.g. a page is called
*
*/