Bitte bitte bitte nutze die Pre-Compiled… Wenn du noch fragen musst, wo der Resolve Button ist in deiner IDE, ist die reine Software-Entwicklung eventuell NOCH nicht ganz das richtige…
Hier die Precompiled
Bitte bitte bitte nutze die Pre-Compiled… Wenn du noch fragen musst, wo der Resolve Button ist in deiner IDE, ist die reine Software-Entwicklung eventuell NOCH nicht ganz das richtige…
Hier die Precompiled
Hallo zusammen,
Vielen Dank Sn0w3y für den Hinweise. Ich habe ebenfalls den Resolve-Button gefunden
Ich habe die Pre-Compiled Version benutzt und ich habe diese Anleitung gefolgt:
https://openems.github.io/openems.io/openems/latest/edge/deploy.html
Ich komme aber immer noch diese Fehlermeldung :
Hat jemand vielleicht eine Idee, woran das liegen könnte?
Danke im Voraus für eure Mühe.
Beste Grüße
Jalil
Hast du den richtigen Pfad für deine .jar in deinem systemctl service?
Pfad passt.
Nur in ´s Blaue geschossen: braucht das jar-file andere Rechte? 755?
Rechte für das Verzeichnis?
Firewall aktiv?
nur Vermutungen - aber schnell ausprobiert…
@Jalil: Willkommen in der Community und viel Erfolg mit OpenEMS.
Versuche mal folgende Schritte in einer Linux-Konsole und sende uns die Log-Ausgabe. Hier ein Beispiel an meinem System (hier unter Windows mit Ubuntu Linux im WSL (Windows Subsystem for Linux)):
wget https://github.com/OpenEMS/openems/releases/download/2024.6.0/openems-edge.jar
openems-edge.jar 100%[===================================================================================================================>] 45.67M 5.79MB/s in 7.9s
024-06-02 11:28:32 (5.81 MB/s) - ‘openems-edge.jar’ saved [47886087/47886087]
java -version
openjdk version “21.0.2” 2024-01-16
OpenJDK Runtime Environment (build 21.0.2+13-Ubuntu-123.10.1)
OpenJDK 64-Bit Server VM (build 21.0.2+13-Ubuntu-123.10.1, mixed mode, sharing)
java -jar openems-edge.jar
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Java Util Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Apache Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JULI Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JBoss Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v1 API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v2 API support.
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Initializing Log4j2 using default configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/ops4j/pax/logging/log4j2/internal/bridges/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/resolver/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/util/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using default configuration.
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
11:28:42.325 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - ==================================
11:28:42.329 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - OpenEMS version [2024.6.0] started
11:28:42.329 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - ==================================
11:28:42.685 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_power] Activate Ess.Power
11:28:42.700 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Ess.Power)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_power] Modified Ess.Power
11:28:42.726 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_evcsSlowPowerIncreaseFilter] Activate Evcs.SlowPowerIncreaseFilter
11:28:42.734 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Evcs.SlowPowerIncreaseFilter)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_evcsSlowPowerIncreaseFilter] Modified Evcs.SlowPowerIncreaseFilter
11:28:42.990 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Activate Core.Host
11:28:42.999 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Host)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Modified Core.Host
11:28:43.004 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Host)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Modified Core.Host
11:28:43.006 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_meta] Activate Core.Meta
11:28:43.009 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Meta)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_meta] Modified Core.Meta
11:28:43.046 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Host)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Modified Core.Host
11:28:43.092 [FelixStartLevel] INFO org.eclipse.jetty.server.Server - jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 21.0.2+13-Ubuntu-123.10.1
11:28:43.142 [FelixStartLevel] INFO org.eclipse.jetty.server.session.DefaultSessionIdManager - Session workerName=node0
11:28:43.160 [FelixStartLevel] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@5c9ac385{/,null,AVAILABLE}
11:28:43.164 [FelixStartLevel] INFO org.eclipse.jetty.server.Server - Started Server@4ddc9005{STARTING}[11.0.20,sto=0] @3849ms
11:28:43.222 [FelixStartLevel] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@6901d3b7{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
11:28:43.224 [FelixStartLevel] INFO org.apache.felix.http - Started Jetty 11.0.20 at port(s) HTTP:8080 on context path / [minThreads=8,maxThreads=200,acceptors=1,selectors=6]
11:28:43.416 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_componentManager] Activate Core.ComponentManager
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using configuration from passed properties
2024-06-02T11:28:43,587 [logging)] INFO [ventAdminConfigurationNotifier] Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
2024-06-02T11:28:43,660 [artLevel] INFO [onent.AbstractOpenemsComponent] [_appManager] Activate Core.AppManager
2024-06-02T11:28:43,729 [artLevel] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Activate Core.PredictorManager
2024-06-02T11:28:43,755 [artLevel] INFO [onent.AbstractOpenemsComponent] [_sum] Activate Core.Sum
2024-06-02T11:28:43,768 [artLevel] INFO [onent.AbstractOpenemsComponent] [_cycle] Activate Core.Cycle
2024-06-02T11:28:43,823 [artLevel] INFO [onent.AbstractOpenemsComponent] [_energy] Activate Core.Energy
2024-06-02T11:28:43,832 [Manager)] INFO [onent.AbstractOpenemsComponent] [_componentManager] Modified Core.ComponentManager
2024-06-02T11:28:43,839 [Manager)] INFO [onent.AbstractOpenemsComponent] [_appManager] Modified Core.AppManager
2024-06-02T11:28:43,850 [Manager)] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Modified Core.PredictorManager
2024-06-02T11:28:43,856 [artLevel] INFO [org.apache.felix.webconsole ] org.apache.felix.webconsole.internal.compendium.PreferencesConfigurationPrinter not enabled. Reason: Class org/osgi/service/prefs/BackingStoreException missing
2024-06-02T11:28:43,857 [ore.Sum)] INFO [onent.AbstractOpenemsComponent] [_sum] Modified Core.Sum
2024-06-02T11:28:43,857 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-02T11:28:43,863 [e.Cycle)] INFO [onent.AbstractOpenemsComponent] [_cycle] Modified Core.Cycle
2024-06-02T11:28:43,872 [.Energy)] INFO [onent.AbstractOpenemsComponent] [_energy] Modified Core.Energy
2024-06-02T11:28:43,875 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Start next run of Optimizer
2024-06-02T11:28:43,878 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Stuck trying to get Params. TimeOfUseTariff is not available
2024-06-02T11:28:43,914 [artLevel] INFO [org.apache.felix.webconsole ] Servlet 3 bridge enabled
2024-06-02T11:28:44,775 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-02T11:28:45,773 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
Hallo zusammen,
Vielen Dank für eure Rückmeldung und die Hilfsbereitschaft.
Ich habe die Schritte nochmal ausgeführt und ich bekomme das hier :
Wenn ich laut die Stefan den Java-File Manuell starte komme dieses Log hier:
jalil@raspberrypi5:/usr/lib/openems $ java -jar openems.jar
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Java Util Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Apache Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JULI Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JBoss Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v1 API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v2 API support.
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Initializing Log4j2 using default configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/ops4j/pax/logging/log4j2/internal/bridges/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/resolver/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in ‘/org/apache/logging/log4j/layout/template/json/util/’ matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using default configuration.
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
21:35:41.855 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - ===========================================
21:35:41.860 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - OpenEMS version [2024.6.0-SNAPSHOT] started
21:35:41.860 [FelixStartLevel] INFO io.openems.edge.application.EdgeApp - ===========================================
21:35:42.583 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_power] Activate Ess.Power
21:35:42.598 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Ess.Power)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_power] Modified Ess.Power
21:35:42.629 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_evcsSlowPowerIncreaseFilter] Activate Evcs.SlowPowerIncreaseFilter
21:35:42.635 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Evcs.SlowPowerIncreaseFilter)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_evcsSlowPowerIncreaseFilter] Modified Evcs.SlowPowerIncreaseFilter
21:35:42.987 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Activate Core.Host
21:35:43.040 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Host)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Modified Core.Host
21:35:43.046 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_meta] Activate Core.Meta
21:35:43.057 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Host)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_host] Modified Core.Host
21:35:43.067 [CM Event Dispatcher (Fire ConfigurationEvent: pid=Core.Meta)] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_meta] Modified Core.Meta
21:35:43.175 [FelixStartLevel] INFO org.eclipse.jetty.server.Server - jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9-Debian-1deb12u1
21:35:43.242 [FelixStartLevel] INFO org.eclipse.jetty.server.session.DefaultSessionIdManager - Session workerName=node0
21:35:43.256 [FelixStartLevel] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@2539b713{/,null,AVAILABLE}
21:35:43.258 [FelixStartLevel] INFO org.eclipse.jetty.server.Server - Started Server@3e1fc457{STARTING}[11.0.20,sto=0] @4313ms
21:35:43.286 [FelixStartLevel] ERROR org.apache.felix.http - Failed to start Connector: ServerConnector@61ad3b2a{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:304) ~[?:?]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:74) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:228) ~[?:?]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startConnector(JettyService.java:680) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.initializeHttp(JettyService.java:438) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:336) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:174) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.start(JettyService.java:111) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyActivator.doStart(JettyActivator.java:66) ~[?:?]
at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:35) ~[?:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849) ~[?:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2429) ~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2335) ~[?:?]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566) ~[?:?]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.net.BindException: Die Adresse wird bereits verwendet
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[?:?]
… 17 more
21:35:43.296 [FelixStartLevel] INFO org.eclipse.jetty.server.Server - Stopped Server@3e1fc457{STOPPING}[11.0.20,sto=0]
21:35:43.301 [FelixStartLevel] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@2539b713{/,null,STOPPED}
21:35:43.307 [FelixStartLevel] INFO org.apache.felix.http - Stopped Jetty
21:35:43.308 [FelixStartLevel] ERROR org.apache.felix.http - Jetty stopped (no connectors available)
21:35:43.309 [FelixStartLevel] ERROR org.apache.felix.http - Exception while initializing Jetty
java.lang.NullPointerException: Cannot invoke “org.eclipse.jetty.server.Server.setRequestLog(org.eclipse.jetty.server.RequestLog)” because “this.server” is null
at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:381) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:174) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.start(JettyService.java:111) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyActivator.doStart(JettyActivator.java:66) ~[?:?]
at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:35) ~[?:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849) ~[?:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2429) ~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2335) ~[?:?]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566) ~[?:?]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
21:35:43.382 [FelixStartLevel] INFO io.openems.edge.common.component.AbstractOpenemsComponent - [_componentManager] Activate Core.ComponentManager
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using configuration from passed properties
2024-06-06T21:35:43,681 [logging)] INFO [ventAdminConfigurationNotifier] Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
2024-06-06T21:35:43,834 [artLevel] INFO [onent.AbstractOpenemsComponent] [_appManager] Activate Core.AppManager
2024-06-06T21:35:43,927 [artLevel] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Activate Core.PredictorManager
2024-06-06T21:35:43,968 [artLevel] INFO [onent.AbstractOpenemsComponent] [_sum] Activate Core.Sum
2024-06-06T21:35:43,994 [artLevel] INFO [onent.AbstractOpenemsComponent] [_cycle] Activate Core.Cycle
2024-06-06T21:35:44,052 [artLevel] INFO [onent.AbstractOpenemsComponent] [_energy] Activate Core.Energy
2024-06-06T21:35:44,079 [Manager)] INFO [onent.AbstractOpenemsComponent] [_componentManager] Modified Core.ComponentManager
2024-06-06T21:35:44,097 [Manager)] INFO [onent.AbstractOpenemsComponent] [_appManager] Modified Core.AppManager
2024-06-06T21:35:44,110 [Manager)] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Modified Core.PredictorManager
2024-06-06T21:35:44,125 [ore.Sum)] INFO [onent.AbstractOpenemsComponent] [_sum] Modified Core.Sum
2024-06-06T21:35:44,131 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:44,144 [artLevel] INFO [org.apache.felix.webconsole ] org.apache.felix.webconsole.internal.compendium.PreferencesConfigurationPrinter not enabled. Reason: Class org/osgi/service/prefs/BackingStoreException missing
2024-06-06T21:35:44,146 [e.Cycle)] INFO [onent.AbstractOpenemsComponent] [_cycle] Modified Core.Cycle
2024-06-06T21:35:44,157 [.Energy)] INFO [onent.AbstractOpenemsComponent] [_energy] Modified Core.Energy
2024-06-06T21:35:44,164 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Start next run of Optimizer
2024-06-06T21:35:44,173 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Stuck trying to get Params. TimeOfUseTariff is not available
2024-06-06T21:35:44,218 [artLevel] INFO [org.apache.felix.webconsole ] Servlet 3 bridge enabled
2024-06-06T21:35:45,002 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:46,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:47,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:48,000 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:49,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:50,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-06-06T21:35:51,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
Ist das erstmals richtig so bzw. was muss gemacht werden?
Vielen Dank im Voraus!
LG
Jalil
@Jalil: Du hast einen Typo in deinem Befehl. Es muss openems
heißen und nicht openenms
Ansonsten passt die Ausgabe in beiden Fällen:
2024-06-06T21:35:46,001 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
Das bedeutet lediglich, dass du noch keine Konfiguration angelegt hast. Siehe “Getting Started” → Getting Started :: Open Energy Management System
Du hast allerdings noch ein Problem, weshalb du so noch keine Konfiguration anlegen kannst:
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
Das bedeutet, dass auf deinem PC der Port 8080 bereits belegt ist. Um das zu beheben musst du entweder das Programm beenden, das diesen Port belegt - oder du änderst den Port in OpenEMS in der EdgeApp.bndrun:
org.osgi.service.http.port=8080,\
→ openems/io.openems.edge.application/EdgeApp.bndrun at develop · OpenEMS/openems · GitHub
Gruß,
Stefan
Hallo Stefan,
vielen Dank für deine Rückmeldung.
Das sind jetzt die log-Ausgaben:
Wie geht es von hier weiter?
Ich habe die Anleitungen “Getting Started” und “Implementing a Device” mithilfe des Eclipses IDE & VS Code auf meinem Rechner erfolgreich durchgeführt und habe Zugriff auf den lokalen Apache-Server, das UI und das Backend-Server.
Doch wie kann ich das auf dem Pi5 einsetzen?
Ich danke dir/euch im Voraus für die Mühe.
Beste Grüße
Jalil
Du musst noch einen Scheduler konfigurieren. Im Zweifelsfall den “Scheduler All Alphabetically”. Dieser behandelt die Controller halt in alphabetischer Reihenfolge. Möglicherweise willst Du später eine andere Reihenfolge haben.
Stefan hatte das hier schon gut erklärt.
Steht aber auch im Getting Started Guide
Hallo Klinki,
Vielen Dank erstmal für deine Mühe und ich habe direkt eine Frage zu diesem Schritt von deiner Anleitung:
Wie setze ich das um? Also, wo finde ich Die Konfiguration und welche Datei soll ich in das Verzeichnis /etc/openems.d kopieren?
BG
Jalil
Das Verzeichnis auf der C:-Platte ist Standard. Wenn Du im Eclipse Geräte definierst, werden diese dort abgelegt. Von dort in‘s Verzeichnis unter /etc auf den Raspi kopieren.
Wo OpenEMS die Dateien findet, wird im Linux Service eingestellt.
Hallo Klinki,
Vielen Dank. Ich konnte jetzt die Config-Dateien zu meinem Raspberrypi5 rüberkopieren, und es funktioniert.
Ich habe die Anleitung zu “Implementing a Device” gefolgt und erfolgreich in meinem Notebook umgesetzt. Jetzt möchte ich das gerne in meinem Pi 5 umsetzen.
Ich gehe in meinem Eclipse IDE wie folgt : Ich starte erstmal in “io.openems.edge.bridge.mobdus” unter “test” die Datei “ModbusSlaveSimulator.java” und danach starte ich wie gewohnt in “io.openems.edge.application” das EdgeApp.bndrun.
Dann sieht es so aus:
Hat jemand eine Idee, wie ich das genauso auf dem Pi5 umsetzen konnte?
Lg
Jalil
Verstehe ich nicht ganz. Du hast ein Gerät erstellt/programmiert und willst es auf dem Pi laufen lassen?
In Eclipse statt auf Debug auf Export klicken und die ezeugte .jar-Datei auf den Pi kopieren.
Meinst Du das?
Hi Klinki,
ja genau das. Ich habe die Anleitung hier Implementing a device :: Open Energy Management System (openems.github.io) gefolgt und damit ein Gerät simuliert. Mit dem Eclipse IDE läuft das problemlos.
Wenn ich aber ohne IDE genau das starten möchte. Ich starte das exportierte Jar-File von EdgeApp.bndrun, wie ich das auf dem raspberry pi 5 machen würde, mit “java - jar openems.jar”.
Die UI zeigt dann das hier:
Ich habe danach versucht das exportierte Jar-File von “ModbusSlaveSimulator.java” zu starten, ebenfalls mit “java -jar ModbusSlaveSimulator.jar”
Das scheint nicht zu funktionieren (auf dem GUI, ist keine Änderung zu sehen).
Ich bekomme diese Ausgaben:
Desktop\Eclipse>java -jar ModbusSlaveSimulator.jar
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Java Util Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Apache Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JULI Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JBoss Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v1 API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v2 API support.
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Initializing Log4j2 using default configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/ops4j/pax/logging/log4j2/internal/bridges/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/resolver/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/util/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using default configuration.
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using configuration from passed properties
2024-07-01T11:02:16,459 [ogging])] INFO [ventAdminConfigurationNotifier] Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
2024-07-01T11:02:16,467 [artLevel] INFO [enems.edge.application.EdgeApp] ===========================================
2024-07-01T11:02:16,468 [artLevel] INFO [enems.edge.application.EdgeApp] OpenEMS version [2024.6.0-SNAPSHOT] started
2024-07-01T11:02:16,468 [artLevel] INFO [enems.edge.application.EdgeApp] ===========================================
2024-07-01T11:02:16,565 [artLevel] INFO [onent.AbstractOpenemsComponent] [modbus0] Activate Bridge.Modbus.Tcp
2024-07-01T11:02:16,654 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlDebugLog0] Activate Controller.Debug.Log
2024-07-01T11:02:16,782 [artLevel] INFO [onent.AbstractOpenemsComponent] [_power] Activate Ess.Power
2024-07-01T11:02:16,800 [artLevel] INFO [onent.AbstractOpenemsComponent] [_evcsSlowPowerIncreaseFilter] Activate Evcs.SlowPowerIncreaseFilter
2024-07-01T11:02:16,955 [artLevel] INFO [onent.AbstractOpenemsComponent] [_host] Activate Core.Host
2024-07-01T11:02:16,961 [artLevel] INFO [onent.AbstractOpenemsComponent] [_meta] Activate Core.Meta
2024-07-01T11:02:17,023 [artLevel] INFO [rg.eclipse.jetty.server.Server] jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9
2024-07-01T11:02:17,049 [artLevel] INFO [ession.DefaultSessionIdManager] Session workerName=node0
2024-07-01T11:02:17,061 [artLevel] INFO [.server.handler.ContextHandler] Started o.e.j.s.ServletContextHandler@3dc7eb83{/,null,AVAILABLE}
2024-07-01T11:02:17,064 [artLevel] INFO [rg.eclipse.jetty.server.Server] Started Server@1e11550{STARTING}[11.0.20,sto=0] @2769ms
2024-07-01T11:02:17,121 [artLevel] ERROR [org.apache.felix.http ] Failed to start Connector: ServerConnector@1726b95{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:304) ~[?:?]
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:74) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:228) ~[?:?]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startConnector(JettyService.java:680) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.initializeHttp(JettyService.java:438) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:336) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:174) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.start(JettyService.java:111) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyActivator.doStart(JettyActivator.java:66) ~[?:?]
at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:35) ~[?:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849) ~[?:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2429) ~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2335) ~[?:?]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566) ~[?:?]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:339) ~[?:?]
... 17 more
2024-07-01T11:02:17,128 [artLevel] INFO [rg.eclipse.jetty.server.Server] Stopped Server@1e11550{STOPPING}[11.0.20,sto=0]
2024-07-01T11:02:17,130 [artLevel] INFO [.server.handler.ContextHandler] Stopped o.e.j.s.ServletContextHandler@3dc7eb83{/,null,STOPPED}
2024-07-01T11:02:17,132 [artLevel] INFO [org.apache.felix.http ] Stopped Jetty
2024-07-01T11:02:17,132 [artLevel] ERROR [org.apache.felix.http ] Jetty stopped (no connectors available)
2024-07-01T11:02:17,133 [artLevel] ERROR [org.apache.felix.http ] Exception while initializing Jetty
java.lang.NullPointerException: Cannot invoke "org.eclipse.jetty.server.Server.setRequestLog(org.eclipse.jetty.server.RequestLog)" because "this.server" is null
at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:381) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:174) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyService.start(JettyService.java:111) ~[?:?]
at org.apache.felix.http.jetty.internal.JettyActivator.doStart(JettyActivator.java:66) ~[?:?]
at org.apache.felix.http.base.internal.AbstractActivator.start(AbstractActivator.java:35) ~[?:?]
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:849) ~[?:?]
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2429) ~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2335) ~[?:?]
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566) ~[?:?]
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
2024-07-01T11:02:17,174 [artLevel] INFO [onent.AbstractOpenemsComponent] [_componentManager] Activate Core.ComponentManager
2024-07-01T11:02:17,204 [artLevel] INFO [onent.AbstractOpenemsComponent] [datasource0] Activate Simulator.Datasource.CSV.Predefined
2024-07-01T11:02:17,226 [artLevel] INFO [onent.AbstractOpenemsComponent] [meter1] Activate Simulator.GridMeter.Acting
2024-07-01T11:02:17,246 [artLevel] INFO [onent.AbstractOpenemsComponent] [ess0] Activate Simulator.EssSymmetric.Reacting
2024-07-01T11:02:17,424 [artLevel] INFO [onent.AbstractOpenemsComponent] [_appManager] Activate Core.AppManager
2024-07-01T11:02:17,471 [artLevel] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Activate Core.PredictorManager
2024-07-01T11:02:17,482 [artLevel] INFO [onent.AbstractOpenemsComponent] [_sum] Activate Core.Sum
2024-07-01T11:02:17,499 [artLevel] INFO [onent.AbstractOpenemsComponent] [_cycle] Activate Core.Cycle
2024-07-01T11:02:17,512 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlBackend0] Activate Controller.Api.Backend
2024-07-01T11:02:17,536 [artLevel] INFO [andler.ComponentRequestHandler] Added '_host' to Component Apis.
2024-07-01T11:02:17,542 [artLevel] INFO [andler.ComponentRequestHandler] Added '_componentManager' to Component Apis.
2024-07-01T11:02:17,569 [artLevel] INFO [andler.ComponentRequestHandler] Added '_appManager' to Component Apis.
2024-07-01T11:02:17,596 [artLevel] INFO [socket.AbstractWebsocketClient] [ctrlBackend0] Opening connection to websocket server [ws://localhost:8081]
2024-07-01T11:02:17,597 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Connecting WebSocket... [NOT_YET_CONNECTED]
2024-07-01T11:02:17,597 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] # Connect Blocking [100]...
2024-07-01T11:02:17,604 [ckend0-0] WARN [controller.api.backend.OnError] [ctrlBackend0] Error: Connection refused: connect
2024-07-01T11:02:17,606 [ckend0-1] ERROR [er.api.backend.WebsocketClient] Disconnected from OpenEMS Backend [ws://localhost:8081]
2024-07-01T11:02:17,608 [hread-72] INFO [socket.AbstractWebsocketClient] [ctrlBackend0] Websocket [ws://localhost:8081] closed. Code [-1] Reason [Connection refused: connect]
2024-07-01T11:02:17,609 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] # Connect Blocking [100]... done
2024-07-01T11:02:17,610 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Connected WebSocket successfully [0s]
2024-07-01T11:02:17,611 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [20s]
2024-07-01T11:02:17,618 [artLevel] INFO [onent.AbstractOpenemsComponent] [scheduler0] Activate Scheduler.AllAlphabetically
2024-07-01T11:02:17,629 [tManager] INFO [onent.AbstractOpenemsComponent] [ctrlApiWebsocket0] Activate Controller.Api.Websocket
2024-07-01T11:02:17,649 [tManager] INFO [socket.AbstractWebsocketServer] [ctrlApiWebsocket0] Starting websocket server [port=8085]
2024-07-01T11:02:17,651 [ector-84] ERROR [bsocket.server.WebSocketServer] Shutdown due to fatal error
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89) ~[?:?]
at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:567) ~[?:?]
at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:367) ~[?:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
2024-07-01T11:02:17,656 [et Api-0] ERROR [socket.AbstractWebsocketServer] [ctrlApiWebsocket0] Unable to Bind to port [8085]
java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:555)
at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:89)
at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:567)
at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:367)
at java.base/java.lang.Thread.run(Thread.java:840)
2024-07-01T11:02:17,673 [artLevel] INFO [onent.AbstractOpenemsComponent] [_energy] Activate Core.Energy
2024-07-01T11:02:17,674 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Start next run of Optimizer
2024-07-01T11:02:17,674 [artLevel] INFO [andler.ComponentRequestHandler] Added '_energy' to Component Apis.
2024-07-01T11:02:17,676 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Stuck trying to get Params. TimeOfUseTariff is not available
2024-07-01T11:02:17,690 [artLevel] INFO [org.apache.felix.webconsole ] org.apache.felix.webconsole.internal.compendium.PreferencesConfigurationPrinter not enabled. Reason: Class org/osgi/service/prefs/BackingStoreException missing
2024-07-01T11:02:17,710 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [20s]
2024-07-01T11:02:17,710 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $000] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for appValidateWorker,backendUtil,componentManager,componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] ctrlBackend0[Unsatisfied reference for cycle] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 % Grid:863 W Consumption:863 W] ctrlBackend0[State:WARNING: UnableToSend] ess0[SoC:50 %|L:UNDEFINED|Allowed:-10000;10000 W] meter1[863 W]
2024-07-01T11:02:17,712 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824537000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:17,725 [artLevel] INFO [org.apache.felix.webconsole ] Servlet 3 bridge enabled
2024-07-01T11:02:17,758 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [20s]
2024-07-01T11:02:17,787 [tManager] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"edgeConfig","params":{"components":{"_appManager":{"alias":"Core.AppMa...
2024-07-01T11:02:17,796 [artLevel] INFO [onent.AbstractOpenemsComponent] [meter0] Activate Meter.Simulated
2024-07-01T11:02:17,811 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlBalancing0] Activate Controller.Symmetric.Balancing
2024-07-01T11:02:18,522 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:18,523 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [20s]
2024-07-01T11:02:18,524 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824538000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:18,526 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $000] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for appValidateWorker,backendUtil,componentManager,componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] ctrlBackend0[Unsatisfied reference for cycle] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:769 W Consumption:769 W] ctrlBackend0[State:WARNING: UnableToSend] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED] meter1[769 W]
2024-07-01T11:02:18,698 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
2024-07-01T11:02:19,532 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:19,532 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [19s]
2024-07-01T11:02:19,533 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824539000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:19,534 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $000] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for appValidateWorker,backendUtil,componentManager,componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] ctrlBackend0[Unsatisfied reference for cycle] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:688 W Consumption:688 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[688 W]
2024-07-01T11:02:20,549 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:20,549 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [18s]
2024-07-01T11:02:20,550 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824540000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:20,551 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $000] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for appValidateWorker,backendUtil,componentManager,componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] ctrlBackend0[Unsatisfied reference for cycle] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:624 W Consumption:624 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[624 W]
2024-07-01T11:02:21,550 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:21,550 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [17s]
2024-07-01T11:02:21,550 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824541000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:21,551 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $000] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for appValidateWorker,backendUtil,componentManager,componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] ctrlBackend0[Unsatisfied reference for cycle] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:580 W Consumption:580 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[580 W]
2024-07-01T11:02:21,556 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
2024-07-01T11:02:22,554 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:22,554 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [16s]
2024-07-01T11:02:22,555 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824542000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:22,556 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:552 W Consumption:552 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[552 W]
2024-07-01T11:02:23,570 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:23,571 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [15s]
2024-07-01T11:02:23,571 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824543000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:23,572 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:536 W Consumption:536 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[536 W]
2024-07-01T11:02:24,587 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [14s]
2024-07-01T11:02:24,587 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:24,587 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824544000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:24,589 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:524 W Consumption:524 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[524 W]
2024-07-01T11:02:25,598 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [13s]
2024-07-01T11:02:25,598 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-01T11:02:25,599 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1719824545000":{"_appManager/AppsNotSynced...
2024-07-01T11:02:25,600 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:513 W Consumption:513 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[513 W]
2024-07-01T11:02:25,601 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
Hast du eine Idee wie man das simuliertes Geräte ohne den Eclipse-IDE bzw. mit der Kommando-Zeile erfolgreich “anschließen” könnte. Dass es danach ebenfalls auf dem Pi5 laufen könnte.
Vielen Dank im Voraus!
LG
Jalil
Ich habe die Ausgabe mal für dich in einen Code-Block formatiert. Auffällig ist:
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
Vermutlich versucht Apache Felix Web Console auf port 8080 zu starten. Dieser ist aber durch eine andere Anwendung blockiert.
2024-07-01T11:02:17,656 [et Api-0] ERROR [socket.AbstractWebsocketServer] [ctrlApiWebsocket0] Unable to Bind to port [8085]
Die Komponente “ctrlApiWebsocket0” versucht Port 8085 zu öffnen, dieser ist ebenfalls bereits blockiert.
2024-07-01T11:02:17,596 [artLevel] INFO [socket.AbstractWebsocketClient] [ctrlBackend0] Opening connection to websocket server [ws://localhost:8081]
Der “ctrlBackend0” versucht sich mit “localhost:8081” zu verbinden, was nicht klappt (und auch vermutlich nicht sinnvoll ist)
2024-07-01T11:02:25,601 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
Die “meter0”-Komponente versucht sich via Modbus/TCP mit “127.0.0.1” - also localhost - zu verbinden was nicht klappt (und vermutlich ebenfalls nicht so gewollt ist).
Für mich sieht es also so aus, als hätte der Export aus Eclipse funktioniert, aber die Konfiguration ist komplett falsch.
Gruß,
Stefan
Hallo Stefan,
Vielen Dank für deine Rückmeldung.
Ja, du hast Recht. Die Ports sind blockiert, weil anscheinend, wenn ich nur allein die exportierte Jar-Datei “ModbusSlaveSimulator.jar” mit “java -jar ModbusSlaveSimulator.jar” ausführe, funktioniert die GUI und der Apache-Server. Der simulierte Device (MobBusSlave) funktioniert zwar nicht aber alles andere irgendwie schon.
Das heißt, wenn ich beide Jar-Dateien ausführe, wollen die auf den selben Ports zugreifen.
Hier sind meine Ausgaben, wenn ich allein “ModbusSlaveSimulator.jar” auf meinem Windows starte:
> Desktop\Eclipse>java -jar ModbusSlaveSimulator.jar
> org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Java Util Logging API support.
> org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling SLF4J API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Apache Commons Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JULI Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Avalon Logger API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling JBoss Logging API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v1 API support.
org.ops4j.pax.logging.pax-logging-api [org.ops4j.pax.logging.internal.Activator] INFO : Enabling Log4J v2 API support.
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Initializing Log4j2 using default configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/ops4j/pax/logging/log4j2/internal/bridges/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/resolver/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Scanning for classes in '/org/apache/logging/log4j/layout/template/json/util/' matching criteria annotated with @Plugin
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using default configuration.
org.ops4j.pax.logging.pax-logging-log4j2 [org.ops4j.pax.logging.spi.support.EventAdminConfigurationNotifier] INFO : Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
org.ops4j.pax.logging.pax-logging-api [log4j2] INFO : Log4J2 configured using configuration from passed properties
2024-07-05T11:34:22,662 [ogging])] INFO [ventAdminConfigurationNotifier] Sending Event Admin notification (configuration successful) to org/ops4j/pax/logging/Configuration
2024-07-05T11:34:22,665 [artLevel] INFO [enems.edge.application.EdgeApp] ===========================================
2024-07-05T11:34:22,665 [artLevel] INFO [enems.edge.application.EdgeApp] OpenEMS version [2024.6.0-SNAPSHOT] started
2024-07-05T11:34:22,665 [artLevel] INFO [enems.edge.application.EdgeApp] ===========================================
2024-07-05T11:34:22,767 [artLevel] INFO [onent.AbstractOpenemsComponent] [modbus0] Activate Bridge.Modbus.Tcp
2024-07-05T11:34:22,865 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlDebugLog0] Activate Controller.Debug.Log
2024-07-05T11:34:23,003 [artLevel] INFO [onent.AbstractOpenemsComponent] [_power] Activate Ess.Power
2024-07-05T11:34:23,035 [artLevel] INFO [onent.AbstractOpenemsComponent] [_evcsSlowPowerIncreaseFilter] Activate Evcs.SlowPowerIncreaseFilter
2024-07-05T11:34:23,192 [artLevel] INFO [onent.AbstractOpenemsComponent] [_host] Activate Core.Host
2024-07-05T11:34:23,208 [artLevel] INFO [onent.AbstractOpenemsComponent] [_meta] Activate Core.Meta
2024-07-05T11:34:23,271 [artLevel] INFO [rg.eclipse.jetty.server.Server] jetty-11.0.20; built: 2024-01-29T21:04:22.394Z; git: 922f8dc188f7011e60d0361de585fd4ac4d63064; jvm 17.0.11+9
2024-07-05T11:34:23,302 [artLevel] INFO [ession.DefaultSessionIdManager] Session workerName=node0
2024-07-05T11:34:23,318 [artLevel] INFO [.server.handler.ContextHandler] Started o.e.j.s.ServletContextHandler@705b37f6{/,null,AVAILABLE}
2024-07-05T11:34:23,318 [artLevel] INFO [rg.eclipse.jetty.server.Server] Started Server@a1af7df{STARTING}[11.0.20,sto=0] @3090ms
2024-07-05T11:34:23,381 [artLevel] INFO [jetty.server.AbstractConnector] Started ServerConnector@846be40{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-07-05T11:34:23,381 [artLevel] INFO [org.apache.felix.http ] Started Jetty 11.0.20 at port(s) HTTP:8080 on context path / [minThreads=8,maxThreads=200,acceptors=1,selectors=4]
2024-07-05T11:34:23,602 [artLevel] INFO [onent.AbstractOpenemsComponent] [_componentManager] Activate Core.ComponentManager
2024-07-05T11:34:23,752 [artLevel] INFO [onent.AbstractOpenemsComponent] [_appManager] Activate Core.AppManager
2024-07-05T11:34:23,799 [artLevel] INFO [onent.AbstractOpenemsComponent] [_predictorManager] Activate Core.PredictorManager
2024-07-05T11:34:23,815 [artLevel] INFO [onent.AbstractOpenemsComponent] [_sum] Activate Core.Sum
2024-07-05T11:34:23,815 [artLevel] INFO [onent.AbstractOpenemsComponent] [_cycle] Activate Core.Cycle
2024-07-05T11:34:23,846 [artLevel] INFO [onent.AbstractOpenemsComponent] [_energy] Activate Core.Energy
2024-07-05T11:34:23,846 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Start next run of Optimizer
2024-07-05T11:34:23,846 [_energy ] INFO [dge.energy.optimizer.Optimizer] # Stuck trying to get Params. TimeOfUseTariff is not available
2024-07-05T11:34:23,893 [artLevel] INFO [onent.AbstractOpenemsComponent] [datasource0] Activate Simulator.Datasource.CSV.Predefined
2024-07-05T11:34:23,906 [artLevel] INFO [onent.AbstractOpenemsComponent] [meter1] Activate Simulator.GridMeter.Acting
2024-07-05T11:34:23,926 [artLevel] INFO [onent.AbstractOpenemsComponent] [ess0] Activate Simulator.EssSymmetric.Reacting
2024-07-05T11:34:23,926 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] There are no Schedulers configured!
2024-07-05T11:34:23,932 [artLevel] INFO [onent.AbstractOpenemsComponent] [scheduler0] Activate Scheduler.AllAlphabetically
2024-07-05T11:34:23,932 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlApiWebsocket0] Activate Controller.Api.Websocket
2024-07-05T11:34:23,948 [artLevel] INFO [andler.ComponentRequestHandler] Added '_host' to Component Apis.
2024-07-05T11:34:23,964 [artLevel] INFO [andler.ComponentRequestHandler] Added '_componentManager' to Component Apis.
2024-07-05T11:34:23,980 [artLevel] INFO [andler.ComponentRequestHandler] Added '_appManager' to Component Apis.
2024-07-05T11:34:23,980 [artLevel] INFO [andler.ComponentRequestHandler] Added '_energy' to Component Apis.
2024-07-05T11:34:24,027 [artLevel] INFO [socket.AbstractWebsocketServer] [ctrlApiWebsocket0] Starting websocket server [port=8085]
2024-07-05T11:34:24,043 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlBackend0] Activate Controller.Api.Backend
2024-07-05T11:34:24,058 [artLevel] INFO [socket.AbstractWebsocketClient] [ctrlBackend0] Opening connection to websocket server [ws://localhost:8081]
2024-07-05T11:34:24,058 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Connecting WebSocket... [NOT_YET_CONNECTED]
2024-07-05T11:34:24,058 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] # Connect Blocking [100]...
2024-07-05T11:34:24,058 [ckend0-0] WARN [controller.api.backend.OnError] [ctrlBackend0] Error: Connection refused: connect
2024-07-05T11:34:24,067 [ckend0-1] ERROR [er.api.backend.WebsocketClient] Disconnected from OpenEMS Backend [ws://localhost:8081]
2024-07-05T11:34:24,068 [hread-85] INFO [socket.AbstractWebsocketClient] [ctrlBackend0] Websocket [ws://localhost:8081] closed. Code [-1] Reason [Connection refused: connect]
2024-07-05T11:34:24,068 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] # Connect Blocking [100]... done
2024-07-05T11:34:24,068 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Connected WebSocket successfully [0s]
2024-07-05T11:34:24,068 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [55s]
2024-07-05T11:34:24,086 [artLevel] INFO [org.apache.felix.webconsole ] org.apache.felix.webconsole.internal.compendium.PreferencesConfigurationPrinter not enabled. Reason: Class org/osgi/service/prefs/BackingStoreException missing
2024-07-05T11:34:24,099 [artLevel] INFO [org.apache.felix.webconsole ] Servlet 3 bridge enabled
2024-07-05T11:34:24,150 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [55s]
2024-07-05T11:34:24,182 [artLevel] INFO [onent.AbstractOpenemsComponent] [meter0] Activate Meter.Simulated
2024-07-05T11:34:24,182 [tManager] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"edgeConfig","params":{"components":{"_appManager":{"alias":"Core.AppMa...
2024-07-05T11:34:24,182 [artLevel] INFO [onent.AbstractOpenemsComponent] [ctrlBalancing0] Activate Controller.Symmetric.Balancing
2024-07-05T11:34:24,859 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [ess0/ActivePower] is invalid.
2024-07-05T11:34:24,866 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [55s]
2024-07-05T11:34:24,867 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172064000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:24,868 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $003] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] datasource0[Unsatisfied reference for componentManager] ctrlBackend0[Unsatisfied reference for componentManager,cycle,resendHistoricDataWorkerFactory] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 % Grid:863 W Consumption:863 W] ctrlBackend0[State:WARNING: UnableToSend] ess0[SoC:50 %|L:UNDEFINED|Allowed:-10000;10000 W] meter0[L:UNDEFINED] meter1[863 W]
2024-07-05T11:34:25,057 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
2024-07-05T11:34:25,840 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:25,840 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [54s]
2024-07-05T11:34:25,840 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172065000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:25,844 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $003] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] datasource0[Unsatisfied reference for componentManager] ctrlBackend0[Unsatisfied reference for componentManager,cycle,resendHistoricDataWorkerFactory] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:769 W Consumption:769 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[769 W]
2024-07-05T11:34:26,849 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [53s]
2024-07-05T11:34:26,850 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:26,850 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172066000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:26,852 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $003] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] datasource0[Unsatisfied reference for componentManager] ctrlBackend0[Unsatisfied reference for componentManager,cycle,resendHistoricDataWorkerFactory] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:688 W Consumption:688 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[688 W]
2024-07-05T11:34:27,850 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:27,850 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [52s]
2024-07-05T11:34:27,851 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172067000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:27,852 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _componentManager[Defective:null[Unsatisfied reference for $003] _sum[Unsatisfied reference for componentManager] _energy[Unsatisfied reference for componentManager,predictorManager,sum] _cycle[Unsatisfied reference for componentManager,sumComponent] meter0[Missing Bundle] _appManager[Unsatisfied reference for componentUtil,csoAppManagerAppHelper] ess0[Unsatisfied reference for componentManager] ctrlApiWebsocket0[Unsatisfied reference for componentManager] meter1[Unsatisfied reference for datasource ((&(enabled=true)(!(service.pid=Simulator.GridMeter.Acting.b89abc50-6aea-437e-b2e3-a4937b166dab))(|(id=datasource0))))] ctrlBalancing0[Unsatisfied reference for ess ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=ess0)))),meter ((&(enabled=true)(!(service.pid=Controller.Symmetric.Balancing.168ef094-32c7-4778-bc83-efa492c5c8f9))(|(id=meter0))))] datasource0[Unsatisfied reference for componentManager] ctrlBackend0[Unsatisfied reference for componentManager,cycle,resendHistoricDataWorkerFactory] _predictorManager[Unsatisfied reference for componentManager] scheduler0[Unsatisfied reference for componentManager]|State:FAULT: A configured OpenEMS Component was not activated] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:624 W Consumption:624 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[624 W]
2024-07-05T11:34:27,855 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
2024-07-05T11:34:28,856 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:28,856 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [51s]
2024-07-05T11:34:28,856 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172068000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:28,857 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:580 W Consumption:580 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[580 W]
2024-07-05T11:34:29,857 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:29,858 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [50s]
2024-07-05T11:34:29,858 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172069000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:29,859 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:552 W Consumption:552 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[552 W]
2024-07-05T11:34:30,868 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [49s]
2024-07-05T11:34:30,868 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:30,869 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172070000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:30,869 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:536 W Consumption:536 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[536 W]
2024-07-05T11:34:31,867 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [48s]
2024-07-05T11:34:31,875 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172071000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:31,867 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:31,876 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:524 W Consumption:524 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[524 W]
2024-07-05T11:34:31,891 [modbus0 ] ERROR [e.modbus.api.task.AbstractTask] Execute failed FC3ReadHoldingRegisters [meter0;unitid=1;priority=HIGH;ref=1000/0x3e8;length=1] OpenemsException: Connection to [127.0.0.1] failed: Connection refused: getsockopt
2024-07-05T11:34:32,890 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:32,891 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:513 W Consumption:513 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[513 W]
2024-07-05T11:34:32,892 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [47s]
2024-07-05T11:34:32,893 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172072000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:33,903 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:33,903 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [46s]
2024-07-05T11:34:33,903 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172073000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:33,904 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:502 W Consumption:502 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[502 W]
2024-07-05T11:34:34,898 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:34,898 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [45s]
2024-07-05T11:34:34,913 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172074000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:34,915 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:492 W Consumption:492 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[492 W]
2024-07-05T11:34:35,928 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:35,928 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [44s]
2024-07-05T11:34:35,929 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172075000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:35,929 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:482 W Consumption:482 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[482 W]
2024-07-05T11:34:36,936 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [43s]
2024-07-05T11:34:36,936 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:36,936 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172076000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:36,937 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:474 W Consumption:474 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[474 W]
2024-07-05T11:34:37,937 [_cycle ] WARN [ms.edge.core.cycle.CycleWorker] [_cycle] Error in Controller [ctrlBalancing0]: Value for Channel [meter0/ActivePower] is invalid.
2024-07-05T11:34:37,937 [Backend0] INFO [socket.ClientReconnectorWorker] [ctrlBackend0] Waiting till next WebSocket reconnect [42s]
2024-07-05T11:34:37,944 [Worker-0] WARN [socket.AbstractWebsocketClient] [ctrlBackend0] Unable to send JSON-RPC message. WebsocketNotConnectedException: {"jsonrpc":"2.0","method":"timestampedData","params":{"1720172077000":{"_appManager/AppsNotSynced...
2024-07-05T11:34:37,945 [_cycle ] INFO [ebuglog.ControllerDebugLogImpl] [ctrlDebugLog0] _sum[State:Fault Ess SoC:50 %|L:0 W Grid:468 W Consumption:468 W] ctrlBackend0[State:WARNING: UnableToSend] ctrlBalancing0[State:FAULT: Running the Controller failed] ess0[SoC:50 %|L:0 W|Allowed:-10000;10000 W] meter0[L:UNDEFINED|State:FAULT: Modbus Communication failed] meter1[468 W]
````Preformatted text`
> Vielen Dank nochmal im Voraus für die Mühe.
>
> Lg
> Jalil