diff --git a/README.md b/README.md index a52d60f..8923b03 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # PV Opt: Home Assistant Solar/Battery Optimiser v3.15.3 + Solar / Battery Charging Optimisation for Home Assistant. This appDaemon application attempts to optimise charging and discharging of a home solar/battery system to minimise cost electricity cost on a daily basis using freely available solar forecast data from SolCast. This is particularly beneficial for Octopus Agile but is also benefeficial for other time-of-use tariffs such as Octopus Flux or simple Economy 7. The application will integrate fully with Solis inverters which are controlled using any of: @@ -183,12 +184,13 @@ AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution envir 5. Click on Configuration at the top -6. Click the 3 dots and Edit in YAML to add `pandas` as a Python package: +6. Click the 3 dots and Edit in YAML to add `pandas` and `numpy` as Python packages. Note that `numpy` has to be set to version `1.26.4` due to an unresolved compatability issue between Home Assistant and `2.0.0`: ``` init_commands: [] python_packages: - pandas + - numpy==1.26.4 system_packages: [] ``` diff --git a/apps/pv_opt/pv_opt.py b/apps/pv_opt/pv_opt.py index b9e2adf..5006b79 100644 --- a/apps/pv_opt/pv_opt.py +++ b/apps/pv_opt/pv_opt.py @@ -14,6 +14,7 @@ VERSION = "3.15.3" + OCTOPUS_PRODUCT_URL = r"https://api.octopus.energy/v1/products/" DEBUG = False