Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Changing timezone doesn't change time on home page #2304

Open
f4b1ux opened this issue Oct 1, 2024 · 12 comments
Open

Bug Changing timezone doesn't change time on home page #2304

f4b1ux opened this issue Oct 1, 2024 · 12 comments
Labels
Bug Identifies an issue where the system is not functioning as expected. Validation pending A solution was proposed (maybe in `dev`). Waiting for validation/tests/feedback.
Milestone

Comments

@f4b1ux
Copy link

f4b1ux commented Oct 1, 2024

TFT Version

4.3.11

Firmware Version

4.3.11

Blueprint Version

4.3.11

Panel Model

EU

What is the bug?

Changing the timezone in the blueprint automation in various way and saving after each change doesn't affect the time displayed in the home page. It remains always as UTC.

Steps to Reproduce

  1. Go to blueprint automation
  2. navigate to localization / timezone
  3. change the timezone in Europe/Rome, for example, and click on Save
  4. wait the automation to be executed or manually execute it
  5. check on the NSPanel home page: the time should be GMT+2, but it remain unchanged
  6. retry from step 3 using different timezones

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

@f4b1ux f4b1ux added the Bug Identifies an issue where the system is not functioning as expected. label Oct 1, 2024
@edwardtfn
Copy link
Collaborator

Could you please capture some of ESPHome logs and look for the time zone info shown both in the beginning (preparation area) of the log file and the one shown in purple at the dump?

Something like this:

INFO ESPHome 2024.9.2
INFO Reading configuration /config/esphome/kitchen-bench-panel.yaml...
INFO Updating https://github.com/Blackymas/NSPanel_HA_Blueprint@dev
INFO Updating https://github.com/Blackymas/[email protected]
INFO Detected timezone 'Europe/Stockholm'
INFO Starting log output from 192.168.12.146 using esphome API
INFO Successfully connected to kitchen-bench-panel @ 192.168.12.146 in 0.054s
INFO Successful handshake with kitchen-bench-panel @ 192.168.12.146 in 0.031s
[19:49:02][I][app:100]: ESPHome version 2024.9.1 compiled on Sep 27 2024, 20:51:43
[19:49:02][I][app:102]: Project esphome.NSPanel_HA_Blueprint version 4.4.0.dev1
[19:49:02][C][wifi:600]: WiFi:
...

[19:49:04][C][homeassistant.time:010]: Home Assistant Time:
[19:49:04][C][homeassistant.time:011]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
...

@edwardtfn edwardtfn added this to the v4.4.0 milestone Oct 4, 2024
edwardtfn added a commit that referenced this issue Oct 4, 2024
@f4b1ux
Copy link
Author

f4b1ux commented Oct 5, 2024

Hi, sorry for the delay! Here are logs about Home Assistant time:

INFO ESPHome 2024.9.2
INFO Reading configuration /config/nspanel-camere.yaml...
INFO Updating https://github.com/Blackymas/NSPanel_HA_Blueprint@main
INFO Updating https://github.com/Blackymas/[email protected]
INFO Detected timezone 'Etc/UTC'
INFO Starting log output from 10.123.124.76 using esphome API
INFO Successfully connected to nspanel-camere @ 10.123.124.76 in 0.241s
INFO Successful handshake with nspanel-camere @ 10.123.124.76 in 0.152s
[15:46:14][I][app:100]: ESPHome version 2024.9.2 compiled on Oct 1 2024, 13:28:29
[15:46:14][I][app:102]: Project esphome.NSPanel_HA_Blueprint version 4.3.11

[15:46:15][C][homeassistant.time:010]: Home Assistant Time:
[15:46:15][C][homeassistant.time:011]: Timezone: 'UTC0'

@edwardtfn
Copy link
Collaborator

Which timezone are you trying to set?
I will try to duplicate this here...

@f4b1ux
Copy link
Author

f4b1ux commented Oct 7, 2024

Europe/Rome (CET-1CEST,M3.5.0,M10.5.0/3)

@DonGuaja
Copy link

I have the same issue here.

@DonGuaja
Copy link

[10:46:58][I][app:100]: ESPHome version 2024.9.2 compiled on Oct 15 2024, 10:40:26
[10:46:58][I][app:102]: Project esphome.NSPanel_HA_Blueprint version 4.3.11

[10:46:59][C][homeassistant.time:010]: Home Assistant Time:
[10:46:59][C][homeassistant.time:011]:   Timezone: '<-04>4<-03>,M9.1.6/24,M4.1.6/24'

@edwardtfn
Copy link
Collaborator

What have you selected on the Blueprint?

@DonGuaja
Copy link

the time zone selected is that, but what it really shows on the screen is 1 hour before.

@DonGuaja
Copy link

The selected timezone is correct, but the displayed time on the screen is one hour behind.

@edwardtfn
Copy link
Collaborator

Are you using framework arduino or esp-idf? Or you don't have this specified in your panel's yaml?

@DonGuaja
Copy link

DonGuaja commented Oct 15, 2024

[17:20:15][C][nspanel_ha_blueprint:2245]: Version: 4.3.11 [17:20:15][C][nspanel_ha_blueprint:2246]: Init steps: 62 (100.0%) [17:20:15][C][nspanel_ha_blueprint:2255]: ESPHome: [17:20:15][C][nspanel_ha_blueprint:2256]: Version: 4.3.11 [17:20:15][C][nspanel_ha_blueprint:2257]: Compiler: 2024.9.2 [17:20:15][C][nspanel_ha_blueprint:2262]: Framework: ESP-IDF

edwardtfn added a commit that referenced this issue Oct 16, 2024
@edwardtfn edwardtfn added the Validation pending A solution was proposed (maybe in `dev`). Waiting for validation/tests/feedback. label Oct 17, 2024
@rici44
Copy link

rici44 commented Oct 19, 2024

The same problem here. I saved new Timezone in blueprint automation but it did not change on the screen.

Solution is to enforce time zone in customization area

time:
  - id: !extend time_provider
    timezone: "Europe/Prague"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Identifies an issue where the system is not functioning as expected. Validation pending A solution was proposed (maybe in `dev`). Waiting for validation/tests/feedback.
Projects
None yet
Development

No branches or pull requests

4 participants