Skip to content

Frixxie/sensor_monitor

Repository files navigation

sensor monitor

This is a small background job that listen for sensor events on a mqtt queue provided by a ESP32 running Tasmota with a DS18B20 and a DHT11 attached, and reports the data to my home environment monitor(hemrs) solution

The stack is implemented using Rust and Docker and runs within my private kubernetes cluster

Requirements

  • Rust
  • Mqtt broker
  • Instance of hemrs
  • Postgres

How to build and run

To build

cargo build

To run (with my defaults)

cargo run

For configuration options run

cargo run -- -h