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.27k stars 110 forks source link

The time display format cannot be changed.[BUG] #524

Closed bladeback closed 5 months ago

bladeback commented 6 months ago

When I change the time format to HH:MM:SS in the "on screen menu" (screen down) @@ 1711980148334

it still shows me only HH:MM and the day of the month in a red frame on the left. How to change it to show only time with seconds? 1711979909442

I would like to display the clock like this: Snímek obrazovky 2024-04-01 155952

Blueforcer commented 6 months ago

As you can see, this format can't fit together with the calendar icon. Change the time mode to remove it. You can to this with the /settings API or with the awtrix app

bladeback commented 6 months ago

As you can see, this format can't fit together with the calendar icon. Change the time mode to remove it. You can to this with the /settings API or with the awtrix app

I understand that it won't fit there, I don't need the calendar icon. How do I do this via "settings/API" please? When I get to the web interface settings, only TIMEZONE can be changed.

Blueforcer commented 6 months ago

https://blueforcer.github.io/awtrix3/#/api?id=change-settings

dedelastuce commented 5 months ago

Hi I m in the same situation, I would like to remove the calendar icon to show full time (like old awtrix). Is it possible? I tried to change time format it doesn't work calendar icon is still here

Blueforcer commented 5 months ago

Hi I m in the same situation, I would like to remove the calendar icon to show full time (like old awtrix). Is it possible? I tried to change time format it doesn't work calendar icon is still here

Both methods are described above.

on4ami commented 3 months ago

Can someone tell me what settings requires the modification. I tried TMODE but does not solve

Blueforcer commented 3 months ago

Can someone tell me what settings requires the modification. I tried TMODE but does not solve

Just some lines under TMODE : TFORMAT | Time format for the TimeApp.

on4ami commented 3 months ago

Hereby my settings. Calendar in front.

"MATP": true, "ABRI": false, "BRI": 125, "ATRANS": true, "TCOL": 16776954, "TEFF": 1, "TSPEED": 300, "ATIME": 5, "TMODE": 1, "CHCOL": 16711680, "CTCOL": 0, "CBCOL": 16777215, "TFORMAT": "%H:%M:%S", "DFORMAT": "%d/%m/%y", "SOM": true, "CEL": true, "BLOCKN": false, "MAT": 0, "SOUND": true, "GAMMA": 1.899999976, "UPPERCASE": true, "CCORRECTION": "#000000", "CTEMP": "#000000", "WD": true, "WDCA": 16777215, "WDCI": 6710886, "TIME_COL": 0, "DATE_COL": 0, "HUM_COL": 0, "TEMP_COL": 0, "BAT_COL": 0, "SSPEED": 100, "TIM": true, "DAT": false, "HUM": false, "TEMP": false, "BAT": false, "VOL": 25, "OVERLAY": "clear" awtrix

Blueforcer commented 3 months ago

You cannot display this time format because it doesn't fit together with the calendar. Disable the calendar or change the time format to something without seconds.

hsauce commented 3 months ago

Not sure why the default time format was changed without an easy to change it back to what it used to be. Now you need to know how to use the terminal or a command line prompt app (or pay for the mobile app).

Anyways here's the curl command you can use to reset it back to what it used to be. Make sure you replace <ip-address> with your clock's address.

curl --location 'http://<ip-address>/api/settings' \
--header 'Content-Type: application/json' \
--data '{
    "TMODE": 0
}'