[fronius] Add additional Inverter DC channels (#12867)

* [fronius] Add additional Inverter DC channels
* [fronius] Update channel description and translations
* [fronius] Add calculated DC Power channels

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
jimtng
2022-06-07 16:11:06 +10:00
committed by GitHub
parent 22ebb9809b
commit 25d9315197
6 changed files with 130 additions and 2 deletions

View File

@@ -61,6 +61,10 @@ channel-type.fronius.iac.label = AC Current
channel-type.fronius.iac.description = AC current
channel-type.fronius.idc.label = DC Current
channel-type.fronius.idc.description = DC current
channel-type.fronius.idc2.label = DC Current 2
channel-type.fronius.idc2.description = DC current 2
channel-type.fronius.idc3.label = DC Current 3
channel-type.fronius.idc3.description = DC current 3
channel-type.fronius.inverter1Power.label = Inverter 1 Power
channel-type.fronius.inverter1Power.description = Inverter 1 Power
channel-type.fronius.inverter1Soc.label = Inverter 1 State of Charge
@@ -90,6 +94,12 @@ channel-type.fronius.pPv.label = Solar Plant Power
channel-type.fronius.pPv.description = Current Solar Plant Power
channel-type.fronius.pac.label = AC Power
channel-type.fronius.pac.description = AC power
channel-type.fronius.pdc.label = DC Power
channel-type.fronius.pdc.description = DC power
channel-type.fronius.pdc2.label = DC Power 2
channel-type.fronius.pdc2.description = DC power 2
channel-type.fronius.pdc3.label = DC Power 3
channel-type.fronius.pdc3.description = DC power 3
channel-type.fronius.powerflow_rel_autonomy.label = Autonomy
channel-type.fronius.powerflow_rel_autonomy.description = The current relative autonomy in %, NULL if no smart meter is connected
channel-type.fronius.powerflow_rel_selfconsumption.label = Self Consumption
@@ -100,5 +110,9 @@ channel-type.fronius.uac.label = AC Voltage
channel-type.fronius.uac.description = AC voltage
channel-type.fronius.udc.label = DC Voltage
channel-type.fronius.udc.description = DC voltage
channel-type.fronius.udc2.label = DC Voltage 2
channel-type.fronius.udc2.description = DC voltage 2
channel-type.fronius.udc3.label = DC Voltage 3
channel-type.fronius.udc3.description = DC voltage 3
channel-type.fronius.year_energy.label = Year Energy
channel-type.fronius.year_energy.description = Energy generated in current year

View File

@@ -14,14 +14,21 @@
<channels>
<channel id="inverterdatachannelpac" typeId="pac"/>
<channel id="inverterdatachannelpdc" typeId="pdc"/>
<channel id="inverterdatachannelpdc2" typeId="pdc2"/>
<channel id="inverterdatachannelpdc3" typeId="pdc3"/>
<channel id="inverterdatachanneldayenergy" typeId="day_energy"/>
<channel id="inverterdatachanneltotal" typeId="total_energy"/>
<channel id="inverterdatachannelyear" typeId="year_energy"/>
<channel id="inverterdatachannelfac" typeId="fac"/>
<channel id="inverterdatachanneliac" typeId="iac"/>
<channel id="inverterdatachannelidc" typeId="idc"/>
<channel id="inverterdatachannelidc2" typeId="idc2"/>
<channel id="inverterdatachannelidc3" typeId="idc3"/>
<channel id="inverterdatachanneluac" typeId="uac"/>
<channel id="inverterdatachanneludc" typeId="udc"/>
<channel id="inverterdatachanneludc2" typeId="udc2"/>
<channel id="inverterdatachanneludc3" typeId="udc3"/>
<channel id="inverterdatadevicestatuserrorcode" typeId="devicestatus_errorcode"/>
<channel id="inverterdatadevicestatusstatuscode" typeId="devicestatus_statuscode"/>
<channel id="powerflowchannelpgrid" typeId="pGrid">
@@ -157,6 +164,24 @@
<description>AC power</description>
<state pattern="%f W" readOnly="true"></state>
</channel-type>
<channel-type id="pdc">
<item-type>Number:Power</item-type>
<label>DC Power</label>
<description>DC power</description>
<state pattern="%f W" readOnly="true"></state>
</channel-type>
<channel-type id="pdc2">
<item-type>Number:Power</item-type>
<label>DC Power 2</label>
<description>DC power 2</description>
<state pattern="%f W" readOnly="true"></state>
</channel-type>
<channel-type id="pdc3">
<item-type>Number:Power</item-type>
<label>DC Power 3</label>
<description>DC power 3</description>
<state pattern="%f W" readOnly="true"></state>
</channel-type>
<channel-type id="total_energy">
<item-type>Number:Energy</item-type>
<label>Total Energy</label>
@@ -190,6 +215,18 @@
<description>DC current</description>
<state pattern="%.2f A" readOnly="true"></state>
</channel-type>
<channel-type id="idc2">
<item-type>Number:ElectricCurrent</item-type>
<label>DC Current 2</label>
<description>DC current 2</description>
<state pattern="%.2f A" readOnly="true"></state>
</channel-type>
<channel-type id="idc3">
<item-type>Number:ElectricCurrent</item-type>
<label>DC Current 3</label>
<description>DC current 3</description>
<state pattern="%.2f A" readOnly="true"></state>
</channel-type>
<channel-type id="uac">
<item-type>Number:ElectricPotential</item-type>
<label>AC Voltage</label>
@@ -202,6 +239,18 @@
<description>DC voltage</description>
<state pattern="%.1f V" readOnly="true"></state>
</channel-type>
<channel-type id="udc2">
<item-type>Number:ElectricPotential</item-type>
<label>DC Voltage 2</label>
<description>DC voltage 2</description>
<state pattern="%.1f V" readOnly="true"></state>
</channel-type>
<channel-type id="udc3">
<item-type>Number:ElectricPotential</item-type>
<label>DC Voltage 3</label>
<description>DC voltage 3</description>
<state pattern="%.1f V" readOnly="true"></state>
</channel-type>
<channel-type id="devicestatus_errorcode">
<item-type>Number</item-type>