diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h index e2c5ed23e1bd48533b9d23fe730f13826c1815ce..6b87993ce03f4489ae242a48b2c6f2c87afe6e63 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