GammaTroniques / TICMeter

TICMeter is a small product to collect data from a Linky meter and send them to a home automation server via MQTT, Zigbee or HTTP
Other
35 stars 5 forks source link

Problème après passage du Linky du mode Historique au Mode Standard #31

Open GitHiGuili opened 1 month ago

GitHiGuili commented 1 month ago

The problem encountered

Le TICMeter a bien fonctionné en mode Tuya puis en mode Zigbee lorsque j'ai mis en service ma box Home assistant green. A ma demande EDF a passé le compteur Linky en mode Standard?. A la même minute Home assistant a perdu la connexion. J'ai tout essayer : réinitialisation du TICMeter, essai d'appairage Zigbee, mise à jour version TICMeter V3.2 essai de retour en mode Tuya Rien n'y fait le TICmeter clignote en orange à peu près 8 fois puis un clignotement rapide 2 éclairs rouges puis 10 secondes sans clignotement et le cycle recommencé

Firmware version

V3.1

Steps for reproducing the error

Utiliser le TICMeter (option Tuya) en mode Zigbee sur un compteur Linky en mode HISTORIQUE Demander à EDF de passer le compteur Linky en mode STANDARD

What I've already tested

Désinscrire le TICMeter dans Home Assitant Zigbee et recommencer l'appairage Réinitialiser le TICMeter Tenter l'appairage en Zigbee Tenter le retour en mode Tuya

Relevant log output

Je ne suis pas informaticien, je ne sais pas si ce log sera utile
2024-07-06 10:03:01.078 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 62, in wrap_zigpy_exceptions
    yield
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 82, in wrapper
    return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 131, in retry
    return await func()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 932, in send_packet
    raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 604, in async_configure
    await self.identify_ch.trigger_effect(
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 81, in wrapper
    with wrap_zigpy_exceptions():
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 73, in wrap_zigpy_exceptions
    raise HomeAssistantError(message) from exc
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2024-07-06 11:58:37.480 ERROR (MainThread) [frontend.js.latest.202407050] Uncaught error from Chrome 126.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'get')
_handleMessage (src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts:354:44)
callbackFunction (src/data/zha.ts:200:44)
callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33)
forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
2024-07-06 11:58:41.815 ERROR (MainThread) [frontend.js.latest.202407050] Uncaught error from Chrome 126.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'get')
_handleMessage (src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts:354:44)
callbackFunction (src/data/zha.ts:200:44)
callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33)
forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
2024-07-06 11:58:41.853 ERROR (MainThread) [frontend.js.latest.202407050] Uncaught error from Chrome 126.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'get')
_handleMessage (src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts:354:44)
callbackFunction (src/data/zha.ts:200:44)
callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33)
forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
2024-07-06 11:58:46.604 ERROR (MainThread) [frontend.js.latest.202407050] Uncaught error from Chrome 126.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'get')
_handleMessage (src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts:354:44)
callbackFunction (src/data/zha.ts:200:44)
callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33)
forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
2024-07-06 11:58:46.647 ERROR (MainThread) [frontend.js.latest.202407050] Uncaught error from Chrome 126.0.0.0 on Windows 10
TypeError: Cannot read properties of undefined (reading 'get')
_handleMessage (src/panels/config/integrations/integration-panels/zha/dialog-zha-reconfigure-device.ts:354:44)
callbackFunction (src/data/zha.ts:200:44)
callback (node_modules/home-assistant-js-websocket/dist/connection.js:23:33)
forEach (node_modules/home-assistant-js-websocket/dist/connection.js:15:25)
2024-07-06 11:59:01.258 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 62, in wrap_zigpy_exceptions
    yield
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 82, in wrapper
    return await RETRYABLE_REQUEST_DECORATOR(func)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/util.py", line 131, in retry
    return await func()
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 377, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 841, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/bellows/zigbee/application.py", line 932, in send_packet
    raise zigpy.exceptions.DeliveryError(
zigpy.exceptions.DeliveryError: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 604, in async_configure
    await self.identify_ch.trigger_effect(
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 81, in wrapper
    with wrap_zigpy_exceptions():
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/usr/src/homeassistant/homeassistant/components/zha/core/cluster_handlers/__init__.py", line 73, in wrap_zigpy_exceptions
    raise HomeAssistantError(message) from exc
homeassistant.exceptions.HomeAssistantError: Failed to send request: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2024-07-06 12:14:32.501 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 7, 6, 10, 14, 32, 501458, tzinfo=datet
xmow49 commented 1 month ago

Slt, Tu es en quel version du firmware ? Tu peux essayer de faire les mises à jour: https://update.gammatroniques.fr/ticmeter/

chriscatuk commented 4 weeks ago

en mode MQTT j'avais le même comportement après passage à mode standard. Encore que les led rouges clignotent trop vite pour être sûr si c'était 2 ou 3 fois.

Pour que ça marche enfin j'ai fait 2 choses:

  1. mise à jour de 3.2.5 vers 3.2.12 (il y avait toujours une erreur)
  2. de nouveau configuration mais j'ai mis mode standard au lieu de détection auto.

maintenant ça marche enfin

Edit: finalement même si aucune erreur n'est affichée, aucune information ne remonte. Donc ce n'est pas résolu.

edalpu commented 2 weeks ago

Bonjour, J'ai le même problème, tout allait bien avant que je demande le passage du mode Historique à Standard. Je suis en version Micrologiciel : V3.2.12 Matériel : 3.4.1

En home assistant avec MQTT Je n'ai plus que la liste de sensor suivante :

Est ce du à l information des saisons à rajouter dans la trame ?

Je suis preneur d'une mise à jour, car du coup, il n y a plus aucune info utile du type l index. pour avoir sa consommation

Merci d avance, il est top le ticmeter