API JSON
The ADA P1 Meter provides real-time measurement data in JSON format, which can be easily processed by various external systems and custom-developed solutions.
Endpoint
JSON data is available on the local network at the following address:
http://okosvillanyora.local:8989/json
If mDNS is not supported on the device, you can also use the IP-based access:
http://<device IP address>:8989/json
Example:
http://192.168.1.123:8989/json
Update Frequency
The device updates the JSON data every 10 seconds, providing virtually real-time information on current energy consumption and feed-in.
The JSON output is not event-driven, but rather continuously updated and queryable. Each update returns a new, complete data structure.
Sample JSON Output
{
"username": "info@greenhess.com",
"password": "0db27adf04f4d151cc74c4f09de85410",
"client_id": "D0_EF_76_33_11_24",
"os_version": "1.2.71",
"local_ip": "192.168.31.138",
"timestamp": "250329112610W",
"cosem_logical_device_name": "AUX1020320024796",
"meter_serial_number": "440252420024796",
"current_tariff": "0002",
"circuit_breaker_status": "ON",
"limiter_threshold": "24.000",
"active_import_energy_total": "8323.547",
"active_import_energy_tariff_1": "4043.669",
"active_import_energy_tariff_2": "4279.878",
"active_import_energy_tariff_3": "0.000",
"active_import_energy_tariff_4": "0.000",
"active_export_energy_total": "0.001",
"active_export_energy_tariff_1": "0.001",
"active_export_energy_tariff_2": "0.000",
"active_export_energy_tariff_3": "0.000",
"active_export_energy_tariff_4": "0.000",
"reactive_import_energy": "0.807",
"reactive_export_energy": "2595.719",
"reactive_energy_qi": "0.807",
"reactive_energy_qii": "0.000",
"reactive_energy_qiii": "0.000",
"reactive_energy_qiv": "2595.719",
"total_active_energy": "8323.548",
"voltage_phase_l1": "223.900",
"voltage_phase_l2": "0.000",
"voltage_phase_l3": "0.000",
"current_phase_l1": "2.000",
"current_phase_l2": "0.000",
"current_phase_l3": "0.000",
"current_phase_Bl1": "3.202",
"current_phase_Bl2": "0.000",
"current_phase_Bl3": "0.000",
"power_factor": "0.000",
"power_factor_l1": "0.781",
"power_factor_l2": "0.000",
"power_factor_l3": "0.000",
"frequency": "49.990",
"instantaneous_power_import": "0.560",
"instantaneous_power_export": "0.000",
"instantaneous_reactive_power_qi": "0.000",
"instantaneous_reactive_power_qii": "0.000",
"instantaneous_reactive_power_qiii": "0.000",
"instantaneous_reactive_power_qiv": "0.324",
"current_limit_l1": "200.000",
"current_limit_l2": "0.000",
"current_limit_l3": "0.000"
}
The exact key names and structure may vary depending on the firmware version, but we keep the documentation up to date if any changes occur.
Field Name | Value / Format | Unit of Measurement | OBIS Code | Source |
---|---|---|---|---|
username | info@greenhess.com | - | - | K |
password | 0db27adf... | - | - | K |
client_id | D0_EF_76_33_11_24 | - | - | K |
os_version | 1.2.71 | - | - | K |
local_ip | 192.168.31.138 | - | - | K |
timestamp | 250329112610W | időbélyeg | - | M |
cosem_logical_device_name | AUX1020320024796 | COSEM név | - | M |
meter_serial_number | 440252420024796 | mérő sorszám | - | M |
current_tariff | 0002 | jelenlegi tarifa | - | M |
circuit_breaker_status | ON | megszakító állapota | - | M |
limiter_threshold | 24.000 | kW | 0-0:17.0.0 | M |
active_import_energy_total | 8323.547 | kWh | 1-0:1.8.0 | M |
active_import_energy_tariff_1 | 4043.669 | kWh | 1-0:1.8.1 | M |
active_import_energy_tariff_2 | 4279.878 | kWh | 1-0:1.8.2 | M |
active_import_energy_tariff_3 | 0.000 | kWh | 1-0:1.8.3 | M |
active_import_energy_tariff_4 | 0.000 | kWh | 1-0:1.8.4 | M |
active_export_energy_total | 0.001 | kWh | 1-0:2.8.0 | M |
active_export_energy_tariff_1 | 0.001 | kWh | 1-0:2.8.1 | M |
active_export_energy_tariff_2 | 0.000 | kWh | 1-0:2.8.2 | M |
active_export_energy_tariff_3 | 0.000 | kWh | 1-0:2.8.3 | M |
active_export_energy_tariff_4 | 0.000 | kWh | 1-0:2.8.4 | M |
reactive_import_energy | 0.807 | kvarh | 1-0:3.8.0 | M |
reactive_export_energy | 2595.719 | kvarh | 1-0:4.8.0 | M |
reactive_energy_qi | 0.807 | kvarh | 1-0:5.8.0 | M |
reactive_energy_qii | 0.000 | kvarh | 1-0:6.8.0 | M |
reactive_energy_qiii | 0.000 | kvarh | 1-0:7.8.0 | M |
reactive_energy_qiv | 2595.719 | kvarh | 1-0:8.8.0 | M |
total_active_energy | 8323.548 | kWh | 1-0:15.8.0 | M |
voltage_phase_l1 | 223.900 | V | 1-0:32.7.0 | M |
voltage_phase_l2 | 0.000 | V | 1-0:52.7.0 | M |
voltage_phase_l3 | 0.000 | V | 1-0:72.7.0 | M |
current_phase_l1 | 2.000 | A | 1-0:31.7.0 | M |
current_phase_l2 | 0.000 | A | 1-0:51.7.0 | M |
current_phase_l3 | 0.000 | A | 1-0:71.7.0 | M |
current_phase_Bl1 | 3.202 | A | - | K |
current_phase_Bl2 | 0.000 | A | - | K |
current_phase_Bl3 | 0.000 | A | - | K |
power_factor | 0.000 | - | 1-0:13.7.0 | M |
power_factor_l1 | 0.781 | - | 1-0:33.7.0 | M |
power_factor_l2 | 0.000 | - | 1-0:53.7.0 | M |
power_factor_l3 | 0.000 | - | 1-0:73.7.0 | M |
frequency | 49.990 | Hz | 1-0:14.7.0 | M |
instantaneous_power_import | 0.560 | kW | 1-0:1.7.0 | M |
instantaneous_power_export | 0.000 | kW | 1-0:2.7.0 | M |
instantaneous_reactive_power_qi | 0.000 | kvar | 1-0:5.7.0 | M |
instantaneous_reactive_power_qii | 0.000 | kvar | 1-0:6.7.0 | M |
instantaneous_reactive_power_qiii | 0.000 | kvar | 1-0:7.7.0 | M |
instantaneous_reactive_power_qiv | 0.324 | kvar | 1-0:8.7.0 | M |
current_limit_l1 | 200.000 | A | 1-0:31.4.0 | M |
current_limit_l2 | 0.000 | A | 1-0:51.4.0 | M |
current_limit_l3 | 0.000 | A | 1-0:71.4.0 | M |
Note: In the Source
column, the letter M
indicates values measured directly by the energy meter, while K
refers to values calculated or derived by the system.
Use Cases
The JSON output is ideal for users who want to:
- Store measurements in their own InfluxDB database
- Visualize data using Grafana or other dashboard tools
- Develop custom analytics software or mobile apps
- Automate energy usage (based on scripts or rules)
- Perform offline, local data collection
Data Retrieval Options
HTTP GET requests can be made from any device, for example using a simple curl
command:
curl http://okosvillanyora.local:8989/json
The data can be processed by any system, such as:
- Python (e.g.,
requests
,pandas
) - Node.js
- Bash scripts
- Local data collection tools
Important Notes
- The JSON output contains only the current measurement – it does not include historical data or storage.
- For long-term analysis, store the data in your own system (InfluxDB, CSV, SQLite, etc.).
- The JSON output does not require login or authentication within the local network.
Tips for Developers
- Schedule data retrieval (e.g., using cron jobs or regular REST calls)
- Push data to your own server or the cloud
- Integrate using Python scripts (e.g., pandas, Flask, MQTT bridge, etc.)
The JSON API makes it possible for the ADA P1 Meter to be more than just a simple display – it becomes a true data provider device, easily integratable into any system.