Skip to content

WebUI: NTP configuration is not obvious  #2327

Closed
@AlbertWeterings

Description

Bug description
A clear and concise description of what the bug is.
Loaded today's dev build on a SonOff Basic. Time handling is acting incorrect.

  • In Status - Current time - The time is not changing if time zone is changed NTP tab
  • NTP tab is not showing dropdown for time zone
  • Enable/Disable DST is gone
  • Set DST region is gone
  • In dubug after typing NTP I get this:
    [655751] [NTP] Sync Time : 2020-08-19 07:58:20 (UTC)
    [655752] [NTP] UTC Time : 2020-08-19 08:05:41
    [655755] [NTP] Local Time : 2020-08-19 10:05:41 (UTC-02:00)
    If UTC = 08:05 UTC-2:00 can never be 10:05

Entering UTC 2:00 results in:
[026053] [NTP] Sync Time : 2020-08-19 08:09:30 (UTC)
[026054] [NTP] UTC Time : 2020-08-19 08:09:49
[026057] [NTP] Local Time : 2020-08-19 06:09:49 (UTC 02:00)
Should be 10:09

Expected behavior

  • Status screen should show "Local time"
  • Time zone setting doesn't respond to UTC/GMT/EST
  • Time zone setting should count up on + or nothing and down on -
  • Configuration in NTP should have DST
  • Configuration in NTP should have DST region setting

Screenshots
If applicable, add screenshots to help explain your problem.
ESPUrna_NTP

Tools used

  • Desktop operating system
    Windows 10 2004
  • Browser & version
    Firefox
  • IDE & version
    Arduino IDE 1.8.13

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions