mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-24 03:12:33 +10:00
Config Mapping
This commit is contained in:
+21
-18
@@ -12,25 +12,28 @@ arch:
|
|||||||
init: false
|
init: false
|
||||||
startup: application
|
startup: application
|
||||||
boot: auto
|
boot: auto
|
||||||
|
webui: http://[HOST]:[PORT:8080]/
|
||||||
services:
|
services:
|
||||||
- "mqtt:need"
|
- "mqtt:need"
|
||||||
|
ports:
|
||||||
|
8080/tcp: 8080
|
||||||
options:
|
options:
|
||||||
Inverter_host: ""
|
host: 192.168.1.100
|
||||||
Inverter_port: 502
|
timeout: 10
|
||||||
Inverter_model: ""
|
scan_interval: 30
|
||||||
Smart_meter: false
|
connection: 'modbus'
|
||||||
Connection: "Modbus"
|
smart_meter: True
|
||||||
Scan_level: "STANDARD"
|
use_local_time: False
|
||||||
Scan_interval: 30
|
log_console: 'INFO'
|
||||||
Scan_timeout: 5
|
log_file: 'OFF'
|
||||||
Log_level: "INFO"
|
level: 'STANDARD'
|
||||||
schema:
|
schema:
|
||||||
Inverter_host: str
|
host: str
|
||||||
Inverter_port: port
|
timeout: int(3,60)?
|
||||||
Inverter_model: str
|
scan_interval: int(5,600)?
|
||||||
Smart_meter: bool
|
connection: "list(sungrow|modbus|HTTP)"
|
||||||
Connection: "list(Sungrow|Modbus|HTTP)"
|
smart_meter: bool?
|
||||||
Scan_level: "list(BASIC|STANDARD|DETAIL|ALL)"
|
use_local_time: bool?
|
||||||
Scan_interval: int(10,600)
|
log_console: "list(OFF|INFO|WARNING|ERROR|DEBUG)"?
|
||||||
Scan_timeout: int(3,60)
|
log_file: "list(OFF|INFO|WARNING|ERROR|DEBUG)"?
|
||||||
Log_level: "list(INFO|WARNING|ERROR|DEBUG)"
|
level: "list(BASIC|STANDARD|DETAIL|ALL)"?
|
||||||
Reference in New Issue
Block a user