GeneralCP / ViveroEopti

A Home Assistant addon for optimizing home battery use in the Netherlands
Other
3 stars 1 forks source link

Unable to perform optimization #3

Open soeter01 opened 1 month ago

soeter01 commented 1 month ago

Hi, installed & build your add-on on raspberry pi4 with HA 2024.7.2. No errors.

When completing the config and using the "calculate" option I do get an e-forecast, e-prices forecast, pv forecast etc.

However the function "createOptimization" does not complete and the log shows error: "cannot load library '/usr/local/lib/python3.11/dist-packages/mip/libraries/cbc-c-linux-x86-64.so'"

Obviously there is an issue with the mip library but I cannot figure out what it is.

Any suggestions?

Thanks

GeneralCP commented 1 month ago

Unfortunately I never found a way to get the library to work on and ARM64 platform. It only works on x86-64 platforms. I stopped using this add-on myself and I made an API i connect to from my Home Assistant instead of doing the calculations on the HA installation itself. There is another solution which is supposed to run on a pi4 which was build by someone else: corneel27/day-ahead: Optimize your consumption, production and batterystorage of electricity with dynamic prices (github.com) https://github.com/corneel27/day-ahead

Regards, Peter

Op wo 9 okt 2024 om 18:59 schreef soeter01 @.***>:

Hi, installed & build your add-on on raspberry pi4 with HA 2024.7.2. No errors.

When completing the config and using the "calculate" option I do get an e-forecast, e-prices forecast, pv forecast etc.

However the function "createOptimization" does not complete and the log shows error: "cannot load library '/usr/local/lib/python3.11/dist-packages/mip/libraries/cbc-c-linux-x86-64.so'"

Obviously there is an issue with the mip library but I cannot figure out what it is.

Any suggestions?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/GeneralCP/ViveroEopti/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABURJDDVCT3MKKFBYCV5WKDZ2VOHZAVCNFSM6AAAAABPU7JFUOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TMNBXGA3TIOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

soeter01 commented 1 month ago

Thanks Peter, I will have a look at corneel27. rgds ronald