mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-07 11:39:40 +01:00
Updated NSPanel ‐ cardThermo2 ‐ Der komplette Leitfaden (markdown)
@@ -16,4 +16,51 @@ Des Weiteren sind 3 zusätzliche Entitäten vorhanden, die vorzugsweise für:
|
|||||||
|
|
||||||
genutzt werden können.
|
genutzt werden können.
|
||||||
|
|
||||||
<img width="559" height="390" alt="image" src="https://github.com/user-attachments/assets/ad8ddf0d-1a2f-4aa7-8cdd-ce7a9301a71d" />
|
<img width="559" height="390" alt="image" src="https://github.com/user-attachments/assets/ad8ddf0d-1a2f-4aa7-8cdd-ce7a9301a71d" />
|
||||||
|
|
||||||
|
## Beispiel Variablendefinition für die ecardThermo2:
|
||||||
|
|
||||||
|
```
|
||||||
|
let CardThermo2Test: PageType =
|
||||||
|
{
|
||||||
|
type: 'cardThermo2',
|
||||||
|
heading: 'cardThermo2',
|
||||||
|
thermoItems: [
|
||||||
|
/* Center-Area of cardThermo2 */
|
||||||
|
/* SET-Temp */ { id: 'alias.0.NSPanel_EMU.TestKlimaVirtual', minValue: 5.0, maxValue:30.0, stepValue: 0.5, unit: "°C" },
|
||||||
|
/* Actual Temp */ { id: 'alias.0.NSPanel_EMU.TestKlimaVirtual.ACTUAL', icon: 'thermometer', onColor: Orange, unit: "°C" },
|
||||||
|
/* Actual Humidity */ { id: 'alias.0.NSPanel_EMU.TestKlimaVirtual.HUMIDITY', icon: 'water-percent', onColor: HMIOn, unit: "%" },
|
||||||
|
/* Text State */ { id: 'alias.0.NSPanel_EMU.TestKlimaVirtual.MODE', onColor: Orange }
|
||||||
|
],
|
||||||
|
items: [
|
||||||
|
/* Max 9 Entities in cardThermo2 */
|
||||||
|
{
|
||||||
|
id: 'alias.0.Haus.Obergeschoss.Bad.Licht.Emu_GU10_1',
|
||||||
|
name: 'HUE (CT=Kelvin)', // HUE Channel - Philips WiZ GU10 über matter.0 - Color-Temperature in Kelvin
|
||||||
|
icon: 'lightbulb-on',
|
||||||
|
icon2: 'lightbulb-outline',
|
||||||
|
offColor: Off,
|
||||||
|
minValueColorTemp: 2203, // Kelvin = Warmweiß
|
||||||
|
maxValueColorTemp: 6536, // Kelvin = Kaltweiß
|
||||||
|
interpolateColor: true,
|
||||||
|
modeList: ["Color", "Ocean", "Romantik", "Sonnenuntergang", "Party", "Kamin", "Gemütlich", "Wald", "Pastellfarben", "Aufwachen", "Schlafenszeit", "Warmweiß", "Tageslicht",
|
||||||
|
"Kaltweiß", "Nachtlicht", "Fokus", "Entspannen", "Echte Farben", "Fernsehzeit", "Pflanzenwachstum", "Frühling", "Sommer", "Herbst", "Tieftauchgang", "Dschungel",
|
||||||
|
"Mojito", "Club", "Weihnachten", "Halloween", "Kerzenlicht", "Goldenes Weiß", "Impuls", "Steampunk"],
|
||||||
|
inSel_ChoiceState: true,
|
||||||
|
popupVersion: 2
|
||||||
|
},
|
||||||
|
{ id: 'alias.0.Test.BuerofensterInfoAlias', name: 'Bürofenster', icon: 'window-open-variant', icon2: 'window-closed-variant', onColor: MSRed, offColor: MSGreen},
|
||||||
|
{ id: 'alias.0.NSPanel_1.TestLautstärke', name: 'Volume', onColor: HMIOn, offColor: HMIOff, minValue: 0, maxValue: 100},
|
||||||
|
{ navigate: true, id: null, targetPage: 'Abfall', onColor: White, name: 'Abfallkalender', icon: 'trash-can'},
|
||||||
|
//{ id: 'alias.0.Test.Gerät_1', offColor: MSRed, onColor: MSGreen, name: 'Gießdauer Minuten', minValue: 1, maxValue: 180, colorScale: {'val_min': 1, 'val_max': 180}},
|
||||||
|
//{ id: 'alias.0.NSPanel_1.Abfall.event1',icon: 'trash-can'},
|
||||||
|
{ id: 'alias.0.NSPanel_1.Ventilator.Fan_1',name: 'Ventilator', icon: 'fan', onColor: On, offColor: HMIOff, modeList: ['Low', 'Medium', 'High', 'Move', 'Sleep', 'Auto', 'Manual']},
|
||||||
|
{ id: 'alias.0.NSPanel_1.TestTemperatur', name: 'Außentemperatur', offColor: White , onColor: White, useValue: true, suffixName: ' °C', fontSize: 1, colorScale: { 'val_min': -20, 'val_max': 40, 'val_best': 20 } },
|
||||||
|
{ id: 'alias.0.NSPanel_1.Radio.Bob', icon: 'radio', name: 'Radio BOB', onColor: colorRadio, offColor: colorRadio},
|
||||||
|
//{ id: 'alias.0.NSPanel_1.Haustuer', offColor: MSGreen, onColor: MSRed, name: 'Haustür'},
|
||||||
|
{ id: 'delete'},
|
||||||
|
{ id: 'alias.0.NSPanel_EMU.TestKlimaVirtualModeList', icon: 'dots-horizontal-circle-outline', onColor: White, offColor: White, name: 'Betriebsmodus', modeList: ['Aus','Kühlen auf', 'Heizen auf']}
|
||||||
|
],
|
||||||
|
alwaysOnDisplay: true
|
||||||
|
};
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user