Commit graph

303 commits

Author SHA1 Message Date
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
762a0a5232 firmware wip - remove some notes from comments 2024-05-10 23:56:26 +02:00
2b3eac57a2 firmware wip - let /api/sensors only return configured sensor values. If you need everything else, use debug 2024-05-10 23:40:30 +02:00
d90dfe346d firmware wip - add simple json /api/debug which returns all values from eeprom and sensors 2024-05-10 23:27:19 +02:00
df1a6307f7 modify gitignore 2024-05-10 23:21:13 +02:00
7a939205a8 firmware wip - add simple json /api/debug which returns all values from eeprom and sensors 2024-05-10 23:15:12 +02:00
b08900a394 firmware wip - html css stuff 2024-05-10 03:35:36 +02:00
7d60fa3a16 firmware wip - html css stuff 2024-05-10 03:29:59 +02:00
60d282fb34 firmware wip - begin to seperate things into header files 2024-05-09 20:33:26 +02:00
abbaedfbbc firmware wip - begin to seperate things into header files 2024-05-09 20:30:25 +02:00
45787b5cdc firmware wip - maintenance mode to own webpage 2024-05-09 19:48:25 +02:00
330b3e7649 firmware wip - Notification about Maintenance Mode on display 2024-05-08 18:38:54 +02:00
9e0c5056ae firmware wip - Notification about Maintenance Mode in Menu bar 2024-05-08 18:33:22 +02:00
9196ef1076 firmware wip - save MaintenanceDuration in EEPROM 2024-05-08 17:35:56 +02:00
12fdd869c4 firmware wip - add basic maintenance mode, which dimms the led for a minute 2024-05-08 17:08:39 +02:00
d879b209bd css html fix 2024-05-03 20:05:27 +02:00
7e1a06d2c5 Arduino/CanGrow/CanGrow.ino aktualisiert 2024-05-03 18:30:51 +02:00
a6070cd29e replace screenshot 2024-05-03 15:56:53 +02:00
228a46c2b3 firmware wip - CSS better sizes for mobile and pc view 2024-05-03 15:49:21 +02:00
0aa6e47468 firmware wip - CSS better sizes for mobile and pc view 2024-05-03 15:45:44 +02:00
65ac8a72a2 firmware wip - CSS better sizes for mobile and pc view 2024-05-03 15:30:03 +02:00
2da652b583 firmware wip - CSS better sizes for mobile and pc view 2024-05-03 15:29:27 +02:00
e50f72be9e firmware wip - CSS better sizes for mobile and pc view 2024-05-03 15:28:43 +02:00
6faf2d8d7d firmware wip - gauge lables should be larger on a big screen. keep them small for mobile view 2024-05-03 15:11:09 +02:00
92a332c470 add first screenshot of WebUI 2024-05-03 02:54:06 +02:00
f4ffe7a816 add first screenshot of WebUI 2024-05-03 02:53:25 +02:00
a2df3be095 firmware wip - dont clear display when unconfigured. 2024-05-03 02:09:27 +02:00
56abdbbc84 firmware wip - dont clear display when unconfigured. 2024-05-03 02:07:40 +02:00
7507145222 firmware wip - add emojis to menu 2024-05-03 02:01:47 +02:00
150a8b9b02 firmware wip - WebUI tweaks 2024-05-03 01:25:08 +02:00
67d8968d0c firmware wip - gauge meter for Grow overview :) 2024-05-03 00:33:23 +02:00
8e197decfa firmware wip - typo 2024-05-01 14:55:07 +02:00
50b8dfd509 firmware wip - when restart is required, show restart info everywhere 2024-05-01 03:49:03 +02:00
4d5d347885 firmware wip - add display stuff 2024-05-01 03:33:08 +02:00
ffae349878 firmware wip - add display stuff 2024-05-01 03:22:23 +02:00
eb45412a6e firmware wip - avoid using double quotes in html stuff to not confuse geany 2024-05-01 01:59:46 +02:00
c8993d50f4 firmware wip - add favico to HTMLheader 2024-05-01 01:58:13 +02:00
54b551f3df firmware wip - rename PIN variables to a more equal naming schema 2024-05-01 01:29:28 +02:00
ee5be296ec rename PIN variables to a more equal naming schema 2024-05-01 00:55:55 +02:00
bd4ee79ed7 firmware wip - cleanup, put things into functions 2024-05-01 00:46:50 +02:00
b82faeb38d firmware wip - comment stuff 2024-04-30 22:45:42 +02:00
81c39bea65 firmware wip - comment stuff 2024-04-30 22:29:40 +02:00
5e7db0946b firmware wip - comment stuff 2024-04-30 22:26:16 +02:00
c93933ba20 firmware wip - cleanup a bit, I noticed that i am aleady running out of IRAM (94% used) 2024-04-30 21:08:25 +02:00
651eb6b847 firmware wip - returnHTMLfooter is now returnHTMLheader, so i can avoid using javascript :) 2024-04-30 20:52:19 +02:00
0f8ff91d37 firmware wip - replace double quotes with single ones , its less confusing for geany ide 2024-04-30 20:02:46 +02:00
805ec41ffd firmware wip - now fading really works, renamed some stuff 2024-04-30 02:32:42 +02:00
f0106cbb9b firmware wip - now fading really works, renamed some stuff 2024-04-30 02:31:55 +02:00
eb0f91e313 firmware wip - add sun fading , some reorganizing 2024-04-30 00:54:08 +02:00
7842fadb15 notes in CanGrow.ino 2024-04-29 02:23:49 +02:00
ae72fe6188 firmware wip - swap PINfan and PINpump, according to PCB
set analogWriteFreq to 220Hz. This was so far the sweetspot for
Fan PWM control in combination with a 47µF electrolyt capacitor.

