bk1285 / rpi_wordclock

Software to create a Raspberry Pi based wordclock
GNU General Public License v3.0
214 stars 105 forks source link

color changing time #228

Closed jimniki closed 1 year ago

jimniki commented 1 year ago

Hello all. I'm making my third clock and I'd like to have no buttons. With the web connect happening, I'm happy to adjust from there if need be. What I would love is to be able to set the time (including the words "IT IS" if possible) to use a slow rainbow effect. I can do this with buttons. Is there a simple solution to set this as a default on startup (without using any physical buttons)? Or via the web html? I'd like this because my last clock had very weak pixels for the "IT IS" wording as they were on 24/7 for several years. These pixels don't last forever and I was thinking that if I can rotate the rbg internal leds, (also at a selectable brightness) they may last longer.

jimniki commented 1 year ago

.

FrankX0 commented 1 year ago

Hi @jimniki, Does this mean you found/developed a solution?

jimniki commented 1 year ago

Sadly, no. I just created the clock with buttons as per usual. I just press the right? button a couple of times to force the time into color changing mode and leave it at that. It's a pity I can't set this as a boot up default.

FrankX0 commented 1 year ago

I might be able to help. But please note that there only a few active developers. So please be patient. I'll have a look, probably during coming week.

jimniki commented 1 year ago

Ta Frank. Much appreciated. It might also solve another mystery. Since we can't default the clock colours to the changing rainbow colors on bootup, I manually set it with a couple of button presses. And you know what, hours later it changes back to a fixed color fading pattern. It's done this on all my clock builds? It doubt this is programmed, is it? Once again, do whatever you can do at your own pace when you feel like it. Cheers from au.. Jim

On Sun, Oct 23, 2022 at 6:38 PM Frank Exoo @.***> wrote:

I might be able to help. But please note that there only a few active developers. So please be patient. I'll have a look, probably during coming week.

— Reply to this email directly, view it on GitHub https://github.com/bk1285/rpi_wordclock/issues/228#issuecomment-1288052666, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKISWLJIYVGPFYXKXJTOFELWET2QXANCNFSM6AAAAAARCFGYWI . You are receiving this because you were mentioned.Message ID: @.***>

FrankX0 commented 1 year ago

Hi Jim, I just created a simple fix, by allowing the color cycling to be enabled from the config file. Please see the pull request #231

jimniki commented 1 year ago

Frank, you the man... very much appreciated... Sincerely, Jim.

On Wed, Oct 26, 2022 at 5:32 AM Frank Exoo @.***> wrote:

Hi Jim, I just created a simple fix, by allowing the color cycling to be enabled from the config file. Please see the pull request #231 https://github.com/bk1285/rpi_wordclock/pull/231

— Reply to this email directly, view it on GitHub https://github.com/bk1285/rpi_wordclock/issues/228#issuecomment-1291040117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKISWLOUMYLA3HYCFITYNEDWFAYVNANCNFSM6AAAAAARCFGYWI . You are receiving this because you were mentioned.Message ID: @.***>

jimniki commented 1 year ago

Hello again Frank. Just a quick one for you if and when you have a minute. (please let me know if you don't want me emailing you again...no probs at all.)

I know a year or 2 ago the brightness level sleep setting in the config file wasn't working. Should it be working these days or is it still a problem? The reason I ask is because with the color cycling you helped me with, it isn't working. Could it be an issue with just the color cycling mode?

Thanks again mate. Jim (from Australia).

On Wed, Oct 26, 2022 at 5:32 AM Frank Exoo @.***> wrote:

Hi Jim, I just created a simple fix, by allowing the color cycling to be enabled from the config file. Please see the pull request #231 https://github.com/bk1285/rpi_wordclock/pull/231

— Reply to this email directly, view it on GitHub https://github.com/bk1285/rpi_wordclock/issues/228#issuecomment-1291040117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKISWLOUMYLA3HYCFITYNEDWFAYVNANCNFSM6AAAAAARCFGYWI . You are receiving this because you were mentioned.Message ID: @.***>

FrankX0 commented 1 year ago

No Problem. Although it would be better to open an issue if you want to report a defect.

Anyway, this is an actual defect. When in color cycling mode, the sleep setting is not taken into account. I'll have a look how to fix this.

Kind regards, Frank (from the Netherlands).

FrankX0 commented 1 year ago

Can you try the second commit?