The Peblar Home Assistant Integration provides seamless integration with Peblar devices, enabling monitoring and control directly from Home Assistant. This integration supports configuring connection details, authenticating with the Peblar API, and setting up sensors and number entities.
- Connection Management: Configure the IP address and access token for your Peblar device.
- Sensors: Monitor key metrics like charging current, total energy, session energy, and charge power.
- Number Entities: Control parameters such as maximum charging current.
- Reauthentication Support: Easily reauthenticate in case of API authentication errors.
- Ensure that HACS (Home Assistant Community Store) is installed in your Home Assistant setup.
- Go to HACS > Integrations.
- Click the three dots in the top-right corner and select Custom Repositories.
- Add the URL of this repository and select
Integration
as the category. - Search for
Peblar
in HACS and click Download.
- Download or clone the integration files.
- Place the files in the
custom_components/peblar
directory within your Home Assistant configuration folder.
Restart Home Assistant to load the new integration.
- Navigate to Settings > Devices & Services in Home Assistant.
- Click Add Integration and search for
Peblar
. - Follow the prompts to configure the integration.
When setting up the Peblar integration, you will need:
- IP Address: The IP address of your Peblar device.
- Access Token: The access token for authenticating with the Peblar API.
Sensor | Unit | Device Class | State Class |
---|---|---|---|
Charger Max Charging Current | mA | Current | Measurement |
Charger Total Energy | Wh | Energy | Measurement |
Charger Session Energy | Wh | Energy | Measurement |
Charger Charge Power | W | Power | Measurement |
Entity | Min Value | Max Value | Step | Description |
---|---|---|---|---|
Charger Max Charging Current | 0 | 20000 | 1 | Set the maximum charging current |
cannot_connect
: Unable to connect to the Peblar device. Check the IP address and ensure the device is online.invalid_auth
: Authentication failed. Verify your access token.reauth_invalid
: Reauthentication failed. Ensure the IP address and access token are correct.
If reauthentication is required:
- Open the Peblar integration settings in Home Assistant.
- Update the IP address and/or access token.
- Save the changes to reauthenticate.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE
file for details.
For more information or support, please refer to the Home Assistant documentation or contact the integration maintainer.