Alle Kennungen beginnen mit magicmirror.<Instanz>. · All IDs start with magicmirror.<instance>. — 84 feste Datenpunkte / fixed data points.
| ✏️ | schreibbar: ein Schreiben ohne ack löst die Aktion aus · writable: writing without ack triggers the action |
| 🔘 | Knopf: true schreiben · button: write true |
info — Verbindung und Version · Connection and version
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
info.connection | Verbindung zum Spiegel | Connection to the mirror | boolean | indicator.connected | ||
info.mmVersion | Version von MagicMirror | Version of MagicMirror | string | info.version | ||
info.bridgeVersion | Version von MMM-ioBrokerBridge | Version of MMM-ioBrokerBridge | string | info.version | ||
info.nodeVersion | Node.js auf dem Spiegel | Node.js on the mirror | string | info.version | ||
info.hostname | Rechnername des Spiegels | Hostname of the mirror | string | info.name | ||
info.uptime | Laufzeit des Spiegels | Uptime of the mirror | number | s | value.interval | |
info.startedAt | Start des Spiegels | Start of the mirror | number | date | ||
info.restartPending | Neustart nötig (Konfiguration geändert) | Restart required (configuration changed) | boolean | indicator | ||
info.restartReason | Grund für den nötigen Neustart | Reason for the required restart | string | text | ||
info.address | Adresse des Spiegels | Address of the mirror | string | url | ||
info.previewUrl | Adresse der einbettbaren Vorschau | Address of the embeddable preview | string | url | ||
info.lastSeen | Letzte erfolgreiche Abfrage | Last successful query | number | date | ||
info.platform | Betriebssystem des Spiegels | Operating system of the mirror | string | text | ||
info.lastError | Letzter Verbindungsfehler | Last connection error | string | text | ||
info.offlineSince | Nicht erreichbar seit | Unreachable since | number | date |
stats — Kennzahlen · Metrics
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
stats.modulesInstalled | Installierte Fremdmodule | Installed third-party modules | number | value | ||
stats.modulesDefault | Mitgelieferte Module | Bundled modules | number | value | ||
stats.modulesConfigured | Einträge in der Konfiguration | Entries in the configuration | number | value | ||
stats.modulesDistinct | Verschiedene Module in der Konfiguration | Different modules in the configuration | number | value | ||
stats.modulesWithoutPosition | Einträge ohne Region (unsichtbar) | Entries without region (invisible) | number | value | ||
stats.modulesWithHelper | Fremdmodule mit Serverteil | Third-party modules with server part | number | value | ||
stats.modulesActive | Laufende Module | Running modules | number | value | ||
stats.modulesVisible | Sichtbare Module | Visible modules | number | value | ||
stats.modulesHidden | Ausgeblendete Module | Hidden modules | number | value | ||
stats.modulesDisabled | Abgeschaltete Einträge | Disabled entries | number | value | ||
stats.modulesUnused | Installiert, aber nicht eingetragen | Installed but not added | number | value | ||
stats.updatesAvailable | Module mit Aktualisierung | Modules with update | number | value | ||
stats.updatesCheckedAt | Letzte Suche nach Aktualisierungen | Last search for updates | number | date | ||
stats.jobsRunning | Laufende Aufträge (git/npm) | Running jobs (git/npm) | number | value | ||
stats.clients | Verbundene Anzeigen | Connected displays | number | value | ||
stats.previews | Verbundene Vorschauen (eingebettet) | Connected previews (embedded) | number | value | ||
stats.notificationsLastHour | Benachrichtigungen in der letzten Stunde | Notifications in the last hour | number | value | ||
stats.notificationsLastMinute | Benachrichtigungen in der letzten Minute | Notifications in the last minute | number | value | ||
stats.notificationsTotal | Benachrichtigungen seit Start | Notifications since start | number | value | ||
stats.logErrors | Fehler im Protokoll seit Start | Errors in the log since start | number | value | ||
stats.logWarnings | Warnungen im Protokoll seit Start | Warnings in the log since start | number | value | ||
stats.logErrorsLastHour | Fehler im Protokoll in der letzten Stunde | Errors in the log in the last hour | number | value | ||
stats.memoryRss | Arbeitsspeicher des Spiegel-Prozesses | Memory of the mirror process | number | MB | value | |
stats.memoryHeap | Belegter JavaScript-Speicher des Spiegels | Used JavaScript memory of the mirror | number | MB | value | |
stats.cpu | Prozessorlast des Spiegel-Prozesses | Processor load of the mirror process | number | % | value | |
stats.load1 | Systemlast (1 min) | System load (1 min) | number | value | ||
stats.load5 | Systemlast (5 min) | System load (5 min) | number | value | ||
stats.load15 | Systemlast (15 min) | System load (15 min) | number | value | ||
stats.cpuCount | Prozessorkerne | Processor cores | number | value | ||
stats.systemMemFree | Freier Arbeitsspeicher des Systems | Free memory of the system | number | MB | value | |
stats.systemMemUsed | Belegter Arbeitsspeicher des Systems | Used memory of the system | number | % | value | |
stats.diskFree | Freier Platz im Modulordner | Free space in the module folder | number | GB | value | |
stats.configBackups | Sicherungen der Konfiguration | Backups of the configuration | number | value | ||
stats.configSize | Größe von config.js | Size of config.js | number | kB | value | |
stats.configModified | Letzte Änderung von config.js | Last change of config.js | number | date | ||
stats.catalogModules | Module im Katalog | Modules in the catalog | number | value | ||
stats.catalogFetchedAt | Stand des Katalogs | Catalog date | number | date |
display — Anzeige · Display
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
display.brightness | Helligkeit | Brightness | number (0 … 100) | % | ✏️ | level.dimmer |
display.zoom | Zoom | Zoom | number (0.3 … 3) | ✏️ | level | |
display.standby | Standby (Anzeige schwarz) | Standby (display black) | boolean | ✏️ | switch | |
display.page | Aktuelle Seite (MMM-pages, ab 0) | Current page (MMM-pages, starting at 0) | number (0 … ) | ✏️ | level | |
display.pages | Anzahl der Seiten (MMM-pages) | Number of pages (MMM-pages) | number | value |
control — Steuerung · Control
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
control.restart | MagicMirror neu starten | Restart MagicMirror | boolean | 🔘 | button | |
control.reload | Anzeigen neu laden | Reload displays | boolean | 🔘 | button | |
control.showAll | Alle Module einblenden | Show all modules | boolean | 🔘 | button | |
control.hideAll | Alle Module ausblenden | Hide all modules | boolean | 🔘 | button | |
control.checkUpdates | Nach Modul-Aktualisierungen suchen | Search for module updates | boolean | 🔘 | button | |
control.pageNext | Nächste Seite (MMM-pages) | Next page (MMM-pages) | boolean | 🔘 | button | |
control.pagePrevious | Vorige Seite (MMM-pages) | Previous page (MMM-pages) | boolean | 🔘 | button | |
control.alert | Meldung anzeigen (Text oder JSON {title,message,timer}) | Show message (text or JSON {title,message,timer}) | string | ✏️ | text | |
control.notification | Benachrichtigung senden (Name oder JSON {notification,payload}) | Send notification (name or JSON {notification,payload}) | string | ✏️ | text |
config — Allgemeine Einstellungen des Spiegels · General settings of the mirror
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
config.language | Sprache | Language | string | text | ||
config.locale | Gebietsschema | Locale | string | text | ||
config.timeFormat | Zeitformat | Time format | number | h | value | |
config.units | Einheiten | Units | string | text | ||
config.logLevel | Protokollstufen des Spiegels | Log levels of the mirror | string | text |
lists — Listen als JSON · Lists as JSON
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
lists.active | Laufende Module | Running modules | string | json | ||
lists.installed | Installierte Fremdmodule | Installed third-party modules | string | json | ||
lists.hidden | Von ioBroker ausgeblendete Module | Modules hidden by ioBroker | string | json | ||
lists.updates | Module mit Aktualisierung | Modules with update | string | json | ||
lists.clients | Verbundene Anzeigen | Connected displays | string | json | ||
lists.topNotifications | Häufigste Benachrichtigungen | Most frequent notifications | string | json |
log — Protokoll · Log
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Einheit · Unit | Rolle · Role | |
|---|---|---|---|---|---|---|
log.last | Letzte Protokollzeile | Last log line | string | text | ||
log.lastError | Letzter Fehler des Spiegels | Last error of the mirror | string | text | ||
log.lastErrorAt | Zeitpunkt des letzten Fehlers | Time of the last error | number | date | ||
log.lastWarning | Letzte Warnung des Spiegels | Last warning of the mirror | string | text | ||
log.lastEvent | Letztes Ereignis (Anzeige, Steuerung, Konfiguration) | Last event (display, control, configuration) | string | text | ||
log.lastNotification | Letzte Benachrichtigung zwischen Modulen | Last notification between modules | string | text | ||
log.recent | Letzte Protokollzeilen | Last log lines | string | json |
modules — Module · Modules
Je laufendem Modul auf dem Spiegel entsteht ein Kanal; der Name wird aus dem Modulnamen gebildet, bei mehrfach eingetragenen Modulen mit angehängter Nummer (weather, weather_2).
A channel is created for each running module on the mirror; the name is formed from the module name, with an appended number for modules entered multiple times (weather, weather_2).
| Datenpunkt · Data point | Bedeutung | Meaning | Typ · Type | Rolle · Role | |
|---|---|---|---|---|---|
modules.<name>.visible | Modul auf dem Spiegel ein- oder ausblenden | Show or hide module on the mirror | boolean | ✏️ | switch |
Beispiele · Examples
// Meldung auf dem Spiegel anzeigen · Display message on the mirror
setState('magicmirror.0.control.alert', 'Die Waschmaschine ist fertig');
setState('magicmirror.0.control.alert', JSON.stringify({ title: 'ioBroker', message: 'Hallo', timer: 10000, kind: 'alert' }));
// Spiegel nachts dunkel schalten · Switch mirror dark at night
schedule('0 23 * * *', () => setState('magicmirror.0.display.standby', true));
schedule('0 6 * * *', () => setState('magicmirror.0.display.standby', false));
// Alarm, wenn der Spiegel nicht erreichbar ist · Alarm when the mirror is unreachable
on({ id: 'magicmirror.0.info.connection', val: false }, () => log('MagicMirror offline', 'warn'));
// Modul ein-/ausblenden, Seite wechseln · show/hide a module, change page
setState('magicmirror.0.modules.newsfeed.visible', false);
setState('magicmirror.0.display.page', 1);