<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://makerspedia.org/index.php?action=history&amp;feed=atom&amp;title=Protocolo_MQTT%3A_qu%C3%A9_es_y_c%C3%B3mo_usarlo</id>
	<title>Protocolo MQTT: qué es y cómo usarlo - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://makerspedia.org/index.php?action=history&amp;feed=atom&amp;title=Protocolo_MQTT%3A_qu%C3%A9_es_y_c%C3%B3mo_usarlo"/>
	<link rel="alternate" type="text/html" href="https://makerspedia.org/index.php?title=Protocolo_MQTT:_qu%C3%A9_es_y_c%C3%B3mo_usarlo&amp;action=history"/>
	<updated>2026-04-21T22:55:14Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://makerspedia.org/index.php?title=Protocolo_MQTT:_qu%C3%A9_es_y_c%C3%B3mo_usarlo&amp;diff=393&amp;oldid=prev</id>
		<title>5wxjb..: Agregar categorías</title>
		<link rel="alternate" type="text/html" href="https://makerspedia.org/index.php?title=Protocolo_MQTT:_qu%C3%A9_es_y_c%C3%B3mo_usarlo&amp;diff=393&amp;oldid=prev"/>
		<updated>2026-04-16T21:23:49Z</updated>

		<summary type="html">&lt;p&gt;Agregar categorías&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 18:23 16 abr 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Línea 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Home Assistant: instalación y primeros pasos]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Home Assistant: instalación y primeros pasos]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[ESP8266 vs ESP32: cuándo usar cada uno]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[ESP8266 vs ESP32: cuándo usar cada uno]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Categoría:Smart Home]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Categoría:Protocolos]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>5wxjb..</name></author>
	</entry>
	<entry>
		<id>https://makerspedia.org/index.php?title=Protocolo_MQTT:_qu%C3%A9_es_y_c%C3%B3mo_usarlo&amp;diff=97&amp;oldid=prev</id>
		<title>5wxjb..: Nuevo artículo Maker - Makerspedia</title>
		<link rel="alternate" type="text/html" href="https://makerspedia.org/index.php?title=Protocolo_MQTT:_qu%C3%A9_es_y_c%C3%B3mo_usarlo&amp;diff=97&amp;oldid=prev"/>
		<updated>2026-04-16T21:07:09Z</updated>

		<summary type="html">&lt;p&gt;Nuevo artículo Maker - Makerspedia&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introducción ==&lt;br /&gt;
MQTT (Message Queuing Telemetry Transport) es un protocolo de mensajería ligero basado en el modelo publicador/suscriptor (pub/sub). Es el estándar de facto para comunicación IoT.&lt;br /&gt;
&lt;br /&gt;
== Conceptos básicos ==&lt;br /&gt;
=== Broker ===&lt;br /&gt;
El broker es el servidor central que recibe y distribuye los mensajes. El más popular en makers es &amp;#039;&amp;#039;&amp;#039;Mosquitto&amp;#039;&amp;#039;&amp;#039; (open source).&lt;br /&gt;
&lt;br /&gt;
=== Topics ===&lt;br /&gt;
Los mensajes se publican en &amp;#039;&amp;#039;topics&amp;#039;&amp;#039; (rutas jerárquicas):&lt;br /&gt;
 casa/salon/luz/estado&lt;br /&gt;
 casa/cocina/temperatura&lt;br /&gt;
&lt;br /&gt;
=== Publish / Subscribe ===&lt;br /&gt;
* Un dispositivo &amp;#039;&amp;#039;&amp;#039;publica&amp;#039;&amp;#039;&amp;#039; (publish) un mensaje en un topic&lt;br /&gt;
* Otro dispositivo &amp;#039;&amp;#039;&amp;#039;suscrito&amp;#039;&amp;#039;&amp;#039; (subscribe) a ese topic recibe el mensaje automáticamente&lt;br /&gt;
&lt;br /&gt;
== Instalación de Mosquitto ==&lt;br /&gt;
En Raspberry Pi / Ubuntu:&lt;br /&gt;
 sudo apt install mosquitto mosquitto-clients&lt;br /&gt;
 sudo systemctl enable mosquitto&lt;br /&gt;
&lt;br /&gt;
== Ejemplo básico ==&lt;br /&gt;
Publicar desde terminal:&lt;br /&gt;
 mosquitto_pub -h localhost -t &amp;quot;casa/luz&amp;quot; -m &amp;quot;ON&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Suscribirse:&lt;br /&gt;
 mosquitto_sub -h localhost -t &amp;quot;casa/luz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== MQTT con ESP32 (PubSubClient) ==&lt;br /&gt;
 #include &amp;lt;PubSubClient.h&amp;gt;&lt;br /&gt;
 client.publish(&amp;quot;casa/luz&amp;quot;, &amp;quot;ON&amp;quot;);&lt;br /&gt;
 client.subscribe(&amp;quot;casa/luz/cmd&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Integración con Home Assistant ==&lt;br /&gt;
Home Assistant incluye un broker MQTT integrado (Mosquitto add-on) y detecta automáticamente dispositivos que siguen el protocolo MQTT Discovery.&lt;br /&gt;
&lt;br /&gt;
== Véase también ==&lt;br /&gt;
* [[Home Assistant: instalación y primeros pasos]]&lt;br /&gt;
* [[ESP8266 vs ESP32: cuándo usar cada uno]]&lt;/div&gt;</summary>
		<author><name>5wxjb..</name></author>
	</entry>
</feed>