mercury is a project to read information from dht22 temperature sensors and report it over mqtt to a chosen backend (datadog, prometheus+granfa, etc). mercury is the firmware that runs on esp32s. see the sister project galenguyer/hermes for the mqtt->storage client.
set up a modified rust toolchain for this
git clone https://github.com/esp-rs/rust-build
cd rust-build
./install-rust-toolchain.sh
source .env
cargo +esp espflash /dev/ttyUSB0 --speed 460800 [--release] [--monitor]
ESP32_WIFI_SSID
ESP32_WIFI_PASS
ESP32_PRIMARY_DNS_SERVER
ESP32_SECONDARY_DNS_SERVER
ESP32_MQTT_BROKER_URL
ESP32_MQTT_USERNAME
ESP32_MQTT_PASSWORD
esp32-30c6f7036b24 - SSN esp32-30c6f70b4f60 - Server Room Networking Rack esp32-30c6f70b4e74 - Server Room Bench