Smart Meter B Route

The Smart Meter B Route integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to access the data of your smart meter using the B Route protocol.

Overview

This integration enables you to access and monitor your household energy consumption data from a smart meter using the B Route protocol in Home Assistant. You’ll need a compatible USB dongle and your B Route credentials to set up this integration. It has been tested for the Japanese market and most households are eligible, the installation of a smart meter is free. You can find some information by TEPCO here but other utility companies may have similar pages.

Prerequisites

Even if you have a contract with a new power provider, you can still use this service by applying to the regional utility company (for example, TEPCO in Tokyo). Ensure that your power supply is not a bulk power supply for an apartment building.

  1. Compatible USB dongle:
  2. B Route credentials from your utility company.
  3. Smart meter:
    • A smart meter that supports the B Route protocol.
    • If you are renting but do not have a smart meter equipped, you will need to contact your house management company, as the installation is free but may require permission.

Configuration

To add the Smart Meter B Route device to your Home Assistant instance, use this My button:

Manual configuration steps

If the above My button doesn’t work, you can also perform the following steps manually:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & Services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Smart Meter B Route.

  • Follow the instructions on screen to complete the setup.

Signal reach

The Wi-SUN USB dongle has a typical signal reach of approximately 50 meters indoors and up to 200 meters outdoors, depending on environmental factors such as walls, interference, and other obstacles.

Obtaining B Route credentials

  1. Contact your utility company: Reach out to your electricity provider and request your B Route credentials. For example, if you live in Tokyo, contact TEPCO.
  2. Provide necessary information: You may need to provide your smart meter ID, customer ID, or other identifying information.
  3. Receive credentials: Your utility company will provide you with a user ID and password for accessing the B Route data.

Refer to the links below to apply for your B Route credentials:

Retrieving your monthly consumption data

By default, the data you get is the total consumption since an unknown date in the past. If you want to get your monthly consumption data, you can use the utility_meter integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more].

Retrieving your monthly cost data

To get your monthly cost data, you can use the template sensor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] along with the utility_meter integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more]. You will need to know your electricity rate (cost per kWh) to calculate the cost. For instance, if you are using Tokyo Gas and have a price depending on your usage, you can use the following template with a unit of measurement set to your currency per kWh (for example, JPY/kWh) and the appropriate sensor name:


{% set consumption = states('sensor.tokyo_gas_electricity_monthly_consumption') | float(0) %}
{% if consumption < 120 %}
29.9
{% elif consumption < 300 %}
35.41
{% else %}
37.47
{% endif %}

Removing the integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more]

This integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] follows standard integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] removal. No extra steps are required.

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. From the list of devices, select the integration instance you want to remove.
  3. Next to the entry, select the three dots menu. Then, select Delete.