Zitat von Bonze
Beitrag anzeigen
Code:
%YAML 1.1 --- PHOTOVOLATIK: Hersteller: type: str name: Hersteller modBusAddress: 40003 modBusDataType: string16 name: Hersteller Modell: type: str name: Modell modBusAddress: 40019 modBusDataType: string16 Seriennummer: type: str name: Seriennummer modBusAddress: 40035 modBusDataType: string16 Firmware: type: str name: Firmware modBusAddress: 40051 modBusDataType: string16 Photovoltaikleistung: type: num name: Photovoltaikleistung #enforce_updates: True modBusAddress: 40067 modBusDataType: int16 database: 'init' database_maxage: 360 Batterieleistung: type: num name: Batterieleistung #enforce_updates: True modBusAddress: 40069 modBusDataType: int16 database: 'init' database_maxage: 360 Batterieladezustand: type: num name: Batterieladezustand #enforce_updates: True modBusAddress: 40082 modBusDataType: int16 database: 'init' database_maxage: 360 Hausverbrauch: type: num name: Hausverbrauch #enforce_updates: True modBusAddress: 40071 modBusDataType: int16 database: 'init' database_maxage: 360 Netzuebergabepunkt: type: num name: Netzuebergabepunkt #enforce_updates: True modBusAddress: 40073 modBusDataType: int16 database: 'init' database_maxage: 360 Autarkie: type: num name: Autarkie modBusAddress: 40081 modBusDataType: uint16 eval: (value>>8)&0xff Notstrom: type: num name: Notstrom modBusAddress: 40083 modBusDataType: int16 String1Power: type: num name: String1Power #enforce_updates: True modBusAddress: 40101 modBusDataType: int16 database: 'init' database_maxage: 360 String1Voltage: type: num name: String1Voltage #enforce_updates: True modBusAddress: 40095 modBusDataType: int16 database: 'init' database_maxage: 360 String1Strom: type: num name: String1Strom #enforce_updates: True modBusAddress: 40098 modBusDataType: int16 database: 'init' database_maxage: 360 String2Power: type: num name: String2Power #enforce_updates: True modBusAddress: 40102 modBusDataType: int16 database: 'init' database_maxage: 360 String2Voltage: type: num name: String2Voltage #enforce_updates: True modBusAddress: 40096 modBusDataType: int16 database: 'init' database_maxage: 360 String2Strom: type: num name: String2Strom #enforce_updates: True modBusAddress: 40099 modBusDataType: int16 database: 'init' database_maxage: 360 Wallboxleistung: type: num name: Wallboxleistung #enforce_updates: True modBusAddress: 40077 modBusDataType: int16 database: 'init' database_maxage: 360 Wallboxverbrauch: type: num name: Wallboxverbrauch #enforce_updates: True modBusAddress: 40079 modBusDataType: int16 database: 'init' database_maxage: 360 name: PV-Anlage sv_page: room sv_img: scene_solar_panel.svg Info_Wechselrichter: name: Wechselrichter sv_widget: "Hersteller: {{ basic.print('', 'PHOTOVOLATIK.Hersteller', 'html') }} <br> Modell: {{ basic.print('', 'PHOTOVOLATIK.Modell', 'html') }} <br> Seriennumer: {{ basic.print('', 'PHOTOVOLATIK.Seriennummer', 'html') }} <br> Firmware: {{ basic.print('', 'PHOTOVOLATIK.Firmware', 'html') }} <br>" Daten_Wechselrichter: name: PV-Daten sv_widget: "PV-Leistung: {{ basic.print('', 'PHOTOVOLATIK.Photovoltaikleistung', 'W', '', [50,16000], ['red', 'green']) }} <br> Batterieleistung: {{ basic.print('', 'PHOTOVOLATIK.Batterieleistung', 'W') }} <br> Hausverbrauch: {{ basic.print('', 'PHOTOVOLATIK.Hausverbrauch', 'W') }} <br> Netzuebergabepunkt: {{ basic.print('', 'PHOTOVOLATIK.Netzuebergabepunkt', 'W', '', [1,50000], ['green', 'red', 'red']) }} <br> Batterieladezustand: {{ basic.print('', 'PHOTOVOLATIK.Batterieladezustand', '%', '', [30,40], ['red', 'orange', 'green']) }} <br> Autarkie: {{ basic.print('', 'PHOTOVOLATIK.Autarkie', '%') }} <br> Notstromstatus: {{ basic.print('', 'PHOTOVOLATIK.Notstrom', '') }} <br> String 1 (Nord/West): {{ basic.print('', 'PHOTOVOLATIK.String1Power', 'W') }} / {{ basic.print('', 'PHOTOVOLATIK.String1Voltage', 'V') }} / {{ basic.print('', 'PHOTOVOLATIK.String1Strom', 'A') }} <br> String 2 (Ost/Süd): {{ basic.print('', 'PHOTOVOLATIK.String2Power', 'W') }} / {{ basic.print('', 'PHOTOVOLATIK.String2Voltage', 'V') }} / {{ basic.print('', 'PHOTOVOLATIK.String2Strom', 'A') }}" Plot1: name: Photovoltaikleistungschart sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.Photovoltaikleistung', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot2: name: Batterieleistungschart sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.Batterieleistung', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot3: name: Batterieladezustandschart sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.Batterieladezustand', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot4: name: Hausverbrauchchart sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.Hausverbrauch', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot5: name: Leistungschart am Netzuebergabepunkt sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.Netzuebergabepunkt', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot6: name: String 1 (Nord/West) sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.String1Power', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}" Plot7: name: String 2 (Ost/Süd) sv_widget: "{{ plot.period('', 'PHOTOVOLATIK.String2Power', 'avg', '24h', '', '', '', '', '', '', '', '', 'advanced', '', '', '', '', '') }}"
Einen Kommentar schreiben: