From 88ac9c8a9eafe661b162188bba5bdacdf43a6f81 Mon Sep 17 00:00:00 2001 From: DjeAvd Date: Fri, 24 Apr 2026 09:19:19 +0100 Subject: [PATCH] docs(gateway): document MQTT_PASSWORD environment variable in README --- gateway/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gateway/README.md b/gateway/README.md index 8060491..245353e 100644 --- a/gateway/README.md +++ b/gateway/README.md @@ -75,11 +75,16 @@ pip install -r requirements.txt ## Usage +Set the MQTT password as an environment variable before running: + ```bash +export MQTT_PASSWORD="your_password" source venv/bin/activate python gateway.py ``` +The password is never stored in config files or source code. + ## Notes on the CO2 sensor The Thingy:52 embeds a CCS811 sensor which measures eCO2 — an estimated