4 line display... Bug

I’m using @srg74 shield custom builds which are great.

I have found a bug, I’m not smart enough to solve.

By default screen sleep is on. If your deactivate this line 4 does not auto cycle.

If anybody has a fix please let me know.:grin:

Use ALT usermod.
Original has not been maintained in some time.

1 Like

Hi @blazoncek

So add the alt user mod… Am I correct in my understanding that I still also need to use the original as well?

I’m not sure if the Alt version is going to work for my purpose as I need to show the IP address always…


Yes, if you use the ALT version should include the “normal” 4Line display usermod.
Here it is my platformio_override.ini:

default_envs = demo

board = esp32dev
platform = ${esp32.platform}
platform_packages = ${esp32.platform_packages}
upload_speed = 921600
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32}
lib_deps = ${esp32.lib_deps}
lib_ignore =
monitor_filters = esp32_exception_decoder
board_build.partitions = ${esp32.default_partitions}

framework = arduino
board_build.flash_mode = dout
monitor_speed = 115200
upload_speed = 115200 # slow upload speed (comment this out with a ‘;’ when building for development use)
;upload_speed = 921600 # fast upload speed (remove ‘;’ when building for development use)

lib_compat_mode = strict
lib_deps =
#FROM: usermod_v2_rotary_encoder_ui/platformio_override.ini.sample
;fastled/FastLED @ 3.3.2
fastled/FastLED @ 3.5.0
;NeoPixelBus @ 2.6.0 # uses latest NeoPixelBus library
ESPAsyncTCP @ 1.2.0
;AsyncTCP @ 1.0.3
me-no-dev/AsyncTCP @ 1.0.3
;IRremoteESP8266 @ 2.7.3
IRremoteESP8266 @ 2.8.1
GitHub - lorol/LITTLEFS: LittleFS library for arduino-esp32
;GitHub - Aircoookie/ESPAsyncWebServer: Async Web Server for ESP8266 and ESP32 @ ~2.0.0
GitHub - Aircoookie/ESPAsyncWebServer: Async Web Server for ESP8266 and ESP32 @ ~2.0.4
U8g2@~2.27.2 # For use SSD1306 OLED display

1 Like

Why? :slight_smile:
IP address is shown at boot (or network reconnect) for 7s.
You can get IP address if you long press rotary encoder (which is best paired with this usermod).

1 Like

Why IP… So I can check which wled unit I want to dial into. I’m using it for xlights so have many WLED devices in PVC outdoor box.

I can’t use the Rotary encoder I only have one pin left :frowning:

Could I use that pin as a button to display an IP overlay?

Why permanent display? You can add sticker with IP. It is far cheaper.
Since you would like static IP if using xlights.
If your router supports mDNS just use wled name instead of IP.

Permanent display to show if its under control from xlights or wled, if its a sleep etc useful for problem solving without having to have the app open to look at the unit…

Plus a oled is $2, that’s nearly the same as price as bit of sparky tape and a sharpie.