From b2010093aab8e320182d8a256e8478f7187ae646 Mon Sep 17 00:00:00 2001 From: luz paz Date: Wed, 16 Feb 2022 10:20:41 -0500 Subject: [PATCH] Fix various typos Found via `codespell -q 3 -S ./.git,*.po,*.pot,*.ts -L addess,afe,ba,corrently,datas,plattform,pres` --- doc/modules/ROOT/pages/gettingstarted.adoc | 4 ++-- .../edge/batteryinverter/sinexcel/Sinexcel.java | 2 +- .../edge/core/appmanager/AbstractOpenemsApp.java | 2 +- .../io/openems/edge/ess/offgrid/api/OffGridEss.java | 2 +- .../statemachine/StartedInOffGridHandler.java | 2 +- .../edge/ess/mr/gridcon/state/ongrid/OnGrid.java | 2 +- .../edge/ess/mr/gridcon/state/ongrid/Undefined.java | 2 +- .../openems/edge/goodwe/common/AbstractGoodWe.java | 12 ++++++------ .../src/io/openems/edge/goodwe/common/GoodWe.java | 4 ++-- .../doc/MODBUS tables of Countis_E34_E44.html | 2 +- .../readme.adoc | 2 +- .../similardaymodel/SimilarDayPredictorImpl.java | 2 +- io.openems.wrapper/aXMLRPC.bnd | 2 +- .../app/edge/settings/profile/profile.component.html | 2 +- ui/src/global.scss | 2 +- 15 files changed, 22 insertions(+), 22 deletions(-) diff --git a/doc/modules/ROOT/pages/gettingstarted.adoc b/doc/modules/ROOT/pages/gettingstarted.adoc index 97c41be50ad..f2c4dba37dc 100644 --- a/doc/modules/ROOT/pages/gettingstarted.adoc +++ b/doc/modules/ROOT/pages/gettingstarted.adoc @@ -203,7 +203,7 @@ INFO [onent.AbstractOpenemsComponent] [ctrlApiWebsocket0] Activate Controller.A INFO [socket.AbstractWebsocketServer] Starting [Websocket Api] websocket server [port=8085] ``` + -NOTE: The Controller Api Websocket is required so that OpenEMS UI can connecto to OpenEMS Edge locally. +NOTE: The Controller Api Websocket is required so that OpenEMS UI can connect to OpenEMS Edge locally. == Setup Visual Studio Code for OpenEMS UI @@ -361,7 +361,7 @@ NOTE: OpenEMS UI can work both for local connections to OpenEMS Edge as well as . You should see OpenEMS UI Login. Log in with any email / username and password. + -NOTE: _**Metadata.Dummy**_ accepts any user/password combination. For production use, switch to a differen *Metadata* implementation as described above. +NOTE: _**Metadata.Dummy**_ accepts any user/password combination. For production use, switch to a different *Metadata* implementation as described above. + .UI via Backend image::ui-via-backend.png[UI via Backend] diff --git a/io.openems.edge.batteryinverter.sinexcel/src/io/openems/edge/batteryinverter/sinexcel/Sinexcel.java b/io.openems.edge.batteryinverter.sinexcel/src/io/openems/edge/batteryinverter/sinexcel/Sinexcel.java index 342d0250284..110534a63be 100644 --- a/io.openems.edge.batteryinverter.sinexcel/src/io/openems/edge/batteryinverter/sinexcel/Sinexcel.java +++ b/io.openems.edge.batteryinverter.sinexcel/src/io/openems/edge/batteryinverter/sinexcel/Sinexcel.java @@ -365,7 +365,7 @@ public enum ChannelId implements io.openems.edge.common.channel.ChannelId { COS_PHI(Doc.of(OpenemsType.FLOAT) // .accessMode(AccessMode.READ_ONLY)), // - // TODO delete later, just for info whats inside ;) + // TODO delete later, just for info what's inside ;) REACTIVE_ENERGY(Doc.of(OpenemsType.LONG) // .accessMode(AccessMode.READ_ONLY)), // diff --git a/io.openems.edge.core/src/io/openems/edge/core/appmanager/AbstractOpenemsApp.java b/io.openems.edge.core/src/io/openems/edge/core/appmanager/AbstractOpenemsApp.java index 25149951b58..20c1ffbc541 100644 --- a/io.openems.edge.core/src/io/openems/edge/core/appmanager/AbstractOpenemsApp.java +++ b/io.openems.edge.core/src/io/openems/edge/core/appmanager/AbstractOpenemsApp.java @@ -182,7 +182,7 @@ private EnumMap convertToEnumMap(ArrayList errors result.put(key, entry.getValue()); } if (!unknownProperties.isEmpty()) { - errors.add("Unknown Configuration Propert" // + errors.add("Unknown Configuration Property" // + (unknownProperties.size() > 1 ? "ies" : "y") + ":" // + unknownProperties.stream().collect(Collectors.joining(","))); } diff --git a/io.openems.edge.ess.api/src/io/openems/edge/ess/offgrid/api/OffGridEss.java b/io.openems.edge.ess.api/src/io/openems/edge/ess/offgrid/api/OffGridEss.java index 77e02843cad..ab5d4ad21cb 100644 --- a/io.openems.edge.ess.api/src/io/openems/edge/ess/offgrid/api/OffGridEss.java +++ b/io.openems.edge.ess.api/src/io/openems/edge/ess/offgrid/api/OffGridEss.java @@ -3,7 +3,7 @@ import io.openems.edge.ess.api.ManagedSymmetricEss; /** - * Represents a Energy Storage System with Off-Grid capabilites. + * Represents a Energy Storage System with Off-Grid capabilities. */ public interface OffGridEss extends ManagedSymmetricEss { diff --git a/io.openems.edge.ess.generic/src/io/openems/edge/ess/generic/offgrid/statemachine/StartedInOffGridHandler.java b/io.openems.edge.ess.generic/src/io/openems/edge/ess/generic/offgrid/statemachine/StartedInOffGridHandler.java index 136867f53ba..4f3a7d7927a 100644 --- a/io.openems.edge.ess.generic/src/io/openems/edge/ess/generic/offgrid/statemachine/StartedInOffGridHandler.java +++ b/io.openems.edge.ess.generic/src/io/openems/edge/ess/generic/offgrid/statemachine/StartedInOffGridHandler.java @@ -62,7 +62,7 @@ public OffGridState runAndGetNextState(Context context) throws OpenemsNamedExcep this.isLastChangeChecked = false; } - // Allowed discharge reduces to 0, becuase target gridmode changes the inverter + // Allowed discharge reduces to 0, because target gridmode changes the inverter // from RUNNING to GO_RUNNING state if (ess.getAllowedDischargePower().orElse(0) == 0 && ess.getGridMode() == GridMode.OFF_GRID && ess.getSoc().get() < 5) { diff --git a/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/OnGrid.java b/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/OnGrid.java index 445e4a6cd6c..77171169dce 100644 --- a/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/OnGrid.java +++ b/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/OnGrid.java @@ -14,7 +14,7 @@ public IState getState() { @Override public IState getNextState() { - return OnGridState.ONGRID; // Currently it is ot defined, so it is always ongrid + return OnGridState.ONGRID; // Currently it is not defined, so it is always ongrid } @Override diff --git a/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/Undefined.java b/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/Undefined.java index b43b3b51cc0..363c3eacf1d 100644 --- a/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/Undefined.java +++ b/io.openems.edge.ess.mr.gridcon/src/io/openems/edge/ess/mr/gridcon/state/ongrid/Undefined.java @@ -13,7 +13,7 @@ public IState getState() { @Override public IState getNextState() { - return OnGridState.ONGRID; // Currently it is ot defined, so it is always ongrid + return OnGridState.ONGRID; // Currently it is not defined, so it is always ongrid } @Override diff --git a/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/AbstractGoodWe.java b/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/AbstractGoodWe.java index 5def56a1a2e..a575e281b9a 100644 --- a/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/AbstractGoodWe.java +++ b/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/AbstractGoodWe.java @@ -931,7 +931,7 @@ protected final ModbusProtocol defineModbusProtocol() throws OpenemsException { // default 100 kilo Ohm, to read or set Isolation protection threshold for the // inverter m(GoodWe.ChannelId.ISO_LIMIT, new UnsignedWordElement(45245)), // - // as default is deactivated, set "1" to activate LVRT functtion, Set "2" to + // as default is deactivated, set "1" to activate LVRT function, Set "2" to // activate HVRT, The same as 45499 m(GoodWe.ChannelId.LVRT_HVRT, new UnsignedWordElement(45246))), // new FC16WriteRegistersTask(45250, // @@ -939,12 +939,12 @@ protected final ModbusProtocol defineModbusProtocol() throws OpenemsException { // user manual m(GoodWe.ChannelId.PV_START_VOLTAGE, new UnsignedWordElement(45250), ElementToChannelConverter.SCALE_FACTOR_MINUS_1), // - // as default is deactivated, set "1" to activate "Shadow Scan" functtion + // as default is deactivated, set "1" to activate "Shadow Scan" function m(GoodWe.ChannelId.MPPT_FOR_SHADOW_ENABLE, new UnsignedWordElement(45251)), // - // as default is deactivated, set "1" to activate "Shadow Scan" functtion + // as default is deactivated, set "1" to activate "Shadow Scan" function m(GoodWe.ChannelId.BACK_UP_ENABLE, new UnsignedWordElement(45252)), // // Off-Grid Auto startup, as default is deactivated, set "1" to activate "Shadow - // Scan" functtion + // Scan" function m(GoodWe.ChannelId.AUTO_START_BACKUP, new UnsignedWordElement(45253)), // // As default is "0" m(GoodWe.ChannelId.GRID_WAVE_CHECK_LEVEL, new UnsignedWordElement(45254)), // @@ -1762,7 +1762,7 @@ private void handleDspVersion6(ModbusProtocol protocol) throws OpenemsException new DummyRegisterElement(47001), // m(GoodWe.ChannelId.WMETER_CONNECT_CHECK_FLAG, new UnsignedWordElement(47002)), // new DummyRegisterElement(47003, 47004), // - // Breakpoint Resume for Data transfering. Activated as default, time + // Breakpoint Resume for Data transferring. Activated as default, time // interval 5 // minutes m(GoodWe.ChannelId.LOG_DATA_ENABLE, new UnsignedWordElement(47005)), // @@ -1778,7 +1778,7 @@ private void handleDspVersion6(ModbusProtocol protocol) throws OpenemsException // 1: off, 2: on, 3: flash 1x, 4: flash 2x, 5: flash 4x m(GoodWe.ChannelId.WIFI_LED_STATE, new UnsignedWordElement(47013)), // m(GoodWe.ChannelId.COM_LED_STATE, new UnsignedWordElement(47014)), // - // 1:on 0:off ony for single phase Smart meter + // 1:on 0:off only for single phase Smart meter m(GoodWe.ChannelId.METER_CT1_REVERSE_ENABLE, new UnsignedWordElement(47015)), // m(GoodWe.ChannelId.ERROR_LOG_READ_PAGE, new UnsignedWordElement(47016)), // // 1:on 0:off If not connect to Internet, please set 1 diff --git a/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/GoodWe.java b/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/GoodWe.java index b22dea15cf8..5d6ec9093e8 100644 --- a/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/GoodWe.java +++ b/io.openems.edge.goodwe/src/io/openems/edge/goodwe/common/GoodWe.java @@ -404,7 +404,7 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId STATE_113(Doc.of(Level.FAULT).text("Off-grid zero error")), // STATE_114(Doc.of(Level.FAULT).text("Power fast retrack error")), // STATE_115(Doc.of(Level.FAULT).text("Bypass relay switch error")), // - STATE_116(Doc.of(Level.FAULT).text("Backup load realy switch error")), // + STATE_116(Doc.of(Level.FAULT).text("Backup load relay switch error")), // // Table 8-32 Inverter detailed status STATE_117(Doc.of(Level.INFO).text("Over frequency curve running")), // @@ -417,7 +417,7 @@ public static enum ChannelId implements io.openems.edge.common.channel.ChannelId STATE_124(Doc.of(Level.INFO).text("Fixed PF is set")), // STATE_125(Doc.of(Level.INFO).text("Fixed reactive power is set")), // STATE_126(Doc.of(Level.INFO).text("Inverter over temp,derating curve operation")), // - STATE_127(Doc.of(Level.INFO).text("Australian DRED electricty sale status")), // + STATE_127(Doc.of(Level.INFO).text("Australian DRED electricity sale status")), // STATE_128(Doc.of(Level.INFO).text("Australian DRED purchase status")), // STATE_129(Doc.of(Level.INFO).text("Active power limit set")), // STATE_130(Doc.of(Level.INFO).text("70 percent derating (Germany) has been opened")), // diff --git a/io.openems.edge.meter.socomec/doc/MODBUS tables of Countis_E34_E44.html b/io.openems.edge.meter.socomec/doc/MODBUS tables of Countis_E34_E44.html index afd62575428..309c9e74c30 100644 --- a/io.openems.edge.meter.socomec/doc/MODBUS tables of Countis_E34_E44.html +++ b/io.openems.edge.meter.socomec/doc/MODBUS tables of Countis_E34_E44.html @@ -481,7 +481,7 @@

Product identification



+

Communication board information


diff --git a/io.openems.edge.predictor.similardaymodel/readme.adoc b/io.openems.edge.predictor.similardaymodel/readme.adoc index edbd1f2da11..799f2cb3e9c 100644 --- a/io.openems.edge.predictor.similardaymodel/readme.adoc +++ b/io.openems.edge.predictor.similardaymodel/readme.adoc @@ -1,7 +1,7 @@ = Similarday-Model Predictor This predictor uses "Similar day technique" for prediction. -This particular implmentation requires mainly two inputs, which are +This particular implementation requires mainly two inputs, which are * Num of past weeks (n) * The channels address data, which needs to predicted. diff --git a/io.openems.edge.predictor.similardaymodel/src/io/openems/edge/predictor/similardaymodel/SimilarDayPredictorImpl.java b/io.openems.edge.predictor.similardaymodel/src/io/openems/edge/predictor/similardaymodel/SimilarDayPredictorImpl.java index 8a292cdf768..54ee9f88201 100644 --- a/io.openems.edge.predictor.similardaymodel/src/io/openems/edge/predictor/similardaymodel/SimilarDayPredictorImpl.java +++ b/io.openems.edge.predictor.similardaymodel/src/io/openems/edge/predictor/similardaymodel/SimilarDayPredictorImpl.java @@ -208,7 +208,7 @@ private static List> getCorrectIndexes(List> mainDat * @param whichDay current actual day. * @param numDaysOfWeek total number of days of week. * @param nthTerm nthterm - * @return boolean value to represent is value memeber of correct day + * @return boolean value to represent is value member of correct day */ private static boolean isMember(int whichDay, int numDaysOfWeek, int nthTerm) { if (numDaysOfWeek == 0) { diff --git a/io.openems.wrapper/aXMLRPC.bnd b/io.openems.wrapper/aXMLRPC.bnd index 03a9e7077d6..fad43562286 100644 --- a/io.openems.wrapper/aXMLRPC.bnd +++ b/io.openems.wrapper/aXMLRPC.bnd @@ -1,5 +1,5 @@ Bundle-Name: aXMLRPC -Bundle-Description: aXMLRPC is a Java library with a leightweight XML-RPC client. +Bundle-Description: aXMLRPC is a Java library with a lightweight XML-RPC client. Bundle-DocURL: https://github.com/gturri/aXMLRPC Bundle-License: https://opensource.org/licenses/MIT Bundle-Version: 1.12.0 diff --git a/ui/src/app/edge/settings/profile/profile.component.html b/ui/src/app/edge/settings/profile/profile.component.html index 730f803ff34..4712c5507ee 100644 --- a/ui/src/app/edge/settings/profile/profile.component.html +++ b/ui/src/app/edge/settings/profile/profile.component.html @@ -44,7 +44,7 @@ - Konfiguration + Configuration diff --git a/ui/src/global.scss b/ui/src/global.scss index 59e5223359d..696a550d295 100644 --- a/ui/src/global.scss +++ b/ui/src/global.scss @@ -136,7 +136,7 @@ formly-input-section { flex: auto; // use all remaining space in a row } -// Added styles for alertController, because alertController doesnt take ionic default style +// Added styles for alertController, because alertController doesn't take ionic default style .alertController{ .alert-head{ text-align: center !important;
-

Communication board informations


Dec start address Hex start address