Files
central_backend
central_frontend
custom_consumption
esp32_device
.devcontainer
.vscode
docs
main
.gitignore
CMakeLists.txt
README.md
build_upload_dev.sh
sdkconfig
sdkconfig.old
version.txt
python_device
Makefile
README.md
SolarEnergy/esp32_device
2024-10-05 20:39:05 +02:00
..
2024-07-16 21:05:20 +02:00
2024-10-05 20:28:55 +02:00
2024-09-28 21:14:09 +02:00
2024-10-05 20:39:05 +02:00
2024-07-16 21:05:20 +02:00
2024-07-16 21:05:20 +02:00
2024-10-05 16:26:07 +02:00
2024-09-29 18:33:41 +02:00
2024-09-29 18:33:41 +02:00
2024-10-05 12:03:35 +02:00

ESP32 device

ESP32 client device, using W32-ETH01 device

Some commands

Create a new firmware build:

idf.py build

Upload firmware to central backend, in dev mode:

curl -k -X POST  https://localhost:8443/web_api/ota/Wt32-Eth01/$(cat version.txt) --form firmware="@build/main.bin"
curl -k -X POST  https://localhost:8443/web_api/ota/set_desired_version --header "Content-Type: application/json" --data "{\"platform\": \"Wt32-Eth01\", \"version\": \"$(cat version.txt)\"}"