Component to expose Ecowatt levels for the foreseable future. See https://www.monecowatt.fr/ for web access.
Use hacs.
- Create an account on RTE API website
- Register to the Ecowatt API and click on "Abonnez-vous à l'API", create a new application
- get the
client_id
andclient_secret
(uuid in both cases)
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. Thedays
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.