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…

Hmmmm

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

[platformio]
default_envs = demo

[env: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}
-D USERMOD_AUTO_SAVE
-D AUTOSAVE_PRESET_NUM=1
-D USERMOD_FOUR_LINE_DISPLAY
-D USE_ALT_DISPlAY
-D FLD_PIN_SCL=27
-D FLD_PIN_SDA=26
-D FLD_TYPE=SH1106
lib_deps = ${esp32.lib_deps}
lib_ignore =
ESPAsyncTCP
ESPAsyncUDP
monitor_filters = esp32_exception_decoder
board_build.partitions = ${esp32.default_partitions}

[env]
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
ESPAsyncUDP
;AsyncTCP @ 1.0.3
me-no-dev/AsyncTCP @ 1.0.3
;kubafilinger/AsyncTCP@^1.1.1
;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
Wire

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.