- CLP Subscriber
- CLP website credentials
- CLP smart meter installed (for
HOURLY
usage data)
- Setup
HACS
https://hacs.xyz/docs/setup/prerequisites - In
Home Assistant
, clickHACS
on the menu on the left - Select
integrations
- Click the menu button in the top right hand corner
- Choose
custom repositories
- Enter
https://github.com/thematrixdev/home-assistant-clp
and chooseIntegration
, clickADD
- Find and click on
CLP
in thecustom repositories
list - Click the
DOWNLOAD
button in the bottom right hand corner - Restart Home-Assistant (You have to restart before proceeding)
sensor:
- platform: clp
username: ''
password: ''
type: 'HOURLY'
Key | Type | Required | Accepted Values | Default | Description |
---|---|---|---|---|---|
username |
string | * | Any string | (N/A) | CLP account username |
password |
string | * | Any string | (N/A) | CLP account password |
name |
string | Any string | CLP |
Name of the sensor | |
timeout |
int | Any integer | 30 |
Connection timeout in second | |
retry_delay |
int | Any integer | 300 |
Delay before retry in second | |
type |
string | BIMONTHLY DAILY HOURLY |
|
Type of data to be shown in state If not specified, best accurate value is used |
|
get_account |
boolean | True False |
False |
Get account summary | |
get_bill |
boolean | True False |
False |
Get bills | |
get_estimation |
boolean | True False |
False |
Get usage estimation | |
get_daily |
boolean | True False |
False |
Get daily usage | |
get_hourly |
boolean | True False |
False |
Get hourly usage | |
renewable_energy_sensor_enable |
boolean | True False |
False |
Enable renewable energy sensor | |
renewable_energy_sensor_name |
string | True False |
'CLP Renewable Energy' |
Name of the renewable energy sensor | |
renewable_energy_sensor_type |
string | BIMONTHLY DAILY HOURLY |
|
Type of data to be shown in state If not specified, best accurate value is used |
|
renewable_energy_sensor_get_bill |
boolean | True False |
False |
Get energy generation in bills | |
renewable_energy_sensor_get_daily |
boolean | True False |
False |
Get daily energy generation | |
renewable_energy_sensor_get_hourly |
boolean | True False |
False |
Get hourly energy generation |
- It is recommended to provide
type
andrenewable_energy_sensor_type
for data consistency
- Single entity only. More than one
clp
entry will cause problems - For slower hardware device,
TIMEOUT
may happen. Increasetimeout
inconfiguration.yaml
- Configure
debug
level https://www.home-assistant.io/integrations/logger/ - SSH
docker logs -f homeassistant
- Look for
CLP
wordings
- Click on your username on UI
- Turn on
Advanced Mode
on the right - Go to
Add-ons
->Add-on store
- Install
SSH & Web Terminal
(the community version) - On
Info
tab ofSSH & Web Terminal
, turn offProtection mode
- On
Configuration
tab, enter apassword
, changesftp
totrue
- On
Configuration
tab, turn onshare_sessions
.Save
- On
Info
tab clickSTART
- SSH to
hassio@IP
with the configured password
- Ubuntu 24.04
- Home Assistant Container 2024.7