Smart Meter B Route

The Smart Meter B Route integration 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 dongles (tested with):
  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.
配置

此集成可通过 UI 配置。前往 设置 > 设备与服务 添加。

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 integration.

Retrieving your monthly cost data

To get your monthly cost data, you can use the template sensor integration along with the utility_meter integration. 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 integration

This integration follows standard integration 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-dot menu. Then, select Delete.