From 67d8968d0c311053c545dd824d8b5691f00a5cf7 Mon Sep 17 00:00:00 2001 From: Marcus Date: Fri, 3 May 2024 00:33:23 +0200 Subject: [PATCH] firmware wip - gauge meter for Grow overview :) --- Arduino/CanGrow/CanGrow.ino | 352 +++++++++++++++++- .../.material-gauge.js.swp | Bin 0 -> 12288 bytes .../html/material-gauge-gh-pages/index.html | 98 ++--- .../material-gauge.css | 26 +- .../material-gauge-gh-pages/material-gauge.js | 20 +- playground/html/root/gauge.css | 152 ++++++++ playground/html/root/gauge.js | 61 +++ playground/html/root/index.html | 185 +++++++++ 8 files changed, 806 insertions(+), 88 deletions(-) create mode 100644 playground/html/material-gauge-gh-pages/.material-gauge.js.swp create mode 100644 playground/html/root/gauge.css create mode 100644 playground/html/root/gauge.js create mode 100644 playground/html/root/index.html diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 7d90775..4857eba 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -184,14 +184,12 @@ const char HTMLheaderP1[] PROGMEM = R"EOF( - )EOF"; // here comes the page title in returnHTMLheader() // second part of HTML header stuff // Having the whole CSS here ensures it's all the time present const char HTMLheaderP2[] PROGMEM = R"EOF( - -
-
-
- Humidity -
+
+
+
+ Humidity +
- -
-
-
-
+ +
+
+
+
-
- - - +
+ + +
-
- Moisture -
- -
-
-
-
+
+ Moisture +
+ +
+
+
+
-
- - - +
+ + +
-
- Temperature -
- -
-
-
-
+
+ Temperature +
+ +
+
+
+
-
- - - +
+ + +
- + + +Grow started: 2024-04-12
+Day of Grow: 20
+Pump water level: Critical
+Growlight brightnes: 100 %
+
+MOSFET
On/Off:
+Intensity:
+ +
+
+ +