0.14.0-B4 Usermods

I have tried to add the RTC usermod and it is not being included when I compile using VSCode. Curious if anyone is having issue adding usermods to their build?

This is what I use in my _override.ini file:

[platformio]
default_envs = my_d1_mini_rtc

[env:my_d1_mini_rtc]
board = d1_mini
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
upload_speed = 921600
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266}
-D SERVERNAME=“"MyWLED-wRTC"”
-D WLED_RELEASE_NAME=MyWLED-wRTC
-D LEDPIN=2
-D DEFAULT_LED_COUNT=55
-D ABL_MILLIAMPS_DEFAULT=1250
-D USERMOD_RTC
-D WLED_DISABLE_BLYNK
lib_deps = ${esp8266.lib_deps}
monitor_filters = esp8266_exception_decoder

How do you know it is not included? It has no configurable parameters AFAIK and does not present itself in UI.

Correct, there is nothing in the UI that allows me to configure the RTC.


image

You do need to set up I2C as RTC relies on I2C bus.

1 Like

Thank you, I will look to see how to do that.

just enter GPIO pins used