Skip to content

Commit

Permalink
update readme and manifest to make it possible to install through hacs
Browse files Browse the repository at this point in the history
  • Loading branch information
chinatsu committed Oct 13, 2024
1 parent 6a26378 commit 751e601
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
28 changes: 12 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# Elvia for HomeAssistant

![GitHub release (latest by date)](https://img.shields.io/github/v/release/sindrebroch/ha-elvia?style=flat-square)
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)
Forked from [sindrebroch/ha-elvia](https://github.com/sindrebroch/ha-elvia), go buy them a coffee if you want to.

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/sindrebroch)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/chinatsu/ha-elvia?style=flat-square)
[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg)](https://github.com/hacs/integration)

HomeAssistant-integration for Elvia

## Requirements

- Metering point id. (Målepunkt-ID, not Målernummer) Log into [Elvia](https://www.elvia.no/minside) and find your ID.
- API-key. Sign up for GridTariffAPI at [Elvia developer portal](https://elvia.portal.azure-api.net/) and you will receive an API-key via email. See [API-doc](https://assets.ctfassets.net/jbub5thfds15/1mF3J3xVf9400SDuwkChUC/a069a61a0257ba8c950432000bdefef3/Elvia_GridTariffAPI_for_smart_house_purposes_v1_1_20210212.doc.pdf) for more info.
- Token. [Read how](https://www.elvia.no/smart-forbruk/alt-om-din-strommaler/api-for-malerverdier-tilgjengelig-i-pilot-na/)
- API-key. Sign up for GridTariffAPI at [Elvia developer portal](https://developers.elvia.no/). You may retreive the API key in your [profile](https://developers.elvia.no/profile)
- Token. [Read how](https://www.elvia.no/smart-forbruk/api-er-for-smartere-hjem-og-bedrifter/slik-kan-du-ta-i-bruk-metervalue-api/).
- The short of it is: log into [Elvia](https://www.elvia.no/minside), under "Andre tjenester" select "Tilganger".
- From there, select "Opprett token for målerverdier i API".

## Installation

Expand All @@ -20,36 +22,30 @@ HomeAssistant-integration for Elvia

1. Ensure that [HACS](https://hacs.xyz/) is installed.
2. Add this repository as a custom repository
3. Search for and install the "Elvia" integration.
3. Search for and install the "Elvia Grid Tariff" integration.
4. Restart Home Assistant.
5. Add the `Elvia` integration to HA from the integration-page
5. Add the `Elvia Grid Tariff` integration to HA from the integration-page
</details>

<details>
<summary>Manual installation</summary>

1. Download the `Source code (zip)` file from the
[latest release](https://github.com/sindrebroch/ha-elvia/releases/latest).
2. Unpack the release and copy the `custom_components/elvia` directory
into the `custom_components` directory of your Home Assistant
installation.
1. Download the `Source code (zip)` file from the [latest release](https://github.com/chinatsu/ha-elvia/releases/latest).
2. Unpack the release and copy the `custom_components/elvia_grid_tariff` directory into the `custom_components` directory of your Home Assistant installation.
3. Restart Home Assistant.
4. Add the `Elvia` integration to HA from the integration-page
4. Add the `Elvia Grid Tariff` integration to HA from the integration-page
</details>


## Sensors
- Energy price
- Daily tariff (array of hourly values for the day)

- Fixed price hourly
- Fixed price level
- Fixed price monthly

- Average max
- Current month
- Previous month

- Max hours [1, 2, 3]
- Current month
- StartTime (attribute)
Expand Down
8 changes: 4 additions & 4 deletions custom_components/elvia_grid_tariff/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"codeowners": [
"@sindrebroch"
"@chinatsu"
],
"config_flow": true,
"documentation": "https://github.com/sindrebroch/ha-elvia",
"documentation": "https://github.com/chinatsu/ha-elvia",
"domain": "elvia_grid_tariff",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/sindrebroch/ha-elvia/issues",
"issue_tracker": "https://github.com/chinatsu/ha-elvia/issues",
"name": "Elvia Grid Tariff",
"requirements": [],
"version": "0.3.0"
"version": "0.4.0"
}

0 comments on commit 751e601

Please sign in to comment.