Class FeneconHome
java.lang.Object
io.openems.edge.core.appmanager.AbstractOpenemsApp<FeneconHome.Property>
io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps<FeneconHome,FeneconHome.Property,FeneconHome.FeneconHomeParameter>
io.openems.edge.app.integratedsystem.FeneconHome
- All Implemented Interfaces:
ComponentManagerSupplier
,ComponentUtilSupplier
,OpenemsApp
public class FeneconHome
extends AbstractOpenemsAppWithProps<FeneconHome,FeneconHome.Property,FeneconHome.FeneconHomeParameter>
implements OpenemsApp
Describes a FENECON Home energy storage system.
{
"appId":"App.FENECON.Home",
"alias":"FENECON Home",
"instanceId": UUID,
"image": base64,
"properties":{
"SAFETY_COUNTRY":"AUSTRIA",
"RIPPLE_CONTROL_RECEIVER_ACTIV":false,
"MAX_FEED_IN_POWER":5000,
"FEED_IN_SETTING":"PU_ENABLE_CURVE",
"HAS_AC_METER":true,
"HAS_DC_PV1":true,
"DC_PV1_ALIAS":"PV 1",
"HAS_DC_PV2":true,
"DC_PV2_ALIAS":"PV 2",
"HAS_EMERGENCY_RESERVE":true,
"EMERGENCY_RESERVE_ENABLED":true,
"EMERGENCY_RESERVE_SOC":20,
"SHADOW_MANAGEMENT_DISABLED":false
},
"dependencies": [
{
"key": "GRID_OPTIMIZED_CHARGE",
"instanceId": UUID
},
{
"key": "AC_METER",
"instanceId": UUID
},
{
"key": "SELF_CONSUMTION_OPTIMIZATION",
"instanceId": UUID
},
{
"key": "PREPARE_BATTERY_EXTENSION",
"instanceId": UUID
}
],
"appDescriptor": {
"websiteUrl": AppDescriptor.getWebsiteUrl()
}
}
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static enum
Nested classes/interfaces inherited from class io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps
AbstractOpenemsAppWithProps.Singleton<T>
-
Field Summary
Fields inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
cm, componentContext, componentManager, componentUtil
Fields inherited from interface io.openems.edge.core.appmanager.OpenemsApp
FALLBACK_IMAGE
-
Constructor Summary
ConstructorDescriptionFeneconHome
(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThrowingTriFunction
<ConfigurationTarget, Map<FeneconHome.Property, com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Provides a factory forAppConfigurations
.protected FeneconHome
getApp()
Gets theAppDescriptor
of theOpenemsApp
.Gets theOpenemsAppPermissions
of thisOpenemsApp
.Gets theOpenemsAppCardinality
of theOpenemsApp
.Gets theOpenemsAppCategory
of theOpenemsApp
.protected FeneconHome.Property[]
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsAppWithProps
flags, getAppAssistant, getAppConfiguration, getBoolean, getBoolean, getEnum, getEnum, getId, getInt, getInt, getJsonArray, getProperties, getStatus, getString, getString, getString, getValueOrDefault
Methods inherited from class io.openems.edge.core.appmanager.AbstractOpenemsApp
base64OfImage, createResourceBundle, fillUpProperties, getAppAssistant, getAppId, getComponentManager, getComponentUtil, getComponentWithFactoryId, getId, getImage, getName, getNullableTranslation, getPropertyByName, getShortName, getTranslation, getTranslationBundle, getValidateBuilder, getValidatorConfig, getValueOrDefault, hasProperty, installationValidation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.core.appmanager.OpenemsApp
flags, getAppAssistant, getAppConfiguration, getAppId, getImage, getName, getProperties, getShortName, getValidatorConfig
-
Constructor Details
-
FeneconHome
public FeneconHome(ComponentManager componentManager, org.osgi.service.component.ComponentContext context, org.osgi.service.cm.ConfigurationAdmin cm, ComponentUtil componentUtil)
-
-
Method Details
-
getAppDescriptor
Description copied from interface:OpenemsApp
Gets theAppDescriptor
of theOpenemsApp
.- Specified by:
getAppDescriptor
in interfaceOpenemsApp
- Parameters:
oem
- theOpenemsEdgeOem
- Returns:
- the
AppDescriptor
-
appPropertyConfigurationFactory
protected ThrowingTriFunction<ConfigurationTarget,Map<FeneconHome.Property, appPropertyConfigurationFactory()com.google.gson.JsonElement>, Language, AppConfiguration, OpenemsError.OpenemsNamedException> Description copied from class:AbstractOpenemsApp
Provides a factory forAppConfigurations
.- Specified by:
appPropertyConfigurationFactory
in classAbstractOpenemsApp<FeneconHome.Property>
- Returns:
- a
ThrowingFunction
that creates aAppConfiguration
from aMap
of configuration properties for a givenConfigurationTarget
in the specified language.
-
getCategories
Description copied from interface:OpenemsApp
Gets theOpenemsAppCategory
of theOpenemsApp
.- Specified by:
getCategories
in interfaceOpenemsApp
- Returns:
- the category's
-
getCardinality
Description copied from interface:OpenemsApp
Gets theOpenemsAppCardinality
of theOpenemsApp
.- Specified by:
getCardinality
in interfaceOpenemsApp
- Returns:
- the usage
-
getAppPermissions
Description copied from interface:OpenemsApp
Gets theOpenemsAppPermissions
of thisOpenemsApp
.- Specified by:
getAppPermissions
in interfaceOpenemsApp
- Overrides:
getAppPermissions
in classAbstractOpenemsApp<FeneconHome.Property>
- Returns:
- the permissions
-
getApp
- Specified by:
getApp
in classAbstractOpenemsAppWithProps<FeneconHome,
FeneconHome.Property, FeneconHome.FeneconHomeParameter>
-
propertyValues
- Specified by:
propertyValues
in classAbstractOpenemsApp<FeneconHome.Property>
-