From 750b484165bc2983941b225a6f1e1cde30706784 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Mon, 3 Mar 2025 19:36:14 +0100 Subject: [PATCH] fix: quick fix for https://github.com/fhem/mod-LaMetric2/issues/1 --- Containerfile | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Containerfile b/Containerfile index 3a8418e..65c0921 100644 --- a/Containerfile +++ b/Containerfile @@ -34,6 +34,9 @@ RUN git clone https://gitea.federationhq.de/byterazor/FHEM-NTFY.git /FHEM-NTFY RUN git clone https://gitea.federationhq.de/byterazor/FHEM-Lightcontrol.git /FHEM-Lightcontrol RUN git clone https://github.com/PatricSperling/FHEM_SST.git /SST +# patch LA_Metric to support any apikey +RUN sed 's/.*apikey does not.*//' -i /fhem-src/fhem/FHEM/70_LaMetric2.pm +RUN sed 's/.*apikey \!.*//' -i /fhem-src/fhem/FHEM/70_LaMetric2.pm # # the main fhem image # diff --git a/README.md b/README.md index c214d1b..43d009e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ within the image. * https://gitea.federationhq.de/byterazor/FHEM-NTFY * https://gitea.federationhq.de/byterazor/FHEM-NEWSISPM +## Patches + +- Patched 70_LaMetric2.pm to support any apikey (github issue https://github.com/fhem/mod-LaMetric2/issues/1) + ## Updates I am trying to update the image weekly as long as my private kubernetes cluster is available. So I do not promise anything and do **not** rely