mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-26 06:02:14 +01:00
Updated ioBroker Card Definitionen (Seiten) (markdown)
@@ -180,41 +180,59 @@ let VolumioBoss = <PageMedia>
|
|||||||
|
|
||||||
(Erstellung des "PageItem" siehe [ioBroker ALIAS Definition](https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker-ALIAS-Definitionen))
|
(Erstellung des "PageItem" siehe [ioBroker ALIAS Definition](https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker-ALIAS-Definitionen))
|
||||||
|
|
||||||
> **Definition ab TS-Version 3.1.1.3** (Breaking Changes)
|
> **Definition ab TS-Version 3.9.0** (Breaking Changes)
|
||||||
```
|
```
|
||||||
var Sprechender_eindeutiger_Seitenname = <PageMedia>
|
let Alexa = <PageMedia>
|
||||||
{
|
{
|
||||||
"type": "cardMedia",
|
'type': 'cardMedia',
|
||||||
"heading": "Deine Überschrift",
|
'heading': 'Alexa',
|
||||||
"useColor": true,
|
'useColor': true,
|
||||||
"subPage": false,
|
'items': [<PageItem>{
|
||||||
"parent": undefined,
|
id: AliasPath + 'Media.PlayerAlexa',
|
||||||
"items": [<PageItem>{
|
adapterPlayerInstance: 'alexa2.0.',
|
||||||
id: "alias.0.NSPanel_X.Media.PlayerAlexa",
|
mediaDevice: 'G0XXXXXXXXXXXXXX',
|
||||||
adapterPlayerInstance: "alexa2.0.",
|
speakerList: ['Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche','Echo Spot Buero'],
|
||||||
mediaDevice: "G0XXXXXXXXXXXXXXXX",
|
//analog alexa2 Music-Provider
|
||||||
speakerList: ['Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche','Echo Spot Buero']
|
playList: ['Spotify-Playlist.PartyPlaylist',
|
||||||
|
'Amazon-Music-Playlist.Mein Discovery Mix',
|
||||||
|
'My-Library-Playlist.2020',
|
||||||
|
'My-Library-Playlist.2021',
|
||||||
|
'TuneIn.Radio Bob Rock',
|
||||||
|
'TuneIn.NDR2',
|
||||||
|
'Spotify-Playlist.Sabaton Radio',
|
||||||
|
'Spotify-Playlist.Rock Party',
|
||||||
|
'Spotify-Playlist.This Is Nightwish',
|
||||||
|
'Spotify-Playlist.Metal Christmas'],
|
||||||
|
equalizerList: ['Bassboost','Klassik','Dance', 'Deep', 'Electronic', 'Flat', 'Hip-Hop', 'Rock',
|
||||||
|
'Metal', 'Jazz', 'Latin', 'Tonstärke', 'Lounge', 'Piano'],
|
||||||
|
colorMediaIcon: colorAlexa,
|
||||||
|
colorMediaArtist: Yellow,
|
||||||
|
colorMediaTitle: Yellow,
|
||||||
|
autoCreateALias : true
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
oder
|
oder
|
||||||
```
|
```
|
||||||
let SpotifyPremium = <PageMedia>
|
let SpotifyPremium = <PageMedia>
|
||||||
{
|
{
|
||||||
"type": "cardMedia",
|
"type": "cardMedia",
|
||||||
"heading": "Spotify-Premium",
|
"heading": "Spotify-Premium",
|
||||||
"useColor": true,
|
"useColor": true,
|
||||||
"subPage": false,
|
|
||||||
"parent": undefined,
|
|
||||||
"items": [<PageItem>{
|
"items": [<PageItem>{
|
||||||
id: AliasPath + 'Media.PlayerSpotifyPremium',
|
id: AliasPath + 'Media.PlayerSpotifyPremium',
|
||||||
adapterPlayerInstance: "spotify-premium.0.",
|
adapterPlayerInstance: "spotify-premium.0.",
|
||||||
speakerList: ['LENOVO-W11-JB','Terrasse','Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche','Echo Spot Buero'],
|
speakerList: ['LENOVO-W11-01', 'Terrasse','Überall','Gartenhaus','Esszimmer','Heimkino','Echo Dot Küche',
|
||||||
|
'Echo Spot Buero'],
|
||||||
|
playList: ['PartyPlaylist','Sabaton Radio','Rock Party','This Is Nightwish','Metal Christmas'],
|
||||||
|
repeatList: ['off','context','track'],
|
||||||
|
equalizerList: ['Bassboost','Klassik','Dance', 'Deep', 'Electronic', 'Flat', 'Hip-Hop', 'Rock',
|
||||||
|
'Metal', 'Jazz', 'Latin', 'Tonstärke', 'Lounge', 'Piano'],
|
||||||
colorMediaIcon: colorSpotify,
|
colorMediaIcon: colorSpotify,
|
||||||
colorMediaArtist: Yellow,
|
colorMediaArtist: Yellow,
|
||||||
colorMediaTitle: Yellow,
|
colorMediaTitle: Yellow,
|
||||||
autoCreateALias : true
|
autoCreateALias : true
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -236,19 +254,6 @@ let SpotifyPremium = <PageMedia>
|
|||||||
* für "chromecast.0.": Zeile kann gelöscht werden, da GoogleHome keine Funktionalitäten zum Wechseln von Lautsprechern zur Verfügung stellt
|
* für "chromecast.0.": Zeile kann gelöscht werden, da GoogleHome keine Funktionalitäten zum Wechseln von Lautsprechern zur Verfügung stellt
|
||||||
* für "squeezeboxrpc.0.": "Bekannte Player unter Players (aktuell keine Funktion)
|
* für "squeezeboxrpc.0.": "Bekannte Player unter Players (aktuell keine Funktion)
|
||||||
|
|
||||||
> **Definition bis TS-Version 3.1.1.3**
|
|
||||||
```
|
|
||||||
var Sprechender_eindeutiger_Seitenname = <PageMedia>
|
|
||||||
{
|
|
||||||
"type": "cardMedia",
|
|
||||||
"heading": "Deine Überschrift",
|
|
||||||
"useColor": true,
|
|
||||||
"subPage": false,
|
|
||||||
"parent": undefined,
|
|
||||||
"items": [<PageItem>{ id: "alias.0.NSPanel_X.Media.PlayerAlexa" }]
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
# cardQR
|
# cardQR
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user