From d120be4c6b33fabd52ffb74fc6c3d4709cde9180 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 30 Jan 2026 07:27:56 +0100 Subject: [PATCH 1/5] Update hosted version link for OpenEMS UI --- doc/modules/ROOT/pages/ui/setup-ide.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/modules/ROOT/pages/ui/setup-ide.adoc b/doc/modules/ROOT/pages/ui/setup-ide.adoc index 0954e583a72..91c07105fc1 100644 --- a/doc/modules/ROOT/pages/ui/setup-ide.adoc +++ b/doc/modules/ROOT/pages/ui/setup-ide.adoc @@ -8,7 +8,7 @@ :source-highlighter: highlight.js :icons: font -NOTE: Visual Studio Code is the recommended development environment for OpenEMS UI. If you do not plan to actively develop on OpenEMS UI, you can simply use the hosted version we provide at https://openemsuilocal.consolinno.de[https://openemsuilocal.consolinno.de icon:external-link[]]. +NOTE: Visual Studio Code is the recommended development environment for OpenEMS UI. If you do not plan to actively develop on OpenEMS UI, you can simply use the hosted version we provide at https://openemsuilocal.consolinno.de[https://openems.netlify.app icon:external-link[]]. == Setup Visual Studio Code @@ -47,4 +47,4 @@ The log shows: NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ``` -. Open a browser at http://localhost:4200 \ No newline at end of file +. Open a browser at http://localhost:4200 From 5da67efcb04a37134173cf88ab7b5972353c2f60 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 30 Jan 2026 07:31:14 +0100 Subject: [PATCH 2/5] Add edge-dev-localhost environment configuration --- .../openems/environments/edge-dev-localhost.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ui/src/themes/openems/environments/edge-dev-localhost.ts diff --git a/ui/src/themes/openems/environments/edge-dev-localhost.ts b/ui/src/themes/openems/environments/edge-dev-localhost.ts new file mode 100644 index 00000000000..9c67a91498f --- /dev/null +++ b/ui/src/themes/openems/environments/edge-dev-localhost.ts @@ -0,0 +1,14 @@ +@ -0,0 +1,14 @@ +import { Environment, getWebsocketScheme } from "src/environments"; +import { theme } from "./theme"; + +export const environment: Environment = { + ...theme, ...{ + + backend: "OpenEMS Edge", + url: getWebsocketScheme() + "://localhost:8085", + + production: false, + debugMode: true, + }, +}; From 666fdecec31b7b1a5155b1ffd9cdc32ee2826bb7 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 30 Jan 2026 07:32:08 +0100 Subject: [PATCH 3/5] Add file replacements for openems-edge-dev-localhost --- ui/angular.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui/angular.json b/ui/angular.json index 897ae4de517..c70fcdff0be 100644 --- a/ui/angular.json +++ b/ui/angular.json @@ -139,6 +139,22 @@ } ] }, + "openems-edge-dev-localhost": { + "fileReplacements": [ + { + "replace": "src/environments/theme.ts", + "with": "src/themes/openems/environments/theme.ts" + }, + { + "replace": "src/environments/dummy.ts", + "with": "src/themes/openems/environments/edge-dev-localhost.ts" + }, + { + "replace": "src/environments/oem-meta.ts", + "with": "src/themes/openems/environments/oem-meta.ts" + } + ] + }, "openems-edge-prod": { "fileReplacements": [ { From dc6777a0a92610ddeb40d462a9191a86a64def96 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 30 Jan 2026 07:36:35 +0100 Subject: [PATCH 4/5] Add edge-dev-localhost environment configuration --- ui/src/themes/openems/environments/edge-dev-localhost.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/src/themes/openems/environments/edge-dev-localhost.ts b/ui/src/themes/openems/environments/edge-dev-localhost.ts index 9c67a91498f..b6764de5939 100644 --- a/ui/src/themes/openems/environments/edge-dev-localhost.ts +++ b/ui/src/themes/openems/environments/edge-dev-localhost.ts @@ -1,4 +1,3 @@ -@ -0,0 +1,14 @@ import { Environment, getWebsocketScheme } from "src/environments"; import { theme } from "./theme"; From 79d569840b142cd08040773ff88700955c4f516a Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 30 Jan 2026 08:03:01 +0100 Subject: [PATCH 5/5] Update edge-dev-localhost.ts --- ui/src/themes/openems/environments/edge-dev-localhost.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/themes/openems/environments/edge-dev-localhost.ts b/ui/src/themes/openems/environments/edge-dev-localhost.ts index b6764de5939..47a04931ee2 100644 --- a/ui/src/themes/openems/environments/edge-dev-localhost.ts +++ b/ui/src/themes/openems/environments/edge-dev-localhost.ts @@ -2,12 +2,9 @@ import { Environment, getWebsocketScheme } from "src/environments"; import { theme } from "./theme"; export const environment: Environment = { - ...theme, ...{ - + ...theme, backend: "OpenEMS Edge", url: getWebsocketScheme() + "://localhost:8085", - production: false, debugMode: true, - }, };