diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h index de542fabf065da36652ab033d09b96093c33f9a9..b90cae5828f01be2443e20e5aaecc0a3c52bb2f5 100644 --- a/ampel-firmware/config.public.h +++ b/ampel-firmware/config.public.h @@ -13,20 +13,16 @@ * |___/ ***/ - // This file is a config template, and can be copied to config.h. // Please don't save any important password in this template. - // IMPORTANT: Parameters defined in config.h are only default values, and are applied if: // * the ampel is flashed for the first time // * or 'reset_config' command is called // * or AMPEL_CONFIG_VERSION has been changed. - // Once those default values have been applied, uploading the firmware with a modified config.h will not update the ampel configuration! // Every parameter can be modified and saved later via the web-config. // Some of those parameters can also be modified via commands in the Serial monitor : // e.g. 'wifi 0' to turn WiFi off, or 'csv 60' to log data in csv every minute. - /*** * AMPEL */ @@ -167,6 +163,7 @@ // 3) It has been tested with "TTGO ESP32 SX1276 LoRa 868" and will only work with an ESP32 + LoRa modem // 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.thethingsindustries.com/docs/integrations/ +// with "Europe 863-870 MHz (SF9 for RX2 - recommended)", "MAC v1.0.3" // 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