Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions platformio_override.sample.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
; -D WLED_RELEASE_NAME=\"ESP32_MULTI_USREMODS\"
;
; disable specific features
; GUI -> Config -> Security & Update -> Software Update -> Enable ArduinoOTA
; -D WLED_ENABLE_AOTA
; GUI -> Config -> Security & Update -> Software Update -> OTA
; -D WLED_DISABLE_OTA
; -D WLED_DISABLE_ALEXA
; -D WLED_DISABLE_HUESYNC
Expand All @@ -56,11 +59,22 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
; -D WLED_ENABLE_USERMOD_PAGE # if created
; -D WLED_ENABLE_DMX
;
; disabling will allow ota flash from another VLAN
; GUI -> Config -> Security & Update -> Software Update -> Only allow update from same network/WiFi
; -D OTA_DEFAULT_SAME_SUBNET=false
;
;
; PIN defines - uncomment and change, if needed:
; GUI -> Config -> LED Preferences -> LED output -> Data GPIO
; -D DATA_PINS=2
; or use this for multiple outputs
; -D DATA_PINS=1,3
; GUI -> Config -> LED Preferences -> Hardware setup -> Make a segment for each output
; -D WLED_AUTOSEGMENTS=false
; GUI -> Config -> LED Preferences -> Hardware setup -> Button X GPIO
; -D BTNPIN=0
; GUI -> Config -> LED Preferences -> Hardware setup -> Button X GPIO
; -D BTNTYPE=2
; -D IRPIN=4
; -D RLYPIN=12
; -D RLYMDE=1
Expand All @@ -73,8 +87,18 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
; -D WLED_MAX_DIGITAL_CHANNELS=2 # only 2 HW accelerated pins available
;
; Configure default WiFi
; GUI -> Config -> Wifi Setup -> Network name (SSID, empty to not connect)
; -D CLIENT_SSID='"MyNetwork"'
; GUI -> Config -> Wifi Setup -> Network password
; -D CLIENT_PASS='"Netw0rkPassw0rd"'
; GUI -> Config -> Wifi Setup -> mDNS address (leave empty for no mDNS)
; -D MDNS_NAME='"wled-ClientXYZ"'
; GUI -> Config -> Wifi Setup -> Configure Access Point -> AP SSID (leave empty for no AP)
; -D WLED_AP_SSID='"wled-ClientXYZ-AP"'
; GUI -> Config -> Wifi Setup -> Configure Access Point -> AP password (leave empty for open)
; -D WLED_AP_PASS='"Netw0rkPassw0rdAP"'
; GUI -> Config -> Wifi Setup -> Experimental -> Disable WiFi sleep
; -D WIFI_DEFAULT_NO_WIFI_SLEEP=true
;
; Configure and use Ethernet
; -D WLED_USE_ETHERNET
Expand All @@ -84,9 +108,19 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
; -D ETH_CLK_MODE=ETH_CLOCK_GPIO17_OUT
;
; NTP time configuration
; GUI -> Config -> Time & Macros -> Time setup -> Get time from NTP server
; -D WLED_NTP_ENABLED=true
; GUI -> Config -> Time & Macros -> Time setup -> NTP Server
; -D WLED_NTP_SERVER='"192.168.178.100"'
; GUI -> Config -> Time & Macros -> Time setup -> Use 24h format
; -D WLED_NTP_AMPM=true
; GUI -> Config -> Time & Macros -> Time setup -> Time zone
; -D WLED_TIMEZONE=2
; GUI -> Config -> Time & Macros -> Time setup -> UTC offset
; -D WLED_UTC_OFFSET=0
; GUI -> Config -> Time & Macros -> Time setup -> Latitude
; -D WLED_LAT=48.86
; GUI -> Config -> Time & Macros -> Time setup -> Longitude
; -D WLED_LON=2.33
;
; Use Watchdog timer with 10s guard
Expand Down Expand Up @@ -156,33 +190,127 @@ build_flags = ${common.build_flags} ${esp8266.build_flags}
; -D STATUSLED=16
;
; set the name of the module - make sure there is a quote-backslash-quote before the name and a backslash-quote-quote after the name
; GUI -> Config -> User Interface -> Server description
; -D SERVERNAME="\"WLED\""
;
; set the default primary color for R G B W
; -D LED_DEFAULT_PRIMARY_R=255
; -D LED_DEFAULT_PRIMARY_G=255
; -D LED_DEFAULT_PRIMARY_B=255
; -D LED_DEFAULT_PRIMARY_W=255
;
; set the default secondary color for R G B W
; -D LED_DEFAULT_SECONDARY_R=255
; -D LED_DEFAULT_SECONDARY_G=255
; -D LED_DEFAULT_SECONDARY_B=255
; -D LED_DEFAULT_SECONDARY_W=255
;
; set the number of LEDs
; GUI -> Config -> LED Preferences -> LED outputs -> Length
; -D PIXEL_COUNTS=30
; or this for multiple outputs
; -D PIXEL_COUNTS=30,30
;
; set the default LED type
; GUI -> Config -> LED Preferences -> LED outputs -> LED Type
; -D LED_TYPES=22 # see const.h (TYPE_xxxx)
; or this for multiple outputs
; -D LED_TYPES=TYPE_SK6812_RGBW,TYPE_WS2812_RGB
;
; set default color order of your led strip
; GUI -> Config -> LED Preferences -> Hardware setup -> Color Order
; -D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB
;
; set milliampere limit when using ESP power pin (or inadequate PSU) to power LEDs
; GUI -> Config -> LED Preferences -> Maximum PSU Current // 0 = disable ABL
; -D ABL_MILLIAMPS_DEFAULT=850
;
; -D LED_MILLIAMPS_DEFAULT=55
;
; turn LEDs on after power up
; GUI -> Config -> LED Preferences -> Defaults -> Turn LEDs on after power up/reset
; -D LED_DEFAULT_TURN_ON_AT_BOOT=true
;
; set the default brightness of the LEDs
; GUI -> Config -> LED Preferences -> Defaults -> Default brightness
; -D LED_DEFAULT_BRIGHTNESS=128
;
; set the preset number to apply on boot
; GUI -> Config -> LED Preferences -> Defaults -> Apply preset
; -D LED_DEFAULT_BOOT_PRESET=0
;
; enable IR by setting remote type
; -D IRTYPE=0 # 0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote
;
; Sync Interfaces page
; GUI -> Config -> Sync Interfaces -> WLED Broadcast -> UDP Port
; -D UDP_DEFAULT_MAIN_PORT=21234
; GUI -> Config -> Sync Interfaces -> WLED Broadcast -> 2nd Port
; -D UDP_DEFAULT_SECOND_PORT=65506
;
; Sync Interfaces page - Sync groups
; Each bit enables one group (1–8). Combine with OR for multiple groups.
; 0x01 -> group 1
; 0x02 -> group 2
; 0x04 -> group 3
; 0x08 -> group 4
; 0x10 -> group 5
; 0x20 -> group 6
; 0x40 -> group 7
; 0x80 -> group 8
; Multiple:
; 0x03 -> groups 1 + 2 (0x01 + 0x02)
; 0x05 -> groups 1 + 3 (0x01 + 0x04)
; 0x0F -> groups 1–4 (0x01 + 0x02 + 0x04 + 0x08)
; 0xFF -> groups 1–8 (all enabled)
; GUI -> Config -> Sync Interfaces -> Sync groups -> Send
; -D SYNC_DEFAULT_SEND_GROUPS='"0x40"'
; GUI -> Config -> Sync Interfaces -> Sync groups -> Receive
; -D SYNC_DEFAULT_RECEIVE_GROUPS='"0x40"'
; GUI -> Config -> Sync Interfaces -> Send -> Enable Sync on start
; -D NOTIFY_DEFAULT_SEND_NOTIFICATIONS=true
; GUI -> Config -> Sync Interfaces -> Send -> Send notifications on direct change
; -D NOTIFY_DEFAULT_DIRECT=0
; GUI -> Config -> Sync Interfaces -> Instance List -> Enable instance list
; -D NODE_DEFAULT_LIST_ENABLED=true
; GUI -> Config -> Sync Interfaces -> Instance List -> Make this instance discoverable
; -D NODE_DEFAULT_BROADCAST_ENABLED=true
; GUI -> Config -> Sync Interfaces -> Realtime -> Receive UDP realtime
; -D RECEIVE_DEFAULT_DIRECT=1
; GUI -> Config -> Sync Interfaces -> Realtime -> Use main segment only
; -D LED_DEFAULT_USE_MAIN_SEGMENT_ONLY=false
; GUI -> Config -> Sync Interfaces -> Realtime -> Respect LED Maps
; -D REALTIME_DEFAULT_RESPECT_LED_MAPS=true
;
; set up the Mqtt section
; GUI -> Config -> Sync Interfaces -> MQTT -> Enable MQTT
; -D MQTT_DEFAULT_ENABLED=true
; GUI -> Config -> Sync Interfaces -> MQTT -> Broker
; -D MQTT_DEFAULT_SERVER='"192.168.178.10"'
; GUI -> Config -> Sync Interfaces -> MQTT -> Port
; -D MQTT_DEFAULT_PORT=1883
; GUI -> Config -> Sync Interfaces -> MQTT -> Username
; -D MQTT_DEFAULT_USER='"mqtt_user"'
; GUI -> Config -> Sync Interfaces -> MQTT -> Password
; -D MQTT_DEFAULT_PASS='"mqtt_pass"'
; GUI -> Config -> Sync Interfaces -> MQTT -> Group Topic
; -D MQTT_DEFAULT_GROUP_TOPIC='"wled/all"'
; GUI -> Config -> Sync Interfaces -> MQTT -> Publish on button press
; -D MQTT_DEFAULT_BUTTON_PUBLISH=true
; GUI -> Config -> Sync Interfaces -> MQTT -> Retain brightness & color messages
; -D MQTT_DEFAULT_RETAIN=true
; GUI -> Config -> Sync Interfaces -> MQTT -> Client ID
; -D MQTT_DEFAULT_CLIENTID='"ClientXYZ"'
; GUI -> Config -> Sync Interfaces -> MQTT -> Device Topic
; -D MQTT_DEFAULT_DEVICE_TOPIC='"wled/ClientXYZ"'
;
; use PSRAM on classic ESP32 rev.1 (rev.3 or above has no issues)
; -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue # needed only for classic ESP32 rev.1
;
; configure I2C and SPI interface (for various hardware)
; GUI -> Config -> Usermods -> Global I2C GPIOs (HW) -> SDA
; -D I2CSDAPIN=33 # initialise interface
; GUI -> Config -> Usermods -> Global I2C GPIOs (HW) -> SCL
; -D I2CSCLPIN=35 # initialise interface
; -D HW_PIN_SCL=35
; -D HW_PIN_SDA=33
Expand Down
Loading