LED-ClockShelf icon indicating copy to clipboard operation
LED-ClockShelf copied to clipboard

Problem with color changes

Open perezsalaIgnacio opened this issue 1 year ago • 4 comments

Hello Florian,

I have decided to do this project and when I assemble it I don't know what I am doing wrong. When I plug everything in, turn it on, it does the loading animation in blue, then it changes to green and does not change from white at any time.

What am I doing wrong?

I have the configuration as follows: #define HOUR_COLOR CRGB::White #define MINUTE_COLOR CRGB::Azure #define WIFI_CONNECTING_COLOR CRGB::Blue #define WIFI_CONNECTION_SUCCESSFUL_COLOR CRGB::Green

Thank you!

Translated with DeepL.com (free version)

perezsalaIgnacio avatar Jun 25 '24 08:06 perezsalaIgnacio

Hello,

Did you disable the blynk functionality? If you would like to use static colors I would recommend disabling it so it does not interfere with your static colors

florianL21 avatar Jun 25 '24 19:06 florianL21

I have also noticed this issue where the WIFI_CONNECTION_SUCCESSFUL_COLOR gets set as the clock color. I also noticed the correct color usually kicks in if I restart the system. A temporary hack is to set the WIFI_CONNECTION_SUCCESSFUL_COLOR to the color you want the clock, knowing that hour and min will be the same color

acircleda avatar Aug 31 '24 15:08 acircleda

To fix this you need to adjust the order of operations in setup( ), which is part of main.cpp. The four calls to set hour, minute, internal, separation_dot color should come AFTER wifiSetup( ).

So you have:

wifiSetup();

Then you move the following from the top to the bottom of the setup( ) method, just before startupAnimation()

ShelfDisplays->setHourSegmentColors(HOUR_COLOR); ShelfDisplays->setMinuteSegmentColors(MINUTE_COLOR); ShelfDisplays->setInternalLEDColor(INTERNAL_COLOR); ShelfDisplays->setDotLEDColor(SEPARATION_DOT_COLOR);

This worked for me.

Iraithium avatar Feb 15 '25 19:02 Iraithium

Still trying to solve another issue where, after waking from night mode, the display defaults to DEFAULT_CLOCK_BRIGHTNESS and ignores the light sensor. It should be easy to solve this, but haven't found the issue yet.

Iraithium avatar Feb 15 '25 19:02 Iraithium