Skip to content

Commit

Permalink
Merge branch 'release/2020.25.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sfeilmeier committed Dec 3, 2020
2 parents 4b2868a + 0f7a33b commit 9999c1e
Show file tree
Hide file tree
Showing 67 changed files with 2,588 additions and 172 deletions.
2 changes: 1 addition & 1 deletion cnf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<!-- Changelog: https://github.com/apache/felix-dev/commits/master/http -->
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.http.jetty</artifactId>
<version>4.1.2</version>
<version>4.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
Expand Down
2 changes: 1 addition & 1 deletion doc/modules/ROOT/pages/single_document.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= OpenEMS - Open Energy Management System
ifndef::toc[]
(c) 2020 OpenEMS Association e.V.
Version 2020.24.0
Version 2020.25.0
:sectnums:
:sectnumlevels: 4
:toc:
Expand Down
2 changes: 1 addition & 1 deletion io.openems.backend.application/BackendApp.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
org.apache.commons.commons-fileupload;version='[1.4.0,1.4.1)',\
org.apache.commons.io;version='[2.6.0,2.6.1)',\
org.apache.felix.configadmin;version='[1.9.18,1.9.19)',\
org.apache.felix.http.jetty;version='[4.1.2,4.1.3)',\
org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
org.apache.felix.inventory;version='[1.0.6,1.0.7)',\
org.apache.felix.metatype;version='[1.2.2,1.2.3)',\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class OpenemsConstants {
*
* This is usually the number of the sprint within the year
*/
public final static short VERSION_MINOR = 24;
public final static short VERSION_MINOR = 25;

/**
* The patch version of OpenEMS.
Expand Down
3 changes: 0 additions & 3 deletions io.openems.common/src/io/openems/common/types/EdgeConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -1050,9 +1050,6 @@ private static EdgeConfig fromOldJsonFormat(JsonObject json) throws OpenemsNamed
* @return true if it should get ignored
*/
public static boolean ignorePropertyKey(String key) {
if (key.endsWith(".target")) {
return true;
}
switch (key) {
case OpenemsConstants.PROPERTY_COMPONENT_ID:
case OpenemsConstants.PROPERTY_OSGI_COMPONENT_ID:
Expand Down
4 changes: 3 additions & 1 deletion io.openems.edge.application/EdgeApp.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
bnd.identity;id='io.openems.edge.application',\
bnd.identity;id='io.openems.edge.battery.bmw',\
bnd.identity;id='io.openems.edge.battery.bydcommercial',\
bnd.identity;id='io.openems.edge.battery.fenecon.home',\
bnd.identity;id='io.openems.edge.batteryinverter.kaco.blueplanetgridsave',\
bnd.identity;id='io.openems.edge.batteryinverter.refu88k',\
bnd.identity;id='io.openems.edge.batteryinverter.sunspec',\
Expand Down Expand Up @@ -154,6 +155,7 @@
io.openems.edge.battery.api;version=snapshot,\
io.openems.edge.battery.bmw;version=snapshot,\
io.openems.edge.battery.bydcommercial;version=snapshot,\
io.openems.edge.battery.fenecon.home;version=snapshot,\
io.openems.edge.battery.soltaro;version=snapshot,\
io.openems.edge.batteryinverter.api;version=snapshot,\
io.openems.edge.batteryinverter.kaco.blueplanetgridsave;version=snapshot,\
Expand Down Expand Up @@ -286,7 +288,7 @@
org.apache.commons.math3;version='[3.6.1,3.6.2)',\
org.apache.felix.configadmin;version='[1.9.18,1.9.19)',\
org.apache.felix.eventadmin;version='[1.5.0,1.5.1)',\
org.apache.felix.http.jetty;version='[4.1.2,4.1.3)',\
org.apache.felix.http.jetty;version='[4.1.4,4.1.5)',\
org.apache.felix.http.servlet-api;version='[1.1.2,1.1.3)',\
org.apache.felix.inventory;version='[1.0.6,1.0.7)',\
org.apache.felix.metatype;version='[1.2.2,1.2.3)',\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ protected void setModbus(BridgeModbus modbus) {
public BmwBatteryImpl() {
super(//
OpenemsComponent.ChannelId.values(), //
StartStoppable.ChannelId.values(), //
Battery.ChannelId.values(), //
BMWChannelId.values() //
);
Expand Down
12 changes: 12 additions & 0 deletions io.openems.edge.battery.fenecon.home/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test">
<attributes>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 2 additions & 0 deletions io.openems.edge.battery.fenecon.home/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin_test/
/generated/
23 changes: 23 additions & 0 deletions io.openems.edge.battery.fenecon.home/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>io.openems.edge.battery.fenecon.home</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
16 changes: 16 additions & 0 deletions io.openems.edge.battery.fenecon.home/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Bundle-Name: OpenEMS Edge Battery FENECON Home
Bundle-Vendor: FENECON GmbH
Bundle-License: https://opensource.org/licenses/EPL-2.0
Bundle-Version: 1.0.0.${tstamp}

-buildpath: \
${buildpath},\
io.openems.common,\
io.openems.edge.battery.api,\
io.openems.edge.bridge.modbus,\
io.openems.edge.common,\
io.openems.edge.controller.api,\
io.openems.edge.ess.api

-testpath: \
${testpath}
3 changes: 3 additions & 0 deletions io.openems.edge.battery.fenecon.home/readme.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
= Battery FENECON Home

https://github.com/OpenEMS/openems/tree/develop/io.openems.edge.battery.fenecon.home[Source Code icon:github[]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package io.openems.edge.battery.fenecon.home;

import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;

import io.openems.edge.common.startstop.StartStopConfig;

@ObjectClassDefinition(//
name = "Battery FENECON Home", //
description = "Implements the FENECON Home Battery")
@interface Config {

@AttributeDefinition(name = "Component-ID", description = "Unique ID of this Component")
String id() default "battery0";

@AttributeDefinition(name = "Alias", description = "Human-readable name of this Component; defaults to Component-ID")
String alias() default "";

@AttributeDefinition(name = "Is enabled?", description = "Is this Component enabled?")
boolean enabled() default true;

@AttributeDefinition(name = "Start/stop behaviour?", description = "Should this Component be forced to start or stop?")
StartStopConfig startStop() default StartStopConfig.AUTO;

@AttributeDefinition(name = "Modbus-ID", description = "ID of Modbus brige.")
String modbus_id() default "modbus0";

@AttributeDefinition(name = "Modbus Unit-ID", description = "The Unit-ID of the Modbus device.")
int modbusUnitId() default 1;

@AttributeDefinition(name = "Modbus target filter", description = "This is auto-generated by 'Modbus-ID'.")
String Modbus_target() default "";

String webconsole_configurationFactory_nameHint() default "Battery FENECON Home [{id}]";

}
Loading

0 comments on commit 9999c1e

Please sign in to comment.