Zum Inhalt springen

Nutzt du Home Assistant 2026.10 oder älter? In HACS öffnen

Unabhängiges Verzeichnis, erstellt vom Entwickler von Vulpo. Steht in keiner Verbindung zu Home Assistant oder der Open Home Foundation.

Überblick

MySQL Query Service ist eine Marketplace-Integration für Home Assistant.

Installationen im Verlauf

50
21. Okt.9. Nov.

Platz 1.535 von 1.551 Marketplace-Integrationen. Installationen, die Analysedaten teilen.

Unterstützt

  • Funktioniert lokalSpricht mit deinen Geräten in deinem eigenen Netzwerk. Keine Cloud des Herstellers dazwischen.
  • Aus dem MarketplaceWird über den Marketplace installiert, früher HACS.
  • Aktiv gepflegtDas Projekt hat in den letzten sechs Monaten eine neue Version oder Änderung veröffentlicht.

Einrichtung

Installiere die Integration aus dem Marketplace und starte Home Assistant neu. Füge sie dann unter Einstellungen > Geräte & Dienste hinzu.

Fehlerbehebung

  • DiagnosedatenLädt eine Diagnosedatei herunter, die du an einen Fehlerbericht anhängen kannst.

Aus der README

Looking for continuous sensors instead of actions you trigger on demand? See HA MySQL, a sibling integration built for that — full comparison at the bottom of this README.

A Home Assistant custom component that talks to a MySQL or MariaDB database through two actions: mysql_query.query reads with a SELECT and hands you the rows, and mysql_query.execute writes with an INSERT, UPDATE, DELETE or DDL statement and hands you what it changed. Both can return their result as response data you can use straight from a template.

  • UI configuration: add a connection, change it later from the menu of the connection, and sign in again from a prompt when the database refuses the credentials.
  • Reading and writing are separate: query runs only statements that read, execute only statements that change something. The wrong one gives an error naming the right one.
  • Parameterized queries: pass values separately with values and %s placeholders, so the database escapes them for you.
  • Guard rails: a row limit, a query timeout, one statement per call, optional read-only connections, writes for administrators only, and optional TLS.
  • Multiple databases: configure several connections and pick one per call, or use db4query for another database on the same server.
  • Robust: pooled connections, calls on one connection queue instead of interleaving, and a connection that cannot be reached at startup is retried by itself.
  • JSON-safe results: MySQL types such as DECIMAL, DATE and TIME are converted automatically.
Aus der README von IAsDoubleYou/homeassistant-mysql_query, MIT License. Gekürzt.

Informationen

Installationen
50 teilen Analysedaten
GitHub-Sterne
17
Verbindung
Funktioniert lokal
Pflege
In den letzten 6 Monaten aktualisiert
Version
v4.2.1,
Kategorie
DIY und Maker, Web- und Datenanbindungen
Art
Marketplace-Integration
Voraussetzung
Braucht den Marketplace (HACS bis Home Assistant 2026.10)
Domain
mysql_query

Das könnte dir auch gefallen

Unabhängiges Verzeichnis, erstellt vom Entwickler von Vulpo. Steht in keiner Verbindung zu Home Assistant oder der Open Home Foundation. Über diese Zahlen

Auf der Suche nach einer App? Die passende Home Assistant App fürs iPhone, nach Bedarf.