diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9ab056c5218..b2f170c9853 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,10 +6,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Setup Java 8
+ - name: Setup Java 11
uses: actions/setup-java@v1
with:
- java-version: '8'
+ java-version: '11'
- name: Setup Cache for Java/Gradle
uses: actions/cache@v2
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
index 5de342dfec2..f5d0fe8587d 100644
--- a/.gitpod.Dockerfile
+++ b/.gitpod.Dockerfile
@@ -1,13 +1,13 @@
FROM gitpod/workspace-postgres
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh \
- && sdk install java 8.0.265-open"
+ && sdk install java 11.0.13-tem"
# disable angular analytics
ENV NG_CLI_ANALYTICS=false
# Docker build does not rebuild an image when a base image is changed, increase this counter to trigger it.
-ENV TRIGGER_REBUILD 3
+ENV TRIGGER_REBUILD 4
RUN npm install -g @angular/cli
diff --git a/.gradle-wrapper/gradle-wrapper.properties b/.gradle-wrapper/gradle-wrapper.properties
index ffed3a254e9..e750102e092 100644
--- a/.gradle-wrapper/gradle-wrapper.properties
+++ b/.gradle-wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/cnf/build.bnd b/cnf/build.bnd
index 225a9a3406c..af042b404bb 100644
--- a/cnf/build.bnd
+++ b/cnf/build.bnd
@@ -95,5 +95,5 @@ testpath: \
Edge_Timedata;member=${filter;${p};io\.openems\.edge\.timedata\..*},\
Edge_TimeOfUseTariff;member=${filter;${p};io\.openems\.edge\.timeofusetariff\..*},\
-javac.source: 1.8
-javac.target: 1.8
+javac.source: 11
+javac.target: 11
diff --git a/cnf/pom.xml b/cnf/pom.xml
index 60d405a58f3..92f37acf803 100644
--- a/cnf/pom.xml
+++ b/cnf/pom.xml
@@ -108,6 +108,12 @@
v1_6
1.0.1
+
+
+ fr.turri
+ aXMLRPC
+ 1.12.0
+
info.faljse
@@ -125,7 +131,7 @@
net.java.dev.jna
jna
- 5.9.0
+ 5.10.0
@@ -193,16 +199,6 @@
org.apache.felix.webconsole.plugins.ds
2.1.0
-
- org.apache.servicemix.bundles
- org.apache.servicemix.bundles.xmlrpc-client
- 3.1.3_1
-
-
- org.apache.servicemix.bundles
- org.apache.servicemix.bundles.ws-commons-util
- 1.0.2_2
-
org.dhatim
fastexcel
diff --git a/doc/modules/ROOT/pages/single_document.adoc b/doc/modules/ROOT/pages/single_document.adoc
index 5892a064634..7f881f2c6d2 100644
--- a/doc/modules/ROOT/pages/single_document.adoc
+++ b/doc/modules/ROOT/pages/single_document.adoc
@@ -1,7 +1,7 @@
= OpenEMS - Open Energy Management System
ifndef::toc[]
(c) 2020 OpenEMS Association e.V.
-Version 2021.20.0
+Version 2021.21.0
:sectnums:
:sectnumlevels: 4
:toc:
diff --git a/gradlew b/gradlew
index dfc9e2aec2d..7e705d510c1 100755
--- a/gradlew
+++ b/gradlew
@@ -1,7 +1,7 @@
-#!/usr/bin/env sh
+#!/bin/sh
#
-# Copyright 2015 the original author or authors.
+# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -17,67 +17,101 @@
#
##############################################################################
-##
-## Gradle start up script for UN*X
-##
+#
+# Gradle start up script for POSIX generated by Gradle.
+#
+# Important for running:
+#
+# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
+# noncompliant, but you have some other compliant shell such as ksh or
+# bash, then to run this script, type that shell name before the whole
+# command line, like:
+#
+# ksh Gradle
+#
+# Busybox and similar reduced shells will NOT work, because this script
+# requires all of these POSIX shell features:
+# * functions;
+# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
+# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
+# * compound commands having a testable exit status, especially «case»;
+# * various built-in commands including «command», «set», and «ulimit».
+#
+# Important for patching:
+#
+# (2) This script targets any POSIX shell, so it avoids extensions provided
+# by Bash, Ksh, etc; in particular arrays are avoided.
+#
+# The "traditional" practice of packing multiple parameters into a
+# space-separated string is a well documented source of bugs and security
+# problems, so this is (mostly) avoided, by progressively accumulating
+# options in "$@", and eventually passing that to Java.
+#
+# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
+# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
+# see the in-line comments for details.
+#
+# There are tweaks for specific operating systems such as AIX, CygWin,
+# Darwin, MinGW, and NonStop.
+#
+# (3) This script is generated from the Groovy template
+# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
+# within the Gradle project.
+#
+# You can find Gradle at https://github.com/gradle/gradle/.
+#
##############################################################################
# Attempt to set APP_HOME
+
# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
+app_path=$0
+
+# Need this for daisy-chained symlinks.
+while
+ APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
+ [ -h "$app_path" ]
+do
+ ls=$( ls -ld "$app_path" )
+ link=${ls#*' -> '}
+ case $link in #(
+ /*) app_path=$link ;; #(
+ *) app_path=$APP_HOME$link ;;
+ esac
done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >/dev/null
-APP_HOME="`pwd -P`"
-cd "$SAVED" >/dev/null
+
+APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
+APP_BASE_NAME=${0##*/}
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
+MAX_FD=maximum
warn () {
echo "$*"
-}
+} >&2
die () {
echo
echo "$*"
echo
exit 1
-}
+} >&2
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MSYS* | MINGW* )
- msys=true
- ;;
- NONSTOP* )
- nonstop=true
- ;;
+case "$( uname )" in #(
+ CYGWIN* ) cygwin=true ;; #(
+ Darwin* ) darwin=true ;; #(
+ MSYS* | MINGW* ) msys=true ;; #(
+ NONSTOP* ) nonstop=true ;;
esac
CLASSPATH=$APP_HOME/.gradle-wrapper/gradle-wrapper.jar
@@ -87,9 +121,9 @@ CLASSPATH=$APP_HOME/.gradle-wrapper/gradle-wrapper.jar
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
+ JAVACMD=$JAVA_HOME/jre/sh/java
else
- JAVACMD="$JAVA_HOME/bin/java"
+ JAVACMD=$JAVA_HOME/bin/java
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
@@ -98,7 +132,7 @@ Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
- JAVACMD="java"
+ JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
@@ -106,80 +140,95 @@ location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
+if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
+ case $MAX_FD in #(
+ max*)
+ MAX_FD=$( ulimit -H -n ) ||
+ warn "Could not query maximum file descriptor limit"
+ esac
+ case $MAX_FD in #(
+ '' | soft) :;; #(
+ *)
+ ulimit -n "$MAX_FD" ||
+ warn "Could not set maximum file descriptor limit to $MAX_FD"
+ esac
fi
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
+# Collect all arguments for the java command, stacking in reverse order:
+# * args from the command line
+# * the main class name
+# * -classpath
+# * -D...appname settings
+# * --module-path (only if needed)
+# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
# For Cygwin or MSYS, switch paths to Windows format before running java
-if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
-
- JAVACMD=`cygpath --unix "$JAVACMD"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
+if "$cygwin" || "$msys" ; then
+ APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
+ CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
+
+ JAVACMD=$( cygpath --unix "$JAVACMD" )
+
# Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
+ for arg do
+ if
+ case $arg in #(
+ -*) false ;; # don't mess with options #(
+ /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
+ [ -e "$t" ] ;; #(
+ *) false ;;
+ esac
+ then
+ arg=$( cygpath --path --ignore --mixed "$arg" )
fi
- i=`expr $i + 1`
+ # Roll the args list around exactly as many times as the number of
+ # args, so each arg winds up back in the position where it started, but
+ # possibly modified.
+ #
+ # NB: a `for` loop captures its iteration list before it begins, so
+ # changing the positional parameters here affects neither the number of
+ # iterations, nor the values presented in `arg`.
+ shift # remove old arg
+ set -- "$@" "$arg" # push replacement arg
done
- case $i in
- 0) set -- ;;
- 1) set -- "$args0" ;;
- 2) set -- "$args0" "$args1" ;;
- 3) set -- "$args0" "$args1" "$args2" ;;
- 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
fi
-# Escape application args
-save () {
- for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
- echo " "
-}
-APP_ARGS=`save "$@"`
+# Collect all arguments for the java command;
+# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
+# shell script including quotes and variable substitutions, so put them in
+# double quotes to make sure that they get re-expanded; and
+# * put everything else in single quotes, so that it's not re-expanded.
+
+set -- \
+ "-Dorg.gradle.appname=$APP_BASE_NAME" \
+ -classpath "$CLASSPATH" \
+ org.gradle.wrapper.GradleWrapperMain \
+ "$@"
+
+# Use "xargs" to parse quoted args.
+#
+# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
+#
+# In Bash we could simply go:
+#
+# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
+# set -- "${ARGS[@]}" "$@"
+#
+# but POSIX shell has neither arrays nor command substitution, so instead we
+# post-process each arg (as a line of input to sed) to backslash-escape any
+# character that might be a shell metacharacter, then use eval to reverse
+# that process (while maintaining the separation between arguments), and wrap
+# the whole thing up as a single "set" statement.
+#
+# This will of course break if any of these variables contains a newline or
+# an unmatched quote.
+#
-# Collect all arguments for the java command, following the shell quoting and substitution rules
-eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+eval "set -- $(
+ printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
+ xargs -n1 |
+ sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
+ tr '\n' ' '
+ )" '"$@"'
exec "$JAVACMD" "$@"
diff --git a/io.openems.backend.application/.classpath b/io.openems.backend.application/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.application/.classpath
+++ b/io.openems.backend.application/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.application/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.application/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 569fcf67290..00000000000
--- a/io.openems.backend.application/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/backend/application/BackendApp.java=UTF-8
-encoding/BackendApp.bndrun=UTF-8
-encoding/bnd.bnd=UTF-8
-encoding/readme.md=UTF-8
diff --git a/io.openems.backend.application/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.application/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.application/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.application/BackendApp.bndrun b/io.openems.backend.application/BackendApp.bndrun
index 3e29f4c16f7..67c47c7e700 100644
--- a/io.openems.backend.application/BackendApp.bndrun
+++ b/io.openems.backend.application/BackendApp.bndrun
@@ -1,5 +1,5 @@
-runfw: org.apache.felix.framework;version='[7.0.1,7.0.1]'
--runee: JavaSE-1.8
+-runee: JavaSE-11
-runprovidedcapabilities: ${native_capability}
-resolve.effective: active
@@ -57,6 +57,7 @@
io.openems.backend.uiwebsocket;version=snapshot,\
io.openems.common;version=snapshot,\
io.openems.shared.influxdb;version=snapshot,\
+ io.openems.wrapper.aXMLRPC;version=snapshot,\
io.openems.wrapper.fastexcel;version=snapshot,\
io.openems.wrapper.influxdb-java;version=snapshot,\
io.openems.wrapper.okhttp;version=snapshot,\
@@ -71,8 +72,6 @@
org.apache.felix.scr;version='[2.1.30,2.1.31)',\
org.apache.felix.webconsole;version='[4.7.0,4.7.1)',\
org.apache.felix.webconsole.plugins.ds;version='[2.1.0,2.1.1)',\
- org.apache.servicemix.bundles.ws-commons-util;version='[1.0.2,1.0.3)',\
- org.apache.servicemix.bundles.xmlrpc-client;version='[3.1.3,3.1.4)',\
org.jsr-305;version='[3.0.2,3.0.3)',\
org.ops4j.pax.logging.pax-logging-api;version='[2.0.10,2.0.11)',\
org.ops4j.pax.logging.pax-logging-log4j1;version='[2.0.10,2.0.11)',\
diff --git a/io.openems.backend.b2brest/.classpath b/io.openems.backend.b2brest/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.b2brest/.classpath
+++ b/io.openems.backend.b2brest/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.b2bwebsocket/.classpath b/io.openems.backend.b2bwebsocket/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.b2bwebsocket/.classpath
+++ b/io.openems.backend.b2bwebsocket/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.common/.classpath b/io.openems.backend.common/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.common/.classpath
+++ b/io.openems.backend.common/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.common/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.common/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index d5416543672..00000000000
--- a/io.openems.backend.common/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/backend/common/edgewebsocket/package-info.java=UTF-8
-encoding//src/io/openems/backend/common/metadata/package-info.java=UTF-8
-encoding//src/io/openems/backend/common/timedata/package-info.java=UTF-8
-encoding//src/io/openems/backend/common/uiwebsocket/package-info.java=UTF-8
-encoding//test/.gitignore=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.common/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.common/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.common/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.core/.classpath b/io.openems.backend.core/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.core/.classpath
+++ b/io.openems.backend.core/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.edgewebsocket/.classpath b/io.openems.backend.edgewebsocket/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.edgewebsocket/.classpath
+++ b/io.openems.backend.edgewebsocket/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.edgewebsocket/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.edgewebsocket/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1554c6f848a..00000000000
--- a/io.openems.backend.edgewebsocket/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.edgewebsocket/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.edgewebsocket/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.edgewebsocket/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.metadata.dummy/.classpath b/io.openems.backend.metadata.dummy/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.metadata.dummy/.classpath
+++ b/io.openems.backend.metadata.dummy/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.metadata.dummy/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.metadata.dummy/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index f2d69683089..00000000000
--- a/io.openems.backend.metadata.dummy/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/backend/metadata/dummy/DummyMetadata.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.metadata.dummy/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.metadata.dummy/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.metadata.dummy/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.metadata.file/.classpath b/io.openems.backend.metadata.file/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.metadata.file/.classpath
+++ b/io.openems.backend.metadata.file/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.metadata.file/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.metadata.file/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1dd7d9dd15a..00000000000
--- a/io.openems.backend.metadata.file/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding/bnd.bnd=UTF-8
-encoding/readme.md=UTF-8
diff --git a/io.openems.backend.metadata.file/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.metadata.file/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.metadata.file/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.metadata.odoo/.classpath b/io.openems.backend.metadata.odoo/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.metadata.odoo/.classpath
+++ b/io.openems.backend.metadata.odoo/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.metadata.odoo/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.metadata.odoo/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1554c6f848a..00000000000
--- a/io.openems.backend.metadata.odoo/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.metadata.odoo/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.metadata.odoo/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.metadata.odoo/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.metadata.odoo/bnd.bnd b/io.openems.backend.metadata.odoo/bnd.bnd
index 3819735cee4..14c317211e3 100644
--- a/io.openems.backend.metadata.odoo/bnd.bnd
+++ b/io.openems.backend.metadata.odoo/bnd.bnd
@@ -8,8 +8,8 @@ Bundle-Version: 1.0.0.${tstamp}
com.zaxxer.HikariCP,\
io.openems.backend.common,\
io.openems.common,\
- org.apache.servicemix.bundles.xmlrpc-client,\
- org.postgresql.jdbc
+ io.openems.wrapper.aXMLRPC,\
+ org.postgresql.jdbc,\
-testpath: \
${testpath}
diff --git a/io.openems.backend.metadata.odoo/src/io/openems/backend/metadata/odoo/odoo/OdooUtils.java b/io.openems.backend.metadata.odoo/src/io/openems/backend/metadata/odoo/odoo/OdooUtils.java
index 8c96c4703f7..6ece2e8591c 100644
--- a/io.openems.backend.metadata.odoo/src/io/openems/backend/metadata/odoo/odoo/OdooUtils.java
+++ b/io.openems.backend.metadata.odoo/src/io/openems/backend/metadata/odoo/odoo/OdooUtils.java
@@ -13,15 +13,13 @@
import java.util.Map;
import java.util.Optional;
-import org.apache.xmlrpc.XmlRpcException;
-import org.apache.xmlrpc.client.XmlRpcClient;
-import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
-
import com.google.common.io.ByteStreams;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
+import de.timroes.axmlrpc.XMLRPCClient;
+import de.timroes.axmlrpc.XMLRPCException;
import io.openems.backend.metadata.odoo.Field;
import io.openems.common.exceptions.OpenemsError;
import io.openems.common.exceptions.OpenemsError.OpenemsNamedException;
@@ -211,15 +209,10 @@ protected static String login(Credentials credentials, String username, String p
}
}
- private static Object executeKw(String url, Object[] params) throws XmlRpcException, MalformedURLException {
- final XmlRpcClient client = new XmlRpcClient();
- XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
- config.setEnabledForExtensions(true);
- config.setServerURL(new URL(String.format("%s/xmlrpc/2/object", url)));
- config.setConnectionTimeout(10_000 /* 10 seconds */);
- config.setReplyTimeout(60_000 /* 60 seconds */);
- client.setConfig(config);
- return client.execute("execute_kw", params);
+ private static Object executeKw(String url, Object[] params) throws MalformedURLException, XMLRPCException {
+ XMLRPCClient client = new XMLRPCClient(new URL(String.format("%s/xmlrpc/2/object", url)));
+ client.setTimeout(60 /* seconds */);
+ return client.call("execute_kw", params);
}
/**
@@ -631,8 +624,7 @@ protected static Optional getOdooRefernceId(Object object) {
* @return the Odoo report as a byte array
* @throws OpenemsNamedException on error
*/
- protected static byte[] getOdooReport(Credentials credentials, String report, int id)
- throws OpenemsNamedException {
+ protected static byte[] getOdooReport(Credentials credentials, String report, int id) throws OpenemsNamedException {
String session = login(credentials, "admin", credentials.getPassword());
HttpURLConnection connection = null;
diff --git a/io.openems.backend.timedata.dummy/.classpath b/io.openems.backend.timedata.dummy/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.timedata.dummy/.classpath
+++ b/io.openems.backend.timedata.dummy/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.timedata.influx/.classpath b/io.openems.backend.timedata.influx/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.timedata.influx/.classpath
+++ b/io.openems.backend.timedata.influx/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.timedata.influx/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.timedata.influx/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index e43e362c9b3..00000000000
--- a/io.openems.backend.timedata.influx/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/backend/timedata/influx/Influx.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.timedata.influx/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.timedata.influx/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.timedata.influx/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.backend.uiwebsocket/.classpath b/io.openems.backend.uiwebsocket/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.backend.uiwebsocket/.classpath
+++ b/io.openems.backend.uiwebsocket/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.backend.uiwebsocket/.settings/org.eclipse.core.resources.prefs b/io.openems.backend.uiwebsocket/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1554c6f848a..00000000000
--- a/io.openems.backend.uiwebsocket/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.backend.uiwebsocket/.settings/org.eclipse.jdt.core.prefs b/io.openems.backend.uiwebsocket/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.backend.uiwebsocket/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.common/.classpath b/io.openems.common/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.common/.classpath
+++ b/io.openems.common/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.common/.settings/org.eclipse.core.resources.prefs b/io.openems.common/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index ee184c2791a..00000000000
--- a/io.openems.common/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,5 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/common/channel/PersistencePriority.java=UTF-8
-encoding//src/io/openems/common/channel/Unit.java=UTF-8
-encoding//test/.gitignore=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.common/.settings/org.eclipse.jdt.core.prefs b/io.openems.common/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.common/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.common/src/io/openems/common/OpenemsConstants.java b/io.openems.common/src/io/openems/common/OpenemsConstants.java
index 31e8c09a891..482872536c4 100644
--- a/io.openems.common/src/io/openems/common/OpenemsConstants.java
+++ b/io.openems.common/src/io/openems/common/OpenemsConstants.java
@@ -20,7 +20,7 @@ public class OpenemsConstants {
*
* This is usually the number of the sprint within the year
*/
- public final static short VERSION_MINOR = 20;
+ public final static short VERSION_MINOR = 21;
/**
* The patch version of OpenEMS.
diff --git a/io.openems.edge.application/.classpath b/io.openems.edge.application/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.application/.classpath
+++ b/io.openems.edge.application/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.application/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.application/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 7f7f75fa42e..00000000000
--- a/io.openems.edge.application/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/application/EdgeApp.java=UTF-8
-encoding//test/.gitignore=UTF-8
-encoding/EdgeApp.bndrun=UTF-8
-encoding/bnd.bnd=UTF-8
-encoding/readme.md=UTF-8
diff --git a/io.openems.edge.application/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.application/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.application/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.application/EdgeApp.bndrun b/io.openems.edge.application/EdgeApp.bndrun
index a9edab2d0bf..cbde1416c5d 100644
--- a/io.openems.edge.application/EdgeApp.bndrun
+++ b/io.openems.edge.application/EdgeApp.bndrun
@@ -1,5 +1,5 @@
-runfw: org.apache.felix.framework;version='[7.0.1,7.0.1]'
--runee: JavaSE-1.8
+-runee: JavaSE-11
-runprovidedcapabilities: ${native_capability}
-resolve.effective: active
@@ -150,6 +150,7 @@
bnd.identity;id='io.openems.edge.timedata.rrd4j',\
bnd.identity;id='io.openems.edge.timeofusetariff.awattar',\
bnd.identity;id='io.openems.edge.timeofusetariff.corrently',\
+ bnd.identity;id='io.openems.edge.timeofusetariff.tibber',\
-runbundles: \
Java-WebSocket;version='[1.5.2,1.5.3)',\
@@ -158,7 +159,7 @@
com.google.gson;version='[2.8.9,2.8.10)',\
com.google.guava;version='[31.0.1,31.0.2)',\
com.google.guava.failureaccess;version='[1.0.1,1.0.2)',\
- com.sun.jna;version='[5.9.0,5.9.1)',\
+ com.sun.jna;version='[5.10.0,5.10.1)',\
io.openems.common;version=snapshot,\
io.openems.edge.application;version=snapshot,\
io.openems.edge.battery.api;version=snapshot,\
@@ -296,6 +297,7 @@
io.openems.edge.timeofusetariff.api;version=snapshot,\
io.openems.edge.timeofusetariff.awattar;version=snapshot,\
io.openems.edge.timeofusetariff.corrently;version=snapshot,\
+ io.openems.edge.timeofusetariff.tibber;version=snapshot,\
io.openems.shared.influxdb;version=snapshot,\
io.openems.wrapper.eu.chargetime.ocpp;version=snapshot,\
io.openems.wrapper.fastexcel;version=snapshot,\
diff --git a/io.openems.edge.battery.api/.classpath b/io.openems.edge.battery.api/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.battery.api/.classpath
+++ b/io.openems.edge.battery.api/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.bmw/.classpath b/io.openems.edge.battery.bmw/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.battery.bmw/.classpath
+++ b/io.openems.edge.battery.bmw/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.bydcommercial/.classpath b/io.openems.edge.battery.bydcommercial/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.battery.bydcommercial/.classpath
+++ b/io.openems.edge.battery.bydcommercial/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.fenecon.home/.classpath b/io.openems.edge.battery.fenecon.home/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.battery.fenecon.home/.classpath
+++ b/io.openems.edge.battery.fenecon.home/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.battery.soltaro/.classpath b/io.openems.edge.battery.soltaro/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.battery.soltaro/.classpath
+++ b/io.openems.edge.battery.soltaro/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.api/.classpath b/io.openems.edge.batteryinverter.api/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.batteryinverter.api/.classpath
+++ b/io.openems.edge.batteryinverter.api/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
+++ b/io.openems.edge.batteryinverter.kaco.blueplanetgridsave/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.refu88k/.classpath b/io.openems.edge.batteryinverter.refu88k/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.batteryinverter.refu88k/.classpath
+++ b/io.openems.edge.batteryinverter.refu88k/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.sinexcel/.classpath b/io.openems.edge.batteryinverter.sinexcel/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.batteryinverter.sinexcel/.classpath
+++ b/io.openems.edge.batteryinverter.sinexcel/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.batteryinverter.sunspec/.classpath b/io.openems.edge.batteryinverter.sunspec/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.batteryinverter.sunspec/.classpath
+++ b/io.openems.edge.batteryinverter.sunspec/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bosch.bpts5hybrid/.classpath b/io.openems.edge.bosch.bpts5hybrid/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.bosch.bpts5hybrid/.classpath
+++ b/io.openems.edge.bosch.bpts5hybrid/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.mbus/.classpath b/io.openems.edge.bridge.mbus/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.bridge.mbus/.classpath
+++ b/io.openems.edge.bridge.mbus/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.modbus/.classpath b/io.openems.edge.bridge.modbus/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.bridge.modbus/.classpath
+++ b/io.openems.edge.bridge.modbus/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.modbus/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.bridge.modbus/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index f7cce4ce39b..00000000000
--- a/io.openems.edge.bridge.modbus/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,6 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/bridge/modbus/api/BridgeModbus.java=UTF-8
-encoding//src/io/openems/edge/bridge/modbus/api/package-info.java=UTF-8
-encoding//src/io/openems/edge/bridge/modbus/test/package-info.java=UTF-8
-encoding//test/.gitignore=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.bridge.modbus/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.bridge.modbus/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.bridge.modbus/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.bridge.onewire/.classpath b/io.openems.edge.bridge.onewire/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.bridge.onewire/.classpath
+++ b/io.openems.edge.bridge.onewire/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/OneWireAccessProvider.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/OneWireAccessProvider.java
index 2d94fb4c8e2..6605e12b544 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/OneWireAccessProvider.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/OneWireAccessProvider.java
@@ -227,7 +227,7 @@ public static Enumeration enumerateAllAdapters() {
// get the pure java adapter
try {
adapter_class = Class.forName("com.dalsemi.onewire.adapter.USerialAdapter");
- adapter_instance = (DSPortAdapter) adapter_class.newInstance();
+ adapter_instance = (DSPortAdapter) adapter_class.getConstructor().newInstance();
// check if has any ports (common javax.comm problem)
if (!adapter_instance.getPortNames().hasMoreElements()) {
@@ -270,7 +270,7 @@ public static Enumeration enumerateAllAdapters() {
// try PDK adapter
try {
adapter_class = Class.forName("com.dalsemi.onewire.adapter.PDKAdapterUSB");
- adapter_instance = (DSPortAdapter) adapter_class.newInstance();
+ adapter_instance = (DSPortAdapter) adapter_class.getConstructor().newInstance();
adapter_vector.addElement(adapter_instance);
} catch (java.lang.NoClassDefFoundError e) {
@@ -282,7 +282,7 @@ public static Enumeration enumerateAllAdapters() {
// get the network adapter
try {
adapter_class = Class.forName("com.dalsemi.onewire.adapter.NetAdapter");
- adapter_instance = (DSPortAdapter) adapter_class.newInstance();
+ adapter_instance = (DSPortAdapter) adapter_class.getConstructor().newInstance();
adapter_vector.addElement(adapter_instance);
} catch (java.lang.NoClassDefFoundError e) {
@@ -303,7 +303,7 @@ public static Enumeration enumerateAllAdapters() {
// add it to the enum
adapter_class = Class.forName(class_name);
- adapter_instance = (DSPortAdapter) adapter_class.newInstance();
+ adapter_instance = (DSPortAdapter) adapter_class.getConstructor().newInstance();
adapter_vector.addElement(adapter_instance);
}
} catch (java.lang.UnsatisfiedLinkError e) {
@@ -536,7 +536,7 @@ else if (propName.equals("onewire.port.default"))
else if (propName.equals("onewire.port.default")) {
try {
adapter_class = Class.forName("com.dalsemi.onewire.adapter.USerialAdapter");
- adapter_instance = (DSPortAdapter) adapter_class.newInstance();
+ adapter_instance = (DSPortAdapter) adapter_class.getConstructor().newInstance();
// check if has any ports (common javax.comm problem)
if (adapter_instance.getPortNames().hasMoreElements())
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/DSPortAdapter.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/DSPortAdapter.java
index 1987293f37d..634495c2be4 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/DSPortAdapter.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/DSPortAdapter.java
@@ -332,7 +332,7 @@ public void registerOneWireContainerClass(int family, Class> OneWireContainerC
throw new OneWireException("Could not find OneWireContainer class");
}
- Integer familyInt = new Integer(family);
+ Integer familyInt = Integer.valueOf(family);
if (OneWireContainerClass == null) {
@@ -1450,7 +1450,7 @@ public OneWireContainer getDeviceContainer(byte[] address) {
// If any user registered button exist, check the hashtable.
if (!registeredOneWireContainerClasses.isEmpty()) {
- Integer familyInt = new Integer(family_code);
+ Integer familyInt = Integer.valueOf(family_code);
// Try and get a user provided container class first.
ibutton_class = (Class>) registeredOneWireContainerClasses.get(familyInt);
@@ -1483,7 +1483,7 @@ public OneWireContainer getDeviceContainer(byte[] address) {
try {
// create the iButton container with a reference to this adapter
- new_ibutton = (OneWireContainer) ibutton_class.newInstance();
+ new_ibutton = (OneWireContainer) ibutton_class.getConstructor().newInstance();
new_ibutton.setupContainer(this, address);
} catch (Exception e) {
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapter.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapter.java
index a598dd33371..2a8f812e115 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapter.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/NetAdapter.java
@@ -188,7 +188,7 @@ public class NetAdapter extends DSPortAdapter implements NetAdapterConstants {
protected static final String COMM_FAILED = "IO Error: ";
/** constant for no exclusive lock */
- protected static final Integer NOT_OWNED = new Integer(0);
+ protected static final Integer NOT_OWNED = Integer.valueOf(0);
/** Keeps hash of current thread for exclusive lock */
protected Integer currentThreadHash = NOT_OWNED;
@@ -1196,7 +1196,7 @@ private boolean beginExclusive() throws OneWireException {
synchronized (currentThreadHash) {
if (currentThreadHash == NOT_OWNED) {
// not owned so take
- currentThreadHash = new Integer(Thread.currentThread().hashCode());
+ currentThreadHash = Integer.valueOf(Thread.currentThread().hashCode());
// provided debug on standard out
if (DEBUG) {
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/TMEXAdapter.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/TMEXAdapter.java
index a991722e92a..e7ae91dbb3b 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/TMEXAdapter.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/TMEXAdapter.java
@@ -241,6 +241,7 @@ public TMEXAdapter(int newPortType) throws ClassNotFoundException {
/**
* Finalize to Cleanup native
*/
+ @Override
protected void finalize() {
cleanup_Native();
}
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/USerialAdapter.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/USerialAdapter.java
index 37f2dd383df..dc714f859c6 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/USerialAdapter.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/adapter/USerialAdapter.java
@@ -255,6 +255,7 @@ public USerialAdapter() {
// -------- Information Methods
// --------
+ @Override
protected void finalize() {
try {
freePort();
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFile.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFile.java
index 19b48462f11..82b8f7e7775 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFile.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFile.java
@@ -1176,6 +1176,7 @@ public int getLocalPage(int page) {
* @exception IOException if an I/O error occurs.
* @see java.io.FileInputStream#close()
*/
+ @Override
protected void finalize() throws IOException {
if (fd != null)
fd.close();
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileDescriptor.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileDescriptor.java
index 6281fdc25de..5875e582a50 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileDescriptor.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileDescriptor.java
@@ -311,7 +311,7 @@ protected void setupFD(OneWireContainer[] owd, String newPath) {
this.rawPath = "";
// check the hash to see if already have a MemoryCache for this device
- address = new Long(owd[0].getAddressAsLong());
+ address = Long.valueOf(owd[0].getAddressAsLong());
cache = (MemoryCache) memoryCacheHash.get(address);
if (cache == null) {
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileInputStream.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileInputStream.java
index b7ff339cfd3..c6c9a83bb74 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileInputStream.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileInputStream.java
@@ -359,6 +359,7 @@ public final OWFileDescriptor getFD() throws IOException {
* @exception IOException if an I/O error occurs.
* @see com.dalsemi.onewire.application.file.OWFileInputStream#close()
*/
+ @Override
public void finalize() throws IOException {
if (fd != null) {
fd.close();
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileOutputStream.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileOutputStream.java
index 61385a67e50..243400c4179 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileOutputStream.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/file/OWFileOutputStream.java
@@ -421,6 +421,7 @@ public OWFileDescriptor getFD() throws IOException {
* @exception IOException if an I/O error occurs.
* @see com.dalsemi.onewire.application.file.OWFileInputStream#close()
*/
+ @Override
public void finalize() throws IOException {
if (fd != null)
fd.close();
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/AbstractDeviceMonitor.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/AbstractDeviceMonitor.java
index 2e75cc1cc84..792fb78f341 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/AbstractDeviceMonitor.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/AbstractDeviceMonitor.java
@@ -481,7 +481,7 @@ public OWPath getDevicePath(String address) {
* @return The OWPath representing the network path to the device.
*/
public OWPath getDevicePath(long address) {
- return getDevicePath(new Long(address));
+ return getDevicePath(Long.valueOf(address));
}
/**
@@ -536,7 +536,7 @@ public static OneWireContainer getDeviceContainer(DSPortAdapter adapter, String
* @return The specific OneWireContainer object of the device
*/
public static OneWireContainer getDeviceContainer(DSPortAdapter adapter, long address) {
- return getDeviceContainer(adapter, new Long(address));
+ return getDeviceContainer(adapter, Long.valueOf(address));
}
/**
@@ -584,7 +584,7 @@ public static void putDeviceContainer(String address, OneWireContainer owc) {
* @param owc The specific OneWireContainer object of the device
*/
public static void putDeviceContainer(long address, OneWireContainer owc) {
- putDeviceContainer(new Long(address), owc);
+ putDeviceContainer(Long.valueOf(address), owc);
}
/**
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/ChainMonitor.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/ChainMonitor.java
index 8a8fe95e3d7..becbc9b2f88 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/ChainMonitor.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/ChainMonitor.java
@@ -258,11 +258,11 @@ public void search(Vector arrivals, Vector departures) throws OneWir
if (chainOn()) {
// loop on sending chain mode "Conditional Read ROM" until method returns false
while (chainConditionalReadRom(chainDeviceAddress)) {
- Long longAddress = new Long(Address.toLong(chainDeviceAddress));
+ Long longAddress = Long.valueOf(Address.toLong(chainDeviceAddress));
if (!deviceAddressHash.containsKey(longAddress) && arrivals != null)
arrivals.addElement(longAddress);
- deviceAddressHash.put(longAddress, new Integer(max_state_count));
+ deviceAddressHash.put(longAddress, Integer.valueOf(max_state_count));
// send chain mode "DONE" sequence
if (!chainDone())
throw new OneWireIOException(
@@ -293,7 +293,7 @@ public void search(Vector arrivals, Vector departures) throws OneWir
}
} else {
// it stays
- deviceAddressHash.put(longAddress, new Integer(cnt - 1));
+ deviceAddressHash.put(longAddress, Integer.valueOf(cnt - 1));
}
}
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/DeviceMonitor.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/DeviceMonitor.java
index 7668e2c5844..9d22c03a683 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/DeviceMonitor.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/DeviceMonitor.java
@@ -127,7 +127,7 @@ public void search(Vector arrivals, Vector departures) throws OneWir
// loop while devices found
while (search_result) {
// get the 1-Wire address
- Long longAddress = new Long(adapter.getAddressAsLong());
+ Long longAddress = Long.valueOf(adapter.getAddressAsLong());
// if requested to do an alarm search, then check device for an alarm condition
// and save in list
if (doAlarmSearch) {
@@ -135,13 +135,13 @@ public void search(Vector arrivals, Vector departures) throws OneWir
if (!deviceAddressHash.containsKey(longAddress) && arrivals != null)
arrivals.addElement(longAddress);
- deviceAddressHash.put(longAddress, new Integer(max_state_count));
+ deviceAddressHash.put(longAddress, Integer.valueOf(max_state_count));
}
} else {
if (!deviceAddressHash.containsKey(longAddress) && arrivals != null)
arrivals.addElement(longAddress);
- deviceAddressHash.put(longAddress, new Integer(max_state_count));
+ deviceAddressHash.put(longAddress, Integer.valueOf(max_state_count));
}
// search for the next device
@@ -167,7 +167,7 @@ public void search(Vector arrivals, Vector departures) throws OneWir
}
} else {
// it stays
- deviceAddressHash.put(longAddress, new Integer(cnt - 1));
+ deviceAddressHash.put(longAddress, Integer.valueOf(cnt - 1));
}
}
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/NetworkDeviceMonitor.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/NetworkDeviceMonitor.java
index d342dfc253b..59bb937c7b9 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/NetworkDeviceMonitor.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/monitor/NetworkDeviceMonitor.java
@@ -195,7 +195,7 @@ public void search(Vector arrivals, Vector departures) throws OneWir
// loop while devices found
while (search_result) {
// get the 1-Wire address
- Long longAddress = new Long(adapter.getAddressAsLong());
+ Long longAddress = Long.valueOf(adapter.getAddressAsLong());
// check if the device already exists in our hashtable
if (!deviceAddressHash.containsKey(longAddress)) {
OneWireContainer owc = getDeviceContainer(adapter, longAddress);
@@ -230,7 +230,7 @@ else if (!path.equals((OWPath) devicePathHash.get(longAddress))) {
}
// update count
- deviceAddressHash.put(longAddress, new Integer(max_state_count));
+ deviceAddressHash.put(longAddress, Integer.valueOf(max_state_count));
// find the next device on this branch
path.open();
@@ -254,7 +254,7 @@ else if (!path.equals((OWPath) devicePathHash.get(longAddress))) {
departures.addElement(longAddress);
} else {
// device entry isn't stale, it stays
- deviceAddressHash.put(longAddress, new Integer(cnt - 1));
+ deviceAddressHash.put(longAddress, Integer.valueOf(cnt - 1));
}
}
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/Switch.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/Switch.java
index b8d48a37d60..e63a1ee8a2e 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/Switch.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/Switch.java
@@ -118,7 +118,7 @@ public void initActuator() throws OneWireException {
int initValue;
int channelValue;
int switchStateIntValue = 0;
- Integer init = new Integer(getInit());
+ Integer init = Integer.parseInt(getInit());
initValue = init.intValue();
channelValue = getChannel();
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/TaggedDevice.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/TaggedDevice.java
index 85111b655a2..4dcf5ed45a0 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/TaggedDevice.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/application/tag/TaggedDevice.java
@@ -89,7 +89,7 @@ public void setLabel(String Label) {
* @param Channel
*/
public void setChannelFromString(String Channel) {
- this.channel = new Integer(Channel);
+ this.channel = Integer.valueOf(Channel);
}
/**
@@ -98,7 +98,7 @@ public void setChannelFromString(String Channel) {
* @param Channel
*/
public void setChannel(int channel) {
- this.channel = new Integer(channel);
+ this.channel = Integer.valueOf(channel);
}
/**
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAD.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAD.java
index 522bd2d1af4..9a558b12739 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAD.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAD.java
@@ -313,22 +313,6 @@ public boolean hasPageAutoCRC() {
return true;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return false;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAppReg.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAppReg.java
index d1cee54cd53..5c670eb1312 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAppReg.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankAppReg.java
@@ -282,8 +282,8 @@ public int getPageLength() {
/**
* Query to get Maximum data page length in bytes for a packet read or written
* in the current memory bank. See the 'ReadPagePacket()' and
- * 'WritePagePacket()' methods. This method is only useful if the current
- * memory bank is general purpose memory.
+ * 'WritePagePacket()' methods. This method is only useful if the current memory
+ * bank is general purpose memory.
*
* @return max packet page length in bytes in current memory bank
*/
@@ -302,22 +302,6 @@ public boolean hasPageAutoCRC() {
return false;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return true;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
@@ -834,24 +818,6 @@ public void redirectPage(int page, int newPage) throws OneWireIOException, OneWi
throw new OneWireException("Page redirection not supported by this memory bank");
}
- /**
- * Query to see if the specified page is redirected. Not supported by all
- * devices. See the method 'canRedirectPage()'.
- *
- * @param page number of page check for redirection
- *
- * @return return the new page number or 0 if not redirected
- *
- * @throws OneWireIOException
- * @throws OneWireException
- *
- * @deprecated As of 1-Wire API 0.01, replaced by
- * {@link #getRedirectedPage(int)}
- */
- public int isPageRedirected(int page) throws OneWireIOException, OneWireException {
- return 0;
- }
-
/**
* Gets the page redirection of the specified page. Not supported by all
* devices.
@@ -878,8 +844,8 @@ public int getRedirectedPage(int page) throws OneWireIOException, OneWireExcepti
}
/**
- * Lock the redirection option for the specified page in the current memory bank.
- * Not supported by all devices. See the method 'canLockRedirectPage()'.
+ * Lock the redirection option for the specified page in the current memory
+ * bank. Not supported by all devices. See the method 'canLockRedirectPage()'.
*
* @param page number of page to redirect
*
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEE.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEE.java
index 0bd43a608f6..fdae0004099 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEE.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEE.java
@@ -277,22 +277,6 @@ public boolean hasPageAutoCRC() {
return false;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return false;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROM.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROM.java
index 943d747e2df..0339f9de9a4 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROM.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROM.java
@@ -403,22 +403,6 @@ public boolean hasPageAutoCRC() {
return pageAutoCRC;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return false;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
@@ -960,24 +944,6 @@ public void redirectPage(int page, int newPage) throws OneWireIOException, OneWi
throw new OneWireException("This memory bank does not support redirection.");
}
- /**
- * Query to see if the specified page is redirected. Not supported by all
- * devices. See the method 'canRedirectPage()'.
- *
- * @param page number of page check for redirection
- *
- * @return return the new page number or 0 if not redirected
- *
- * @throws OneWireIOException
- * @throws OneWireException
- *
- * @deprecated As of 1-Wire API 0.01, replaced by
- * {@link #getRedirectedPage(int)}
- */
- public int isPageRedirected(int page) throws OneWireIOException, OneWireException {
- throw new OneWireException("This memory bank does not support redirection.");
- }
-
/**
* Gets the page redirection of the specified page. Not supported by all
* devices.
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROMblock.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROMblock.java
index e94025ba6e4..d8b3cff3cbb 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROMblock.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEEPROMblock.java
@@ -314,22 +314,6 @@ public boolean hasPageAutoCRC() {
return false;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return false;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
@@ -943,24 +927,6 @@ public void redirectPage(int page, int newPage) throws OneWireIOException, OneWi
throw new OneWireException("This memory bank does not support redirection.");
}
- /**
- * Query to see if the specified page is redirected. Not supported by all
- * devices. See the method 'canRedirectPage()'.
- *
- * @param page number of page check for redirection
- *
- * @return return the new page number or 0 if not redirected
- *
- * @throws OneWireIOException
- * @throws OneWireException
- *
- * @deprecated As of 1-Wire API 0.01, replaced by
- * {@link #getRedirectedPage(int)}
- */
- public int isPageRedirected(int page) throws OneWireIOException, OneWireException {
- throw new OneWireException("This memory bank does not support redirection.");
- }
-
/**
* Gets the page redirection of the specified page. Not supported by all
* devices.
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEPROM.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEPROM.java
index 858a196552f..29e8885d5b7 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEPROM.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankEPROM.java
@@ -477,22 +477,6 @@ public boolean hasPageAutoCRC() {
return pageAutoCRC;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return extraInfo;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
@@ -1086,35 +1070,6 @@ public void redirectPage(int page, int newPage) throws OneWireIOException, OneWi
mbRedirect.write(page + redirectOffset, wr_byte, 0, 1);
}
- /**
- * Query to see if the specified page is redirected. Not supported by all
- * devices. See the method 'canRedirectPage()'.
- *
- * @param page number of page check for redirection
- *
- * @return return the new page number or 0 if not redirected
- *
- * @throws OneWireIOException
- * @throws OneWireException
- *
- * @deprecated As of 1-Wire API 0.01, replaced by
- * {@link #getRedirectedPage(int)}
- */
- public int isPageRedirected(int page) throws OneWireIOException, OneWireException {
-
- // read page that redirect byte is on
- int pg_len = mbRedirect.getPageLength();
- int read_pg = (page + redirectOffset) / pg_len;
-
- // read page with byte
- byte[] read_buf = new byte[pg_len];
-
- mbRedirect.readPageCRC(read_pg, false, read_buf, 0);
-
- // return page
- return ~read_buf[(page + redirectOffset) % pg_len] & 0x000000FF;
- }
-
/**
* Gets the page redirection of the specified page. Not supported by all
* devices.
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankNV.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankNV.java
index d9283d37fb6..c3ce9a2bcf5 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankNV.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankNV.java
@@ -371,21 +371,6 @@ public boolean hasPageAutoCRC() {
return pageAutoCRC;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return extraInfo;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankSHAEE.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankSHAEE.java
index f7707190e09..327c05af97a 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankSHAEE.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankSHAEE.java
@@ -332,22 +332,6 @@ public boolean hasPageAutoCRC() {
return pageCRC;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return extraInfo;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankScratch.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankScratch.java
index 7cb0f62d9ef..c115b5278c5 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankScratch.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/MemoryBankScratch.java
@@ -372,22 +372,6 @@ public boolean hasPageAutoCRC() {
return pageAutoCRC;
}
- /**
- * Query to see if current memory bank pages when read deliver extra information
- * outside of the normal data space. Examples of this may be a redirection byte,
- * counter, tamper protection bytes, or SHA-1 result. If this method returns
- * true then the methods 'ReadPagePacket()' and 'readPageCRC()' with 'extraInfo'
- * parameter can be used.
- *
- * @return 'true' if reading the current memory bank pages provides extra
- * information.
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo() {
- return extraInfo;
- }
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OTPMemoryBank.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OTPMemoryBank.java
index 5a1e165103c..2e625ec3f25 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OTPMemoryBank.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OTPMemoryBank.java
@@ -237,31 +237,6 @@ public interface OTPMemoryBank extends PagedMemoryBank {
*/
public void redirectPage(int page, int newPage) throws OneWireIOException, OneWireException;
- /**
- * Checks to see if the specified page is redirected. Not supported by all
- * devices.
- *
- * @param page page to check for redirection
- *
- * @return the new page number or 0 if not redirected
- *
- * @throws OneWireIOException on a 1-Wire communication error such as no device
- * present or a CRC read from the device is
- * incorrect. This could be caused by a physical
- * interruption in the 1-Wire Network due to shorts
- * or a newly arriving 1-Wire device issuing a
- * 'presence pulse'.
- * @throws OneWireException on a communication or setup error with the 1-Wire
- * adapter.
- *
- * @see #canRedirectPage() canRedirectPage
- * @see #redirectPage(int,int) redirectPage
- *
- * @deprecated As of 1-Wire API 0.01, replaced by
- * {@link #getRedirectedPage(int)}
- */
- public int isPageRedirected(int page) throws OneWireIOException, OneWireException;
-
/**
* Gets the page redirection of the specified page. Not supported by all
* devices.
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer.java
index 147937f10ca..8d1a1d3bfc8 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer.java
@@ -538,7 +538,7 @@ public int hashCode() {
if (this.address == null)
return 0;
else
- return (new Long(Address.toLong(this.address))).hashCode();
+ return (Long.valueOf(Address.toLong(this.address))).hashCode();
}
/**
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer10.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer10.java
index 9dadc8c4670..241c8e869e4 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer10.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer10.java
@@ -634,38 +634,6 @@ public void writeDevice(byte[] state) throws OneWireIOException, OneWireExceptio
copyScratchpad();
}
- /**
- * Converts a temperature reading from Celsius to Fahrenheit.
- *
- * @param celsiusTemperature temperature value in Celsius
- *
- * @return the Fahrenheit conversion of the supplied temperature
- *
- * @deprecated Replace with call to
- * com.dalsemi.onewire.utils.Convert.toFahrenheit()
- *
- * @see com.dalsemi.onewire.utils.Convert#toFahrenheit(double)
- */
- static public double convertToFahrenheit(double celsiusTemperature) {
- return Convert.toFahrenheit(celsiusTemperature);
- }
-
- /**
- * Converts a temperature reading from Fahrenheit to Celsius.
- *
- * @param fahrenheitTemperature temperature value in Fahrenheit
- *
- * @return the Celsius conversion of the supplied temperature
- *
- * @deprecated Replace with call to
- * com.dalsemi.onewire.utils.Convert.toCelsius()
- *
- * @see com.dalsemi.onewire.utils.Convert#toCelsius(double)
- */
- static public double convertToCelsius(double fahrenheitTemperature) {
- return Convert.toCelsius(fahrenheitTemperature);
- }
-
// --------
// -------- Private Methods
// --------
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer28.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer28.java
index d1452cf2cca..343d4077a96 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer28.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer28.java
@@ -33,7 +33,6 @@
import com.dalsemi.onewire.adapter.DSPortAdapter;
import com.dalsemi.onewire.adapter.OneWireIOException;
import com.dalsemi.onewire.utils.CRC8;
-import com.dalsemi.onewire.utils.Convert;
//----------------------------------------------------------------------------
@@ -907,22 +906,4 @@ public boolean isExternalPowerSupplied() throws OneWireIOException, OneWireExcep
return result;
}
-
- // -------------------------------------------------------------------------
-
- /**
- * Converts a temperature reading from Celsius to Fahrenheit.
- *
- * @param celsiusTemperature temperature value in Celsius
- *
- * @return the Fahrenheit conversion of the supplied temperature
- *
- * @deprecated Replace with call to
- * com.dalsemi.onewire.utils.Convert.toFahrenheit()
- *
- * @see com.dalsemi.onewire.utils.Convert#toFahrenheit(double)
- */
- public float convertToFahrenheit(float celsiusTemperature) {
- return (float) Convert.toFahrenheit(celsiusTemperature);
- }
}
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer42.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer42.java
index bcab6a30a52..1c655f065bd 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer42.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/OneWireContainer42.java
@@ -36,7 +36,6 @@
import com.dalsemi.onewire.adapter.DSPortAdapter;
import com.dalsemi.onewire.adapter.OneWireIOException;
import com.dalsemi.onewire.utils.CRC8;
-import com.dalsemi.onewire.utils.Convert;
//----------------------------------------------------------------------------
@@ -307,7 +306,8 @@ public String getDescription() {
+ "'sequence detect' and 2 PIO channels. It measures "
+ "temperature from -40 C to +85 C in 0.75 seconds (max). "
+ "Its accuracy is +/-0.5 C between -10 C and 85 C and "
- + "+/-2 C accuracy from -40 C to +85 C. Thermometer " + "resolution is programmable at 9, 10, 11, and 12 "
+ + "+/-2 C accuracy from -40 C to +85 C. Thermometer "
+ + "resolution is programmable at 9, 10, 11, and 12 "
+ "bits. PIO channels can be used as generic channels "
+ "or used in 'Chain' mode to detect the physical " + "sequence of devices in a 1-Wire network.";
}
@@ -1034,22 +1034,6 @@ public boolean isExternalPowerSupplied() throws OneWireIOException, OneWireExcep
return result;
}
- /**
- * Converts a temperature reading from Celsius to Fahrenheit.
- *
- * @param celsiusTemperature temperature value in Celsius
- *
- * @return the Fahrenheit conversion of the supplied temperature
- *
- * @deprecated Replace with call to
- * com.dalsemi.onewire.utils.Convert.toFahrenheit()
- *
- * @see com.dalsemi.onewire.utils.Convert#toFahrenheit(double)
- */
- public float convertToFahrenheit(float celsiusTemperature) {
- return (float) Convert.toFahrenheit(celsiusTemperature);
- }
-
// --------
// -------- Switch Feature methods
// --------
diff --git a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/PagedMemoryBank.java b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/PagedMemoryBank.java
index 50d881b1991..9600d7e8dfd 100644
--- a/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/PagedMemoryBank.java
+++ b/io.openems.edge.bridge.onewire/src/com/dalsemi/onewire/container/PagedMemoryBank.java
@@ -208,26 +208,6 @@ public interface PagedMemoryBank extends MemoryBank {
*/
public boolean hasPageAutoCRC();
- /**
- * Checks to see if this memory bank's pages deliver extra information outside
- * of the normal data space, when read. Examples of this may be a redirection
- * byte, counter, tamper protection bytes, or SHA-1 result. If this method
- * returns true then the methods with an 'extraInfo' parameter can be used:
- * {@link #readPage(int,boolean,byte[],int,byte[]) readPage},
- * {@link #readPageCRC(int,boolean,byte[],int,byte[]) readPageCRC}, and
- * {@link #readPagePacket(int,boolean,byte[],int,byte[]) readPagePacket}.
- *
- * @return true
if reading the this memory bank's pages provides
- * extra information
- *
- * @see #readPage(int,boolean,byte[],int,byte[]) readPage(extra)
- * @see #readPageCRC(int,boolean,byte[],int,byte[]) readPageCRC(extra)
- * @see #readPagePacket(int,boolean,byte[],int,byte[]) readPagePacket(extra)
- *
- * @deprecated As of 1-Wire API 0.01, replaced by {@link #hasExtraInfo()}
- */
- public boolean haveExtraInfo();
-
/**
* Checks to see if this memory bank's pages deliver extra information outside
* of the normal data space, when read. Examples of this may be a redirection
diff --git a/io.openems.edge.common/.classpath b/io.openems.edge.common/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.common/.classpath
+++ b/io.openems.edge.common/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.common/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.common/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index d018959cefc..00000000000
--- a/io.openems.edge.common/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/common/channel/internal/package-info.java=UTF-8
-encoding//src/io/openems/edge/common/component/package-info.java=UTF-8
-encoding//src/io/openems/edge/common/cycle/package-info.java=UTF-8
-encoding//src/io/openems/edge/common/event/package-info.java=UTF-8
-encoding//test/.gitignore=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.common/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.common/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.common/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.api.backend/.classpath b/io.openems.edge.controller.api.backend/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.backend/.classpath
+++ b/io.openems.edge.controller.api.backend/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.backend/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.api.backend/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 4a49b24c9bd..00000000000
--- a/io.openems.edge.controller.api.backend/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/api/backend/BackendApi.java=UTF-8
-encoding//src/io/openems/edge/controller/api/backend/BackendApiImpl.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.api.backend/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.api.backend/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.api.backend/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.api.common/.classpath b/io.openems.edge.controller.api.common/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.common/.classpath
+++ b/io.openems.edge.controller.api.common/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.modbus/.classpath b/io.openems.edge.controller.api.modbus/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.modbus/.classpath
+++ b/io.openems.edge.controller.api.modbus/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.mqtt/.classpath b/io.openems.edge.controller.api.mqtt/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.mqtt/.classpath
+++ b/io.openems.edge.controller.api.mqtt/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.rest/.classpath b/io.openems.edge.controller.api.rest/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.rest/.classpath
+++ b/io.openems.edge.controller.api.rest/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.websocket/.classpath b/io.openems.edge.controller.api.websocket/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api.websocket/.classpath
+++ b/io.openems.edge.controller.api.websocket/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api.websocket/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.api.websocket/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 2ca4cabd79c..00000000000
--- a/io.openems.edge.controller.api.websocket/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/api/websocket/WebsocketApi.java=UTF-8
-encoding//test/io/openems/edge/controller/api/websocket/ProviderImplTest.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.api.websocket/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.api.websocket/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.api.websocket/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.api/.classpath b/io.openems.edge.controller.api/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.api/.classpath
+++ b/io.openems.edge.controller.api/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.api/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.api/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 1eb61734292..00000000000
--- a/io.openems.edge.controller.api/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/api/Controller.java=UTF-8
-encoding//src/io/openems/edge/controller/api/package-info.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.api/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.api/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.api/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.asymmetric.balancingcosphi/.classpath b/io.openems.edge.controller.asymmetric.balancingcosphi/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.asymmetric.balancingcosphi/.classpath
+++ b/io.openems.edge.controller.asymmetric.balancingcosphi/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.asymmetric.fixactivepower/.classpath b/io.openems.edge.controller.asymmetric.fixactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.asymmetric.fixactivepower/.classpath
+++ b/io.openems.edge.controller.asymmetric.fixactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.asymmetric.fixreactivepower/.classpath b/io.openems.edge.controller.asymmetric.fixreactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.asymmetric.fixreactivepower/.classpath
+++ b/io.openems.edge.controller.asymmetric.fixreactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.asymmetric.peakshaving/.classpath b/io.openems.edge.controller.asymmetric.peakshaving/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.asymmetric.peakshaving/.classpath
+++ b/io.openems.edge.controller.asymmetric.peakshaving/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.asymmetric.phaserectification/.classpath b/io.openems.edge.controller.asymmetric.phaserectification/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.asymmetric.phaserectification/.classpath
+++ b/io.openems.edge.controller.asymmetric.phaserectification/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.channelthreshold/.classpath b/io.openems.edge.controller.channelthreshold/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.channelthreshold/.classpath
+++ b/io.openems.edge.controller.channelthreshold/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 217ac0118a1..00000000000
--- a/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/channelthreshold/ChannelThreshold.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.channelthreshold/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.chp.soc/.classpath b/io.openems.edge.controller.chp.soc/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.chp.soc/.classpath
+++ b/io.openems.edge.controller.chp.soc/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.debug.detailedlog/.classpath b/io.openems.edge.controller.debug.detailedlog/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.debug.detailedlog/.classpath
+++ b/io.openems.edge.controller.debug.detailedlog/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 62259928805..00000000000
--- a/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/debug/detailedlog/DebugDetailedLog.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.debug.detailedlog/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.debug.log/.classpath b/io.openems.edge.controller.debug.log/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.debug.log/.classpath
+++ b/io.openems.edge.controller.debug.log/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.debug.log/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.debug.log/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 9e82dd2bd2c..00000000000
--- a/io.openems.edge.controller.debug.log/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/debuglog/DebugLog.java=UTF-8
-encoding//src/io/openems/edge/controller/debuglog/DebugLogImpl.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.debug.log/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.debug.log/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.debug.log/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.ess.acisland/.classpath b/io.openems.edge.controller.ess.acisland/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.acisland/.classpath
+++ b/io.openems.edge.controller.ess.acisland/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.activepowervoltagecharacteristic/.classpath b/io.openems.edge.controller.ess.activepowervoltagecharacteristic/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.activepowervoltagecharacteristic/.classpath
+++ b/io.openems.edge.controller.ess.activepowervoltagecharacteristic/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.cycle/.classpath b/io.openems.edge.controller.ess.cycle/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.cycle/.classpath
+++ b/io.openems.edge.controller.ess.cycle/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.cycle/src/io/openems/edge/controller/ess/cycle/statemachine/FinalSocHandler.java b/io.openems.edge.controller.ess.cycle/src/io/openems/edge/controller/ess/cycle/statemachine/FinalSocHandler.java
index 153258c0b74..e1b2a5be5f1 100644
--- a/io.openems.edge.controller.ess.cycle/src/io/openems/edge/controller/ess/cycle/statemachine/FinalSocHandler.java
+++ b/io.openems.edge.controller.ess.cycle/src/io/openems/edge/controller/ess/cycle/statemachine/FinalSocHandler.java
@@ -27,7 +27,7 @@ public State runAndGetNextState(Context context) throws IllegalArgumentException
} else {
int power = Math.max(context.maxChargePower, context.config.power() * -1);
context.logInfo(this.log, "CHARGE with [" + power + " W]");
- context.ess.setActivePowerGreaterOrEquals(power);
+ context.ess.setActivePowerLessOrEquals(power);
}
return State.FINAL_SOC;
}
diff --git a/io.openems.edge.controller.ess.delaycharge/.classpath b/io.openems.edge.controller.ess.delaycharge/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.delaycharge/.classpath
+++ b/io.openems.edge.controller.ess.delaycharge/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.delayedselltogrid/.classpath b/io.openems.edge.controller.ess.delayedselltogrid/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.delayedselltogrid/.classpath
+++ b/io.openems.edge.controller.ess.delayedselltogrid/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.emergencycapacityreserve/.classpath b/io.openems.edge.controller.ess.emergencycapacityreserve/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.emergencycapacityreserve/.classpath
+++ b/io.openems.edge.controller.ess.emergencycapacityreserve/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.fixactivepower/.classpath b/io.openems.edge.controller.ess.fixactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.fixactivepower/.classpath
+++ b/io.openems.edge.controller.ess.fixactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index e5895520639..00000000000
--- a/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/ess/fixactivepower/EssFixActivePower.java=UTF-8
-encoding//src/io/openems/edge/controller/ess/fixactivepower/EssFixActivePowerImpl.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.ess.fixactivepower/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.ess.gridoptimizedcharge/.classpath b/io.openems.edge.controller.ess.gridoptimizedcharge/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.gridoptimizedcharge/.classpath
+++ b/io.openems.edge.controller.ess.gridoptimizedcharge/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.hybrid.surplusfeedtogrid/.classpath b/io.openems.edge.controller.ess.hybrid.surplusfeedtogrid/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.hybrid.surplusfeedtogrid/.classpath
+++ b/io.openems.edge.controller.ess.hybrid.surplusfeedtogrid/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.limittotaldischarge/.classpath b/io.openems.edge.controller.ess.limittotaldischarge/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.limittotaldischarge/.classpath
+++ b/io.openems.edge.controller.ess.limittotaldischarge/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.linearpowerband/.classpath b/io.openems.edge.controller.ess.linearpowerband/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.linearpowerband/.classpath
+++ b/io.openems.edge.controller.ess.linearpowerband/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.mindischargeperiod/.classpath b/io.openems.edge.controller.ess.mindischargeperiod/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.mindischargeperiod/.classpath
+++ b/io.openems.edge.controller.ess.mindischargeperiod/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.reactivepowervoltagecharacteristic/.classpath b/io.openems.edge.controller.ess.reactivepowervoltagecharacteristic/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.reactivepowervoltagecharacteristic/.classpath
+++ b/io.openems.edge.controller.ess.reactivepowervoltagecharacteristic/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.selltogridlimit/.classpath b/io.openems.edge.controller.ess.selltogridlimit/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.selltogridlimit/.classpath
+++ b/io.openems.edge.controller.ess.selltogridlimit/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.standby/.classpath b/io.openems.edge.controller.ess.standby/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.standby/.classpath
+++ b/io.openems.edge.controller.ess.standby/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.timeofusetariff.discharge/.classpath b/io.openems.edge.controller.ess.timeofusetariff.discharge/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.ess.timeofusetariff.discharge/.classpath
+++ b/io.openems.edge.controller.ess.timeofusetariff.discharge/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.ess.timeofusetariff.discharge/bnd.bnd b/io.openems.edge.controller.ess.timeofusetariff.discharge/bnd.bnd
index 59ec0393dbd..00ade3638af 100644
--- a/io.openems.edge.controller.ess.timeofusetariff.discharge/bnd.bnd
+++ b/io.openems.edge.controller.ess.timeofusetariff.discharge/bnd.bnd
@@ -14,7 +14,6 @@ Bundle-Version: 1.0.0.${tstamp}
io.openems.edge.predictor.api,\
io.openems.edge.timedata.api,\
io.openems.edge.timeofusetariff.api,\
- io.openems.wrapper.okhttp,\
-testpath: \
${testpath}
\ No newline at end of file
diff --git a/io.openems.edge.controller.evcs.fixactivepower/.classpath b/io.openems.edge.controller.evcs.fixactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.evcs.fixactivepower/.classpath
+++ b/io.openems.edge.controller.evcs.fixactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.evcs/.classpath b/io.openems.edge.controller.evcs/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.evcs/.classpath
+++ b/io.openems.edge.controller.evcs/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.generic.jsonlogic/.classpath b/io.openems.edge.controller.generic.jsonlogic/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.generic.jsonlogic/.classpath
+++ b/io.openems.edge.controller.generic.jsonlogic/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.highloadtimeslot/.classpath b/io.openems.edge.controller.highloadtimeslot/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.highloadtimeslot/.classpath
+++ b/io.openems.edge.controller.highloadtimeslot/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.io.alarm/.classpath b/io.openems.edge.controller.io.alarm/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.io.alarm/.classpath
+++ b/io.openems.edge.controller.io.alarm/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.io.channelsinglethreshold/.classpath b/io.openems.edge.controller.io.channelsinglethreshold/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.io.channelsinglethreshold/.classpath
+++ b/io.openems.edge.controller.io.channelsinglethreshold/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.io.fixdigitaloutput/.classpath b/io.openems.edge.controller.io.fixdigitaloutput/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.io.fixdigitaloutput/.classpath
+++ b/io.openems.edge.controller.io.fixdigitaloutput/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.io.heatingelement/.classpath b/io.openems.edge.controller.io.heatingelement/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.io.heatingelement/.classpath
+++ b/io.openems.edge.controller.io.heatingelement/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.io.heatpump.sgready/.classpath b/io.openems.edge.controller.io.heatpump.sgready/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.io.heatpump.sgready/.classpath
+++ b/io.openems.edge.controller.io.heatpump.sgready/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.pvinverter.fixpowerlimit/.classpath b/io.openems.edge.controller.pvinverter.fixpowerlimit/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.pvinverter.fixpowerlimit/.classpath
+++ b/io.openems.edge.controller.pvinverter.fixpowerlimit/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.pvinverter.selltogridlimit/.classpath b/io.openems.edge.controller.pvinverter.selltogridlimit/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.pvinverter.selltogridlimit/.classpath
+++ b/io.openems.edge.controller.pvinverter.selltogridlimit/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.balancing/.classpath b/io.openems.edge.controller.symmetric.balancing/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.balancing/.classpath
+++ b/io.openems.edge.controller.symmetric.balancing/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.core.resources.prefs b/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index a153d60c609..00000000000
--- a/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-encoding//src/io/openems/edge/controller/symmetric/balancing/Balancing.java=UTF-8
-encoding/bnd.bnd=UTF-8
diff --git a/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.jdt.core.prefs b/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3a21537071b..00000000000
--- a/io.openems.edge.controller.symmetric.balancing/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,11 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/io.openems.edge.controller.symmetric.balancingschedule/.classpath b/io.openems.edge.controller.symmetric.balancingschedule/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.balancingschedule/.classpath
+++ b/io.openems.edge.controller.symmetric.balancingschedule/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.fixreactivepower/.classpath b/io.openems.edge.controller.symmetric.fixreactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.fixreactivepower/.classpath
+++ b/io.openems.edge.controller.symmetric.fixreactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.limitactivepower/.classpath b/io.openems.edge.controller.symmetric.limitactivepower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.limitactivepower/.classpath
+++ b/io.openems.edge.controller.symmetric.limitactivepower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.peakshaving/.classpath b/io.openems.edge.controller.symmetric.peakshaving/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.peakshaving/.classpath
+++ b/io.openems.edge.controller.symmetric.peakshaving/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.randompower/.classpath b/io.openems.edge.controller.symmetric.randompower/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.randompower/.classpath
+++ b/io.openems.edge.controller.symmetric.randompower/.classpath
@@ -1,7 +1,7 @@
-
+
diff --git a/io.openems.edge.controller.symmetric.timeslotpeakshaving/.classpath b/io.openems.edge.controller.symmetric.timeslotpeakshaving/.classpath
index 7a6fc254361..43d68895d03 100644
--- a/io.openems.edge.controller.symmetric.timeslotpeakshaving/.classpath
+++ b/io.openems.edge.controller.symmetric.timeslotpeakshaving/.classpath
@@ -1,7 +1,7 @@
-
+