-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request : RTE tempo days #32
Comments
Hi @odurecu ! The main goal of Conso API is to provide raw data directly from Enedis, without reading, altering or tempering it. In my vision, it's just a basic block that can be used to build more complex tools that can parse, transform, and aggregate data (such as HA Linky) Tempo days are not managed by Enedis, so this would mean changing Conso API to be dependent of two different APIs, when only a small fraction of users actually have a tempo contract. If you need additional information from HA Linky, then you should edit HA Linky to fetch this information. |
I was suggesting using Conso API because other solutions are not really convenient :
|
I want Conso API to provide raw data, so I don't want to add this feature in Conso API. Requests on the HA forum are about HA-Linky, not Conso API ! HA-Linky could be smarter and connect to an additional service, I don't have problems with that ! Also, please note that HA Linky still doesn't support cost computations, because of Home Assistant limitations (bokub/ha-linky#2) |
Conso API makes sense because it federates individual data collection towards Enedis API. A Tempo API service is a bit overkill since it has to send one request per day to RTE api and provide it once to HA-Linky, it is not worth a VM for that or even a container I know the limitation on cost computation for external data sources. But you can overcome it as soon as you know the plan of the user. Instead of providing the data consumption in a single block, you record multiple statistics (eg consumption_HP and consumption_HP for HP/HC plan). Then you can add each of this stat as an input of the energy dashboard (and configure the price for each of them) |
No, you can't configure a price, Home Assistant doesn't allow it. That's what bokub/ha-linky#2 is about ! You're talking about having tempo costs, with prices depending on the date, but it's not even possible to configure prices for a dumb "base" or "HP/HC" contract ! What I mean is: why work on a complex tempo feature in Conso API when nobody figured out how to even configure a very basic static price in Home Assistant ? Step 1: Figure out how to configure prices in home assistant |
Ah ben oui si tu parles français ce sera plus simple 😄 OK donc ce que tu préconises c'est que HA Linky publie, en plus des données de consommation, des statistiques de coût à part ? Comme je disais dans mon message précédent, ce serait déjà pas mal d'y aller étape par étape, et de débloquer cette fonctionnalité dans HA Linky (la fameuse issue #2 qui est toujours ouverte) pour les tarifs base, puis HP / HC, avant de s'attaquer à mettre du tempo dans Conso API Il faut pas mettre la charrue avant les boeufs si tu vois ce que je veux dire |
Oui, appel à la websocket de HA presque identique à celui de la conso. Le tarif base peut être dans l'onglet config de l'addon ou bien créer un input indépendant dans les helpers de HA Pour l'étape suivante HP/HC, la difficulté est que chaque contrat peut avoir des tranches HC différentes mais a priori, ces créneaux seraient récupérables via l'API Enedis Contracts V5 https://datahub-enedis.fr/services-api/data-connect/documentation/customers-v5-contrats/ |
Hi,
Seeing that there is demand on forums so that HA-Linky can monitor power consumption depending on price plan (base, tempo, HC/HP, ...), I am looking at contributing to the project.
But as a starting point, it would be easier if Conso API could use RTE APIs to get the tempo day color. HA-linky module could then be evolved easier to fetch it along with Linky data and split power consumption by category
That would then open the door to also add cost management for people looking for an exhaustive energy dashboard
Interested in going this way?
The text was updated successfully, but these errors were encountered: