Commit graph

306 commits

Author SHA1 Message Date
99d598e05d it does work with a structure and arrays in it. this is fine 2024-10-24 02:24:23 +02:00
bf1e25d04c playing around, output_ip load/save was broken. fixed. 2024-10-24 01:54:15 +02:00
d68d0fbf79 putting output config into json
i could not apply the structure of configSystemOutputs into json, so i had to
switch to use arrays instead. it works, but looks not that nice as a struct.
2024-10-24 01:45:06 +02:00
4c9c280d45 try to add config.system.outputs to json, but esp8266 actually crashes at loading json 2024-10-24 00:00:35 +02:00
94e79b8fa2 replacing all old configSystem style variables with config.system.something 2024-10-23 21:21:26 +02:00
4f42b64c7e wip - doing config structure things 2024-10-23 21:14:43 +02:00
13087c0cc1 structure PinIndex 2024-10-23 19:03:50 +02:00
0227427b6f add pinIndex structure for ESP8266 and ESP32 2024-10-23 17:51:54 +02:00
8861393e80 wip write down free pins and think about it 2024-10-23 02:27:49 +02:00
2dfa2b0c13 missing </div> 2024-10-22 22:20:12 +02:00
f91b2de002 fix submenu display bug on chrome 2024-10-22 22:03:46 +02:00
c3b9f0f8a6 update system update page HTML 2024-10-22 18:29:53 +02:00
f1a1cb3aa9 Arduino/CanGrow/README.md aktualisiert 2024-10-22 03:16:49 +02:00
947af0dd4d Update README.md
add some instructions for cangrow.sh
2024-10-22 03:11:38 +02:00
4a14629e48 cosmetic changes 2024-10-22 01:58:15 +02:00
44ca2c6a8e Update() fixes for esp32
https://github.com/me-no-dev/ESPAsyncWebServer/issues/455#issuecomment-451728099
2024-10-22 01:16:09 +02:00
5af5bcd94d implement webui littlefs wipe 2024-10-22 01:09:12 +02:00
22fdfc57c2 fine tune web update 2024-10-22 00:40:07 +02:00
e7bb42f72b web firmware update implemented 2024-10-21 23:57:13 +02:00
f093ac843b restart from webui implemented 2024-10-21 23:18:42 +02:00
de26abaf05 added system settings page, added web restart dialoge 2024-10-21 22:16:20 +02:00
827c8cd184 moved wifi stuff into its own file, cosmetic things wifi page 2024-10-21 19:54:20 +02:00
825f2e8e19 configuring and saving wifi settings works now, yay - milestone! 2024-10-21 03:11:42 +02:00
ae7f6cd3f7 saving ssid, password and ip works so far 2024-10-21 01:54:27 +02:00
c2d6d508a2 renamed some files, first steps with wifi settings post 2024-10-21 01:07:29 +02:00
e843df1a28 added wifi network scan 2024-10-20 23:09:20 +02:00
979b214d43 renamed header.h and footer.h to upper case 2024-10-20 21:41:42 +02:00
6e4127398b add wifiSettings page , wip 2024-10-20 15:52:25 +02:00
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