tabsl / MMM-MySQLData

MagicMirror² module to connect to a MySQL database
MIT License
3 stars 0 forks source link

Modul ist nicht sichtbar im MagicMirror #2

Open cwp1982 opened 3 months ago

cwp1982 commented 3 months ago

Hi, hab das Modul installiert über MagicMirror Package Manager und anschließend in der config.js folgendes eingetragen: { module: "MMM-MySQLData", position: "right", config: { id: 1, host: "192.168.178.73", username: "USER", password: "pass", database: "DB", port: 3306, debug: true, values: [ { "id": "power_current", "interval": 60, "title": "Current power consumption", "praefix": "", "suffix": " w", "query": "SELECT count( * ) AS value FROM HASS_DB.states", "styles": { "ok": "< 100", "warn": "> 1000", "alert": ">= 10000" } } ] } },

Als Grundlage hab ich eine MariaDB.

Danke dir.

tabsl commented 3 months ago

Was sagt denn das Log-File? ;-)