From 2bfc76fee08e83d6a7c2a392b6a81e04b1bbc01d Mon Sep 17 00:00:00 2001 From: DjeAvd Date: Wed, 8 Apr 2026 10:43:25 +0200 Subject: [PATCH] fix(gateway): fix architecture diagram code block in README --- gateway/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gateway/README.md b/gateway/README.md index da28259..90b5306 100644 --- a/gateway/README.md +++ b/gateway/README.md @@ -5,13 +5,14 @@ sensor nodes, reads environmental data over BLE and publishes it to a local MQTT broker on each notification received. ## Architecture +``` Thingy:52 nodes Raspberry Pi MQTT broker [Thingy #1] --+ | [Thingy #2] --+--> (BLE) --> [gateway.py] --> (MQTT) --> [Mosquitto] | [Thingy #n] --+ - +``` The gateway discovers nodes automatically by filtering BLE advertising packets on the Nordic Configuration service UUID (`ef680100`). Once connected, it subscribes to GATT notifications for temperature, humidity and CO2. Each @@ -88,4 +89,4 @@ The Thingy:52 embeds a CCS811 sensor which measures eCO2 — an estimated CO2 value derived from volatile organic compound (VOC) levels rather than a direct CO2 measurement. Values should be interpreted as indicative trends. The sensor requires a burn-in period of 48 hours on first use, and a warm-up -of approximately 20 minutes on each startup before readings stabilize. \ No newline at end of file +of approximately 20 minutes on each startup before readings stabilize.