Skip to content

Configuration EN

David Panusch edited this page Oct 27, 2026 · 1 revision

🇩🇪 Deutsch | 🇬🇧 English

Configuration

The firmware defaults are in include/Config.h. They apply on the first start and after a reset. Almost everything can be changed afterwards in the Web interface; a change in Config.h needs your own build (see Installation).

Hardware and pins

Setting Meaning Default
LED_PIN GPIO for the LED data 3 (RX)
POWER_BUTTON_PIN, MODE_BUTTON_PIN, SPEED_BUTTON_PIN GPIO of the buttons, 255 = off 255
SDA_PIN_ESP8266 / SCL_PIN_ESP8266 I2C on the ESP8266 D2 / D1
SDA_PIN_ESP32 / SCL_PIN_ESP32 I2C on the ESP32, 255 = off 255
SDA_PIN_ESP32C3 / SCL_PIN_ESP32C3 I2C on the ESP32-C3, 255 = off 255
RTC_Type RTC_DS3231, RTC_DS1307 or RTC_PCF8523 RTC_DS3231

Front and LEDs

Setting Meaning Default
DEFAULT_LAYOUT Front layout and thus language, all values are listed commented out in Config.h Ger10x11Alternative
DEFAULT_LEDTYPE Colour order: Brg, Grb, Rgb, Rbg, Bgr or Grbw (SK6812) Grb
WHITE_LEDTYPE White LED with RGBW: WarmWhite, NeutralWhite, ColdWhite NeutralWhite
DEFAULT_HUE Hue on the first start (0–360) 120 (green)
DEFAULT_BRIGHTNESS Brightness on the first start in % 100
DEFAULT_BUILDTYPE Build type: Normal, DoubleResM1, DoubleRes, TrippleRes, QuadRes Normal
MINUTE_… Minute display: MINUTE_Off, MINUTE_LED4x, MINUTE_LED7x MINUTE_LED4x
IT_IS_… “It is” (German: “Es ist”): Off, Permanent, Quarterly, HalfHourly, Hourly IT_IS_Permanent

Matrix arrangement

Setting Meaning Default
REVERSE_MINUTE_DIR Reverse the running direction of the minute LEDs false
MIRROR_FRONT_VERTICAL Mirror the display vertically false
MIRROR_FRONT_HORIZONTAL Mirror the display horizontally false
FLIP_HORIZONTAL_VERTICAL Swap X and Y axis false
EXTRA_LED_PER_ROW one blind LED per row false
MEANDER_ROWS Strips glued in a zigzag true

Brightness

An LDR or a BH1750 is used for automatic brightness. If a BH1750 is present on the I2C bus, it takes precedence. For the LDR, three values describe the voltage divider (recommended: LDR type 5528, 10 kΩ):

Setting Meaning Default
AUTOBRIGHT_LDR_RESBRIGHT Resistance of the LDR in light (10 lx) in kΩ 15
AUTOBRIGHT_LDR_RESDARK Resistance of the LDR in darkness (0 lx) in kΩ 1000
AUTOBRIGHT_LDR_RESDIVIDER Fixed resistor in the voltage divider in kΩ 10

Wi-Fi and portal

Setting Meaning Default
MANUAL_WIFI_SETTINGS Compile in the Wi-Fi credentials instead of using the portal false
WIFI_SSID, WIFI_PASSWORD Wi-Fi credentials, only with MANUAL_WIFI_SETTINGS –
CP_PROTECTED Setup portal with password false
CP_SSID, CP_PASSWORD Name and password of the portal Connect_to_Wordclock

Access protection

Setting Meaning Default
WEB_PROTECTED Username and password for control (WebSocket) and the update page on port 81 false
WEB_USER, WEB_PASSWORD Credentials admin / CHANGE_THIS_PASSWORD

Be sure to change the default password when you enable the protection.

MQTT

MQTT_SERVER, MQTT_PORT, MQTT_CLIENT_ID, MQTT_USER, MQTT_PASSWORD and MQTT_TOPIC are commented out. If you set them, the MQTT credentials are already in place on the first start. Otherwise they are entered in the web interface under Smart Home.

Startup and diagnostics

Setting Meaning Default
BOOT_SHOWIP Show the IP address at startup true
BOOT_LEDSWEEP Run through all LEDs once at startup false
GENERAL_VERBOSE, WIFI_VERBOSE, WEATHER_VERBOSE Output on the serial interface (115200 baud) true, false, false
SERNR Version of the storage format. If it changes, all settings are reset 500

Clone this wiki locally