Dateien nach „/“ hochladen
This commit is contained in:
parent
27f9f5c431
commit
3b7911edcf
1 changed files with 19 additions and 0 deletions
19
config.js
Normal file
19
config.js
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue