Prettified Code!

This commit is contained in:
egguy
2023-08-14 13:48:52 +00:00
committed by GitHub Action
parent e4efa908dd
commit 1dedad7cfa
12 changed files with 203 additions and 218 deletions
+25 -25
View File
@@ -1,25 +1,25 @@
# Changelog
## 0.6
- Updated the branch used by grott
## 0.5
- Change to use pip3 with the newest addon image.
## 0.3
- Add translations
- Moved the ginvtypemap to the top configuration
## 0.2
- Based on grott v2.7.7
- use the current grott_ha.py plugins
- Auto configuration for the MQTT part
## 0.1
- Initial version
- Based on grott v2.7.6
# Changelog
## 0.6
- Updated the branch used by grott
## 0.5
- Change to use pip3 with the newest addon image.
## 0.3
- Add translations
- Moved the ginvtypemap to the top configuration
## 0.2
- Based on grott v2.7.7
- use the current grott_ha.py plugins
- Auto configuration for the MQTT part
## 0.1
- Initial version
- Based on grott v2.7.6
+32 -30
View File
@@ -1,30 +1,32 @@
# Home Assistant Add-on: Grott - The Growatt inverter monitor
## Installation
Follow these steps to get the add-on installed on your system:
1. Navigate in your Home Assistant frontend to **Supervisor** -> **Add-on Store**.
2. Find the "Grott" add-on and click it.
3. Click on the "INSTALL" button.
## How to use
The add-on has a couple of options available. To get the add-on running:
1. Start the add-on.
2. Have some patience and wait a couple of minutes.
3. Check the add-on log output to see the result.
## Add-on configuration:
All options from grott are available as options in this add-on. They need to follow the naming convention of the environment variables. Eg:
```yaml
gmode: proxy
gnomqtt: False
gmqttip: 127.0.0.1
gmqttport: 5288
gmqttauth: False
gmqtttopic: energy/grott
gmqttuser: user
gmqttpassword: password
```
# Home Assistant Add-on: Grott - The Growatt inverter monitor
## Installation
Follow these steps to get the add-on installed on your system:
1. Navigate in your Home Assistant frontend to **Supervisor** -> **Add-on Store**.
2. Find the "Grott" add-on and click it.
3. Click on the "INSTALL" button.
## How to use
The add-on has a couple of options available. To get the add-on running:
1. Start the add-on.
2. Have some patience and wait a couple of minutes.
3. Check the add-on log output to see the result.
## Add-on configuration:
All options from grott are available as options in this add-on. They need to follow the naming convention of the environment variables. Eg:
```yaml
gmode: proxy
gnomqtt: False
gmqttip: 127.0.0.1
gmqttport: 5288
gmqttauth: False
gmqtttopic: energy/grott
gmqttuser: user
gmqttpassword: password
```
-1
View File
@@ -1 +0,0 @@
+74 -82
View File
@@ -1,83 +1,75 @@
{
"name": "Grott - HA extension",
"version": "2.7.8",
"slug": "grott",
"description": "The Growatt inverter monitor",
"url": "https://github.com/johanmeijer/grott",
"arch": [
"armhf",
"armv7",
"aarch64",
"amd64",
"i386"
],
"startup": "application",
"services": [
"mqtt:need"
],
"init": false,
"boot": "auto",
"ports": {
"5279/tcp": 5279
},
"options": {
"gmode": "proxy",
"gnomqtt": "False",
"ginvtype": "default",
"mqtt": {}
},
"schema": {
"gblockcmd": "bool?",
"gcompat": "bool?",
"gdecrypt": "bool?",
"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"
}
"name": "Grott - HA extension",
"version": "2.7.8",
"slug": "grott",
"description": "The Growatt inverter monitor",
"url": "https://github.com/johanmeijer/grott",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "application",
"services": ["mqtt:need"],
"init": false,
"boot": "auto",
"ports": {
"5279/tcp": 5279
},
"options": {
"gmode": "proxy",
"gnomqtt": "False",
"ginvtype": "default",
"mqtt": {}
},
"schema": {
"gblockcmd": "bool?",
"gcompat": "bool?",
"gdecrypt": "bool?",
"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"
}