Commit graph

278 commits

Author SHA1 Message Date
b5991a576b remove a line 2024-10-20 06:09:03 +02:00
5b54ae3658 add 404 handler, include css in header completely 2024-10-20 06:05:01 +02:00
57fa57fc94 first try of v0.1 webui 2024-10-20 05:09:06 +02:00
187ade247f organizing webserver template stuff, playing with templates 2024-10-20 04:48:05 +02:00
2252fe0142 webserver templating seems to work fine 2024-10-20 02:35:03 +02:00
0ef3656bf6 stuff 2024-10-20 01:44:55 +02:00
2c2adc9678 add configurable webserver logging to serial 2024-10-20 01:32:18 +02:00
7d0880343b add configurable webserver logging to serial 2024-10-20 01:29:57 +02:00
a0735829ae play around with file structure, first webserving tests 2024-10-20 00:41:23 +02:00
45ea8eabaa add include/CanGrow_Webserver.h 2024-10-19 22:52:39 +02:00
8e9a07a65b minor small changes 2024-10-19 22:52:19 +02:00
6ac7b31602 config load and wifi connect works, create ap if no ssid is saved 2024-10-19 18:28:14 +02:00
a044c65503 first WiFi steps 2024-10-19 04:36:39 +02:00
d4e1108759 save/load ip addresses as array 2024-10-19 04:25:22 +02:00
52cd7d469f remove old stuff 2024-10-19 02:52:17 +02:00
219586de93 cangrow.sh remove old version header stuff 2024-10-19 02:33:55 +02:00
603118ad0c add comments to CanGrow.h 2024-10-19 02:19:56 +02:00
f4482ee37b add comments to CanGrow.h 2024-10-19 02:16:30 +02:00
f918529e57 add defines for CANGROW_VER and CANGROW_BUILD if the werent set 2024-10-19 02:11:32 +02:00
42d5939dbc Fix defines CANGROW_VER and CANGROW_BUILD
esp32 and esp8266 need different places where to put them.
2024-10-19 02:10:43 +02:00
16074669c3 get rid of CanGrow_Version.h 2024-10-19 01:29:45 +02:00
f7224a1588 playing around 2024-10-19 00:44:36 +02:00
9d2faf4e4c LittleFS Json config save and load somewhat working 2024-10-19 00:27:33 +02:00
b07696a1c4 LittleFS json config save/load wip 2024-10-18 22:51:42 +02:00
ac10feccf7 create config structs 2024-10-18 21:04:07 +02:00
a3fef36ecb cangrow.sh python3-serial for esp32 compiler stuff was missing 2024-10-18 17:41:49 +02:00
f3f1629001 add esp32 board url to arduino-cli.yml 2024-10-18 17:30:24 +02:00
1d44b6736d Arduino/CanGrow/CanGrow.geany aktualisiert 2024-10-18 14:16:27 +02:00
1d55f36387 basic json config save and load from and to LittleFS works 2024-10-18 02:45:34 +02:00
f347a375ce update geany config 2024-10-18 01:12:02 +02:00
764cf45b80 move cangrow.sh and arduino-cli.yml to Arduino/Cangrow/ 2024-10-18 00:58:28 +02:00
717b201889 update geany configuration 2024-10-18 00:57:53 +02:00
06d4ba73c0 mixing data types in a printf call seems not to be ok 2024-10-18 00:14:39 +02:00
36b2da7802 begin to seperate stuff for esp32 and esp8266 in their own header files 2024-10-17 22:59:51 +02:00
f130700cf0 add deleteFile() to CanGrow_LittleFS.h 2024-10-17 22:43:56 +02:00
985b2cac5d LittleFS wip 2024-10-17 22:20:25 +02:00
c4dea65157 LittleFS wip - putting things together in include/CanGrow_LittleFS.h 2024-10-17 21:32:04 +02:00
26f0939cc6 LittleFS.format on ESP32 needs LittleFS.begin() before 2024-10-17 20:38:46 +02:00
7dcfc375bb adding include dependencies for specific boards 2024-10-17 15:56:39 +02:00
a330268960 debugging - LittleFS causes ESP32 D1 Mini to crash - no idea why
when calling LittleFS.format() esp32 d1 mini crashes

