DIY PROJECTSTibber Pulse Local MQTT Setup in Home Assistant: Step-by-Step Guide

Learn how to connect Tibber Pulse directly to Home Assistant via local MQTT — no cloud dependency, real-time energy data, full control.

A few years ago I set up Tibber Pulse with local MQTT in Home Assistant — and it worked perfectly. Then I had to redo it without any notes. This guide is what I wish I’d written the first time: every step, every gotcha, and the Node-RED decoder I built myself.

Short version: Tibber Pulse can push energy data directly to Home Assistant via MQTT by running Mosquitto as your broker, putting Pulse into access point mode, and decoding the AMS/HAN meter frames in Node-RED. No Tibber cloud required once it’s configured.

Why bypass the default Tibber setup?

Out of the box, Tibber Pulse is a polished product — but its data goes through Tibber’s cloud before reaching any integration. That means latency, dependency on an external service, and limited control over what you actually get. Local MQTT solves all three.

  • Real-time local data — no cloud hop
  • Sub-second response for automations
  • Full control over which values you extract and how

Step 0 – Install the MQTT Broker (Mosquitto)

Mosquitto MQTT broker installation in Home Assistant Add-ons settings

Before touching Pulse, you need a working MQTT broker. In Home Assistant, Mosquitto is the standard choice and installs in under two minutes.

  1. Go to Settings → Add-ons
  2. Search for and install Mosquitto broker
  3. Start the add-on
  4. Set a username and password — you’ll need these in Step 3

Pro Tip: Dedicated MQTT credentials
Create a separate Home Assistant user for MQTT (not your admin account). It keeps access scoped and makes troubleshooting cleaner if something breaks.

Step 1 – Reset Tibber Pulse to Setup Mode

The first real hurdle is getting Pulse back into its initial configuration mode. There’s no menu for this — it requires a physical button sequence during power-up.

  1. Disconnect Pulse from the HAN port
  2. Hold the button on the device
  3. Reconnect to USB power while still holding the button
  4. Wait until the LED starts blinking — Pulse is now broadcasting its own Wi-Fi network

If the LED doesn’t blink after 10–15 seconds, repeat the sequence. The timing matters — hold the button before power connects, not after.

Step 2 – Access the Configuration Page

Once Pulse is in access point mode, connect your computer or phone to the Wi-Fi network it broadcasts. Then navigate to:

http://10.133.70.1/

This is the local configuration interface. It’s minimal, but everything you need is here. You won’t find this address documented prominently anywhere — which is exactly why people get stuck.

Step 3 – Configure MQTT (the critical part)

Tibber Pulse MQTT configuration fields showing SSID, broker IP, port, and topic settings

This is the step that catches most people. The broker IP format is not what you’d expect — it needs credentials embedded in the address string.

  • SSID — your home Wi-Fi name
  • PSK — your Wi-Fi password
  • MQTT broker IP — format: username:password@192.168.x.x (e.g. pulse:pulse@192.168.1.2)
  • Port — 1883
  • Topic — e.g. pulse/ams

Get the IP format wrong and Pulse will connect to Wi-Fi but never publish to your broker — no error, just silence. Double-check the user:pass@IP syntax before saving.

Step 4 – Power Stability (the lesson learned the hard way)

Running Pulse on HAN port power alone sounds convenient, but in practice it causes problems. The HAN port doesn’t always supply consistent power — output varies by meter model and installation.

What this looked like in practice: random disconnects, silent reboots, and gaps in energy data. Adding a USB power supply eliminated all of it immediately.

Pro Tip: Always add USB power
Plug Pulse into USB power in addition to the HAN port. It’s a 30-second fix that prevents hours of troubleshooting. Whether you strictly need it depends on your specific meter, but the cost of not doing it is high.

Step 5 – Decode the Data in Node-RED

Raw data from the AMS/HAN meter arrives as binary DLMS frames — unreadable without parsing. Before building dashboards or automations, you need to decode it. Node-RED is the right tool for this.

If you haven’t used Node-RED before, the official Node-RED documentation is the best starting point.

Basic Node-RED flow with MQTT input node connected to a debug node for testing Tibber Pulse data

Start with the simplest possible test: an MQTT-in node connected directly to a debug node. If data is flowing from Pulse to your broker, you’ll see raw binary output in the debug panel.

Node-RED debug output showing raw binary DLMS data from Tibber Pulse AMS meter

That raw output is DLMS-encoded data. It needs a parser before it means anything. The fastest path to a working setup is the AMS HAN Home Assistant integration — a ready-made decoder that handles most Norwegian meters.

But if you want to extract specific values, run custom calculations, or just understand exactly what the meter is sending — build your own. Here’s the function node I use:

// ======================
// INPUT
// ======================
let buf = msg.payload;
if (!Buffer.isBuffer(buf)) return null;

let state = flow.get("han_data") || {};
let meta = flow.get("han_meta") || {};
let i = 0;

function readUInt32(buffer, offset) { return buffer.readUInt32BE(offset); }
function readUInt16(buffer, offset) { return buffer.readUInt16BE(offset); }
function readInt16(buffer, offset)  { return buffer.readInt16BE(offset); }
function round(value, decimals = 1) {
    return Math.round(value * Math.pow(10, decimals)) / Math.pow(10, decimals);
}

let obisMap = {
    "0100010700ff": { key: "power_import",    scale: 1    },
    "0100020700ff": { key: "power_export",    scale: 1    },
    "0100010800ff": { key: "energy_import",   scale: 0.01 },
    "0100020800ff": { key: "energy_export",   scale: 0.01 },
    "0100200700ff": { key: "voltage_l1",      scale: 0.1  },
    "0100340700ff": { key: "voltage_l2",      scale: 0.1  },
    "0100480700ff": { key: "voltage_l3",      scale: 0.1  },
    "01001f0700ff": { key: "current_l1",      scale: 0.1  },
    "0100330700ff": { key: "current_l2",      scale: 0.1  },
    "0100470700ff": { key: "current_l3",      scale: 0.1  },
    "0100150700ff": { key: "power_l1",        scale: 1    },
    "0100290700ff": { key: "power_l2",        scale: 1    },
    "01003d0700ff": { key: "power_l3",        scale: 1    },
    "0100030700ff": { key: "reactive_import", scale: 1    },
    "0100040700ff": { key: "reactive_export", scale: 1    }
};

while (i < buf.length - 10) {
    let obis = buf.slice(i, i + 6).toString('hex');
    if (obisMap[obis]) {
        let { key, scale } = obisMap[obis];
        let type = buf[i + 6];
        let value = null;
        if      (type === 0x06) { value = readUInt32(buf, i + 7); i += 11; }
        else if (type === 0x12) { value = readUInt16(buf, i + 7); i += 9;  }
        else if (type === 0x10) { value = readInt16(buf,  i + 7); i += 9;  }
        else { i++; continue; }
        let scaled = value * scale;
        if      (key.includes("voltage") || key.includes("current")) { state[key] = round(scaled, 1); }
        else if (key.includes("energy"))  { state[key] = round(scaled, 2); }
        else                               { state[key] = Math.round(scaled); }
    } else { i++; }
}

if (state.energy_import !== undefined) flow.set("energy_total",       state.energy_import);
if (state.energy_export !== undefined) flow.set("energy_export_total", state.energy_export);
state.energy_import = flow.get("energy_total")       ?? state.energy_import;
state.energy_export = flow.get("energy_export_total") ?? state.energy_export;

if (state.power_import && state.reactive_import !== undefined) {
    let p = state.power_import;
    let q = state.reactive_import;
    let s = Math.sqrt(p*p + q*q);
    state.power_factor = round(p / s, 2);
}
if (!state.current_l2 && state.power_import && state.voltage_l2) {
    state.current_l2_estimated = round(state.power_import / (Math.sqrt(3) * state.voltage_l2), 1);
}

let text = buf.toString('latin1');
let firmwareMatch = text.match(/AIDON_[A-Z0-9]+/);
if (firmwareMatch) meta.firmware = firmwareMatch[0];
let meterIdMatch = text.match(/\d{10,}/);
if (meterIdMatch) meta.meter_id = meterIdMatch[0];
meta.manufacturer = "Aidon";

flow.set("han_data", state);
flow.set("han_meta", meta);

msg.payload = { ...state, ...meta };
return msg;</code></pre>
Node-RED debug output showing decoded Aidon meter data including power factor and estimated L2 current

The decoded output includes power import/export per phase, voltage and current per phase, reactive power, and calculated power factor. Note that energy_import and energy_export (kWh totals) will appear as undefined in some messages — this is expected. The meter only sends cumulative energy readings periodically, not with every packet.

Full Node-RED flow for Tibber Pulse MQTT data decoding with function node and Home Assistant sensor output
Animated GIF showing live data flowing through Node-RED debug panel from Tibber Pulse AMS meter

How AMS Meter Data Is Actually Transmitted

Understanding the update intervals explains why some values aren’t always available. The AMS/HAN standard defines three reporting tiers:

Every 2.5 seconds

  • Active power import (kW)

Every 10 seconds

  • OBIS list version, meter ID, meter type
  • Active power — import and export (kW)
  • Reactive power — import and export (kVAr)
  • Current per phase — L1, L2, L3 (A)
  • Voltage per phase (V)

Every hour

  • Cumulative energy import and export (kWh)
  • Reactive energy (kVArh)
  • Timestamp

This tiered structure is why the OBIS decoder uses persistent flow variables to carry energy readings forward — otherwise the hourly values would appear blank between updates.

Useful References

FAQ – Tibber Pulse Local MQTT

Why isn’t Tibber Pulse sending any data?

The most common cause is that the HAN port isn’t activated by your grid operator — this requires a written request in most countries. After that, check your MQTT broker IP format and confirm the topic matches what’s configured in Pulse.

What IP address does Tibber Pulse use in setup mode?

When Pulse is broadcasting its own Wi-Fi access point, the configuration interface is at http://10.133.70.1/.

Do I need a Tibber subscription to use local MQTT?

No. Once Pulse is configured to publish directly to your MQTT broker, it operates independently of Tibber’s cloud. No active Tibber subscription is required for local operation.

Why does energy_import show as undefined in Node-RED?

Cumulative energy readings (kWh) are only transmitted once per hour by the AMS meter — not in every packet. The Node-RED function uses persistent flow variables to carry these values forward between updates.

Does this work with Kaifa and Kamstrup meters, not just Aidon?

The DLMS/OBIS protocol is standardized across Aidon, Kaifa, and Kamstrup meters. Minor differences exist in which values are transmitted and at what frequency, but the same Tibber Pulse + MQTT setup applies to all three.

Have you built a dashboard around your local energy data, or are you hitting a wall somewhere in the setup? Drop a question in the comments — and if you want to go deeper on Home Assistant automations, the Home Assistant automation documentation covers the full picture.

Leave a Reply