diff --git a/ha_addon_dev/config.yaml b/ha_addon_dev/config.yaml index 8a8e798..0d1e02a 100755 --- a/ha_addon_dev/config.yaml +++ b/ha_addon_dev/config.yaml @@ -63,6 +63,20 @@ schema: solarman.enabled: bool inverters.allow_all: bool + batteries: + - serial: match(^(410).{13}$) + monitor_sn: int + node_id: str + suggested_area: str + modbus_polling: bool + client_mode.host: match(\b((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b)? + client_mode.port: port? + client_mode.forward: bool? + pv1.manufacturer: str? + pv1.type: str? + pv2.manufacturer: str? + pv2.type: str? + # optionale parameter mqtt.host: str? @@ -94,13 +108,6 @@ options: node_id: PV-Garage suggested_area: Garage modbus_polling: false - # strings: - # - string: PV1 - # type: SF-M18/144550 - # manufacturer: Shinefar - # - string: PV2 - # type: SF-M18/144550 - # manufacturer: Shinefar pv1.manufacturer: Shinefar pv1.type: SF-M18/144550 pv2.manufacturer: Shinefar @@ -108,5 +115,16 @@ options: tsun.enabled: true # set default solarman.enabled: true # set default inverters.allow_all: false # set default + batteries: + - serial: 4100000000000000 + monitor_sn: 0 + node_id: PV-Garage + suggested_area: Garage + modbus_polling: false + pv1.manufacturer: Shinefar + pv1.type: SF-M18/144550 + pv2.manufacturer: Shinefar + pv2.type: SF-M18/144550 + gen3plus.at_acl.tsun.allow: ["AT+Z", "AT+UPURL", "AT+SUPDATE"] gen3plus.at_acl.mqtt.allow: ["AT+"] \ No newline at end of file