New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
optimisation commands not updating data #15
Comments
Hi. There is maybe another open issue that might be related to this UI not being updated, #16 So I will look at this more in deep. Could you please confirm that the optimization is not working, for example the logs on the add-on are throwing some error messages? If you call the I just want to identify where is the problem, if it is in the real optimization or just on the UI web page not being updated |
Hi David, my publish is also not working. Log is showing some errors: Error running command: EMHASS error log (haven't had time to read this yet, running to work, will try to read later)
|
It seems that you are trying to pass 15 min data but you have fixed the time step to 30 min. These should match. Maybe there has been a change on the Amber API? |
adjust the times to match (that could have been me fiddling after it stopped working) s6-rc: info: service s6rc-oneshot-runner: starting |
Ok, you need to check the input data. This is what happens when there are invalid values on the input data, for example missing values and nan's. |
I am not having an issue with the Amber API, it is still passing 30 minute values. "load_cost_forecast":{{(([states('sensor.amber_general_price')|float] +
state_attr('sensor.amber_general_forecast', 'forecasts') |map(attribute='per_kwh')|list)[:48])}}
"prod_price_forecast":{{([states('sensor.amber_feed_in_price')|float] +
state_attr('sensor.amber_feed_in_forecast', 'forecasts')|map(attribute='per_kwh')|list)[:48]}}
Runnng @kcoffau curl command here works for me: (with modified soc_init as I don't have victron sensor.
What does the expansion present in developer tools/ template:
|
Thanks Mark. I also tested on my side and everything is working fine. In any case I haven't made any notable changes that would've broke anything. |
OK, interesting. I cant run optimisation in the webUI, same error, so its not the curl script, but I have also rolled back my curl script to 1 month ago as well for safe measure. I am dumbfounded that I am running an old VM that was known good and its not good. MPC Command MPC developer expanded Day ahead script day ahead developer expanded Current error: |
changed my lp_solver from 'PULP_CBC_CMD to COIN_CMD'. and fixes it. might be something wrong with puLP? |
Oh yes I did not saw those log lines where it says that it couldn't find any solver! |
Hi @kcoffau , so you finally solved this issue? |
Around 26th August, the optimisation process stopped running on my HAOS install.
I run 2 calls, 5.47am Day Ahead, and regularly throughout day the perfect with external solar, price and battery state being sent. its worked fine for 6 months.
when I goto webUI:5000 I run the commands and observe the charts do not update.
I have uninstalled, and reinstalled, and same data set is maintained.
I think the DB is correct in EMHASS. How can I clear this?
Today is 28 August, this shows 26 aug:
The text was updated successfully, but these errors were encountered: