Giter Club home page Giter Club logo

ecodevices's People

Contributors

aohzan avatar trasher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ecodevices's Issues

following entities do not have the expected unit of measurement (either of CCF, ft³, m³, gal, L): sensor.meter_1_total (m3)

Bonjour,

J'utilise cette intégration depuis plusieurs mois pour la partie électricité. Merci beaucoup car c'est très pratique pour suite la coût à venir. Cela fonctionne très bien comme on peut le voir sur le panneau ci-dessous:

image

J'aimerais ajouté mon compteur d'eau branché sur l'entrée C1 mais je rencontre un souci côté HomeAssistant :

Voici le message d'erreur :

Unité de mesure inattendue : The following entities do not have the expected unit of measurement (either of CCF, ft³, m³, gal, L):
sensor.meter_1_total (m3)

Capture d’écran 2023-03-05 102623

Voici le paramétrage qui me semble correct:
Capture d’écran 2023-03-05 102643

Est-ce que j'aurais oublié quelque chose?

Cordialement

deprecated `async_get_registry`

Detected integration that uses deprecated `async_get_registry` to access device registry, use async_get instead. Please report issue to the custom component author for ecodevices using this method at custom_components/ecodevices/__init__.py, line 91: device_registry = await dr.async_get_registry(hass)

Some suggestions of improvements

Hi,
Starting with version 2.1.0, we have a lot of informations grabbed by the ecodevices component.
I'm a newbie with HomeAssistant, so I don't know if ideas below are realistic.

Maybe you can add option to specify (when using Teleinformation), if we are using BASE, or HPHC, or Tempo (or detect it using OPTARIF).
Another option for Mono or Triphase.
This would reduce the data displayed unnecessarily.

Another suggestions would be to provide automation according to HP/HC changes, to Normal/Pointes (tempo).

If it is possible, an event could be triggered when a specific power is raised or exceeded.

In fact, we can do a lot of stuff now... Just imagine them.

Tell me what you thing about these suggestions. Which is realistic or not.

Thanks.

Depuis 2 jours, pas de remontée de données

Bonjour,

J’ai un Ecodevices de première génération en FW 1.05.19 et depuis 2 jours je n’ai plus de remontée d’information. Rien ne change après avoir tout redémarrer.
En y regardant de près, le problème viendrait de globalstatus.xml. La téléinfo 1 se présente comme ceci dans le fichier :

<!--  TELEINFO 1  -->

...
<T1_BBRHPJR>0</T1_BBRHPJR>
<T1_PEJP>0</T1_PEJP>
<T1_PTEC>TH</T1_PTEC>
<T1_DEMAIN>
ADC</T1_DEMAIN>
<T1_IINST>14</T1_IINST>
<T1_IINST1>14</T1_IINST1>

Le problème pourrait venir du champ T1_DEMAIN qui se trouve codé sur 2 lignes au lieu d’une seule. En plus, je ne connais pas cette valeur « ADC ».

La téléinfo envoyé par le Linky aurait-elle changé ?
J'ai également posté sur le forum GCE : https://forum.gce-electronics.com/t/pb-recent-ecodevices-1-globalstatus-xml/16626

Merci d’avance !

Bernard

sensor.meter_1 shall be a power sensor (not energy)

Hello,

I have an impulse meter connected to the C1 input of the echo device.
In this configuration, the sensor.meter_1 returns the instantaneous power. So it's a power sensor and the unit shall be W (not Wh as mistakenly indicated in the echodevice interface).
I have the impression that there's a problem in the integration and that HA considers this sensor as an energy meter (even when the during the integration configuration meter_1 is set as power sensor).
Could you have a look on this topic?

The daily and total sensors are energy meters (Unit : Wh) and are correctly configured in the integration.

Thanks for your work.

Pas de total en mode TH

Bonjour,

Mon compteur Linky est en mode tarif de BASE. Du coup, je reçois au niveau de l'écodevice la valeur TH.

