Cannot connect the UI to openEMS-Edge

Dear community,

I am new to OpenEMS and want to evaluate if it could serve my needs and if ican handle this.

So my fist step was to download the source to a Ubuntu server, compile me a new jar and connect with the UI I am starting from docker.

I build the jar successfully from commandline with “./graldew buildEdge” and was able to configure according to the “Getting Started” guide with the Felix console. The connection from the UI ran into an error. I was able to trace that … it is the missing “public on Activate” in ui/src/app/app.component.ts. That is already know but did not find its way to a docker image.

As next step i started the ui from source with “npx ng serve app --configuration openems-edge-dev --host 0.0.0.0 --port 4200”. That brings up the UI and let me login - the log file shows successful login.

Unfortuantely the UI is not showing any component … so it is frankly empty. Having a look to the dev console of FF it shows:

Angular is running in development mode. debug_node.mjs:18308:17
TypeError: can’t convert null to object
GlobalRouteChangeHandler2 globalRouteChangeHandler.ts:38
__async chunk-XME3JEOW.js:52
ZoneAwarePromise Angular
__async chunk-XME3JEOW.js:36
GlobalRouteChangeHandler2 globalRouteChangeHandler.ts:35
RxJS 3
myerrorhandler.ts:21:17
handleError myerrorhandler.ts:21
Angular 5
RxJS 6
Angular 18
main.ts:10
Websocket connecting to URL [ws://192.168.10.208:8085] websocket.ts:366:21
Websocket connection opened websocket.ts:259:33
Request [authenticateWithToken]
Object { token: “c349ff61-f0d3-4597-a0d9-c0fc9b49169f” }
wsdata.ts:32:25
13:13:31 Response [authenticateWithToken]
Object { token: “c349ff61-f0d3-4597-a0d9-c0fc9b49169f”, user: {…}, edges: }
wsdata.ts:58:29
[vite] server connection lost. Polling for restart… client:865:14
[vite] connected from window 3126ffcc-c928-4670-b259-8511152ba6cc:67:11
[vite] new window visibility hidden 3126ffcc-c928-4670-b259-8511152ba6cc:63:12
[vite] new window visibility visible 3126ffcc-c928-4670-b259-8511152ba6cc:63:12
[vite] new window visibility hidden 3126ffcc-c928-4670-b259-8511152ba6cc:63:12
[vite] new window visibility visible 3126ffcc-c928-4670-b259-8511152ba6cc:63:12
[vite] new window visibility hidden 3126ffcc-c928-4670-b259-8511152ba6cc:63:12
[vite] new window visibility visible 3126ffcc-c928-4670-b259-8511152ba6cc:63:12

As far as i can drill this down there is no Edge assigned to the logged-in user. I guess that I made a configuration error somewhere. Can someone please point me to way to solve this problem ? Thanks in advance.

All the best
Chris

Can you try the feature/fems-backports Branch?

Hello, and thank you for your hint. Unfortuantely with this branch the “gradlew buildEdge” command “hangs” with 99% at :io.openems.edge.application:resolve.EdgeApp

Even on a more powerful desktop station i skiped this after >30mins

Following your hint I started juggling with branches and tags and found that the 2026.3.0 release is doing the trick for me. Unfortunately I dont know for what reason. Thanks anway.
BR Chris