```
assert failed: esp_littlefs_format esp_littlefs.c:474 (partition_label)

Backtrace: 0x40083571:0x3ffb2040 0x40088365:0x3ffb2060 0x4008d2bd:0x3ffb2080 0x400e1c83:0x3ffb21b0 0x400d2ba9:0x3ffb21f0 0x400d1a0a:0x3ffb2210 0x400d4d3a:0x3ffb2290
```
2024-10-17 15:28:16 +02:00
7b43171231 wip 2024-10-17 02:40:32 +02:00
c4155e1f9b basics of factory reset implemented 2024-10-17 02:35:04 +02:00
4c57546657 basics of factory reset implemented 2024-10-17 02:15:15 +02:00
3f8b060c66 add CanGrow_Version.h 2024-10-17 01:43:19 +02:00
3a29ebd316 first steps with LittleFS 2024-10-17 01:42:34 +02:00
11b7217f57 first serial output 2024-10-17 01:10:01 +02:00
529bd7e556 tune cangrow.sh 2024-10-17 01:01:37 +02:00
cf58ef292b add ESPAsyncWebServer to cangrow.sh setup, wip 2024-10-16 22:51:24 +02:00
ccca8b10ab first little steps 2024-10-16 21:48:49 +02:00
8fb27a1720 wip 2024-10-16 20:07:19 +02:00
8940a9a136 wip 2024-10-16 20:06:54 +02:00
fec057b8db cleanup old v0.1 stuff, lets begin from scratch 2024-10-16 19:47:32 +02:00
a6f5a6539b cleanup old v0.1 stuff, lets begin from scratch 2024-10-16 19:45:16 +02:00
a690758476 firmware wip - didnt broke watering, just forgot a semicolone and was dumb 2024-09-19 02:22:46 +02:00
d2e264db56 firmware wip - quick hack inverted outputs for pcb v0.6 together. but watering now broke a bit 2024-09-19 02:11:57 +02:00
c59f790c15 arduino-cli now wants to have board specified in monitor mode 2024-09-14 15:57:14 +02:00
9687cfe00d replace Arduino/Screenshot_WebUI_root.png 2024-07-30 19:44:50 +02:00
3a5c0cbfa8 replace Arduino/Screenshot_WebUI_root.png 2024-07-30 19:43:02 +02:00
7a5baf009b firmware wip - change pwm freq to 13.37KHz, add xxd to ./cangrow setup 2024-07-30 19:40:36 +02:00
54c7e84de7 pcb wip - implement new mosfet driver 2024-06-27 17:30:08 +02:00
806aa2d057 firmware wip - improve factory reset (wipe) from WebUI 2024-06-17 02:23:26 +02:00
0354a7cfbf firmware wip - pump mode manual, write PumpLastOn to EEPROM 2024-06-17 01:57:06 +02:00
f8523e1577 firmware wip - pump mode 3, write PumpLastOn to EEPROM 2024-06-17 01:55:58 +02:00
37e0b33cf3 firmware wip - wip pump control 2024-06-17 01:48:58 +02:00
a51cd81651 firmware wip - add basic manual pump on POST 2024-06-16 20:53:29 +02:00
54fec62a3e firmware wip - add pump control 2024-06-16 20:16:40 +02:00
1b1c0ce391 notes 2024-06-16 03:20:49 +02:00
d6bd0f7638 firmware wip - begin to write pump watering stuff 2024-06-16 03:09:50 +02:00
a0f3db9a77 cangrow.sh - add python3 to apt packages 2024-06-16 02:14:13 +02:00
064db734d5 firmware wip - firmware updater form update 2024-06-16 01:12:36 +02:00
25bf84ee1e firmware wip - make firmware file required on form 2024-06-16 00:08:03 +02:00
f4556f75d4 cangrow.sh - add setup, to setup cangrow build environment 2024-06-15 23:59:00 +02:00
52abf8e483 firmware wip - add some notes for watering logic, adjust soilmoisture low value 2024-06-15 22:44:09 +02:00
cbc20586c4 firmware wip - add some notes for watering logic, adjust soilmoisture low value 2024-06-15 22:43:46 +02:00
e524826970 gitignore does not work as i was think it would 2024-06-15 15:39:02 +02:00
3e0d2db0f1 delete CanGrow_Version.h from cache 2024-06-15 15:38:06 +02:00
72bb58ca08 firmware wip - typ in wipe page 2024-06-15 15:36:12 +02:00
f67c149306 firmware wip - add emoji icon to upload message 2024-06-15 15:34:12 +02:00
6871842220 tune cangrow.sh 2024-06-15 15:24:42 +02:00
fc00f9267f firmware wip - gauge labels now in center of div 2024-06-15 04:34:32 +02:00
1e9ab6e2e7 firmware wip - change default font 2024-06-15 04:14:56 +02:00
b1da645027 firmware wip - wipe eeprom message 2024-06-15 03:47:18 +02:00
728489a494 firmware wip - put margin-bottom for sub menu to right place 2024-06-15 03:37:42 +02:00
52a55c82a3 firmware wip - remove margin-bottom from menu 2024-06-15 03:36:23 +02:00
783c70d4a6 firmware wip - remove button from system settings 2024-06-15 03:34:53 +02:00
aae6cf071c firmware wip - various changes, add systemsettings sub menu, cosmetic stuff 2024-06-15 03:33:42 +02:00
bce55a2632 firmware wip - add firmware update from web ui 2024-06-15 02:26:17 +02:00
0d0cd8d7b6 firmware wip - adjust PWM frequency. todo: add some decoupling capacitors to pcb 2024-06-05 14:02:15 +02:00
9861bb17f7 firmware wip - add link to esp32 cam on image 2024-06-02 19:25:45 +02:00
032cc05bb1 firmware wip - finetune default soil moisture sensor values 2024-06-02 19:11:03 +02:00
e13cfd1fec firmware wip - finetune default soil moisture sensor values 2024-05-31 23:03:24 +02:00
6454a090d1 firmware wip - fine tune soilmoisture values, add esp32-cam support 2024-05-23 02:09:19 +02:00
9022743127 firmware wip - set dry value for analog soilmoisture to 300, measured with dry soil. 2024-05-22 22:19:10 +02:00
efd62a43a1 firmware wip - drop support for DHT11/22, we use now BME280 I2C 2024-05-22 21:24:29 +02:00
fb68dee829 firmware wip - add return RAW soilmoisture analog value 2024-05-22 01:04:42 +02:00
d396830026 firmware wip - PINsoilmoisture is always HIGH and gets only low when waterlevel is measured 2024-05-21 00:30:39 +02:00
71b846c5b0 firmware wip - prepare to return raw aout value of soilmoisture and water level 2024-05-15 19:34:36 +02:00
01c410c31d add geany file 2024-05-14 00:05:11 +02:00
b03968b577 firmware wip - sum analog sensor data and get middle value 2024-05-11 04:07:40 +02:00
cbee2c89be add geany project files 2024-05-11 01:20:49 +02:00