From 2a648092683f221d609863afff4b14ded55768e3 Mon Sep 17 00:00:00 2001 From: fboundy Date: Tue, 18 Jun 2024 12:39:59 +0100 Subject: [PATCH 1/2] Update README.md Added fix for `numpy 2.0.0` error --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5845dc2..07db52f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PV Opt: Home Assistant Solar/Battery Optimiser v3.15.1 +# PV Opt: Home Assistant Solar/Battery Optimiser v3.15.2 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. @@ -183,12 +183,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: [] ``` From 0e88b22dc84564839498ae625df6e0e445478601 Mon Sep 17 00:00:00 2001 From: fboundy Date: Tue, 18 Jun 2024 12:40:25 +0100 Subject: [PATCH 2/2] Update pv_opt.py --- apps/pv_opt/pv_opt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pv_opt/pv_opt.py b/apps/pv_opt/pv_opt.py index ca7d4f1..113ba78 100644 --- a/apps/pv_opt/pv_opt.py +++ b/apps/pv_opt/pv_opt.py @@ -12,7 +12,7 @@ from numpy import nan import re -VERSION = "3.15.1" +VERSION = "3.15.2" OCTOPUS_PRODUCT_URL = r"https://api.octopus.energy/v1/products/"