EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

Real-Time Price Response with EOS Connect: Supporting 15-Minute Intervals (and timed executions)

Open Popoboxxo opened this issue 1 year ago • 8 comments

Hey

It would be great (if EOS can handle it soon) if EOS Connect could also accept the 15-minute interval prices from providers like Tibber and respond accordingly.

Even better would be not only the ability to configure a calculation cycle, e.g. every 3 minutes, but also to trigger calculations based on the clock time—so that a calculation starts precisely before the price change at minutes 59, 14, 29, and 44.

Thanks!

Popoboxxo avatar Oct 05 '25 11:10 Popoboxxo

Hey, I am not the maintainer. But I think this idea is kind of wrongly placed since the EOS base need to be adjusted first.

a8291 avatar Oct 05 '25 13:10 a8291

@a8291 Yeah, totally right! EOS was adjusted first (though I’m not sure about its current state on their side).

I also think EOS Connect needs some maintenance—like updating the API call to the energy price endpoints: (e.g. Tibber)

Image

(Line 375 in price_interface.py)

And ideally, the UI could offer a configurable view: switching from 24 daily prices to 96 rows for 15-minute intervals.

Popoboxxo avatar Oct 05 '25 13:10 Popoboxxo

hi @Popoboxxo ,

as @a8291 already mentioned EOS has to integrate the 15 min stuff in the core - so we have to wait - if it is given then it is a short way to get the 15min values from tibber - smartenergy already delivers only 15min and will be summerized to hourly for the request

if that is given also an adapted UI makes sense - currently I think there is no more value

BUT I would use this issue for the part "timed execution" - often thought about it, but not written down and forgot -> now it is here ;-)

ohAnd avatar Oct 05 '25 20:10 ohAnd

Please check the last develop... it's the first implementation and needs still some fine tuning especially for longer user defined opt cycles (refresh_time) ... there is now an automatic scheduler which tries to hitting an EOS response right before every quarter hour AND I reworked the take over of optimize commands independently of the incoming response to switch now dependend on current time - means from now on, if there is a change between e.g. 10 o'clock and 11o'clock in last known schedule it will directly take over the new demand at 11 and not waiting for the next response

ohAnd avatar Oct 08 '25 20:10 ohAnd

Awesome! I’ll take a look!

Popoboxxo avatar Oct 13 '25 21:10 Popoboxxo

I had an issue where I think Connect runs optimize too often. Isn’t it intended that you run optimize maybe daily, and then you run an “implement”, “refresh” or something similar more often, that applies the predicted values.

You could even run optimize every 6 hours. But i don’t think it should be so often as it seemed to be. I started Connect in the Hass Addon and the default interval was 3 minutes. But on the other hand, there does not seem to be a separate schedule for applying the calculated values (which need to happen every 15 minutes).

Does this discussion touch on that ?

LordMike avatar Oct 18 '25 09:10 LordMike

almost ;-)

the idea to have a more often re-run of the optimization is at first to give the real current SOC and with that the remaing stored energy to EOS and as a second the updated solar forecast that also changes over the day if the weather model will be more precise over the hours (depends pv forecast source)

You can set this down - but in prepearation for 15 min interval - that is the discussed change here - the execution of an optimization should end to the a quarter in an hour - how often depends on your setted refresh time... In order to have the most recent result to control according to the energy price change.

I didn't tried to run only once a day or every 6 hours ... otherwise eos is sometime not reliable with the result - so, a soon update with "useful" data is sometime not a bad idea ;-)

ohAnd avatar Oct 18 '25 18:10 ohAnd

"I'd say, at first glance, it's working very well!"

  1. Oktober 2025 geändert zu 19. Oktober 2025 um 00:48 00:48:54 - Vor 3 Minuten geändert zu 19. Oktober 2025 um 00:45 <---- 00:45:08 - Vor 7 Minuten geändert zu 19. Oktober 2025 um 00:41 00:41:25 - Vor 10 Minuten geändert zu 19. Oktober 2025 um 00:37 00:37:39 - Vor 14 Minuten geändert zu 19. Oktober 2025 um 00:33 00:33:52 - Vor 18 Minuten geändert zu 19. Oktober 2025 um 00:30 <--- 00:30:06 - Vor 22 Minuten geändert zu 19. Oktober 2025 um 00:26 00:26:30 - Vor 25 Minuten geändert zu 19. Oktober 2025 um 00:22 00:22:44 - Vor 29 Minuten geändert zu 19. Oktober 2025 um 00:18 00:18:58 - Vor 33 Minuten geändert zu 19. Oktober 2025 um 00:15 <---- 00:15:11 - Vor 37 Minuten geändert zu 19. Oktober 2025 um 00:11 00:11:19 - Vor 40 Minuten geändert zu 19. Oktober 2025 um 00:07 00:07:29 - Vor 44 Minuten geändert zu 19. Oktober 2025 um 00:03

Awesome!

Popoboxxo avatar Oct 18 '25 22:10 Popoboxxo