mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-04 02:48:12 +10:00
More HA
This commit is contained in:
+1
-8
@@ -19,11 +19,4 @@ COPY SunGather/config-example.yaml /config/config.yaml
|
|||||||
|
|
||||||
USER sungather
|
USER sungather
|
||||||
|
|
||||||
CMD [ "python", "sungather.py", "-c", "/config/config.yaml", "-l", "/logs/" ]
|
CMD [ "python", "sungather.py", "-c", "/config/config.yaml", "-l", "/logs/" ]
|
||||||
|
|
||||||
LABEL \
|
|
||||||
io.hass.name="SunGather" \
|
|
||||||
io.hass.description="Extract Sungrow data from local Inverter" \
|
|
||||||
io.hass.version=${BUILD_VERSION} \
|
|
||||||
io.hass.type="addon" \
|
|
||||||
io.hass.arch=${BUILD_ARCH}
|
|
||||||
+32
-16
@@ -1,39 +1,55 @@
|
|||||||
name: SunGather
|
name: "SunGather"
|
||||||
version: "0.3.9"
|
version: "0.3.9"
|
||||||
slug: modbus_inverter
|
slug: sungather
|
||||||
description: Extract Sungrow data from local Inverter
|
description: "Extract Sungrow data from local Inverter"
|
||||||
url: "https://github.com/bohdan-s/SunGather"
|
|
||||||
arch:
|
arch:
|
||||||
- armhf
|
- armhf
|
||||||
- armv7
|
- armv7
|
||||||
- aarch64
|
- aarch64
|
||||||
- amd64
|
- amd64
|
||||||
- i386
|
- i386
|
||||||
init: false
|
url: "https://github.com/bohdan-s/SunGather"
|
||||||
startup: application
|
startup: application
|
||||||
|
webui: "http://[HOST]:[PORT:8080]/""
|
||||||
boot: auto
|
boot: auto
|
||||||
webui: http://[HOST]:[PORT:8080]/
|
|
||||||
services:
|
|
||||||
- "mqtt:need"
|
|
||||||
ports:
|
ports:
|
||||||
8080/tcp: 8080
|
8080/tcp: 8080
|
||||||
|
ports_description:
|
||||||
|
8080/tcp: "WebUI"
|
||||||
|
network:
|
||||||
|
8080/tcp: "The WebUI Port"
|
||||||
options:
|
options:
|
||||||
host: 192.168.1.100
|
host: 192.168.1.100
|
||||||
timeout: 10
|
timeout: 10
|
||||||
scan_interval: 30
|
scan_interval: 30
|
||||||
connection: 'modbus'
|
connection: "modbus"
|
||||||
smart_meter: True
|
smart_meter: True
|
||||||
use_local_time: False
|
log_console: "INFO"
|
||||||
log_console: 'INFO'
|
level: "STANDARD"
|
||||||
log_file: 'OFF'
|
|
||||||
level: 'STANDARD'
|
|
||||||
schema:
|
schema:
|
||||||
host: str
|
host: str
|
||||||
timeout: int(3,60)?
|
timeout: int(3,60)?
|
||||||
scan_interval: int(5,600)?
|
scan_interval: int(5,600)?
|
||||||
connection: "list(sungrow|modbus|HTTP)"
|
connection: "list(sungrow|modbus|HTTP)"
|
||||||
smart_meter: bool?
|
smart_meter: bool?
|
||||||
use_local_time: bool?
|
|
||||||
log_console: "list(OFF|INFO|WARNING|ERROR|DEBUG)"?
|
log_console: "list(OFF|INFO|WARNING|ERROR|DEBUG)"?
|
||||||
log_file: "list(OFF|INFO|WARNING|ERROR|DEBUG)"?
|
level: "list(BASIC|STANDARD|DETAIL|ALL)"?
|
||||||
level: "list(BASIC|STANDARD|DETAIL|ALL)"?
|
configuration:
|
||||||
|
host:
|
||||||
|
name: "IP Address"
|
||||||
|
description: "[Required] IP Address of the Inverter or Dongle"
|
||||||
|
connection:
|
||||||
|
name: "Connection Type"
|
||||||
|
description: "[Required] Usually modbus, HTTP for WiNet-S Dongles, sungrow for some legacy models"
|
||||||
|
smart_meter:
|
||||||
|
name: "Smart Meter Install"
|
||||||
|
description: "Set to true if inverter supports reading grind / house consumption (may not be needed for Hybrid models)"
|
||||||
|
discovery: mqtt
|
||||||
|
services: mqtt:need
|
||||||
|
panel_icon: mdi:SolarPowerVariant
|
||||||
|
init: false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user