From 79e8d26b6f25b601c3e06d282f7f3ee223cead58 Mon Sep 17 00:00:00 2001
From: Eric Duminil <eric.duminil@gmail.com>
Date: Tue, 29 Dec 2020 11:13:21 +0100
Subject: [PATCH] Updated config

---
 ampel-firmware/config.public.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h
index e2c5ed2..6b87993 100644
--- a/ampel-firmware/config.public.h
+++ b/ampel-firmware/config.public.h
@@ -8,9 +8,9 @@
  */
 
 // Comment or remove those lines if you want to disable the corresponding services
-#  define AMPEL_WIFI    // WiFi, and all other dependent services (MQTT, HTTP, NTP, ...)
-#  define AMPEL_HTTP    // Should HTTP web server be started?
-#  define AMPEL_MQTT    // Should data be sent over MQTT?
+#  define AMPEL_WIFI    // Should ESP connect to WiFi? It allows the Ampel to get time from an NTP server.
+#  define AMPEL_HTTP    // Should HTTP web server be started? (AMPEL_WIFI should be enabled too)
+#  define AMPEL_MQTT    // Should data be sent over MQTT? (AMPEL_WIFI should be enabled too)
 #  define AMPEL_CSV     // Should data be logged as CSV, on the ESP flash memory?
 // #  define AMPEL_LORAWAN // Should data be sent over LoRaWAN? (Requires ESP32 + LoRa modem, and "MCCI LoRaWAN LMIC library")
 
@@ -124,7 +124,6 @@
 // 4) In order to use LoRaWAN, a gateway should be close to the co2ampel, and an account, an application and a device should be registered,
 //      e.g. on https://www.thethingsnetwork.org/docs/applications/
 // 5) The corresponding keys should be defined in LORAWAN_DEVICE_EUI, LORAWAN_APPLICATION_EUI and LORAWAN_APPLICATION_KEY
-
 // How often should measurements be sent over LoRaWAN?
 #  define LORAWAN_SENDING_INTERVAL 300 // [s] This value should not be too low. See https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html#maximum-duty-cycle
 
-- 
GitLab