Skip to content

galenguyer/mercury

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mercury

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.

esp32 setup

rust toolchian

set up a modified rust toolchain for this

git clone https://github.com/esp-rs/rust-build
cd rust-build
./install-rust-toolchain.sh

compilation and loading

source .env
cargo +esp espflash /dev/ttyUSB0 --speed 460800 [--release] [--monitor]

.env values

ESP32_WIFI_SSID
ESP32_WIFI_PASS
ESP32_PRIMARY_DNS_SERVER
ESP32_SECONDARY_DNS_SERVER
ESP32_MQTT_BROKER_URL
ESP32_MQTT_USERNAME
ESP32_MQTT_PASSWORD

Current Locations

esp32-30c6f7036b24 - SSN esp32-30c6f70b4f60 - Server Room Networking Rack esp32-30c6f70b4e74 - Server Room Bench

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages