EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

EOS using wrong timestamps

Open nanoBit93 opened this issue 1 year ago • 2 comments

Hey, I found that EOS is using wrong timestamps - at least for the visualization in the graphs. It's using the current time of the client device - however it should use the HomeAssistant's current time. Not sure if this impacts only visualization or also optimization though. Here's an example: I'm currently in GMT+8. But my HomeAssistant is in GMT+2. As you can see in the screenshot, it's showing everything like it was 7am currently - but that's my current local time. Real time for EOS should be 1am. Image

What concerns me a little is that it's also showing that the next AC charge is planned in 5h (at 12). However, my 12 is 6am for my HomeAssistant - so it would start charging the battery at 6am with high grid prices which is completely unnecessary (the whole AC charge is unnecessary but that's another topic I guess).

nanoBit93 avatar Aug 10 '25 23:08 nanoBit93

Yep, you're right ... It's mixed up in the frontend. Needs to be refactored...

That maybe explains your second point... you can see that the pv data looks like expected, but soc rising is shifted by the x hours.

Nevertheless the charge should be not necessary due to the given soc and low (no) load... that is maybe a second story as a wrong response by EOS itself.

ohAnd avatar Aug 18 '25 18:08 ohAnd

Should be fixed with https://github.com/ohAnd/EOS_connect/commit/907c50caf4e5606591840321fb872c4c6d348fc0

ohAnd avatar Oct 01 '25 05:10 ohAnd