eeeck
455ab94449
Add TODO
2025-11-29 14:13:28 +01:00
eeeck
49cf49db87
Create boilerplate for task
...
- To change even group - To create i2c_read and i2c_write functions
2025-11-29 14:13:18 +01:00
eeeck
50dd39fd60
Add task log
2025-11-29 14:04:38 +01:00
eeeck
a02d3e3294
Add build instructions for I2C
2025-11-27 15:55:42 +01:00
eeeck
3a91791180
Fix TWI address reading error
2025-11-27 15:55:29 +01:00
eeeck
71106c2542
Add I2C task
2025-11-27 15:54:57 +01:00
eeeck
4f0dd9faaa
Add TWI (I2C) init for ESP32
2025-11-27 15:54:40 +01:00
eeeck
a1781af096
Merge branch 'main' into dev-twi
2025-11-06 17:00:06 +01:00
eeeck
92e0bcc2f5
Merge branch 'dev-esp32-wifi'
2025-11-06 16:19:08 +01:00
eeeck
4653fe05cb
Refactor Wi-Fi connection logic to improve stability, simplify event
...
handling, and enhance logging and watchdog reliability.
2025-11-06 16:16:38 +01:00
eeeck
c74a0501c1
Move esp_netif_create_default_wifi_sta() before initializing Wi-Fi to
...
align with the ESP-IDF recommended order
2025-11-06 13:22:46 +01:00
eeeck
8e82e21a3d
Re-implement Wi-Fi retry limiter by using a maximum timeout tick
2025-11-05 22:06:40 +01:00
eeeck
e9c22810a4
Implement Wi-Fi connection max retry limit after connection is lost
2025-11-05 14:42:13 +01:00
eeeck
8e96b0ef37
Restructure loop and remove if branch: it would either always trigger it
...
or reboot
-
2025-10-30 15:05:39 +01:00
eeeck
1053515ced
Remove hardcoded tag from logs
2025-10-30 10:19:53 +01:00
eeeck
91cc34a33e
Change log types
2025-10-29 15:34:19 +01:00
eeeck
2be65a0b76
Implement plant watering based on current moisture levels
2025-10-29 14:45:40 +01:00
eeeck
620eb57920
Reorder respond cases for better clarity
2025-10-29 14:44:50 +01:00
eeeck
b28b20f46a
Refactor TWI response system
...
- Avoid setting respondFlag in main, instead let it be managed directly
inside twiListen() and read inside twiRespond()
2025-10-29 14:30:23 +01:00
eeeck
1721be5e66
Remove triggerMoistureRead() call in ISR and it's trigger variable
...
- This was done at the very beginning when i thought to develop this
part of the program in a different way. It is unnecessary with how I
actually ended up to structure the program. - WDT should manage TWI
only, as per current developement
2025-10-29 13:51:04 +01:00
eeeck
b0a765d0cc
Remove old log
2025-10-24 23:36:22 +02:00
eeeck
c3766d4e14
Fix STA initialization order
2025-10-24 23:36:15 +02:00
eeeck
e20c90a021
Change define names
2025-10-24 22:54:46 +02:00
eeeck
cb708d72f7
Create Wi-Fi task
2025-10-24 22:54:13 +02:00
eeeck
e986120e66
Fix Wi-Fi config assignment error
2025-10-24 22:48:57 +02:00
eeeck
12be9a6141
Add watchdog library
2025-10-24 22:47:06 +02:00
eeeck
1c7cf84ece
Fix designated initializer issue
2025-10-24 22:23:34 +02:00
eeeck
a7385654f4
Refactor Wi-Fi task to use event groups
2025-10-24 22:22:40 +02:00
eeeck
b54d3c744c
Update libraries
2025-10-24 22:04:04 +02:00
eeeck
6582872ed0
Refactor Wi-Fi initialization and connection with event groups
2025-10-24 21:55:47 +02:00
eeeck
969fda6ad4
Refactor wifi initialization with event groups
2025-10-24 21:04:32 +02:00
eeeck
1aa2ebbadc
Define event group
2025-10-24 20:39:52 +02:00
eeeck
be7234f621
Add logs
2025-10-15 13:38:51 +02:00
eeeck
eb897dca9e
Reinitialize WDT at runtime
...
- This is needed because of some issues when compiling without using
menuconfig. Maybe there is a way to do this modifying sdkconfig.defaults
when still inside Docker
2025-10-15 13:38:05 +02:00
eeeck
d49c69f647
Add error check
2025-10-14 23:32:27 +02:00
eeeck
ebee1553ae
Increase max frequency to match ESP32-C3 processor
2025-10-14 23:31:13 +02:00
eeeck
60c6a19f13
FIx build script with correct implementation for flashing firmware
2025-10-14 23:29:02 +02:00
eeeck
2a36d1356c
Move TWI response handling from watchdog to main loop
2025-10-12 21:45:01 +02:00
eeeck
fafd6a9a7a
Directory restructure
2025-10-12 20:39:51 +02:00
eeeck
0f0408df9b
Simplify moisture value access and update header structure
2025-10-12 14:27:15 +02:00
eeeck
2b86ff133c
Remove trailing whitespace
2025-10-12 13:53:39 +02:00
eeeck
a1f687e644
Add wifi-credentials.h with SSID, password and auth defines
2025-10-12 00:58:59 +02:00
eeeck
6f37e0d420
Add volatile to include
2025-10-12 00:54:08 +02:00
eeeck
fcff8f9900
Add License
2025-10-12 00:33:33 +02:00
eeeck
4be663e688
Update build script to use modern esptool and correct firmware paths
2025-10-11 23:46:57 +02:00
eeeck
95ee47386d
Fix WiFi configuration initialization and add proper logging
2025-10-11 23:46:47 +02:00
eeeck
c0758b071e
Fix power management API and variable naming for ESP32-C3 compatibility
2025-10-11 23:46:33 +02:00
eeeck
4a9a3ef805
Add ESP-IDF component configuration for main directory
2025-10-11 23:46:23 +02:00
eeeck
ed7fb9fda6
Fix ESP32-C3 target configuration in Dockerfile
2025-10-11 23:46:12 +02:00
eeeck
558413df41
Add WiFi connectivity initialization and configuration functions
2025-10-11 20:17:57 +02:00