diff --git a/custom_components/solvis_control/const.py b/custom_components/solvis_control/const.py index af3201e..6b70347 100644 --- a/custom_components/solvis_control/const.py +++ b/custom_components/solvis_control/const.py @@ -48,6 +48,60 @@ class ModbusFieldConfig: PORT = 502 REGISTERS = [ + ModbusFieldConfig( # Analog Out 1 Status + name="analog_out_1_status", + address=3840, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), + ModbusFieldConfig( # Analog Out 2 Status + name="analog_out_2_status", + address=3845, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), + ModbusFieldConfig( # Analog Out 3 Status + name="analog_out_3_status", + address=3850, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), + ModbusFieldConfig( # Analog Out 4 Status + name="analog_out_4_status", + address=3855, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), + ModbusFieldConfig( # Analog Out 5 Status + name="analog_out_5_status", + address=3860, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), + ModbusFieldConfig( # Analog Out 6 Status + name="analog_out_6_status", + address=3865, + enabled_by_default=False, + device_class="", + unit="", + state_class="measurement", + entity_category="diagnostic", + ), ModbusFieldConfig( # Brennerleistung name="gas_power", address=33539, @@ -55,6 +109,22 @@ class ModbusFieldConfig: device_class="power", state_class="measurement", ), + ModbusFieldConfig( + name="laufzeit_brennerstufe_1", + address=33536, + enabled_by_default=False, + device_class="duration", + unit="h", + state_class="measurement", + ), + ModbusFieldConfig( + name="laufzeit_brennerstufe_2", + address=33538, + enabled_by_default=False, + device_class="duration", + unit="h", + state_class="measurement", + ), ModbusFieldConfig( # Außentemperatur name="outdoor_air_temp", address=33033, @@ -702,6 +772,14 @@ class ModbusFieldConfig: multiplier=1, entity_category="diagnostic", ), + ModbusFieldConfig( + name="digin_error", + address=33045, + unit="", + device_class=None, + state_class=None, + entity_category="diagnostic", + ), ModbusFieldConfig( # ZirkulationBetriebsart name="zirkulation_betriebsart", address=2049, diff --git a/custom_components/solvis_control/strings.json b/custom_components/solvis_control/strings.json index 6cc0450..98c6185 100644 --- a/custom_components/solvis_control/strings.json +++ b/custom_components/solvis_control/strings.json @@ -292,6 +292,80 @@ }, "raumtemperatur_hkr2":{ "name":"HKR2 Raumtemperatur" + }, + "laufzeit_brennerstufe_1": { + "name": "Laufzeit Brennerstufe 1" + }, + "laufzeit_brennerstufe_2": { + "name": "Laufzeit Brennerstufe 2" + }, + "analog_out_1_status": { + "name": "Analog Out 1 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_2_status": { + "name": "Analog Out 2 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_3_status": { + "name": "Analog Out 3 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_4_status": { + "name": "Analog Out 4 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_5_status": { + "name": "Analog Out 5 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_6_status": { + "name": "Analog Out 6 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "digin_error": { + "name": "DigIn Störungen", + "state": { + "0": "Sicherung Netzbaugruppe", + "1": "Brennerfehler", + "2": "STB1 Fehler", + "3": "STB2 Fehler", + "4": "Brenner CM424", + "5": "Solardruck", + "6": "unbekannt", + "7": "Anlagendruck", + "8": "Kondensat" + } } }, "switch": { diff --git a/custom_components/solvis_control/translations/de.json b/custom_components/solvis_control/translations/de.json index 6cc0450..98c6185 100644 --- a/custom_components/solvis_control/translations/de.json +++ b/custom_components/solvis_control/translations/de.json @@ -292,6 +292,80 @@ }, "raumtemperatur_hkr2":{ "name":"HKR2 Raumtemperatur" + }, + "laufzeit_brennerstufe_1": { + "name": "Laufzeit Brennerstufe 1" + }, + "laufzeit_brennerstufe_2": { + "name": "Laufzeit Brennerstufe 2" + }, + "analog_out_1_status": { + "name": "Analog Out 1 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_2_status": { + "name": "Analog Out 2 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_3_status": { + "name": "Analog Out 3 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_4_status": { + "name": "Analog Out 4 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_5_status": { + "name": "Analog Out 5 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "analog_out_6_status": { + "name": "Analog Out 6 Status", + "state": { + "0": "Auto PWM", + "1": "Hand PWM", + "2": "Auto analog", + "3": "Hand analog" + } + }, + "digin_error": { + "name": "DigIn Störungen", + "state": { + "0": "Sicherung Netzbaugruppe", + "1": "Brennerfehler", + "2": "STB1 Fehler", + "3": "STB2 Fehler", + "4": "Brenner CM424", + "5": "Solardruck", + "6": "unbekannt", + "7": "Anlagendruck", + "8": "Kondensat" + } } }, "switch": {