Au niveau intégration, je n'ai que le sensor de base qui est rempli, je n'ai pas de valeurs pour les HC/HP ni le Total.
Capture d’écran 2022-11-26 à 17 35 20

Comme au niveau du panneau Energie, je ne peux pas saisir ce sensor de base mais uniquement le HC,HP ou total, je n'ai pas de données à ce niveau, est-ce normal ?
Capture d’écran 2022-11-26 à 17 37 20

No 'version' key in the manifest file

Hi,
Using hass 2021.3.x, and now 2021.4.x, I have this warning :
WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'ecodevices'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'ecodevices'.

This will break ecodevice usage in future versions.
Thanks.

Teleinfo 1 Total accepts 0 values (noise in measurement), which performs a reset of the counter, ending up with unreliable (GIANT!) consumption

Hello again,

I'm fighting with the energy dashboard configuration.

My energy usage looks like this in the dashbaord :

CleanShot 2021-09-09 at 13 15 15

The bars are way too high ! Actually, 12,448 kWh you see in the chart was the reading of my "compteur linky" at that time.

This is because, when you have a closer look at the teleinfo 1 total entity, you see there is a 0kWh sent at some point :

CleanShot 2021-09-09 at 13 17 02

with the total_increasing state_class, what happens is that the energy dashboard thinks I have consummed the 12MWh at that moment, making all other bars of the chart ~0 :

CleanShot 2021-09-09 at 13 20 12

I guess the integration should filter out 0 values (or even filter out decreasing values ?) as suggested in the doc :

CleanShot 2021-09-09 at 13 18 30

CleanShot 2021-09-09 at 13 22 13

I'd be happy to help, I know Python, but I've never dev'd any HA plugin. I guess the filtering should be done around those lines

def state_attributes(self):
?

homeassistant.helpers.device_registry.DeviceInfoError: Invalid device info: device info needs to either describe a device, link to existing device or provide extra information.

Bonjour,

Je n'arrive plus à charger le module ecodevices dans HomeAssistant. Pourriez-vous m'aider à identifier le problème ?

image

Debug

Voici ce que donne le debug :

