royto / linky_custom

The 'linky_custom' component is a Home Assistant custom sensors which calculate the cost of your daily consumption based on data provided by Enedis.
GNU General Public License v3.0
4 stars 2 forks source link

Linky Custom

GitHub release (latest by date) GitHub Release Date GitHub

GitHub issues

The 'linky_custom' component is a Home Assistant custom sensors which calculate the cost of your daily consumption based on data provided by Enedis.

This component is inspired by the work of @Grea04.

You can use my custom card to display linky information

Installation

MANUAL INSTALLATION

  1. Download the linky_custom.zip file from the latest release.
  2. Unpack the release and copy the custom_components/linky_custom directory into the custom_components directory of your Home Assistant installation.
  3. Configure the linky_custom sensor.
  4. Restart Home Assistant.

INSTALLATION VIA HACS

This repository is not included by default in HACS yet.

  1. Ensure that HACS is installed.
  2. Add this repository in custom repository as integration
  3. Search for and install the "linky_custom" integration.
  4. Configure the linky_custom sensor.
  5. Restart Home Assistant.

Configuration

configuration.yaml

Add linky_custom sensor in your configuration.yaml.

# Example configuration.yaml entry

sensor:
  - platform: linky_custom
    username: !secret linky_username
    password: !secret linky_password
    peak_hours:
      - ["03:00","15:30"]
      - ["17:30", "21:00"]
    peak_hours_cost: 0.1710
    offpeak_hours_cost: 0.1320

CONFIGURATION PARAMETERS

Parameter Optional Description
username No Enedis account username
password No Enedis account password
peak_hours No Array of peak hours
peak_hours_cost No kWh cost for peak hours
offpeak_hours_cost No kWh cost for off peak hours

Linky Sensor

State and Attributes

State

Attributes

Current Month Sensor

State and Attributes

State

Attributes

Last Month Sensor

State and Attributes

State

Attributes

Current Year Sensor

State and Attributes

State

Attributes

Last Year Sensor

State and Attributes

State

Attributes