Skip to content

Commit 909f711

Browse files
Adding documentation for smart meter b route (#34332)
Co-authored-by: c0ffeeca7 <[email protected]>
1 parent af7a7b3 commit 909f711

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
title: Smart Meter B Route
3+
description: Integrate your Smart Meter using B Route.
4+
ha_category:
5+
- Energy
6+
- Sensor
7+
ha_release: '2025.10'
8+
ha_iot_class: Local Polling
9+
ha_codeowners:
10+
- '@SeraphicRav'
11+
ha_domain: route_b_smart_meter
12+
ha_platforms:
13+
- sensor
14+
ha_config_flow: true
15+
ha_integration_type: device
16+
---
17+
18+
The **Smart Meter B Route** {% term integration %} allows you to access the data of your smart meter using the B Route protocol.
19+
20+
## Overview
21+
22+
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](https://www.tepco.co.jp/en/pg/development/domestic/smartmeter-e.html) but other utility companies may have similar pages.
23+
24+
## Prerequisites
25+
26+
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).
27+
Ensure that your power supply is not a bulk power supply for an apartment building.
28+
29+
1. Compatible USB dongle:
30+
- Tested with the Wi-SUN USB dongle from [Ratoc Systems](https://www.ratocsystems.com/products/wisun/usb-wisun/rs-wsuha/).
31+
2. [B Route credentials from your utility company](#obtaining-b-route-credentials).
32+
3. Smart meter:
33+
- A smart meter that supports the B Route protocol.
34+
- 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.
35+
36+
{% include integrations/config_flow.md %}
37+
38+
### Signal reach
39+
40+
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.
41+
42+
## Obtaining B Route credentials
43+
44+
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.
45+
2. **Provide necessary information**: You may need to provide your smart meter ID, customer ID, or other identifying information.
46+
3. **Receive credentials**: Your utility company will provide you with a user ID and password for accessing the B Route data.
47+
48+
Refer to the links below to apply for your B Route credentials:
49+
50+
- [Hokkaido Electric Power](https://www.hepco.co.jp/network/electric_life/service/electronic_meter/b_route_service_low.html)
51+
- [Tohoku Electric Power](https://nw.tohoku-epco.co.jp/consignment/request/other/)
52+
- [TEPCO](http://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html)
53+
- [Chubu Electric Power](https://www.chuden.co.jp/home/smartmeter/intro/use/index.html)
54+
- [Hokuriku Electric Power](http://www.rikuden.co.jp/nw_kojin/b_routeservice.html)
55+
- [Kansai Electric Power](http://www.kepco.co.jp/corporate/smartmeter/routeb/routeb_how.html)
56+
- [Chugoku Electric Power](https://www.energia.co.jp/nw/safety/smartmeter/route-b.html)
57+
- [Shikoku Electric Power](https://www.yonden.co.jp/nw/b_root/index.html)
58+
- [Kyushu Electric Power](https://www.kyuden.co.jp/td_service_meter_b-root_index.html)
59+
- [Okinawa Electric Power](https://www.okiden.co.jp/business-support/service/smartmeter/b-route/index.html)
60+
61+
## Retrieving your monthly consumption data
62+
63+
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](/integrations/utility_meter/) {% term integration %}.
64+
65+
## Retrieving your monthly cost data
66+
67+
To get your monthly cost data, you can use the [template sensor](/integrations/template/) {% term integration %} along with the [utility_meter](/integrations/utility_meter/) {% term 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:
68+
69+
```yaml
70+
{% raw %}
71+
{% set consumption = states('sensor.tokyo_gas_electricity_monthly_consumption') | float(0) %}
72+
{% if consumption < 120 %}
73+
29.9
74+
{% elif consumption < 300 %}
75+
35.41
76+
{% else %}
77+
37.47
78+
{% endif %}
79+
{% endraw %}
80+
```
81+
82+
## Removing the {% term integration %}
83+
84+
This {% term integration %} follows standard {% term integration %} removal. No extra steps are required.
85+
86+
{% include integrations/remove_device_service.md %}

0 commit comments

Comments
 (0)