<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Protocols Archives - House Garden Hobby</title>
	<atom:link href="https://www.housegardenhobby.com/glossary-cat/protocols/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.housegardenhobby.com/glossary-cat/protocols/</link>
	<description>House, Garden and Hobby - Technical fun!</description>
	<lastBuildDate>Wed, 17 Jun 2026 16:38:39 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">162277751</site>	<item>
		<title>DLMS/COSEM</title>
		<link>https://www.housegardenhobby.com/glossary/dlms-cosem/</link>
		
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 20 Apr 2026 11:34:27 +0000</pubDate>
				<category><![CDATA[ams meter]]></category>
		<category><![CDATA[dlms cosem]]></category>
		<category><![CDATA[energy monitoring]]></category>
		<category><![CDATA[han port]]></category>
		<category><![CDATA[smart meter]]></category>
		<guid isPermaLink="false">https://www.housegardenhobby.com/?post_type=glossary&#038;p=1187</guid>

					<description><![CDATA[<p>DLMS/COSEM is the international data model and communication standard used by smart electricity meters — including all Norwegian AMS meters — to structure the readings they transmit.</p>
<p>The post <a href="https://www.housegardenhobby.com/glossary/dlms-cosem/">DLMS/COSEM</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">DLMS/COSEM is the international standard that determines how a smart electricity meter organises and communicates its data. If the HAN port is the physical socket on your meter, DLMS/COSEM is the language being spoken through it. Without understanding this standard, the raw bytes streaming out of your meter are meaningless. With it, every reading — watt consumption, voltage, cumulative kilowatt-hours — maps to a precise, globally defined structure.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1560" height="640" src="https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram.png" alt="A DLMS/COSEM telegram with OBIS codes (1.8.0, 16.7.0, 32.7.0) decoded into Home Assistant sensors" class="wp-image-1906" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram.png 1560w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram-300x123.png 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram-1024x420.png 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram-768x315.png 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/dlms-cosem-telegram-1536x630.png 1536w" sizes="(max-width: 1560px) 100vw, 1560px" /></figure>



<p class="wp-block-paragraph">The acronym combines two complementary specifications. <strong>DLMS</strong> stands for Device Language Message Specification — it defines the communication protocol: how a client requests data from a meter and how the meter responds or pushes data out autonomously. <strong>COSEM</strong> stands for Companion Specification for Energy Metering — it defines the data model: what objects exist inside the meter, what attributes each object has, and how values are encoded. Together they form IEC 62056, the standard maintained by the DLMS User Association. Norwegian AMS meters implement a specific profile of this standard, using the push mode where the meter transmits telegrams automatically without being polled.</p>



<p class="wp-block-paragraph">In practice, a DLMS/COSEM telegram arriving from a Norwegian AMS meter is structured as an <strong>HDLC frame</strong> (High-Level Data Link Control) containing a serialised COSEM data object. Each object in the telegram is identified by its OBIS code — a six-part numeric identifier that maps to a specific physical measurement. The data is encoded using <strong>ASN.1 BER</strong> (Abstract Syntax Notation, Basic Encoding Rules), which means the raw byte stream is binary-packed and not human-readable until decoded. Libraries like <code class="" data-line="">gurux-dlms</code> (available for Python, Java, and C#) handle this decoding automatically, and the AmsToMqttBridge firmware does the same on ESP32/ESP8266 hardware connected directly to the HAN port.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Pro Tip: You Don&#8217;t Need to Decode It Manually</strong><br>If you&#8217;re using an AMS-to-MQTT bridge or the Tibber Pulse with local MQTT, the DLMS/COSEM decoding is handled transparently by the firmware. What arrives in Home Assistant is clean JSON — watt values, voltage, kWh — with no binary parsing required on your end. You only need to understand DLMS/COSEM if you&#8217;re building your own reader from scratch or debugging a parsing failure.</p>
</blockquote>



<p class="wp-block-paragraph">The Norwegian implementation follows the &#8220;Norwegian HAN interface&#8221; specification published by REN (Rasjonell Elektrisk Nettvirksomhet), which defines exactly which COSEM objects must be present in the telegram and at what transmission intervals. List 1 (every 2 seconds) carries instantaneous active power. List 2 (every 10 seconds) adds voltage and current per phase. List 3 (every hour) adds cumulative meter readings and meter identification data. This tiered structure is a Norwegian-specific profile layered on top of the base DLMS/COSEM standard.</p>



<div class="wp-block-group info-box is-layout-flow wp-block-group-is-layout-flow">
<p class="wp-block-paragraph">⚡ <strong>Fun Fact:</strong> DLMS/COSEM was originally developed in the 1990s for automated meter reading over telephone modems — long before WiFi or smart homes existed. The standard&#8217;s explicit goal was meter-brand interoperability, so a utility company could replace meters from different manufacturers without changing their billing software. That same interoperability is why your Home Assistant setup works identically whether your meter is made by Aidon, Kaifa, or Kamstrup.</p>
</div>



<h2 class="wp-block-heading">Related Articles</h2>



			<div class="wp-block-uagb-post-grid uagb-post-grid  uagb-post__image-position-top uagb-post__image-enabled uagb-block-90ea5a65     uagb-post__items uagb-post__columns-3 is-grid uagb-post__columns-tablet-2 uagb-post__columns-mobile-1 uagb-post__equal-height" data-total="1" style="">

												<article class="uagb-post__inner-wrap">								<div class='uagb-post__image'>
									<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer" class='uagb-image-ratio-inherit'><img decoding="async" width="1024" height="358" src="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg" class="attachment-large size-large" alt="" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-300x105.jpg 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-768x269.jpg 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1536x538.jpg 1536w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-2048x717.jpg 2048w" sizes="(max-width: 1024px) 100vw, 1024px" />					</a>
							</div>
						<h4 class="uagb-post__title uagb-post__text">
				<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer"><span class="post-badge badge-diy-projects">DIY PROJECTS</span>Tibber Pulse Local MQTT Setup in Home Assistant: Step-by-Step Guide</a>
			</h4>
						<div class='uagb-post__text uagb-post-grid-byline'>
								<time datetime="2026-04-22T07:00:00+02:00" class="uagb-post__date">
				<span class="dashicons-calendar dashicons"></span>					22 April 2026				</time>
						</div>
							<div class='uagb-post__text uagb-post__excerpt'>
					Learn how to connect Tibber Pulse directly to Home Assistant via local MQTT — no cloud dependency, real-time energy data,&#8230;				</div>
						<div class="uagb-post__text uagb-post__cta wp-block-button">
				<a class="wp-block-button__link uagb-text-link" style="" href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer">Read More</a>
			</div>
			
									</article>
											</div>
			


<h2 class="wp-block-heading">Sources</h2>



<ul class="wp-block-list">
<li><a href="https://www.dlms.com/dlms-cosem/overview" target="_blank" rel="noopener">DLMS User Association – DLMS/COSEM Overview</a></li>



<li><a href="https://www.nek.no/nek-han-grensesnitt/" target="_blank" rel="noopener">NEK – Norsk HAN-grensesnitt spesifikasjon (IEC 62056)</a></li>



<li><a href="https://github.com/gskjold/AmsToMqttBridge" target="_blank" rel="noopener">AmsToMqttBridge – Open source DLMS decoder for Norwegian AMS meters</a></li>
</ul>
<p>The post <a href="https://www.housegardenhobby.com/glossary/dlms-cosem/">DLMS/COSEM</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1187</post-id>	</item>
		<item>
		<title>HAN Port</title>
		<link>https://www.housegardenhobby.com/glossary/han-port/</link>
		
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 20 Apr 2026 11:31:03 +0000</pubDate>
				<category><![CDATA[energy monitoring]]></category>
		<category><![CDATA[han port]]></category>
		<category><![CDATA[home assistant]]></category>
		<category><![CDATA[smart meter]]></category>
		<category><![CDATA[tibber pulse]]></category>
		<guid isPermaLink="false">https://www.housegardenhobby.com/?post_type=glossary&#038;p=1185</guid>

					<description><![CDATA[<p>The HAN port is a data interface on modern smart electricity meters that gives you direct, local access to your real-time power consumption — without going through your utility provider's cloud.</p>
<p>The post <a href="https://www.housegardenhobby.com/glossary/han-port/">HAN Port</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The HAN port — short for Home Area Network port — is a small RJ45 socket built into most modern smart electricity meters across Norway and the Nordic countries. It exists for one purpose: to give you direct, local access to your meter&#8217;s data. Instead of relying on your utility company&#8217;s servers to tell you what your house is consuming, the HAN port streams that information continuously — right now, in real time — to whatever device you plug into it.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1660" height="560" src="https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path.png" alt="HAN port: the AMS meter sends a telegram via the HAN port to a reader (Tibber Pulse or HAN adapter), then to Home Assistant over MQTT" class="wp-image-1905" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path.png 1660w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path-300x101.png 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path-1024x345.png 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path-768x259.png 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/han-port-data-path-1536x518.png 1536w" sizes="(max-width: 1660px) 100vw, 1660px" /></figure>



<p class="wp-block-paragraph">The port uses a serial communication protocol over the physical RJ45 connector. In Norway, the data format follows the <strong>DLMS/COSEM</strong> standard (IEC 62056), and messages are transmitted as <strong>OBIS-coded</strong> telegrams — structured data packets that contain readings like current watt consumption, cumulative kWh, voltage per phase, and reactive power. These telegrams are pushed out by the meter automatically, typically every 2 seconds for power readings and every 10 seconds for cumulative energy data. You don&#8217;t poll the meter — it broadcasts continuously whether anyone is listening or not.</p>



<p class="wp-block-paragraph">To read the HAN port, you need a small adapter that converts the signal to something a microcontroller or single-board computer can interpret. The most common solution is an M-BUS to UART adapter, which translates the meter&#8217;s M-Bus electrical signal to a standard serial interface. From there, devices like the Tibber Pulse, the Adax HAN reader, or a custom ESP32 or Raspberry Pi setup can capture the telegrams and push them via MQTT into Home Assistant. The practical result: sub-2-second latency on live watt readings, locally processed, with no cloud dependency whatsoever.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Pro Tip: Enable the Port via Your Grid Operator</strong><br>The HAN port is physically present on all AMS meters in Norway, but it is <em>disabled by default</em>. You need to contact your local grid operator (nettselskap) and request activation — it&#8217;s free and legally guaranteed under Norwegian regulations. Without this step, no data will be transmitted regardless of what hardware you connect.</p>
</blockquote>



<p class="wp-block-paragraph">The HAN port became mandatory on all new Norwegian electricity meters through the AMS rollout (Avanserte Måle- og Styringssystem) completed in 2019. The legal basis — the <em>forskrift om måling og fakturering</em> — requires grid operators to provide customer access to meter data on request. This makes Norway one of the few countries where local, high-resolution energy monitoring is a <em>right</em>, not a premium feature. By contrast, most smart meters in the UK, US, and Central Europe lock this data behind proprietary apps and cloud APIs.</p>



<div class="wp-block-group info-box is-layout-flow wp-block-group-is-layout-flow">
<p class="wp-block-paragraph">⚡ <strong>Fun Fact:</strong> The &#8220;Home Area Network&#8221; in HAN port refers to the intended local network between your meter and in-home display devices — a concept from the early 2010s smart grid standards. In practice, most Norwegian homeowners skip the official in-home display entirely and pipe the data straight into Home Assistant instead.</p>
</div>



<h2 class="wp-block-heading">Related Articles</h2>



			<div class="wp-block-uagb-post-grid uagb-post-grid  uagb-post__image-position-top uagb-post__image-enabled uagb-block-c1ff9e31     uagb-post__items uagb-post__columns-3 is-grid uagb-post__columns-tablet-2 uagb-post__columns-mobile-1 uagb-post__equal-height" data-total="1" style="">

												<article class="uagb-post__inner-wrap">								<div class='uagb-post__image'>
									<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer" class='uagb-image-ratio-inherit'><img loading="lazy" decoding="async" width="1024" height="358" src="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg" class="attachment-large size-large" alt="" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-300x105.jpg 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-768x269.jpg 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1536x538.jpg 1536w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-2048x717.jpg 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" />					</a>
							</div>
						<h4 class="uagb-post__title uagb-post__text">
				<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer"><span class="post-badge badge-diy-projects">DIY PROJECTS</span>Tibber Pulse Local MQTT Setup in Home Assistant: Step-by-Step Guide</a>
			</h4>
						<div class='uagb-post__text uagb-post-grid-byline'>
								<time datetime="2026-04-22T07:00:00+02:00" class="uagb-post__date">
				<span class="dashicons-calendar dashicons"></span>					22 April 2026				</time>
						</div>
							<div class='uagb-post__text uagb-post__excerpt'>
					Learn how to connect Tibber Pulse directly to Home Assistant via local MQTT — no cloud dependency, real-time energy data,&#8230;				</div>
						<div class="uagb-post__text uagb-post__cta wp-block-button">
				<a class="wp-block-button__link uagb-text-link" style="" href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer">Read More</a>
			</div>
			
									</article>
											</div>
			


<h2 class="wp-block-heading">Sources</h2>



<ul class="wp-block-list">
<li><a href="https://www.nve.no/reguleringsmyndigheten/nettjenester/maaling-og-fakturering/avanserte-maale-og-styringssystem-ams/" target="_blank" rel="noopener">NVE – Avanserte Måle- og Styringssystem (AMS)</a></li>



<li><a href="https://github.com/gskjold/AmsToMqttBridge" target="_blank" rel="noopener">AmsToMqttBridge – Open source HAN port to MQTT bridge (GitHub)</a></li>



<li><a href="https://www.home-assistant.io/integrations/mqtt/" target="_blank" rel="noopener">Home Assistant – MQTT Integration Documentation</a></li>
</ul>
<p>The post <a href="https://www.housegardenhobby.com/glossary/han-port/">HAN Port</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1185</post-id>	</item>
		<item>
		<title>Mosquitto</title>
		<link>https://www.housegardenhobby.com/glossary/mosquitto/</link>
		
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 20 Apr 2026 11:36:19 +0000</pubDate>
				<category><![CDATA[home assistant]]></category>
		<category><![CDATA[mosquitto]]></category>
		<category><![CDATA[mqtt]]></category>
		<category><![CDATA[mqtt broker]]></category>
		<category><![CDATA[smart home automation]]></category>
		<guid isPermaLink="false">https://www.housegardenhobby.com/?post_type=glossary&#038;p=1189</guid>

					<description><![CDATA[<p>Mosquitto is a lightweight, open-source MQTT broker that handles all message routing in a local smart home network — the engine behind most Home Assistant MQTT setups.</p>
<p>The post <a href="https://www.housegardenhobby.com/glossary/mosquitto/">Mosquitto</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Mosquitto is the software that makes MQTT work in practice. Where MQTT is the protocol — the rules governing how messages are structured and delivered — Mosquitto is the broker: the always-running process that sits at the centre of your smart home network, receives every published message, and forwards it to every subscriber that asked for it. Without a broker, MQTT devices have nowhere to send their data. Mosquitto is by far the most common broker used with Home Assistant, and for good reason: it is free, open source, and fast enough to run comfortably on a Raspberry Pi alongside everything else.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1500" height="900" src="https://www.housegardenhobby.com/wp-content/uploads/2026/06/mosquitto-broker.png" alt="Mosquitto as the central MQTT broker with clients (sensors, Zigbee2MQTT, Home Assistant, mobile app) connected to it" class="wp-image-1895" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/06/mosquitto-broker.png 1500w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mosquitto-broker-300x180.png 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mosquitto-broker-1024x614.png 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mosquitto-broker-768x461.png 768w" sizes="auto, (max-width: 1500px) 100vw, 1500px" /></figure>



<p class="wp-block-paragraph">Mosquitto is developed and maintained by the Eclipse Foundation under the Eclipse Public License. It implements the MQTT protocol at versions 3.1, 3.1.1, and 5.0. In a typical Home Assistant setup, Mosquitto runs as an <strong>add-on</strong> inside the Home Assistant OS supervisor — a containerised process that starts automatically on boot, listens on port 1883 for unencrypted connections (and optionally port 8883 for TLS), and manages all topic subscriptions in memory. The Home Assistant MQTT integration then connects to it as a client, just like any other device on the network.</p>



<p class="wp-block-paragraph">Mosquitto&#8217;s configuration is handled through a single text file — <code class="" data-line="">mosquitto.conf</code> — where you define listeners, authentication, persistence, and logging. In the Home Assistant add-on, this is exposed through the add-on&#8217;s configuration panel rather than the raw file. Two settings matter most for a home lab setup: <strong>persistence</strong> controls whether the broker saves subscription state and retained messages to disk across restarts, and <strong>allow_anonymous</strong> determines whether devices need a username and password to connect. For any setup that includes devices from outside the local network — or where the MQTT port is exposed — authentication should always be enabled. The add-on generates a password file automatically when you add users through the UI.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Pro Tip: Enable Logging to Debug Connection Problems</strong><br>If a device isn&#8217;t appearing in Home Assistant, the fastest diagnostic is Mosquitto&#8217;s log. In the Home Assistant add-on, set the log level to <code class="" data-line="">debug</code> temporarily and watch the log tab while the device tries to connect. A rejected connection will show the exact reason — wrong credentials, mismatched protocol version, or a network issue — in under a second. Remember to set log level back to <code class="" data-line="">warning</code> afterwards, or the log fills up fast on a busy network.</p>
</blockquote>



<p class="wp-block-paragraph">For users running the Tibber Pulse in local MQTT mode, or an AMS-to-MQTT bridge reading data from the HAN port, Mosquitto is the receiving end of every telegram. The bridge or Pulse connects to Mosquitto as a publisher, posting live power readings to topics like <code class="" data-line="">ams/meter/power</code>. Home Assistant subscribes to those topics via the MQTT integration and surfaces the values as sensor entities — updated in real time, stored locally, with no cloud dependency anywhere in the chain. The entire pipeline from electricity meter to Home Assistant energy dashboard runs through Mosquitto.</p>



<div class="wp-block-group info-box is-layout-flow wp-block-group-is-layout-flow">
<p class="wp-block-paragraph">⚡ <strong>Fun Fact:</strong> Mosquitto was first released in 2009 by Roger Light, originally as a personal project to run on a low-power plug computer. It was donated to the Eclipse Foundation in 2012. The name is a deliberate play on the MQTT abbreviation — a small, lightweight thing that still manages to make itself heard. Today it is one of the most widely deployed pieces of open-source infrastructure in the IoT world, running on everything from Raspberry Pis to industrial edge gateways.</p>
</div>



<h2 class="wp-block-heading">Related Articles</h2>



			<div class="wp-block-uagb-post-grid uagb-post-grid  uagb-post__image-position-top uagb-post__image-enabled uagb-block-1a86c586     uagb-post__items uagb-post__columns-3 is-grid uagb-post__columns-tablet-2 uagb-post__columns-mobile-1 uagb-post__equal-height" data-total="1" style="">

												<article class="uagb-post__inner-wrap">								<div class='uagb-post__image'>
									<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer" class='uagb-image-ratio-inherit'><img loading="lazy" decoding="async" width="1024" height="358" src="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg" class="attachment-large size-large" alt="" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-300x105.jpg 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-768x269.jpg 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1536x538.jpg 1536w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-2048x717.jpg 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" />					</a>
							</div>
						<h4 class="uagb-post__title uagb-post__text">
				<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer"><span class="post-badge badge-diy-projects">DIY PROJECTS</span>Tibber Pulse Local MQTT Setup in Home Assistant: Step-by-Step Guide</a>
			</h4>
						<div class='uagb-post__text uagb-post-grid-byline'>
								<time datetime="2026-04-22T07:00:00+02:00" class="uagb-post__date">
				<span class="dashicons-calendar dashicons"></span>					22 April 2026				</time>
						</div>
							<div class='uagb-post__text uagb-post__excerpt'>
					Learn how to connect Tibber Pulse directly to Home Assistant via local MQTT — no cloud dependency, real-time energy data,&#8230;				</div>
						<div class="uagb-post__text uagb-post__cta wp-block-button">
				<a class="wp-block-button__link uagb-text-link" style="" href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer">Read More</a>
			</div>
			
									</article>
											</div>
			


<h2 class="wp-block-heading">Sources</h2>



<ul class="wp-block-list">
<li><a href="https://mosquitto.org/" target="_blank" rel="noopener">Eclipse Mosquitto – Official project site and documentation</a></li>



<li><a href="https://mosquitto.org/man/mosquitto-conf-5.html" target="_blank" rel="noopener">Mosquitto – mosquitto.conf configuration reference</a></li>



<li><a href="https://www.home-assistant.io/integrations/mqtt/" target="_blank" rel="noopener">Home Assistant – MQTT Integration Documentation</a></li>



<li><a href="https://github.com/home-assistant/addons/tree/master/mosquitto" target="_blank" rel="noopener">Home Assistant Add-ons – Mosquitto broker add-on source</a></li>
</ul>
<p>The post <a href="https://www.housegardenhobby.com/glossary/mosquitto/">Mosquitto</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1189</post-id>	</item>
		<item>
		<title>MQTT</title>
		<link>https://www.housegardenhobby.com/glossary/mqtt/</link>
		
		<dc:creator><![CDATA[Tom]]></dc:creator>
		<pubDate>Mon, 20 Apr 2026 11:25:24 +0000</pubDate>
				<category><![CDATA[home assistant]]></category>
		<category><![CDATA[iot messaging]]></category>
		<category><![CDATA[mqtt]]></category>
		<category><![CDATA[mqtt broker]]></category>
		<category><![CDATA[smart home protocol]]></category>
		<guid isPermaLink="false">https://www.housegardenhobby.com/?post_type=glossary&#038;p=1183</guid>

					<description><![CDATA[<p>MQTT is a lightweight messaging protocol that lets smart home devices talk to each other in real time — using minimal bandwidth and no cloud required.</p>
<p>The post <a href="https://www.housegardenhobby.com/glossary/mqtt/">MQTT</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">MQTT — short for Message Queuing Telemetry Transport — is the messaging protocol that keeps most smart home systems running. It&#8217;s the reason your motion sensor can trigger a light in under a second, or your Tibber Pulse can push live energy readings directly into Home Assistant without touching a cloud server.</p>



<p class="wp-block-paragraph">MQTT works on a publish/subscribe model — the opposite of how a normal web request works. Instead of a device asking &#8220;do you have any updates?&#8221;, every device connects to a central hub called a <strong>broker</strong>. Devices that have something to say <em>publish</em> a message to a topic (for example: <code class="" data-line="">home/sensor/temperature</code>). Devices that care about that topic <em>subscribe</em> to it and receive the message instantly. The broker — typically Mosquitto in a Home Assistant setup — handles all routing in between.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1560" height="720" src="https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe.png" alt="MQTT publish/subscribe: publishers send to topics via a broker (Mosquitto), and subscribers receive" class="wp-image-1888" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe.png 1560w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe-300x138.png 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe-1024x473.png 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe-768x354.png 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/06/mqtt-publish-subscribe-1536x709.png 1536w" sizes="auto, (max-width: 1560px) 100vw, 1560px" /></figure>



<p class="wp-block-paragraph">What makes MQTT unusually well-suited to smart home use is its efficiency. The protocol was originally designed for remote oil pipeline monitoring in the 1990s — environments where bandwidth was scarce and connections unreliable. A typical MQTT message payload can be just a few bytes. The protocol runs over TCP, supports three Quality of Service (QoS) levels (0 = fire and forget, 1 = at least once, 2 = exactly once), and keeps connections alive with a configurable keepalive ping. In a local network with a Raspberry Pi running Home Assistant and Mosquitto as the broker, latency is typically under 10 ms.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Pro Tip: Use Retained Messages for Sensor State</strong><br>Enable <code class="" data-line="">retain: true</code> on sensor topics so the broker stores the last known value. When Home Assistant restarts, it immediately receives the current state of every device — no waiting for the next update cycle.</p>
</blockquote>



<p class="wp-block-paragraph">MQTT topics follow a hierarchy separated by forward slashes, which makes it easy to structure your smart home logically: <code class="" data-line="">home/livingroom/lamp/state</code>, <code class="" data-line="">home/garden/soil-moisture</code>. Wildcards are also supported — <code class="" data-line="">#</code> matches everything below a level, <code class="" data-line="">+</code> matches a single level — which is how integrations like Zigbee2MQTT expose hundreds of devices under a single subscription pattern.</p>



<div class="wp-block-group info-box is-layout-flow wp-block-group-is-layout-flow">
<p class="wp-block-paragraph">⚡ <strong>Fun Fact:</strong> MQTT was invented in 1999 by Andy Stanford-Clark (IBM) and Arlen Nipper (Cirrus Link) to monitor remote oil pipelines via satellite link — a connection so slow that every byte counted. Today the same protocol runs on millions of home automation devices worldwide.</p>
</div>



<h2 class="wp-block-heading">Related Articles</h2>



			<div class="wp-block-uagb-post-grid uagb-post-grid  uagb-post__image-position-top uagb-post__image-enabled uagb-block-cc039bbe     uagb-post__items uagb-post__columns-3 is-grid uagb-post__columns-tablet-2 uagb-post__columns-mobile-1 uagb-post__equal-height" data-total="1" style="">

												<article class="uagb-post__inner-wrap">								<div class='uagb-post__image'>
									<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer" class='uagb-image-ratio-inherit'><img loading="lazy" decoding="async" width="1024" height="358" src="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg" class="attachment-large size-large" alt="" srcset="https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1024x358.jpg 1024w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-300x105.jpg 300w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-768x269.jpg 768w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-1536x538.jpg 1536w, https://www.housegardenhobby.com/wp-content/uploads/2026/04/tibber-pulse-masquitto-2048x717.jpg 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" />					</a>
							</div>
						<h4 class="uagb-post__title uagb-post__text">
				<a href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer"><span class="post-badge badge-diy-projects">DIY PROJECTS</span>Tibber Pulse Local MQTT Setup in Home Assistant: Step-by-Step Guide</a>
			</h4>
						<div class='uagb-post__text uagb-post-grid-byline'>
								<time datetime="2026-04-22T07:00:00+02:00" class="uagb-post__date">
				<span class="dashicons-calendar dashicons"></span>					22 April 2026				</time>
						</div>
							<div class='uagb-post__text uagb-post__excerpt'>
					Learn how to connect Tibber Pulse directly to Home Assistant via local MQTT — no cloud dependency, real-time energy data,&#8230;				</div>
						<div class="uagb-post__text uagb-post__cta wp-block-button">
				<a class="wp-block-button__link uagb-text-link" style="" href="https://www.housegardenhobby.com/tibber-pulse-local-mqtt-home-assistant/" target="_self" rel="bookmark noopener noreferrer">Read More</a>
			</div>
			
									</article>
											</div>
			


<h2 class="wp-block-heading">Sources</h2>



<ul class="wp-block-list">
<li><a href="https://mqtt.org/mqtt-specification/" target="_blank" rel="noopener">MQTT.org – Official MQTT Specification</a></li>



<li><a href="https://mosquitto.org/" target="_blank" rel="noopener">Eclipse Mosquitto – Open Source MQTT Broker</a></li>



<li><a href="https://www.home-assistant.io/integrations/mqtt/" target="_blank" rel="noopener">Home Assistant – MQTT Integration Documentation</a></li>
</ul>
<p>The post <a href="https://www.housegardenhobby.com/glossary/mqtt/">MQTT</a> appeared first on <a href="https://www.housegardenhobby.com">House Garden Hobby</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1183</post-id>	</item>
	</channel>
</rss>
