This is a custom integration for Home Assistant that provides sensor data from an ADA P1 Meter, including total energy consumption, phase voltage, current, power factors, and more.
custom_components/ada12
directory.To configure the integration:
If you encounter any issues, please check the Home Assistant logs under Settings > Logs. For more help, create an issue in this repository.
.local
DomainsIssues 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:
.local
domain..local
domains within your network.To address this issue manually in the code, locate the following section in the __init__.py
file of the integration:
"""Fetch JSON data from the okosvillanyora.local server."""
url = "http://okosvillanyora.local:8989/json"
Replace the .local domain with the device's IP address, as shown below:
"""Fetch JSON data from the okosvillanyora.local server."""
url = "http://<ADA_DEVICE_IP>:8989/json"
After making this change, restart Home Assistant to apply the updates.
This project is licensed under the MIT License.