Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.42k stars 112 forks source link

[BUG] Day Of Week Color #581

Closed FrankGiesecke closed 5 days ago

FrankGiesecke commented 3 months ago

Bug report

Describe the bug

If I understand the API docu, it should be possible to define a color for day of week marker using the keys "WDCA" and "WDCI" in the settings endpoint.

Unfortunately this has no effect.

Additional information

To Reproduce

Send the following settings config in MQTT

{
"WDCA": "#FF0000",
"WDCI": "#0000FF"
}

Expected behavior

The current day should be represented in red, all other days in blue.

Screenshots

-

Logs

-

Additional context

-

EmEiBee commented 3 weeks ago

I agree with that. Almost all other commands in config also have no effect, such as SOM or DAT

Blueforcer commented 3 weeks ago

Works as it should.

{
"WDCA": "#FF0000",
"WDCI": "#0000FF",
"SOM":false
}

results in the correct behaviour: (Its Monday here, therefore sunday is in the first place) awtrix (2)

Enabling/Disabling of DAT and other Apps needs a reboot

To which topic do you send the json?

EmEiBee commented 3 weeks ago

... ... unfortunately not for me: img-2024-10-28-23-57-55

Enabling/Disabling of DAT and other Apps needs a reboot

Of course. Is rebooted more then twice. The topic /settings/ as described in the docs

Blueforcer commented 3 weeks ago

... ... unfortunately not for me:

its /settings - not /settings/

I think thats why your messagetree looks different to mine: image

EmEiBee commented 3 weeks ago

its /settings not /settings/

UFFF... Ok, you are right here... Then it works like expected...

So Q: Why I have to use it without backslash at this point where others have to be with backslash?

img-2024-10-29-00-04-36

Blueforcer commented 3 weeks ago

This is also not the case here Your Topic is e.g. pixel/custom/HKV not pixel/custom/

EmEiBee commented 3 weeks ago

Hmmm... I have to think about that. Have a knot in my brain right now... Time to take a sleep ^^ Thanks for your assistance!