[fronius] Added Ohmpilot thing and channel realpowersum for thing meter (#11835)
* Added support for fronius ohmpilot and added smart meter power sum. Signed-off-by: urmet0 <hannes.spenger@gmail.com>
This commit is contained in:
@@ -20,9 +20,12 @@ thing-type.fronius.meter.channel.powerfactorphase3.label = Power Factor Phase 3
|
||||
thing-type.fronius.meter.channel.powerrealphase1.label = Real Power Phase 1
|
||||
thing-type.fronius.meter.channel.powerrealphase2.label = Real Power Phase 2
|
||||
thing-type.fronius.meter.channel.powerrealphase3.label = Real Power Phase 3
|
||||
thing-type.fronius.meter.channel.powerrealsum.label = Real Power Sum
|
||||
thing-type.fronius.meter.channel.voltageacphase1.label = AC Voltage Phase 1
|
||||
thing-type.fronius.meter.channel.voltageacphase2.label = AC Voltage Phase 2
|
||||
thing-type.fronius.meter.channel.voltageacphase3.label = AC Voltage Phase 3
|
||||
thing-type.fronius.ohmpilot.label = Fronius Ohmpilot
|
||||
thing-type.fronius.ohmpilot.description = Fronius Ohmpilot
|
||||
thing-type.fronius.powerinverter.label = Fronius Symo Inverter
|
||||
thing-type.fronius.powerinverter.description = Fronius Symo power inverter
|
||||
thing-type.fronius.powerinverter.channel.powerflowchannelpakku.label = Charge / Discharge of Battery
|
||||
@@ -39,6 +42,8 @@ thing-type.config.fronius.bridge.refreshInterval.label = Refresh Interval
|
||||
thing-type.config.fronius.bridge.refreshInterval.description = Specifies the refresh interval in seconds.
|
||||
thing-type.config.fronius.meter.deviceId.label = Device ID
|
||||
thing-type.config.fronius.meter.deviceId.description = Specific device identifier
|
||||
thing-type.config.fronius.ohmpilot.deviceId.label = Device ID
|
||||
thing-type.config.fronius.ohmpilot.deviceId.description = Specific device identifier
|
||||
thing-type.config.fronius.powerinverter.deviceId.label = Device ID
|
||||
thing-type.config.fronius.powerinverter.deviceId.description = Specific device identifier
|
||||
|
||||
@@ -69,6 +74,12 @@ channel-type.fronius.meter_location.label = Location
|
||||
channel-type.fronius.meter_location.description = Meter Location Code
|
||||
channel-type.fronius.meter_powerfactor.label = Power Factor
|
||||
channel-type.fronius.meter_powerreal.label = Power
|
||||
channel-type.fronius.ohmpilot_energy.label = Real Energy Consumed
|
||||
channel-type.fronius.ohmpilot_energy.description = Total consumed energy [Wh]
|
||||
channel-type.fronius.ohmpilot_powerreal.label = Real Power Sum
|
||||
channel-type.fronius.ohmpilot_powerreal.description = Actual power consumption [W]
|
||||
channel-type.fronius.ohmpilot_temperature.label = Temperature
|
||||
channel-type.fronius.ohmpilot_temperature.description = Temperature of the PT1000
|
||||
channel-type.fronius.pAkku.label = Battery Power
|
||||
channel-type.fronius.pAkku.description = Battery Power ( + discharge, - charge )
|
||||
channel-type.fronius.pGrid.label = Grid Power
|
||||
|
||||
@@ -89,6 +89,9 @@
|
||||
<channel id="powerrealphase3" typeId="meter_powerreal">
|
||||
<label>Real Power Phase 3</label>
|
||||
</channel>
|
||||
<channel id="powerrealsum" typeId="meter_powerreal">
|
||||
<label>Real Power Sum</label>
|
||||
</channel>
|
||||
<channel id="powerfactorphase1" typeId="meter_powerfactor">
|
||||
<label>Power Factor Phase 1</label>
|
||||
</channel>
|
||||
@@ -106,10 +109,30 @@
|
||||
</channel>
|
||||
</channels>
|
||||
|
||||
<properties>
|
||||
<property name="model"/>
|
||||
<property name="serial"/>
|
||||
</properties>
|
||||
<config-description>
|
||||
<parameter name="deviceId" type="integer">
|
||||
<label>Device ID</label>
|
||||
<description>Specific device identifier</description>
|
||||
<default>0</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
|
||||
<!-- Ohmpilot Thing Type -->
|
||||
<thing-type id="ohmpilot">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="bridge"/>
|
||||
</supported-bridge-type-refs>
|
||||
<label>Fronius Ohmpilot</label>
|
||||
<description>Fronius Ohmpilot</description>
|
||||
|
||||
<channels>
|
||||
<channel id="powerrealsum" typeId="ohmpilot_powerreal"/>
|
||||
<channel id="energyrealsumconsumed" typeId="ohmpilot_energy"/>
|
||||
<channel id="temperaturechannel1" typeId="ohmpilot_temperature"/>
|
||||
<channel id="statecode" typeId="devicestatus_statuscode"/>
|
||||
<channel id="errorcode" typeId="devicestatus_errorcode"/>
|
||||
</channels>
|
||||
|
||||
<config-description>
|
||||
<parameter name="deviceId" type="integer">
|
||||
@@ -244,32 +267,48 @@
|
||||
<channel-type id="meter_ac_current">
|
||||
<item-type>Number:ElectricCurrent</item-type>
|
||||
<label>AC Current</label>
|
||||
<description></description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="meter_ac_voltage">
|
||||
<item-type>Number:ElectricPotential</item-type>
|
||||
<label>AC Voltage</label>
|
||||
<description></description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="meter_powerreal">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Power</label>
|
||||
<description></description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="meter_powerfactor">
|
||||
<item-type>Number</item-type>
|
||||
<label>Power Factor</label>
|
||||
<description></description>
|
||||
<state pattern="%.2f" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="meter_energy">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Energy</label>
|
||||
<description></description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="ohmpilot_powerreal">
|
||||
<item-type>Number:Power</item-type>
|
||||
<label>Real Power Sum</label>
|
||||
<description>Actual power consumption [W]</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="ohmpilot_energy">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<label>Real Energy Consumed</label>
|
||||
<description>Total consumed energy [Wh]</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
<channel-type id="ohmpilot_temperature">
|
||||
<item-type>Number:Temperature</item-type>
|
||||
<label>Temperature</label>
|
||||
<description>Temperature of the PT1000</description>
|
||||
<state pattern="%.2f %unit%" readOnly="true"></state>
|
||||
</channel-type>
|
||||
|
||||
|
||||
|
||||
</thing:thing-descriptions>
|
||||
|
||||
Reference in New Issue
Block a user