diff --git a/ampel-firmware/config.public.h b/ampel-firmware/config.public.h index 900974d..0e980b2 100644 --- a/ampel-firmware/config.public.h +++ b/ampel-firmware/config.public.h @@ -1,6 +1,8 @@ #ifndef CONFIG_H_INCLUDED # define CONFIG_H_INCLUDED + +#define buttonPin 0 // This file is a config template, and can be copied to config.h. Please don't save any important password in this template. /** @@ -18,8 +20,8 @@ * WIFI */ -# define WIFI_SSID "MY_SSID" -# define WIFI_PASSWORD "P4SSW0RD" +# define WIFI_SSID "" +# define WIFI_PASSWORD "" # define WIFI_TIMEOUT 30 // [s] /** @@ -28,7 +30,7 @@ // How often should measurement be performed, and displayed? //NOTE: SCD30 timer does not seem to be very precise. Variations may occur. -# define MEASUREMENT_TIMESTEP 60 // [s] Value between 2 and 1800 (range for SCD30 sensor) +# define MEASUREMENT_TIMESTEP 10 // [s] Value between 2 and 1800 (range for SCD30 sensor) // How often should measurements be appended to CSV ? // Probably a good idea to use a multiple of MEASUREMENT_TIMESTEP, so that averages can be calculated @@ -43,7 +45,7 @@ // Altitude above sea level // Used for CO2 calibration // here: Stuttgart, Schellingstr. 24. (Source: Google Earth) -# define ALTITUDE_ABOVE_SEA_LEVEL 260 // [m] +# define ALTITUDE_ABOVE_SEA_LEVEL 680 // [m] // The reference CO2 concentration has to be within the range 400 ppm ≤ cref(CO2) ≤ 2000 ppm. // Used for CO2 calibration @@ -52,17 +54,16 @@ // Should the sensor try to calibrate itself? // Sensirion recommends 7 days of continuous readings with at least 1 hour a day of 'fresh air' for self-calibration to complete. -# define AUTO_CALIBRATE_SENSOR true // [true / false] +# define AUTO_CALIBRATE_SENSOR false // [true / false] /** * LEDs */ // LED brightness, which can vary between min and max brightness ("LED breathing") -// MAX_BRIGHTNESS must be defined, and should be between 0 and 255. -# define MAX_BRIGHTNESS 255 -// MIN_BRIGHTNESS, if defined, should be between 0 and MAX_BRIGHTNESS - 1 -// If MIN_BRIGHTNESS is not set, or if it is set to MAX_BRIGHTNESS, breathing is disabled. +// max_brightness should be between 0 and 255. +// min_brightness should be between 0 and max_brightness +# define MAX_BRIGHTNESS 128 # define MIN_BRIGHTNESS 60 /** @@ -71,8 +72,8 @@ */ // Define empty strings in order to disable authentication, or remove the constants altogether. -# define HTTP_USER "co2ampel" -# define HTTP_PASSWORD "my_password" +# define HTTP_USER "" +# define HTTP_PASSWORD "" /** * MQTT @@ -144,11 +145,11 @@ */ # define NTP_SERVER "pool.ntp.org" -# define UTC_OFFSET_IN_SECONDS 7200 // [s] 3600 for UTC+1, 7200 for UTC+1 and daylight saving time +# define UTC_OFFSET_IN_SECONDS 3600 // [s] 3600 for UTC+1 /** * Others */ # define BAUDS 115200 // Transmission rate -#endif // CONFIG_H_INCLUDED +#endif