This project is created for my esp-clock project. It has an option that requires measurements data to be received via MQTT.
So this project is MQTT publisher, which takes data from RUST-BOARD's sensors and publishes it MQTT-topic
Both projects are dedicated to it, but you can easily adapt this code for your needs 😉
- Set all of "credentials" and the topic name in
cfg.toml
file. - Flash the code with espflash and choose corresponding serial port
cargo espflash --release --monitor