Zitat von zittho
Beitrag anzeigen
Gruß Ivan
Battery_Voltage:
name: Batterie Spannung
type: num
modBusInstance: Victron # So was bräuchte man vermutlich?
modBusUnit: 100
modBusAddress: 840
modBusDataType: uint16
modBusFactor: 0.1
database: True
cache: True
%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', '', '', '', '', '') }}"
paradigma:
Aussentemperatur:
type: num
name: AT
enforce_updates: True
modBusObjectType: InputRegister
modBusAddress: 0000
modBusFactor: 0.1
modBusDataType: int16
eval: round(value, 2)
eval_trigger: paradigma.Aussentemperatur
# database_maxage: 365
database: yes

Speicher_Status:
type: num
name: S_Status
modBusAddress: 59782
modBusDataType: uint32
Text:
type: str
eval_trigger: Photovoltaik.Speicher_Status
eval: sh..lookup()[value]
lookup:
type: dict
initial_value: "{0: 'Aus', 1: 'Standby', 2: 'Init', 3: 'Laden', 4: 'Entladen', 5: 'Fehler', 6: 'Leerlauf', 7: 'sieben', 8: 'acht', 9: 'neun', 10: 'Energiesparmodus'}"
WARNING lib.item.item Item Photovoltaik.Speicher_Status.Text: problem evaluating 'sh.Photovoltaik.Speicher_Status.Text.lookup()[value]': ''
if dataType.lower() == 'string':
words = int(bits/2) # bei string: bits = bytes !! string16 -> 16Byte - 8 words
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.


Einen Kommentar schreiben: