Corrected Dockerbuild.

Add new parameter from 2.7.8
Closing #6
This commit is contained in:
egguy
2023-02-07 14:05:58 +11:00
parent 8d62ca2ca9
commit 060371c856
4 changed files with 86 additions and 78 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ RUN pip3 install --no-cache --upgrade pip setuptools
# Copy data for add-on
COPY script.sh /app/script.sh
WORKDIR /app
RUN curl -Lk 'https://github.com/johanmeijer/grott/archive/refs/heads/2.7-(Beta).zip' --output files.zip && unzip -o files.zip && rm files.zip && mv grott-*/*.py ./
RUN curl -Lk 'https://github.com/johanmeijer/grott/archive/refs/heads/Master-(2.7.8).zip' --output files.zip && unzip -o files.zip && rm files.zip && mv grott-*/*.py ./
# Move the addon
RUN mv grott-*/examples/Home\ Assistent/grott_ha.py ./
+42 -38
View File
@@ -1,6 +1,6 @@
{
"name": "Grott - HA extension",
"version": "2.7.7",
"version": "2.7.8",
"slug": "grott",
"description": "The Growatt inverter monitor",
"url": "https://github.com/johanmeijer/grott",
@@ -27,53 +27,57 @@
"mqtt": {}
},
"schema": {
"gverbose": "bool?",
"gminrecl": "int?",
"gmode": "str",
"ggrottip": "str?",
"ggrottport": "port?",
"gblockcmd": "bool?",
"gnoipf": "bool?",
"gtime": "str?",
"gtimezone": "str?",
"gsendbuf": "bool?",
"gcompat": "bool?",
"gvalueoffset": "int?",
"ginverterid": "str?",
"gincludeall": "bool?",
"ginvtype": "str?",
"gdecrypt": "bool?",
"ggrowattip": "str?",
"ggrowattport": "port?",
"gnomqtt": "bool?",
"gmqttip": "str?",
"gmqttport": "str?",
"gmqtttopic": "str?",
"gmqttauth": "bool?",
"gmqttuser": "str?",
"gmqttpassword": "password?",
"gpvoutput": "bool?",
"gpvapikey": "str?",
"gpvsystemid": "int?",
"gpvinverters": "int?",
"ginflux": "bool?",
"ginflux2": "bool?",
"gifdbname": "str?",
"gifip": "str?",
"gifport": "port?",
"gifuser": "str?",
"gifpassword": "password?",
"giforg": "str?",
"gifbucket": "str?",
"giftoken": "str?",
"gextension": "bool?",
"gextname": "str?",
"gextvar": "str?",
"ggrottip": "str?",
"ggrottport": "port?",
"ggrowattip": "str?",
"ggrowattport": "port?",
"gifbucket": "str?",
"gifdbname": "str?",
"gifip": "str?",
"giforg": "str?",
"gifpassword": "password?",
"gifport": "port?",
"giftoken": "str?",
"gifuser": "str?",
"gincludeall": "bool?",
"ginflux": "bool?",
"ginflux2": "bool?",
"ginverterid": "str?",
"ginvtype": "str?",
"ginvtypemap": "str?",
"gminrecl": "int?",
"gmode": "str",
"gmqttauth": "bool?",
"gmqttinverterintopic": "bool?",
"gmqttip": "str?",
"gmqttpassword": "password?",
"gmqttport": "str?",
"gmqtttopic": "str?",
"gmqttuser": "str?",
"gnoipf": "bool?",
"gnomqtt": "bool?",
"gpvapikey": "str?",
"gpvdisv1": "bool?",
"gpvinverters": "int?",
"gpvoutput": "bool?",
"gpvsystemid": "int?",
"gpvtemp": "bool?",
"gsendbuf": "bool?",
"gtime": "str?",
"gtimezone": "str?",
"gvalueoffset": "int?",
"gverbose": "bool?",
"mqtt": {
"server": "str?",
"user": "str?",
"password": "str?"
}
}
},
"image": "egguy/addon-{arch}-grott-ha-addon"
}