https://github.com/kamaradclimber/rte-ecowatt
A home assistant component for ecowatt api exposed by french company RTE
https://github.com/kamaradclimber/rte-ecowatt
electricity hacktoberfest hacs hacs-integration home-assistant homeassistant rte
Last synced: about 2 months ago
JSON representation
A home assistant component for ecowatt api exposed by french company RTE
- Host: GitHub
- URL: https://github.com/kamaradclimber/rte-ecowatt
- Owner: kamaradclimber
- License: apache-2.0
- Created: 2022-09-14T21:30:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-05T18:51:44.000Z (8 months ago)
- Last Synced: 2025-03-03T05:33:09.658Z (2 months ago)
- Topics: electricity, hacktoberfest, hacs, hacs-integration, home-assistant, homeassistant, rte
- Language: Python
- Homepage:
- Size: 115 KB
- Stars: 67
- Watchers: 11
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
# My EcoWatt by RTE for Home Assistant
Component to expose Ecowatt levels for the foreseable future. See https://www.monecowatt.fr/ for web access.
## Installation
Use [hacs](https://hacs.xyz/).
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=kamaradclimber&repository=rte-ecowatt&category=integration)## Configuration
### Get api access for RTE APIs
- Create an account on [RTE API website](https://data.rte-france.com/web/guest)
- Register to the [Ecowatt API](https://data.rte-france.com/catalog/-/api/consumption/Ecowatt/v5.0) and click on "Abonnez-vous à l'API", create a new application
- get the `client_id` and `client_secret` (uuid in both cases)### Configure home-assistant
The preferred configuration method is to use the UI.




You can configure two types of sensors:
- `hours` sensors to look at ecowatt level X hours in the future. You can look up to 96h at the moment.
- `days` sensors to look at ecowatt level X days in the future. You can look up to 3d in advance at the moment. The `days` sensor value is the worst of all hours of that day.
Two sensors are generated by default: "now" (0 hours in advance) and "today" (0 days in advance).
An additional sensor exposing next downgraded period is also added by default (not configurable). It shows beginning of next period with tensions on the electricity network. During such a period, it shows the beginning of next hour.