IAMMETERのエネルギーメーターのJSONデータの読み解き方
この記事では、主に電力量計のJSONデータの定義について説明します。
ご注意:この記事は一般ユーザー向けではありません。IAMMETERのエネルギーメーターをサードパーティ製システムに統合したい方を対象としています。IAMMETERシステム内で電力量計を使用しているだけの場合は、JSONの内容の詳細に注目する必要はありません。
これには、エネルギーメーターのデータをサードパーティ製サーバーにアップロードするシナリオや、エネルギーメーターをローカルのオープンソースプラットフォームに統合するシナリオが含まれます。メーターをサードパーティ製サーバーへのデータアップロード(HTTP/HTTPS、TCP/TLS、MQTTを使用)用に設定するか、ローカルAPIによるデータ取得用に設定するかに関わらず、JSON形式はすべての方法で一貫しています。
JSON形式
三相メーター
以下は、IAMMETERが提供する各種三相メーターです:
| ハードウェア | 相数 | CT定格 | IAMMETERクラウド | NEM | 無効電力 | 備考 |
|---|---|---|---|---|---|---|
| WEM3080T | 3 | 150,250,500 | 対応 | 対応 | 対応 | |
| WEM3046T | 3 | N/A | 対応 | 対応 | 対応 | CTはパッケージに含まれません |
| WEM3050T | 3 | 150 | 3ヶ月 | 対応 | 対応 |
三相メーターのJSON形式
{
"method":"2-5",
"mac":"B0F8933C1DF7", //mac
"version":"i.75.98.66",//FW version
"server":"em",
"SN":"12345678",//Serial Number
"EA":{
"Reactive":[
[
-953, //reactive power of phase A,unit:KVAR
56.789, //reactive energy(inductive) of phase A ,unit:KVARH
65.879 //reactive energy(capacitive) of phase A ,unit:KVARH
],
[
-948, //reactive power of phase B,unit:KVAR
78.659,//reactive energy(inductive) of phase B ,unit:KVARH
2.323 //reactive energy(capacitive) of phase B ,unit:KVARH
],
[
-944, //reactive power of phase C,unit:KVAR
65.245,//reactive energy(inductive) of phase c ,unit:KVARH
6.666 //reactive energy(capacitive) of phase C ,unit:KVARH
]
]
},
"Datas":[
[
219.7, //voltage of Phase A,unit:V
0.5, //current of phase A,unit :A
-54.9, //active power of phase A, unit :w
11.337, //forward active energy of phase A, unit :Kwh
11.201, //reverse active energy of phase A,unit Kwh
49.99, //Frequency of phase A
0.5 //power factor of phase A
],
[
219.9, //voltage of Phase B.unit:V
0.499, //current of phase B,unit :A
-55.4, //active power of phase B, unit :w
11.039, //forward active energy of phase B, unit :Kwh
10.908, //reverse active energy of phase B,unit Kwh
49.99, //Frequency of phase B
0.5 //power factor of phase B
],
[
219.9,//voltage of Phase C,unit:V
0.499, //current of phase C,unit :A
-55.7, //active power of phase C, unit :w
10.975, //forward active energy of phase C, unit :Kwh
10.846, //reverse active energy of phase C,unit Kwh
49.99, //Frequency of phase C
0.51 //power factor of phase C
]
]
}
ご注意:
- 無効電力(KVAR)と無効電力量(KVARH)の測定は、このAPIで追跡を有効にした場合にのみ作動します。
- 有効電力 = 電圧 × 電流 × 力率
単相メーター
WEM3080:スマート単相エネルギーメーター Wi-Fi、クラウド/アプリ、電気サブメーター
単相メーターのJSON形式
{
"method": "uploadsn",
"mac": "B0F8932A295C", //mac
"version": "i.75.98.71y",//FW version
"server": "em",
"SN": "12345678", //serial number
"Data": [
228.91, //voltage,unit:V
1.61, //current ,unit :amp
225, //active power, unit :w
15066.47, //forward active energy, unit:kwh
0 //reverse active energy, unit:kwh
]
}
IAMMETER製品をサードパーティ製システムに統合するためのガイドライン
すべてのIAMMETER製品は、HTTP/HTTPS、MQTT、TCP/TLSなどのプロトコルを使用したサードパーティ製サーバーとのシームレスな統合、またはHome Assistant、Node-RED、ioBroker、OpenHAB、Zabbix、ThingsBoardなどのさまざまなオープンソースプラットフォームとの統合を目的として設計されています。この簡単な統合機能は、IAMMETERの代表的な特徴です。

この記事はWEM3050Tだけでなく、IAMMETERのすべての三相メーターに適用されます。IAMMETERクラウドを除いたWEM3050Tの活用方法