Netgalleria / arska-node

Smart power manager for optimized solar power usage as well as greenest and cheapest energy purchase
GNU General Public License v3.0
24 stars 1 forks source link

Variables looks shifted 1 hour forward but chart looks ok #26

Closed joe-ave closed 1 year ago

joe-ave commented 1 year ago

Hello Olli,

by some reason the values in variables looks shifted forward 1 hour but the values in chart looks ok. I have not seen this before so maybe it´s a behaviour that appears at dayshifting, hour 23 -> 00?

//Jonas

day hour no offset chart day hour offset variable day hour offset variable 2

Olli69 commented 1 year ago

Hi Jonas, After a quick look, it looks like the graph and variables are ok (at least price, price ranks etc look good) but the updated time at the bottom is possibly wrong time zone (EET not CET you are using). Needs further investigation...

EDIT: I just tested that if you have CET timezone on your computer but EET in Arska config - that could cause similar phenomen. Could you check Arska timezone settings on Admin part, thanks.

Olli

joe-ave commented 1 year ago

Hello Olli,

the price rank at hour 23 should have been something like 16, pricerank showing 23 indicates that the variables thinks that the hour is 00 of next day and not hour 23 at current day.

//Jonas

Olli69 commented 1 year ago

Hi Jonas, Did you check timezone settings? In EET timezone, it would be already next day - that would explain it. Graph timezone comes from your local computer settings .

Olli

joe-ave commented 1 year ago

Hello Olli,

since I live in SE3 it´s UTC+1, and the graph and price corresponds to actual prices in entso-e and Nordpool. But if the pricerank evaluation uses EET it´s probably wrong for SE3 that would need UTC+1 instead otherwise it will be offset by one hour.

//Jonas

Olli69 commented 1 year ago

Hi Jonas, So you have these settings in the admin settings of Arska?

image

Olli

joe-ave commented 1 year ago

Hello Olli,

I missed that one!, it was in EET. Now variable 115 shows current hour and the pricerank calculation looks ok.

Thanks!

//Jonas