docs(gateway): document MQTT_PASSWORD environment variable in README
This commit is contained in:
1 parent
8ac5f955e0
commit
88ac9c8a9e
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user