If I had a PWM pin free, i would use PWM functionality of pc fans
but all pins are in use. So I went with putting a capacitor to the
output and regulate the fan speed this way.
2024-04-29 01:32:17 +02:00
ace7c8b678 firmware wip , add eeprom table in comments 2024-04-28 22:59:26 +02:00
1f19fed93b firmware wip - add simple /api/sensors which returns all values in json 2024-04-25 01:54:14 +02:00
01b8043569 add 128x64 display, doenst cost much, better view 2024-04-22 01:58:31 +02:00
7470ead144 with "" Geany gets confused , lol 2024-04-22 01:20:09 +02:00
5fc445daee firmware wip - html css stuff 2024-04-19 02:31:15 +02:00
03bca4dda5 firmware wip - byte is not the correct data type for value 400 :p 2024-04-19 00:29:19 +02:00
2912bb11a4 wip firmware 2024-04-19 00:25:36 +02:00
2ab8c790e7 firmware wip 2024-04-18 16:39:40 +02:00
0d7e3cf79b firmware wip 2024-04-18 16:04:40 +02:00
99ac7069fa firmware wip - add lightHour and veg/bloom phase control 2024-04-18 15:45:17 +02:00
171db2981c firmware wip 2024-04-18 15:27:58 +02:00
7498086ae6 firmware wip 2024-04-18 15:26:50 +02:00
ae51581a4b firmware wip - ntpOffset now byte , add wipe function, let the user restart the device at any point 2024-04-18 15:15:59 +02:00
7365fc2b85 firmware wip - add time in menu, make ntp offset work 2024-04-18 03:49:44 +02:00
3c8cba0b45 firmware wip - add time in menu, make ntp offset work 2024-04-18 03:38:10 +02:00
3753dfcd96 firmware wip - led turn on timer works 2024-04-18 03:09:16 +02:00
3f5fefb557 firmware wip - add some new lines 2024-04-18 02:24:49 +02:00
ce55c874ec firmware wip 2024-04-18 02:13:05 +02:00
56ce028b38 firmware wip - MOST WEBUI STUFF IS DONE! 2024-04-17 23:25:46 +02:00
d5695f8926 firmware wip 2024-04-17 23:16:44 +02:00
8bc3e9ca62 firmware wip 2024-04-17 22:45:50 +02:00
2d842b5996 firmware wip 2024-04-17 22:44:30 +02:00
e52a2fb4e0 firmware wip 2024-04-17 22:33:24 +02:00
5f3294c56f firmware wip 2024-04-17 22:23:40 +02:00
f52941b1b3 firmware wip - time stuff 2024-04-17 22:10:02 +02:00