⚠️ VERY MUCH WORK IN PROGRESS: ambitions: plenty, finished work: more
cargo install espup
espup install
cargo install espflash
Set these environments, or put them in a .env
file,
which will be source directly using direnv
:
export ESP32_WIFI_SSID=YOURWIFI
export ESP32_WIFI_PASS=YOURPASSWORD
export POST_ENDPOINT_IP=IP_OF_HTTP_ENDPOINT # IPv4 of server accepting HTTP POST with JSON payload of temperature readings
export POST_ENDPOINT_PORT=PORT_OF_HTTP_ENDPOINT # TCP port of the server
This command: cargo run --release
will:
- download and build dependencies
- build the code
- use
espflash
to flash the software onto a device - boot the device and connect the logger to the console