From c9f1cf85238884c34eafdd9d1e084a59c1f23d1c Mon Sep 17 00:00:00 2001 From: Roeland Lutters Date: Thu, 11 Jul 2024 10:02:47 +0200 Subject: [PATCH] Feature/initial setup of the emulator (#1) * version bump build test * change uri requirements.txt * fix yaml missing quotes --- sma/CHANGELOG.md | 4 ++++ sma/Dockerfile | 2 +- sma/config.yaml | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sma/CHANGELOG.md b/sma/CHANGELOG.md index 98ae25d..719490a 100644 --- a/sma/CHANGELOG.md +++ b/sma/CHANGELOG.md @@ -1,5 +1,9 @@ +## 0.0.2 + +- version bump build test + ## 0.0.1 - Initial release diff --git a/sma/Dockerfile b/sma/Dockerfile index 346b175..7d82771 100644 --- a/sma/Dockerfile +++ b/sma/Dockerfile @@ -5,7 +5,7 @@ FROM $BUILD_FROM #RUN apk add --no-cache python3 bash py3-pip # download requirements.txt -RUN wget --no-cache https://raw.githubusercontent.com/Roeland54/SMA-Energy-Meter-emulator/feature/initial-setup-of-the-emulator/sma/requirements.txt +RUN wget --no-cache https://raw.githubusercontent.com/Roeland54/SMA-Energy-Meter-emulator/main/sma/requirements.txt # install dependencies RUN pip install -r requirements.txt --break-system-packages diff --git a/sma/config.yaml b/sma/config.yaml index 9a8efd4..6d2b768 100644 --- a/sma/config.yaml +++ b/sma/config.yaml @@ -1,6 +1,6 @@ name: "SMA Energy Meter emulator" description: "Simulate one or more SMA energy meters based on mqtt messages." -version: "0.0.1" +version: "0.0.2" slug: "sma" url: "https://github.com/Roeland54/SMA-Energy-Meter-emulator" arch: @@ -11,7 +11,7 @@ arch: - i386 init: false services: - - 'mqtt:need' + - "mqtt:need" options: debug: false disable_logging: false @@ -28,4 +28,4 @@ schema: port: str username: str? password: str? -image: "ghcr.io/roeland54/{arch}-SMA-Energy-Meter-emulator +image: "ghcr.io/roeland54/{arch}-SMA-Energy-Meter-emulator"