Thanks, I did this with Node-Red and also have it dynamically calculate the prediction_horzion which seems to work.
What is strange is that it does not take the correct pv production value from my call.
When I do:
{"pv_power_forecast": [1576.8500000000001,1738.15,1912.35,2003.1500000000003,2073.5,1931.1499999999999,1923.5500000000002,1829.05,1601.3,1295.4,1024.05,725.7,338,48,3.15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "prod_price_forecast": [0.18243600000000001,0.18243600000000001,0.15395999999999999,0.15395999999999999,0.148716,0.148716,0.15366,0.15366,0.133968,0.133968,0.141876,0.141876,0.148404,0.148404,0.157776,0.157776,0.19218,0.19218,0.200616,0.200616,0.19055999999999998,0.19055999999999998,0.188904,0.188904,0.178524,0.178524,0.164628,0.164628,0.15384,0.15384], "prediction_horizon":30}
It sets a different value for now (10:00):
The other ones seem to be ok.
Why is that?
As you say you are importing the values for the current hour also: As there anything different in my call? The first values are also for now in mine.
Thanks