Aller au contenu

Sur Home Assistant 2026.10 ou une version antérieure ? L’ouvrir dans HACS

Annuaire indépendant, créé par le développeur de Vulpo. Non affilié à Home Assistant ni à l’Open Home Foundation.

À propos

MySQL Query Service est une intégration de la Marketplace pour Home Assistant.

Installations au fil du temps

50
21 oct.9 nov.

N° 1 535 sur 1 551 intégrations de la Marketplace. Installations partageant leurs statistiques.

Prise en charge

  • Fonctionne en localCommunique avec tes appareils sur ton propre réseau. Aucun cloud de fournisseur entre les deux.
  • Depuis la MarketplaceS’installe depuis la Marketplace, anciennement HACS.
  • Maintenance activeSon auteur a publié une version ou poussé une modification au cours des six derniers mois.

Mise en place

Installe l’intégration depuis la Marketplace et redémarre Home Assistant, puis ajoute-la dans Paramètres > Appareils et services.

Dépannage

  • DiagnosticsTélécharge un fichier de diagnostics à joindre à un rapport de bug.

Extrait du 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.
Extrait du README de IAsDoubleYou/homeassistant-mysql_query, MIT License. Abrégé.

Informations

Installations
50 partagent leurs statistiques
Étoiles GitHub
17
Connexion
Fonctionne en local
Maintenance
Mise à jour au cours des 6 derniers mois
Version
v4.2.1,
Catégorie
DIY et makers, Connecteurs web et de données
Type
Intégration de la Marketplace
Prérequis
Nécessite la Marketplace (HACS sur Home Assistant 2026.10 et les versions antérieures)
Domaine
mysql_query

À découvrir aussi

Annuaire indépendant, créé par le développeur de Vulpo. Non affilié à Home Assistant ni à l’Open Home Foundation. À propos de ces chiffres

Tu cherches une app ? Les meilleures apps Home Assistant pour iPhone, selon tes besoins.