From 3b7911edcf8c94f64d616b27384f863788a5f7e8 Mon Sep 17 00:00:00 2001 From: hubobel Date: Sun, 4 Jan 2026 17:41:22 +0100 Subject: [PATCH] =?UTF-8?q?Dateien=20nach=20=E2=80=9E/=E2=80=9C=20hochlade?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config.js diff --git a/config.js b/config.js new file mode 100644 index 0000000..6fe961d --- /dev/null +++ b/config.js @@ -0,0 +1,19 @@ +// config.js +// Zentrale Konfiguration: hier nur Datenpunkte/Zuordnungen pflegen, keine Logik. + +window.LCARS_CONFIG = { + // ioBroker Socket.IO / Web-Adapter URL (Basis) + socketUrl: "http://10.0.1.122:8084", + + // Optional: namespace für getStates / setState (ioBroker Web API Pfad-Varianten unterscheiden sich je Setup) + // Wenn dein Setup ohne funktioniert, lass es so. + api: { + getStatesPath: "/getStates", + setStatePath: "/setState" + }, + + // Anzeigeformat (klassisch: konsistent, ohne Überraschungen) + format: { + decimalsDefault: 1 + } +}; \ No newline at end of file