2023-11-04 13:47:12.296 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Eco-Devices 192.168.1.7:80 for ecodevices
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ecodevices/__init__.py", line 93, in async_setup_entry
    device_registry.async_get_or_create(
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 511, in async_get_or_create
    device_info_type = _validate_device_info(config_entry, device_info)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 165, in _validate_device_info
    raise DeviceInfoError(
homeassistant.helpers.device_registry.DeviceInfoError: Invalid device info {'configuration_url': 'http://192.168.1.7:80', 'connections': {('mac', '00:04:A3:A2:37:81')}, 'default_name': 'Eco-Devices 192.168.1.7:80', 'identifiers': {('ecodevices', '00:04:A3:A2:37:81')}, 'manufacturer': 'GCE', 'model': 'Eco-Devices', 'sw_version': '1.05.12'} for 'ecodevices' config entry: device info needs to either describe a device, link to existing device or provide extra information.

Ma configuration

  • Home Assistant 2023.8.3
  • Supervisor 2023.10.1
  • Operating System 10.2
  • Frontend 20230802.1 - latest

HA core 2023.8

Il semble avoir eu un changement avec Home Assistant core 2023.8 :

  • Les appareils sont maintenant catégorisés en 3 types par Home Assistant et chacun de ces types ont un ensemble de propriétés à respecter.
    • Link
    • Primary
    • Secondary
  • La déclaration précédente de l'appareil définissait à la fois un default_manufacturer et un manufacturer ainsi qu'un default_model et un model. Les defaults étant des constantes au cas où l'ADCO dont le vrai constructeur et modèle sont dérivés une fois la ligne lue sur le lien série (voir entité "Adresse du compteur") ne pouvaient être parsée correctement lors de la lecture du lien série (une sécurité en somme).
  • Mélanger les 2 n'est plus permis et la correction a été de définir les manufacturer, model et name (afin de correspondre à la définition de type Primary) et de retirer les default_manufacturer, default_model et default_name qui ne sont pas accepté en type Primary mais seulement Secondary.

Cordialement

Problème intégration avec eau

2023-12-04 09-36-01_Outils de développement – Home Assistant
Bonjour
J'essaie de paramétrer mon GCE avec HA mais je rencontre des problème avec le compteur d'eau. Je ne l'ai pas le suivi d'energie et surtout les unités sont en W, KW au lieu de L et m³
J'ai lu et relu qu'il fallait mettre en water alors je suis allé dans developer-tools/state et j'ai corrigé les valeurs mais elles reviennent sur energy.
Je débute avec HA et là je suis totalement perdu.

Merci

Gas consumption ?

Hello @Aohzan !

Thanks 🙏

First of all, I want to say thanks for your plugin, I'm super happy to have found it, it works like a charm.

Request

I have a "compteur gazpard" in my house, that I successfully integrated with my ecodevice :

CleanShot 2021-09-08 at 09 15 06

and into HA thanks to your plugin :

CleanShot 2021-09-08 at 09 10 49@2x

But I cannot use this entity to configure the gas consumption in the energy settings :

CleanShot 2021-09-08 at 09 06 39@2x

While I could configure the data from the linky (teleinfo) in the electricity tracking panel of the energy dashboard.

By any chance, do you know how I can make this work ?

Thanks again !

--
btw, I don't remember where I saw that (old gh profile maybe ?), but I think you live in Rennes (me too !) : if it's still the case, I'll be glad to offer you a beer 🍻

Erreur à l'ajout d'un Eco-Device

Salut, j'essaye de rajouter mon eco-device mais malheureusement j'ai ce message d'erreur :

2023-08-05 21:00:36.458 DEBUG (MainThread) [custom_components.ecodevices] Finished fetching ecodevices data in 0.269 seconds (success: True)
2023-08-05 21:00:36.460 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Eco-Devices 192.168.1.50:80 for ecodevices
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ecodevices/__init__.py", line 93, in async_setup_entry
    device_registry.async_get_or_create(
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 511, in async_get_or_create
    device_info_type = _validate_device_info(config_entry, device_info)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 165, in _validate_device_info
    raise DeviceInfoError(
homeassistant.helpers.device_registry.DeviceInfoError: Invalid device info {'configuration_url': 'http://192.168.1.50:80', 'connections': {('mac', '00:1E:C0:F3:B8:22')}, 'default_name': 'Eco-Devices 192.168.1.50:80', 'identifiers': {('ecodevices', '00:1E:C0:F3:B8:22')}, 'manufacturer': 'GCE', 'model': 'Eco-Devices', 'sw_version': '1.05.24'} for 'ecodevices' config entry: device info needs to either describe a device, link to existing device or provide extra information.

Question pour afficher le tarif en cours HP/HC dans HomeAssistant

Bonjour,

Je cherche a afficher dans HomeAssistant le tarif en cours HP/HC. Je crois c'est en lien avec la valeur T1_OPTARIF que l'on retrouve dans le fichier XML:
<T1_OPTARIF>HC..</T1_OPTARIF>

Le but est de commander des appareils en heures creuses.

Savez-vous comment faire cela ?

Cordialement

User input malformed: expected str for dictionary value @ data['password']

Bonjour,

Je rencontre un problème avec le plugin ecodevices. Je ne parviens pas à activer le compteur C1 dans Home Assistant et le plugin me retourne une erreur alors que je n'ai pas configuré de mot de passe sur mon EcoDevices.
User input malformed: expected str for dictionary value @ data['password']

image

Pourtant la fonction d'authentification (Activer l'accès sécurisé) est bien décochée.
image

Cordialement

Valeur TI HP-HC vides / C1 OK

Bonjour,

Je rencontre un souci depuis quelques jours avec le plugin ecodevices dans HA. Certaines valeurs ne remontent plus :
image

Cela fonctionnait correctement avant.

Le compteur d'eau remonte correctement par contre.

image

Auriez vous une suggestion pour corriger cela ?

More than one eco devices

Hello,

We have an installation with several Eco devices.
One for the three-phase and HP / HC Electric meter.
Another for the metering part of city water,
another for metering water for the swimming pool.
etc ...
How to integrate several Eco-devices in the same installation of Home Assistant. Because if I ask for a new integration, he tells me that there is already a first one.

Thanks

Jonathan

Mode du compteur linky

Bonjour

Le plugin est il compatible avec un linky en mode standard.
Je suis en jours zen et l'option tarifaire reste sur TH en mode historique.

Pas de données "Consommation d'énergie"

Bonjour,

J'ai installé la contribution hier, via HACS, en sélectionnant uniquement Téléinfo 1, indiqué l'unité VA comme le screen de la doc. L'entité sensor.teleinfo_1 fonctionne bien pour indiquer la puissance consommée, avec tous les arguments liés. Par contre , sensor.teleinfo_1_total reste figé à l'état "unknown" et rien ne s'affiche dans la partie Energie. Tout est à jour coté HA.

message coté energie:
statistics_not_defined
sensor.teleinfo_1_total
Entité indisponible
L'état de ces entités configurées n'est actuellement pas disponible :
sensor.teleinfo_1_total (unknown)
Grid consumption
Teleinfo 1 Total

Informations sur l’appareil
Eco-Devices
par GCE
Eco-Devices 192.168.2.84
Firmware: 1.05.26

Capteurs:
Teleinfo 1 7 940 VA
Teleinfo 1 Total Inconnu

Un truc que je n'ai pas fait?

Jérôme.

Add 3 phases

Hello,

Could You add this entities :

  • intensity per phase
  • HP / HC

Thanks You

File "/config/custom_components/ecodevices/sensor.py", line 420, in native_value raise EcoDevicesIncorrectValueError("Total value not greater than 0.") custom_components.ecodevices.sensor.EcoDevicesIncorrectValueError: Total value not greater than 0.

Bonjour,

Je rencontre une erreur avec le plugin ecodevices dans HA.
Savez-vous comment corriger le problème ?

logger: homeassistant
Source: custom_components/ecodevices/sensor.py:420
Integration: GCE Eco-Devices (documentation, issues)
First occurred: 09:51:03 (1 occurrences)
Last logged: 09:51:03

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 559, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 600, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 565, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 470, in state
    value = self.native_value
  File "/config/custom_components/ecodevices/sensor.py", line 420, in native_value
    raise EcoDevicesIncorrectValueError("Total value not greater than 0.")
custom_components.ecodevices.sensor.EcoDevicesIncorrectValueError: Total value not greater than 0.

Cordialement
Ludovic

Capteur binaire basé sur le débit du compteur n°1 (C1)

Bonjour,

Est-ce qu'il serait possible d'exposer un capteur binaire basé sur le débit du compteur n°1 (C1) ?

  • Si consommation = 0 alors capteur binaire = False
  • Si consommation != 0 alors capteur binaire = True

Ceci afin de déterminer s'il y'a une consommation d'eau dans la maison.

Cordialement

Ajout Entrée Water

Bonjour,
l'intégration du compteur électrique fonctionne parfaitement bien.
Depuis plusieurs semaines, j'essaye de rajouter la partie eau dans le module energy.
La remontée d'information via les capteurs est nickel :
image
J'ai bien fait attention à positionner m³ au lieu de m3.
Quand je souhaite rajouter le capteur water total dans la consommation d'eau, le capteur d'apparait dans la liste déroulante.
image
Avez vous une idée du pourquoi du comment, svp ?
Merci d'avance.
Greg
HA 2023.9.1

Ecodevice + Linky - compteur Total

Bonjour,
J'utilise cette intégration depuis maintenant quelques années, merci beaucoup pour le travail réalisé.

Depuis que je suis passé à l'option "Tempo" d'EDF, il n'y a plus aucune valeur remontée dans "Teleinfo Total".
image

J'ai réinstallé plusieurs fois, essayé en cochant / décochant "HC HP".

Comment puis-je faire pour retrouver cette valeur totale et la réintégrer dans le dashboard ernergie ?

Voici le fichier XML:

<response>
<!--  GCE ELectronics - XML - XDEVICES - ECO-DEVICES - Copyright 2013  -->
<!--  APPUYEZ SUR LA TOUCHE F5 DE VOTRE CLAVIER POUR ACTUALISER  -->
<!--   TELEINFO 1   -->
<T1_ADCO>062064319211</T1_ADCO>
<T1_OPTARIF>BBR(</T1_OPTARIF>
<T1_ISOUSC>30</T1_ISOUSC>
<T1_BASE>0</T1_BASE>
<T1_HCHC>0</T1_HCHC>
<T1_HCHP>0</T1_HCHP>
<T1_EJPHN>0</T1_EJPHN>
<T1_EJPHPM>0</T1_EJPHPM>
<T1_BBRHCJB>20944454</T1_BBRHCJB>
<T1_BBRHPJB>271684</T1_BBRHPJB>
<T1_BBRHCJW>28279</T1_BBRHCJW>
<T1_BBRHPJW>72754</T1_BBRHPJW>
<T1_BBRHCJR>6742</T1_BBRHCJR>
<T1_BBRHPJR>21695</T1_BBRHPJR>
<T1_PEJP>0</T1_PEJP>
<T1_PTEC>HPJB</T1_PTEC>
<T1_DEMAIN>----</T1_DEMAIN>
<T1_IINST>1</T1_IINST>
<T1_IINST1>1</T1_IINST1>
<T1_IINST2>0</T1_IINST2>
<T1_IINST3>0</T1_IINST3>
<T1_ADPS>0</T1_ADPS>
<T1_IMAX>90</T1_IMAX>
<T1_IMAX1>90</T1_IMAX1>
<T1_IMAX2>0</T1_IMAX2>
<T1_IMAX3>0</T1_IMAX3>
<T1_PPAP>310</T1_PPAP>
<T1_PAPP>310</T1_PAPP>
<T1_HHPHC>A</T1_HHPHC>
<T1_MOTDETAT>000000</T1_MOTDETAT>
<T1_PPOT>-</T1_PPOT>
<!--  FIN TELEINFO 1  -->
</response>

Merci.

Belle journée.

Add a license?

Hello,

First of all, thank you for this integration! 👍

I've noticed you did not specify a license; could you consider adding one?

On github, this is quite simple, just add a new file named "LICENSE" at the root of the project; a button "choose a license template" will appear.

I take a look on my instance: home assistant is under an apache license, several integrations are MIT (hacs, smartir, anniversaries, ...), at least one is GPL (localtuya).

Of course, feel free to choose the one you prefer :)

Best regards

Entity sensor.meter_1 (<class 'custom_components.ecodevices.sensor.C1EdDevice'>) is using state class 'measurement' which is impossible considering device class ('water') it is using; expected None or one of 'total_increasing'

Bonjour,

Je rencontre un souci avec ce plugin dans homeassistant pour lire les valeurs du compteur d'eau raccordé sur l'entrée C1 (type water)
J'ai consulté les logs et voici ce que j'y trouve :

Détails du journal (AVERTISSEMENT)
Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:497
Integration: Capteur (documentation, issues)
First occurred: 08:14:52 (4 occurrences)
Last logged: 08:14:56

Il semble avoir un souci avec les entités suivantes

  • sensor.meter_1
  • sensor.meter_1_daily
Entity sensor.meter_1 (<class 'custom_components.ecodevices.sensor.C1EdDevice'>) is using state class 'measurement' which is impossible considering device class ('water') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Entity sensor.meter_1_daily (<class 'custom_components.ecodevices.sensor.C1DailyEdDevice'>) is using state class 'measurement' which is impossible considering device class ('water') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

Est-il faut faire une configuration supplémentaire pour que cela fonctionne ?

image

Voici ce que j'ai configuré dans le panneau "Energie" :
image

Cordialement

Jour Blanc HP/HC Total inconnu

Bonjour,

Je rencontre un souci avec les compteurs Jour Blanc HP/HC Total. Je suis en option tarifaire Tempo.
Cette intégration retourne des compteurs un status inconnu via l'intégration (version 5.0.0):

image

Pourtant lorsque je vérifie le contenu du fichier XML, j'ai bien un compteur à zéro et pas une valeure nulle:

<T1_BBRHCJW>0</T1_BBRHCJW>
<T1_BBRHPJW>0</T1_BBRHPJW>

Réponse XML

<response>
<!--  GCE ELectronics - XML - XDEVICES - ECO-DEVICES - Copyright 2013  -->
<!--  APPUYEZ SUR LA TOUCHE F5 DE VOTRE CLAVIER POUR ACTUALISER  -->
<!--   TELEINFO 1   -->
<T1_ADCO>*************</T1_ADCO>
<T1_OPTARIF>BBR(</T1_OPTARIF>
<T1_ISOUSC>45</T1_ISOUSC>
<T1_BASE>0</T1_BASE>
<T1_HCHC>0</T1_HCHC>
<T1_HCHP>0</T1_HCHP>
<T1_EJPHN>0</T1_EJPHN>
<T1_EJPHPM>0</T1_EJPHPM>
<T1_BBRHCJB>10906375</T1_BBRHCJB>
<T1_BBRHPJB>17257091</T1_BBRHPJB>
<T1_BBRHCJW>0</T1_BBRHCJW>
<T1_BBRHPJW>0</T1_BBRHPJW>
<T1_BBRHCJR>9747</T1_BBRHCJR>
<T1_BBRHPJR>7499</T1_BBRHPJR>
<T1_PEJP>0</T1_PEJP>
<T1_PTEC>HPJB</T1_PTEC>
<T1_DEMAIN>----</T1_DEMAIN>
<T1_IINST>2</T1_IINST>
<T1_IINST1>2</T1_IINST1>
<T1_IINST2>0</T1_IINST2>
<T1_IINST3>0</T1_IINST3>
<T1_ADPS>0</T1_ADPS>
<T1_IMAX>90</T1_IMAX>
<T1_IMAX1>90</T1_IMAX1>
<T1_IMAX2>0</T1_IMAX2>
<T1_IMAX3>0</T1_IMAX3>
<T1_PPAP>660</T1_PPAP>
<T1_PAPP>660</T1_PAPP>
<T1_HHPHC>A</T1_HHPHC>
<T1_MOTDETAT>000000</T1_MOTDETAT>
<T1_PPOT>-</T1_PPOT>
<!--  FIN TELEINFO 1  -->
</response>

Missing "DEMAIN" value

Hello,

With TEMPO contract and EJP we have a value set by RTE one day before who say the tarif of tomorrow.

It's the value "T1_DEMAIN" from Teleinfo, this value is'nt present in the sensor.py

Can you add this in the sensor.py ?

"type_heures_demain": self.coordinator.data.get("T1_DEMAIN"),

issues with water counter

First, thanks for this HA component which is very cool !
I am trying to configure two water counters, but in the configuration I have no choice "water" in "type of counter".

Also, in the units if I select L (liters), after it creates two entities which show L as unit, but the first one is the current water consumption, so it should be in L/min, and the second is the total per day, which is indeed in L.

Is it me or is it a bug ?

Thanks again!

Failed to connect

Hello, after installation in HA, i use menu integration, but when i complete all folder, when i submit i receive message to Failed to connect. thank a lot for your help.

Error when trying to add EcoDevice to HA

Hi,
First, thanks for this very promising component :)

I tried to add it on my HA, but I'm getting this error in the logs :

Unable to prepare setup for platform ecodevices.sensor: Platform not found (cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/__init__.py)).

By the way, I selected "energy" as type of data for counter 1 and 2, but I would like to configure water counters, so what should I select in the list ?

Here is my version of the plugin : 2.4.0
HA version : 2021.8.8

Thanks again for your work !

Random error fetching data

Until recently, Ecodevice integration has been working without a hiccup. Last days it started to log errors that are reported here below.
Running HAOS : 2023.3.0, Ecodevice version 4.3.2 or 4.4.0 same issue, Ecodevice firmware for a long time 1.06.00 (I don't think the recently released 1.06.01 makes a difference).
Any idea?
Thank you

------
Logger: custom_components.ecodevices
Source: custom_components/ecodevices/__init__.py:65
Integration: GCE Eco-Devices (documentation, issues)
First occurred: 19:07:38 (101 occurrences)
Last logged: 19:24:18

Unexpected error fetching ecodevices data: not well-formed (invalid token): line 24, column 16
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 239, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 195, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/ecodevices/__init__.py", line 65, in async_update_data
    return await controller.global_get()
  File "/usr/local/lib/python3.10/site-packages/pyecodevices/__init__.py", line 103, in global_get
    result.update(await self._request(self._api_teleinfo_1_url))
  File "/usr/local/lib/python3.10/site-packages/pyecodevices/__init__.py", line 74, in _request
    xml_content = xmltodict.parse(contents)
  File "/usr/local/lib/python3.10/site-packages/xmltodict.py", line 327, in parse
    'c': {
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 24, column 16

Compatibility with HP/HC not available ?

Hello @Aohzan and thank for you work!

I have an EDF contract with HP/HC so in the Teleinfo frame the field “T1_base” is always set at 0.
My real consumption is in the fields “T1_HCHC” and “T1_HCHP”.
It is possible to catch those fields in HA ?

Thanks in advance.

Sensor Meter 1

Bonjour, je viens d'installer H.A. et je récupère bien les infos de mon ecodevice mais j'ai une erreur lorsque je l'integre au volet ENERGIE.
En effet le "meter 1" me permet de suivre ma consommation d'eau.
Voici ce que j'ai:
image

Avez-vous une solution pour ce problème?

Créer une intité HC "Heure Creuse"

Bonjour,

Je viens d'installer ton intégration à mon Home Assistant en test (je compte migrer de HomeSeer à HA).

Serait il possible d'avoir l'information/entité "Heure Creuse" directement depuis cette intégration?
Je m'en sers sur HomeSeer pour me faire des rappels genre "Démarrer le lave vaisselle" durant les heures creuses.

Merci
Jérôme

Intégration compteur C1 panneau énergie

Bonjour,

Je suis grand débutant sous Home Assistant.
J’ai installé GCE Eco-Devices. Ca fonctionne. J’ai la téléinformation 1, Compteur C1 pour la pompe à chaleur, compteur C2 pour la production photovoltaïque.
Mon souci provient de l’intégration dans le panneau Energie.
Je voudrais intégrer la pompe à chaleur en appareil individuel, mais l’entité C1 n’est pas proposée dans le menu. Pourtant C1 est configuré comme Energy / Wh / kWh.
Pour C2, qui est configuré de la même manière, il n’y a pas de souci, j’ai pu l’intégrer pour la production PV.
Merci !
Jetblack

Compteur d'eau, tableau de bord énergie.

Bonjour, débutant en domotique j'ai réussi à installer ce module complémentaire ainsi qu'à faire apparaître les valeurs dans le tableau de bord "énergie"

Toutefois, concernant mes données du compteur d'eau dans le tableau de bord "énergie" j'ai la valeur de la consommation journalière de la veille qui s'enregistre en négatif à minuit.

Pas persuadé d'être très claire quelques captures d'écran devrait aider

En tout cas merci pour votre travail.

Screenshot_2024-03-06-05-28-09-763_io homeassistant companion android~2

Screenshot_2024-03-06-05-31-16-167_io homeassistant companion android~2

Option Tempo

Hello

can you integrate the option TEMPO in Ecodevice?

My ecodevice is connected to Linky

my XML file:
response
!-- GCE ELectronics - XML - XDEVICES - ECO-DEVICES - Copyright 2013 --
!-- APPUYEZ SUR LA TOUCHE F5 DE VOTRE CLAVIER POUR ACTUALISER --
!-- TELEINFO 1 --
T1_ADCO xxxxxxxxxxxxx T1_ADCO
T1_OPTARIF BBR* T1_OPTARIF
T1_ISOUSC 45 T1_ISOUSC
T1_BASE 0 T1_BASE
T1_HCHC 0 T1_HCHC
T1_HCHP 0 T1_HCHP
T1_EJPHN 0 T1_EJPHN
T1_EJPHPM 0 T1_EJPHPM
T1_BBRHCJB 17891273 T1_BBRHCJB
T1_BBRHPJB 19394501 T1_BBRHPJB
T1_BBRHCJW 3692737 T1_BBRHCJW
T1_BBRHPJW 3194502 T1_BBRHPJW
T1_BBRHCJR 527473 T1_BBRHCJR
T1_BBRHPJR 994873 T1_BBRHPJR
T1_PEJP 0 T1_PEJP
T1_PTEC HPJB T1_PTEC
T1_DEMAIN ---- T1_DEMAIN
T1_IINST 4 T1_IINST
T1_IINST1 4 T1_IINST1
T1_IINST2 0 T1_IINST2
T1_IINST3 0 T1_IINST3
T1_ADPS 0 T1_ADPS
T1_IMAX 90 T1_IMAX
T1_IMAX1 90 T1_IMAX1
T1_IMAX2 0 T1_IMAX2
T1_IMAX3 0 T1_IMAX3
T1_PPAP 1000 T1_PPAP
T1_PAPP 1000 T1_PAPP
T1_HHPHC A T1_HHPHC
T1_MOTDETAT 000000 T1_MOTDETAT
T1_PPOT - T1_PPOT
!-- FIN TELEINFO 1 --
response

Thanks for your work.

unable to find GCE ecodice in Integration

Hello,
I'm running HA 2022.7.7 in a docker.
I did the manual install but I'm not able to find any GCE or ecodevice in the integration menu after restarting my HA.
Is there anything that needs to be activated, in configuration.yaml for example or what do I miss?
Thanks for your help.
Lionel

Pics de consommation

Bonjour,

Dans Energie sous HA j'ai très régulièrement des pics de consommation (par exemple aujourd'hui 50000kWh entre 3h et 4h de matin).
Est-ce un problème de votre l'intégration ou de utility meter ?

PS: dans l'historique de l'Ecodevice il n'y a pas ces pics de consommation.

Merci

cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor'

Hi there, and thank you for this nice integration.

Since 2.3.0 which should bring compatibility to the new energy management system in 2021.8, I now get an error when HA starts:
Unable to prepare setup for platform ecodevices.sensor: Platform not found (cannot import name 'STATE_CLASS_TOTAL_INCREASING' from 'homeassistant.components.sensor' (/usr/src/homeassistant/homeassistant/components/sensor/__init__.py)).

I have tried to remove and readd the integration with no success: my two sensors (a Linky on Teleinfo 1 and a gas counter) do not show anymore.

Rolling back to 2.2.0 solves the issue.

I'm using HA v.2018.8.8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.