Skip to content

Dwokfur/adap1meter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADA Family Meters Integration for Home Assistant

HACS Default Home Assistant HACS Supported GitHub release (latest by date) Version Maintenance License: MIT Platform: Sensor

This is a custom integration for Home Assistant that provides sensor data from an ADA Meter, including total energy consumption, phase voltage, current, power factors, and more.

Compatible devices

ADA P1 Meter ADA One ADA P1 Bridge ADA PZIOT-E02
ESP Model ESP32 WROOM ESP D1 Mini ESP32 WROOM/U32 ESP8266EX
Hardware/Firmware GreenHESS GreenHESS GreenHESS Peacefair/GreenHESS
Functions 36 datapoints, MQTT 24 datapoints, MQTT Telegram API 6 datapoints, MQTT
Connection RJ12 (P1 Port) RJ12 (P1 Port) USB DIN
Configure with WiFi hotspot WiFi hotspot WiFi hotspot WiFi hotspot
Data collection Serial, DSMR, Telegram Serial, DSMR, Telegram API, DSMR, Telegram Modbus
Home Assistant ready
MQTT Connection Optional okosvillanyora.hu Optional okosvillanyora.hu
mDNS okosvillanyora.local adaone.local okosvillanyora.local pziot-e02.local
Port 8989 80 8989 80

More information....

Features

  • Total Imported and Exported Energy (active and reactive)
  • Voltage and Current for Each Phase (L1, L2, L3)
  • Instantaneous Power (imported and exported)
  • Power Factor and Frequency

Installation

HACS [Home Assistant Community Store] Installation (Recommended)

  1. Add this repository to HACS as a custom repository. Go to HACS -> Custom repositories (top right corner). (Required to install HACS first follow -> THIS)

add custom repo png

  1. Search for "ADA Family Meters" in the HACS store and install it.
  2. Restart Home Assistant. ✨

Manual Installation

  1. Download the files from this repository.
  2. Place the greenhess folder in your Home Assistant custom_components/ directory.
  3. Restart Home Assistant.

Configuration

To configure the integration:

  1. Go to Settings > Devices & Services > Add Integration.

add integration

  1. On the "Select brand" popup search for "ADA Family Meters"

select brand

  1. On the "Select brand" popup select model, enter the connection details (e.g., hostname and port) or can use custom url (url must contain valid & compatible json data with the ada family). If you add multiple devices from the same model you can use prefix for better identification.

connect to png

  1. The integration will create sensors for each available measurement from the meter.

Supported Sensors

  • Total Imported Energy (kWh)
  • Total Exported Energy (kWh)
  • Voltage for Phase L1, L2, L3 (V)
  • Current for Phase L1, L2, L3 (A)
  • Power Factor
  • Frequency (Hz)
  • And more...
custom_components/greenhess/product_config.py
PRODUCT_CONFIGS = {
    "ada12": {
        "name": "ADA P1 Meter",
        "description": "Full-featured smart meter with all sensors",
        "host": "okosvillanyora.local",
        "default_port": 8989,
        "sensors": {
        # Összesített energia
        "active_import_energy_total": {
            "unit": "kWh",
            "friendly_name": "Összes importált energia",
            "icon": "mdi:transmission-tower-import"
        },
        "active_export_energy_total": {
            "unit": "kWh",
            "friendly_name": "Összes exportált energia",
            "icon": "mdi:transmission-tower-export"
        },
        "total_active_energy": {
            "unit": "kWh",
            "friendly_name": "Összes aktív energia",
            "icon": "mdi:lightning-bolt"
        },
        ...

Troubleshooting

If you encounter any issues, please check the Home Assistant logs under Settings > Logs. For more help, create an issue in this repository. To change languge to hungarian set system lang to HU.


Notes on mDNS and .local Domains

Issues with mDNS and .local domain resolution may occur on certain systems. This can lead to problems when the integration attempts to connect to devices using a .local domain. If you encounter this issue, there are a few options to resolve it:

  1. Use the device's IP address instead of the .local domain.
  2. Set up a local DNS server to resolve .local domains within your network.

Note: If you use same 2 or more devices on your local network (e.g: 2 or more ADA P1 Meter), just use ip address do not use mDNS.


License

This project is licensed under the MIT License.

ADA P1 Meter Icon

About

Home Assistant custom integration for the ADA P1 Meter. This integration fetches energy data from a local ADA P1 Meter and provides sensors for total energy consumption, phase voltage, current, power factors, and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%