-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Edge - JsonUtils: Update switch cases with pattern matching - HttpBridge: add detailed Logger - Moved DebugMode to Common - Added DebugMode to BridgeHttp - Added parameter of type DebugMode to NetworkEndpointFetcher - Added Detailed log of result in fetchEndpoint if DebugMode is DETAILED - Set DebugMode to DETAILED in HardyBarthEvcsImpl if debug is true in config - Sum + ESS: update Modbus table descriptions - Adds and changes descriptions of the modbus tables - KEBA: fix issue with SessionEnergy - Add KEBA specific R2State-enum (for "Report 2") - KEBA: drop CHARGING_REJECTED - SessionEnergy is set to 0 on UNPLUGGED event - Modbus-Api-Controller: add RTU and unify controllers to abstract superclass - Implementation of ModbusRTU - Refactoring of ModbusTCP to avoid redundant classes - Implementation of ModbusRTU App - Added "Download Protocol" button for ModbusRtu - AppCenter Home: NA-Protection changed text - changed na-protection text - IO Weidmüller: Added UR20_16DI_P module - Symmetric Battery Inverter: add cabinet temperature channel - Added a "TEMPERATURE_CABINET" channel in the Battery inverter interface. - HardyBarth: temporary fix for `null` responses - This fixes an issue with interrupted charging sessions due to `null` values. - added check for null values in HardyBarthReadUtils - The first 3 null values are ignored and no values are written in these cycles - Afterwards null values are written in channels as usual - AppCenter: add estimated configuration endpoint for IBN - Added endpoint to retrieve estimated installation configuration - AppCenter: Meta App + Update Component via apps - Added core app for meta component - Added Logic for updating component config via their apps - EmergencyReserveFromGrid: start charging without delay from ramp - Added check with previous state that ignores ramp for 1 cycle - UI - Prepare Login Improvements - Added template to override the default formly behaviour bugs - fix styling of `negative-values` and `positive-values` info
- Loading branch information
1 parent
76d76f5
commit 79650cb
Showing
116 changed files
with
4,637 additions
and
989 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
2 changes: 1 addition & 1 deletion
2
...nems/backend/metadata/odoo/DebugMode.java → ...rc/io/openems/common/types/DebugMode.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.openems.backend.metadata.odoo; | ||
package io.openems.common.types; | ||
|
||
public enum DebugMode { | ||
|
||
|
232 changes: 77 additions & 155 deletions
232
io.openems.common/src/io/openems/common/utils/JsonUtils.java
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
io.openems.common/src/io/openems/common/utils/StreamUtils.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,25 @@ | ||
package io.openems.common.utils; | ||
|
||
import java.util.Collections; | ||
import java.util.Dictionary; | ||
import java.util.Enumeration; | ||
import java.util.Map; | ||
import java.util.Map.Entry; | ||
import java.util.stream.Stream; | ||
|
||
public class StreamUtils { | ||
|
||
/** | ||
* Converts a Dictionary to a Stream of Map entries. | ||
* | ||
* @param dictionary the Dictionary to be converted | ||
* @param <K> the type of keys in the Dictionary | ||
* @param <V> the type of values in the Dictionary | ||
* @return a Stream containing all the key-value pairs from the Dictionary as | ||
* Map entries | ||
*/ | ||
public static <K, V> Stream<Entry<K, V>> dictionaryToStream(Dictionary<K, V> dictionary) { | ||
Enumeration<K> keys = dictionary.keys(); | ||
return Collections.list(keys).stream().map(key -> Map.entry(key, dictionary.get(key))); | ||
} | ||
} |
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
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.