evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Variable time tariff shows wrong time frame

Open fletch247 opened this issue 7 months ago • 3 comments

Describe the bug

I have set my low price time frame as shown in the screenshots from 00:00 to 05:00 but the active time shows from 02:00 to 07:00

Not sure if this is just shown wrong but works as it should, i will test this tonight.

Image Image

Steps to reproduce

add variable time tariff times

Configuration details

n/a

Log details

n/a

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.304.3

fletch247 avatar Apr 11 '26 18:04 fletch247

What time zone configuration does you have on your System? What does timedatectl shows?

StefanSchoof avatar Apr 11 '26 19:04 StefanSchoof

meine güte 🤦‍♂️

User error — I should’ve figured that out myself with that 2h gap. Thanks for the nudge!

kellerserver:~$ timedatectl Local time: Sat 2026-04-11 21:09:34 UTC Universal time: Sat 2026-04-11 21:09:34 UTC RTC time: Sat 2026-04-11 21:09:34 Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes NTP service: active RTC in local TZ: no

kellerserver:~$ sudo timedatectl set-timezone Europe/Berlin

[sudo] password for kellerserver:

kellerserver:~$ timedatectl Local time: Sat 2026-04-11 23:11:55 CEST Universal time: Sat 2026-04-11 21:11:55 UTC RTC time: Sat 2026-04-11 21:11:55 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no

fletch247 avatar Apr 11 '26 21:04 fletch247

BUT:

i had the wrong timezone in my system but it did not affect EVCC with times in grünstromindex, pv forecast and back in the days the tibber prices. so i did not realize for more than 2 years that the system ran in the wrong timezone and maybe there‘s still a bug for tariffs?

fletch247 avatar Apr 11 '26 21:04 fletch247