-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- GoodWe Grid-Meter: add support for "Commercial Meter - Sum: improvements to max-ever-values - Calculate min/max ever ESS discharge power (will eventually replace MaxApparentPower in UI Live) - add EssMinDischargePower and EssMaxDischargePower channels to _sum - calculate _sum/EssDischargePower also from non-hybrid ESS - improve parsing of _sum config: parse String values to int - Prediction: fix possible NoSuchElementException if all predictions are empty - AppCenter: App for EZA-Regler - Implement generic LinuxFs GPIO (for Modberry) - CI: Update scripts - AppCenter: Home 20 & 30 added modbus for external meters - AppCenter: ToU only compatibility with Home 10, 20 or 30 _(this shows compatibility restrictions in AppCenter; for proprietary distributions of OpenEMS change this accordingly)_ - Implement system SOFT/HARD restart (Edge JsonRPC) - Add JSON-RPC handler for system restart (`ExecuteSystemRestart`) - HARD: reboot system - SOFT: restart OpenEMS service - Extract handling of system commands to common `SystemRecord` record - UI: change "Installateurszugang anlegen" to "Account anlegen" - UI: Refactoring of translations - AppCenter: fix AlpitronicEvcs wrong scheduler factory id - GoodWe 20 & 30: handle Voltage & Current for DSP version - UI: chartjs-migration - UI: Fix Time-of-use bugs - AppCenter: refactor pvInverter apps to use "new" props - Refactored PV-Inverter Apps to use "new" Props - Added selection of Phase to SolarEdge App - Changed description text of tibber token - RRD4j/Backend-Api: avoid exception during deactivate - Fix bug in ControllerApiBackend or TimedataRrd4jImpl which required a restart. - Fixes #2545 --------- Co-authored-by: Michael Grill <[email protected]> Co-authored-by: Sebastian Asen <[email protected]> Co-authored-by: Lorant Meszlenyi <[email protected]> Co-authored-by: Hueseyin Sahutoglu <[email protected]> Co-authored-by: Stefan Feilmeier <[email protected]> Co-authored-by: Kai Jeschek <[email protected]> Co-authored-by: Lukas Rieger <[email protected]> Co-authored-by: Sagar Venu <[email protected]>
- Loading branch information
1 parent
eb5fdaf
commit 5dcf38b
Showing
192 changed files
with
15,347 additions
and
4,056 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...i.backend/src/io/openems/edge/controller/api/backend/ResendHistoricDataWorkerFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package io.openems.edge.controller.api.backend; | ||
|
||
import org.osgi.service.component.ComponentServiceObjects; | ||
import org.osgi.service.component.annotations.Component; | ||
import org.osgi.service.component.annotations.Reference; | ||
|
||
@Component(service = ResendHistoricDataWorkerFactory.class) | ||
public class ResendHistoricDataWorkerFactory { | ||
|
||
@Reference | ||
private ComponentServiceObjects<ResendHistoricDataWorker> cso; | ||
|
||
/** | ||
* Returns a new {@link ResendHistoricDataWorker} service object. | ||
* | ||
* @return the created {@link ResendHistoricDataWorker} object | ||
* @see #unget(ResendHistoricDataWorker) | ||
*/ | ||
public ResendHistoricDataWorker get() { | ||
return this.cso.getService(); | ||
} | ||
|
||
/** | ||
* Releases the {@link ResendHistoricDataWorker} service object. | ||
* | ||
* @param service a {@link ResendHistoricDataWorker} provided by this factory | ||
* @see #get() | ||
*/ | ||
public void unget(ResendHistoricDataWorker service) { | ||
if (service == null) { | ||
return; | ||
} | ||
this.cso.ungetService(service); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...end/test/io/openems/edge/controller/api/backend/DummyResendHistoricDataWorkerFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package io.openems.edge.controller.api.backend; | ||
|
||
import java.lang.reflect.InvocationTargetException; | ||
|
||
import org.osgi.framework.ServiceReference; | ||
import org.osgi.service.component.ComponentServiceObjects; | ||
|
||
import io.openems.common.utils.ReflectionUtils; | ||
|
||
public class DummyResendHistoricDataWorkerFactory extends ResendHistoricDataWorkerFactory { | ||
|
||
public DummyResendHistoricDataWorkerFactory() | ||
throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { | ||
super(); | ||
ReflectionUtils.setAttribute(ResendHistoricDataWorkerFactory.class, this, "cso", | ||
new DummyResendHistoricDataWorkerCso()); | ||
} | ||
|
||
private static class DummyResendHistoricDataWorkerCso implements ComponentServiceObjects<ResendHistoricDataWorker> { | ||
|
||
@Override | ||
public ResendHistoricDataWorker getService() { | ||
return new ResendHistoricDataWorker(); | ||
} | ||
|
||
@Override | ||
public void ungetService(ResendHistoricDataWorker service) { | ||
// empty for tests | ||
} | ||
|
||
@Override | ||
public ServiceReference<ResendHistoricDataWorker> getServiceReference() { | ||
// empty for tests | ||
return null; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.