hekmon / linkytic

Linky TIC support for Home Assistant
MIT License
45 stars 11 forks source link

module not found #29

Closed yves67 closed 4 months ago

yves67 commented 4 months ago

en prévision de l'installation d'un compteur linky triphasé , j'ai installé la version béta 3 j'ai une erreur dans la log : ModuleNotFoundError: No module named 'custom_components.linktic.energy'

j'ai aussi des erreurs suivantes :

[custom_components.linktic.serial_reader] /dev/ttyUSB2: ADS device type is unknown: 30

mais ceci est peut être normal car mon compteur actuel est un compteur électronique et non un linky

egalement il n'y a pas de libellé dans les options :

image

merci pour votre aide

yves67 commented 4 months ago

j'ai réglé le problème des messages ADS, j'ai rajouté une ligne "30" dans le module const.py et je n'ai plus ces messages

gduteil commented 4 months ago

Si l'intégration fonctionne avec ce compteur, est-il possible d'avoir des infos sur la marque et le modèle ?

hekmon commented 4 months ago

Bonjour,

Les 2 erreurs sont bien distinctes :

yves67 commented 4 months ago

1- pour solutionner le problème des messages ADS j'ai ajouté la ligne 30 dans le module const.py c'est un Landis+Gyr triphasé 60A 175Hz ZMD126

"25": "Compteur monophasé 90 A Landis+Gyr ZCD126 - Simple tarif",
"28": "Compteur monophasé 90 A Landis+Gyr ZCD126 - 175 Hz taux normal",
"29": "Compteur monophasé 90 A Landis+Gyr ZCD126 - 175 Hz taux normal",
"30": "Compteur triphasé  60 A Landis+Gyr ZMD126 - 175 Hz taux normal",

2- pour le module not found voici une copie de la log avec debug au moment de démarrage, on voit l'erreur au début

2024-02-16 17:33:01.051 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST2 000 I\r\n' 2024-02-16 17:33:01.051 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.051 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST2 -> {'value': '000', 'timestamp': None} 2024-02-16 17:33:01.051 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST2: executing 2024-02-16 17:33:01.051 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST2 data and user has activated real time: scheduling ha update 2024-02-16 17:33:01.082 INFO (MainThread) [homeassistant.components.homeassistant_hardware.silabs_multiprotocol_addon] Registering new multipan platform 'zha', using multipan: False, channel: 25 2024-02-16 17:33:01.094 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/silabs_multiprotocol.py Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component platform = integration.get_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 847, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 864, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'custom_components.linktic.silabs_multiprotocol' 2024-02-16 17:33:01.140 DEBUG (SyncWorker_28) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST2 value from serial controller: '000' 2024-02-16 17:33:01.155 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST3 001 K\r\n' 2024-02-16 17:33:01.155 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.155 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST3 -> {'value': '001', 'timestamp': None} 2024-02-16 17:33:01.155 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST3: executing 2024-02-16 17:33:01.155 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST3 data and user has activated real time: scheduling ha update 2024-02-16 17:33:01.160 DEBUG (SyncWorker_1) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST3 value from serial controller: '001' 2024-02-16 17:33:01.174 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 31.56s 2024-02-16 17:33:01.231 INFO (MainThread) [custom_components.hacs] Stage changed: startup 2024-02-16 17:33:01.271 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX1 023 5\r\n' 2024-02-16 17:33:01.271 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.271 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX1 -> {'value': '023', 'timestamp': None} 2024-02-16 17:33:01.276 INFO (MainThread) [custom_components.hacs] Loading removed repositories 2024-02-16 17:33:01.336 INFO (MainThread) [homeassistant.components.automation.restore_samba_backup_sensor_on_startup] Restore Samba Backup sensor on startup: Running automation actions 2024-02-16 17:33:01.336 INFO (MainThread) [homeassistant.components.automation.restore_samba_backup_sensor_on_startup] Restore Samba Backup sensor on startup: Executing step call service 2024-02-16 17:33:01.337 INFO (MainThread) [homeassistant.components.automation.restore_samba_backup_sensor_on_startup] Initialized trigger Restore Samba Backup sensor on startup 2024-02-16 17:33:01.337 INFO (MainThread) [homeassistant.components.automation.shellies_announce_gen2] Shellies Announce Gen2: Running automation actions 2024-02-16 17:33:01.338 ERROR (MainThread) [homeassistant.components.automation.shellies_announce_gen2] Shellies Announce Gen2: Repeat 'for_each' must be a list of items in Shellies Announce Gen2, got: shellyplusht-c049ef88fde0 2024-02-16 17:33:01.339 INFO (MainThread) [homeassistant.components.automation.shellies_announce_gen2] Initialized trigger Shellies Announce Gen2 2024-02-16 17:33:01.339 INFO (MainThread) [homeassistant.components.automation.shellies_discovery_gen2] Initialized trigger Shellies Discovery Gen2 2024-02-16 17:33:01.376 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX2 022 5\r\n' 2024-02-16 17:33:01.376 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.377 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX2 -> {'value': '022', 'timestamp': None} 2024-02-16 17:33:01.491 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX3 020 4\r\n' 2024-02-16 17:33:01.491 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.491 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX3 -> {'value': '020', 'timestamp': None} 2024-02-16 17:33:01.618 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PMAX 08690 =\r\n' 2024-02-16 17:33:01.619 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.619 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PMAX -> {'value': '08690', 'timestamp': None} 2024-02-16 17:33:01.709 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PAPP 00490 .\r\n' 2024-02-16 17:33:01.710 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.710 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PAPP -> {'value': '00490', 'timestamp': None} 2024-02-16 17:33:01.710 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for PAPP: executing 2024-02-16 17:33:01.710 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new PAPP data and user has activated real time: scheduling ha update 2024-02-16 17:33:01.768 DEBUG (SyncWorker_0) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PAPP value from serial controller: '00490' 2024-02-16 17:33:01.819 INFO (MainThread) [custom_components.hacs] Loading known repositories 2024-02-16 17:33:01.873 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'MOTDETAT 000000 B\r\n' 2024-02-16 17:33:01.874 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.874 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: MOTDETAT -> {'value': '000000', 'timestamp': None} 2024-02-16 17:33:01.998 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PPOT 00 #\r\x03\x02\n' 2024-02-16 17:33:01.998 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:01.998 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PPOT -> {'value': '00', 'timestamp': None} 2024-02-16 17:33:01.998 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] End of frame, last tag read: PPOT 2024-02-16 17:33:02.182 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ADCO 041530023254 4\r\n' 2024-02-16 17:33:02.183 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.183 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ADCO -> {'value': '041530023254', 'timestamp': None} 2024-02-16 17:33:02.183 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsing ADS: 041530023254 2024-02-16 17:33:02.183 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsed ADS: {'year': '15', 'registration_number': '023254', 'constructor_code': '04', 'constructor': 'LANDIS ET GYR / SIEMENS METERING / LANDIS+GYR', 'device_type_code': '30', 'device_type': 'Compteur monophasé 90 A Landis+Gyr ZCD126 - 175 Hz taux normal'} 2024-02-16 17:33:02.323 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'OPTARIF BASE 0\r\n' 2024-02-16 17:33:02.323 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.323 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: OPTARIF -> {'value': 'BASE', 'timestamp': None} 2024-02-16 17:33:02.357 INFO (MainThread) [custom_components.hacs] Stage changed: running 2024-02-16 17:33:02.414 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ISOUSC 15 <\r\n' 2024-02-16 17:33:02.414 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.414 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ISOUSC -> {'value': '15', 'timestamp': None} 2024-02-16 17:33:02.573 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'BASE 036537430 *\r\n' 2024-02-16 17:33:02.574 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.574 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: BASE -> {'value': '036537430', 'timestamp': None} 2024-02-16 17:33:02.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PTEC TH.. $\r\n' 2024-02-16 17:33:02.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PTEC -> {'value': 'TH..', 'timestamp': None} 2024-02-16 17:33:02.797 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST1 001 I\r\n' 2024-02-16 17:33:02.797 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.797 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST1 -> {'value': '001', 'timestamp': None} 2024-02-16 17:33:02.797 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST1: executing 2024-02-16 17:33:02.797 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST1 data and user has activated real time: scheduling ha update 2024-02-16 17:33:02.798 DEBUG (SyncWorker_6) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST1 value from serial controller: '001' 2024-02-16 17:33:02.909 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST2 000 I\r\n' 2024-02-16 17:33:02.909 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:02.909 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST2 -> {'value': '000', 'timestamp': None} 2024-02-16 17:33:02.909 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST2: executing 2024-02-16 17:33:02.909 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST2 data and user has activated real time: scheduling ha update 2024-02-16 17:33:02.911 DEBUG (SyncWorker_13) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST2 value from serial controller: '000' 2024-02-16 17:33:03.021 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST3 001 K\r\n' 2024-02-16 17:33:03.021 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.021 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST3 -> {'value': '001', 'timestamp': None} 2024-02-16 17:33:03.021 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST3: executing 2024-02-16 17:33:03.021 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST3 data and user has activated real time: scheduling ha update 2024-02-16 17:33:03.023 DEBUG (SyncWorker_4) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST3 value from serial controller: '001' 2024-02-16 17:33:03.133 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX1 023 5\r\n' 2024-02-16 17:33:03.133 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.133 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX1 -> {'value': '023', 'timestamp': None} 2024-02-16 17:33:03.245 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX2 022 5\r\n' 2024-02-16 17:33:03.245 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.245 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX2 -> {'value': '022', 'timestamp': None} 2024-02-16 17:33:03.357 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX3 020 4\r\n' 2024-02-16 17:33:03.357 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.358 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX3 -> {'value': '020', 'timestamp': None} 2024-02-16 17:33:03.469 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PMAX 08690 =\r\n' 2024-02-16 17:33:03.469 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.469 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PMAX -> {'value': '08690', 'timestamp': None} 2024-02-16 17:33:03.581 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PAPP 00490 .\r\n' 2024-02-16 17:33:03.581 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.581 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PAPP -> {'value': '00490', 'timestamp': None} 2024-02-16 17:33:03.582 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for PAPP: executing 2024-02-16 17:33:03.582 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new PAPP data and user has activated real time: scheduling ha update 2024-02-16 17:33:03.583 DEBUG (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PAPP value from serial controller: '00490' 2024-02-16 17:33:03.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'MOTDETAT 000000 B\r\n' 2024-02-16 17:33:03.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: MOTDETAT -> {'value': '000000', 'timestamp': None} 2024-02-16 17:33:03.869 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PPOT 00 #\r\x03\x02\n' 2024-02-16 17:33:03.870 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:03.870 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PPOT -> {'value': '00', 'timestamp': None} 2024-02-16 17:33:03.870 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] End of frame, last tag read: PPOT 2024-02-16 17:33:04.047 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ADCO 041530023254 4\r\n' 2024-02-16 17:33:04.048 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.048 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ADCO -> {'value': '041530023254', 'timestamp': None} 2024-02-16 17:33:04.048 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsing ADS: 041530023254 2024-02-16 17:33:04.048 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsed ADS: {'year': '15', 'registration_number': '023254', 'constructor_code': '04', 'constructor': 'LANDIS ET GYR / SIEMENS METERING / LANDIS+GYR', 'device_type_code': '30', 'device_type': 'Compteur monophasé 90 A Landis+Gyr ZCD126 - 175 Hz taux normal'} 2024-02-16 17:33:04.189 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'OPTARIF BASE 0\r\n' 2024-02-16 17:33:04.189 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.189 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: OPTARIF -> {'value': 'BASE', 'timestamp': None} 2024-02-16 17:33:04.285 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ISOUSC 15 <\r\n' 2024-02-16 17:33:04.285 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.285 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ISOUSC -> {'value': '15', 'timestamp': None} 2024-02-16 17:33:04.405 INFO (MainThread) [homeassistant.components.mqtt.discovery] Found new component: alarm_control_panel tydom 0_0 2024-02-16 17:33:04.409 ERROR (MainThread) [homeassistant.components.mqtt.mixins] Error 'string value is None for dictionary value @ data['code']' when processing MQTT discovery message topic: 'homeassistant/alarm_control_panel/tydom/0_0/config', message: '{'name': None, 'unique_id': '0_0', 'device': {'manufacturer': 'Delta Dore', 'model': 'Tyxal', 'name': 'Tyxal Alarm', 'identifiers': '0_0'}, 'command_topic': 'alarm_control_panel/tydom/0_0/set_alarm_state', 'state_topic': 'alarm_control_panel/tydom/0_0/state', 'code_arm_required': 'true', 'code': None, 'json_attributes_topic': 'alarm_control_panel/tydom/0_0/attributes', 'platform': 'mqtt'}' 2024-02-16 17:33:04.418 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom alarmstate_tydom_0_0, sending update 2024-02-16 17:33:04.420 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom alarmmode_tydom_0_0, sending update 2024-02-16 17:33:04.421 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom alarmtechnical_tydom_0_0, sending update 2024-02-16 17:33:04.422 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom alarmsos_tydom_0_0, sending update 2024-02-16 17:33:04.423 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom unitautoprotect_tydom_0_0, sending update 2024-02-16 17:33:04.437 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom unitbatterydefect_tydom_0_0, sending update 2024-02-16 17:33:04.438 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom unackedevent_tydom_0_0, sending update 2024-02-16 17:33:04.438 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systautoprotect_tydom_0_0, sending update 2024-02-16 17:33:04.438 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systbatterydefect_tydom_0_0, sending update 2024-02-16 17:33:04.439 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systsupervisiondefect_tydom_0_0, sending update 2024-02-16 17:33:04.439 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systopenissue_tydom_0_0, sending update 2024-02-16 17:33:04.440 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systsectordefect_tydom_0_0, sending update 2024-02-16 17:33:04.440 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom systtechnicaldefect_tydom_0_0, sending update 2024-02-16 17:33:04.440 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom videolinkdefect_tydom_0_0, sending update 2024-02-16 17:33:04.445 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom remotesurveydefect_tydom_0_0, sending update 2024-02-16 17:33:04.445 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom simdefect_tydom_0_0, sending update 2024-02-16 17:33:04.446 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom networkdefect_tydom_0_0, sending update 2024-02-16 17:33:04.446 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom inactiveproduct_tydom_0_0, sending update 2024-02-16 17:33:04.447 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom livecheckrunning_tydom_0_0, sending update 2024-02-16 17:33:04.448 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone1state_tydom_0_0, sending update 2024-02-16 17:33:04.448 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone2state_tydom_0_0, sending update 2024-02-16 17:33:04.448 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone3state_tydom_0_0, sending update 2024-02-16 17:33:04.449 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone4state_tydom_0_0, sending update 2024-02-16 17:33:04.449 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone5state_tydom_0_0, sending update 2024-02-16 17:33:04.449 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone6state_tydom_0_0, sending update 2024-02-16 17:33:04.450 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'BASE 036537431 +\r\n' 2024-02-16 17:33:04.450 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.450 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: BASE -> {'value': '036537431', 'timestamp': None} 2024-02-16 17:33:04.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone7state_tydom_0_0, sending update 2024-02-16 17:33:04.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom zone8state_tydom_0_0, sending update 2024-02-16 17:33:04.457 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom outtemperature_tydom_0_0, sending update 2024-02-16 17:33:04.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom gsmlevel_tydom_0_0, sending update 2024-02-16 17:33:04.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom irv1state_tydom_0_0, sending update 2024-02-16 17:33:04.458 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom irv2state_tydom_0_0, sending update 2024-02-16 17:33:04.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom irv3state_tydom_0_0, sending update 2024-02-16 17:33:04.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: sensor tydom irv4state_tydom_0_0, sending update 2024-02-16 17:33:04.459 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom kerneluptodate_tydom_0_0, sending update 2024-02-16 17:33:04.460 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: switch tydom 1553349882_1553349882, sending update 2024-02-16 17:33:04.460 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom thermicdefect_tydom_1553349882_1553349882, sending update 2024-02-16 17:33:04.461 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: switch tydom 1554477074_1554477074, sending update 2024-02-16 17:33:04.461 INFO (MainThread) [homeassistant.components.mqtt.discovery] Component has already been discovered: binary_sensor tydom thermicdefect_tydom_1554477074_1554477074, sending update 2024-02-16 17:33:04.541 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PTEC TH.. $\r\n' 2024-02-16 17:33:04.541 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.541 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PTEC -> {'value': 'TH..', 'timestamp': None} 2024-02-16 17:33:04.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST1 001 I\r\n' 2024-02-16 17:33:04.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST1 -> {'value': '001', 'timestamp': None} 2024-02-16 17:33:04.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST1: executing 2024-02-16 17:33:04.669 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST1 data and user has activated real time: scheduling ha update 2024-02-16 17:33:04.670 DEBUG (SyncWorker_29) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST1 value from serial controller: '001' 2024-02-16 17:33:04.781 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST2 000 I\r\n' 2024-02-16 17:33:04.781 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.781 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST2 -> {'value': '000', 'timestamp': None} 2024-02-16 17:33:04.781 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST2: executing 2024-02-16 17:33:04.781 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST2 data and user has activated real time: scheduling ha update 2024-02-16 17:33:04.784 DEBUG (SyncWorker_18) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST2 value from serial controller: '000' 2024-02-16 17:33:04.893 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST3 001 K\r\n' 2024-02-16 17:33:04.893 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:04.893 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST3 -> {'value': '001', 'timestamp': None} 2024-02-16 17:33:04.893 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST3: executing 2024-02-16 17:33:04.893 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST3 data and user has activated real time: scheduling ha update 2024-02-16 17:33:04.896 DEBUG (SyncWorker_17) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST3 value from serial controller: '001' 2024-02-16 17:33:05.005 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX1 023 5\r\n' 2024-02-16 17:33:05.005 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.005 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX1 -> {'value': '023', 'timestamp': None} 2024-02-16 17:33:05.117 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX2 022 5\r\n' 2024-02-16 17:33:05.117 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.117 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX2 -> {'value': '022', 'timestamp': None} 2024-02-16 17:33:05.229 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX3 020 4\r\n' 2024-02-16 17:33:05.229 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.229 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX3 -> {'value': '020', 'timestamp': None} 2024-02-16 17:33:05.342 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PMAX 08690 =\r\n' 2024-02-16 17:33:05.342 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.342 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PMAX -> {'value': '08690', 'timestamp': None} 2024-02-16 17:33:05.455 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PAPP 00490 .\r\n' 2024-02-16 17:33:05.456 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.456 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PAPP -> {'value': '00490', 'timestamp': None} 2024-02-16 17:33:05.456 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for PAPP: executing 2024-02-16 17:33:05.456 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new PAPP data and user has activated real time: scheduling ha update 2024-02-16 17:33:05.458 DEBUG (SyncWorker_22) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PAPP value from serial controller: '00490' 2024-02-16 17:33:05.613 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'MOTDETAT 000000 B\r\n' 2024-02-16 17:33:05.613 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.613 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: MOTDETAT -> {'value': '000000', 'timestamp': None} 2024-02-16 17:33:05.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PPOT 00 #\r\x03\x02\n' 2024-02-16 17:33:05.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PPOT -> {'value': '00', 'timestamp': None} 2024-02-16 17:33:05.741 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] End of frame, last tag read: PPOT 2024-02-16 17:33:05.917 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ADCO 041530023254 4\r\n' 2024-02-16 17:33:05.917 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:05.917 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ADCO -> {'value': '041530023254', 'timestamp': None} 2024-02-16 17:33:05.917 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsing ADS: 041530023254 2024-02-16 17:33:05.917 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] /dev/ttyUSB2: parsed ADS: {'year': '15', 'registration_number': '023254', 'constructor_code': '04', 'constructor': 'LANDIS ET GYR / SIEMENS METERING / LANDIS+GYR', 'device_type_code': '30', 'device_type': 'Compteur monophasé 90 A Landis+Gyr ZCD126 - 175 Hz taux normal'} 2024-02-16 17:33:06.061 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'OPTARIF BASE 0\r\n' 2024-02-16 17:33:06.061 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:06.061 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: OPTARIF -> {'value': 'BASE', 'timestamp': None} 2024-02-16 17:33:06.157 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'ISOUSC 15 <\r\n' 2024-02-16 17:33:06.157 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:06.157 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: ISOUSC -> {'value': '15', 'timestamp': None} 2024-02-16 17:33:06.317 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'BASE 036537431 +\r\n' 2024-02-16 17:33:06.317 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:06.317 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: BASE -> {'value': '036537431', 'timestamp': None} 2024-02-16 17:33:06.413 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PTEC TH.. $\r\n' 2024-02-16 17:33:06.413 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 17:33:06.413 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PTEC -> {'value': 'TH..', 'timestamp': None}

3- il y a aussi le manque de texte dans les options, voir plus haut

merci de votre aide

Yves

hekmon commented 4 months ago
yves67 commented 4 months ago

pour les textes manquants : langue : Français ha core : 2024-2 ha : 11.5

yves67 commented 4 months ago

pour l'erreur dans la log que j'ai mis il y a cette erreur 👍

2024-02-16 17:33:01.094 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/silabs_multiprotocol.py

avec le traceback

hekmon commented 4 months ago

Effectivement. Par contre... L'intégration ne possède aucun fichier silabs_multiprotocol.py. Je me demande comment il est arrivé là chez vous ?

yves67 commented 4 months ago

j'avais installé en premier la version 2.07 puis je l'ai supprimer et j'ai installé la béta 3.0 (à la main)

voici une autre log, les erreurs se produisent au démarrage de HA, si je recharge pas d'erreurs, en marche normal pas d'erreurs

024-02-16 18:46:39.615 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing IMAX2 sensor 2024-02-16 18:46:39.615 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing IMAX3 sensor 2024-02-16 18:46:39.615 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing PMAX sensor 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing PPOT sensor 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing ADIR1 sensor 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.serial_reader] Registering a callback for ADIR1 tag 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing ADIR2 sensor 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.serial_reader] Registering a callback for ADIR2 tag 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.sensor] /dev/ttyUSB2: initializing ADIR3 sensor 2024-02-16 18:46:39.616 DEBUG (MainThread) [custom_components.linktic.serial_reader] Registering a callback for ADIR3 tag 2024-02-16 18:46:39.616 INFO (MainThread) [custom_components.linktic.sensor] Adding 31 sensors for the three phase historic mode 2024-02-16 18:46:39.625 DEBUG (MainThread) [custom_components.linktic.binary_sensor] /dev/ttyUSB2: a full frame has been read, initializing sensors 2024-02-16 18:46:39.625 DEBUG (MainThread) [custom_components.linktic.binary_sensor] /dev/ttyUSB2: initializing Serial Connectivity binary sensor 2024-02-16 18:46:39.628 DEBUG (SyncWorker_11) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved ADCO value from serial controller: '041530023254' 2024-02-16 18:46:39.632 DEBUG (SyncWorker_4) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved OPTARIF value from serial controller: 'BASE' 2024-02-16 18:46:39.634 DEBUG (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved ISOUSC value from serial controller: '15' 2024-02-16 18:46:39.640 DEBUG (SyncWorker_18) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BASE value from serial controller: '036537939' 2024-02-16 18:46:39.660 INFO (MainThread) [homeassistant.components.sensor] Setting up ipp.sensor 2024-02-16 18:46:39.660 INFO (MainThread) [homeassistant.components.sensor] Setting up integration.sensor 2024-02-16 18:46:39.661 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mqtt.device_tracker 2024-02-16 18:46:39.661 INFO (MainThread) [homeassistant.components.media_player] Setting up sonos.media_player 2024-02-16 18:46:39.665 INFO (MainThread) [homeassistant.components.media_player] Setting up braviatv.media_player 2024-02-16 18:46:39.667 DEBUG (SyncWorker_5) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved HCHC value from serial controller: None 2024-02-16 18:46:39.667 INFO (SyncWorker_5) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the HCHC sensor as unavailable: a full frame has been read but HCHC has not been found 2024-02-16 18:46:39.671 INFO (MainThread) [homeassistant.components.media_player] Setting up cast.media_player 2024-02-16 18:46:39.682 DEBUG (SyncWorker_12) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved HCHP value from serial controller: None 2024-02-16 18:46:39.682 INFO (SyncWorker_12) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the HCHP sensor as unavailable: a full frame has been read but HCHP has not been found 2024-02-16 18:46:39.710 DEBUG (SyncWorker_19) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved EJPHN value from serial controller: None 2024-02-16 18:46:39.711 INFO (SyncWorker_19) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the EJPHN sensor as unavailable: a full frame has been read but EJPHN has not been found 2024-02-16 18:46:39.745 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/cast.py Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component platform = integration.get_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 847, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 864, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'custom_components.linktic.cast' 2024-02-16 18:46:39.751 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'BASE 036537939 8\r\n' 2024-02-16 18:46:39.751 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:39.751 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: BASE -> {'value': '036537939', 'timestamp': None} 2024-02-16 18:46:39.826 DEBUG (SyncWorker_11) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved EJPHPM value from serial controller: None 2024-02-16 18:46:39.826 INFO (SyncWorker_11) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the EJPHPM sensor as unavailable: a full frame has been read but EJPHPM has not been found 2024-02-16 18:46:39.840 DEBUG (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHCJB value from serial controller: None 2024-02-16 18:46:39.840 INFO (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHCJB sensor as unavailable: a full frame has been read but BBRHCJB has not been found 2024-02-16 18:46:39.846 DEBUG (SyncWorker_8) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHPJB value from serial controller: None 2024-02-16 18:46:39.846 INFO (SyncWorker_8) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHPJB sensor as unavailable: a full frame has been read but BBRHPJB has not been found 2024-02-16 18:46:39.857 INFO (MainThread) [homeassistant.components.remote] Setting up braviatv.remote 2024-02-16 18:46:39.857 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor 2024-02-16 18:46:39.859 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker 2024-02-16 18:46:39.860 DEBUG (SyncWorker_5) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHCJW value from serial controller: None 2024-02-16 18:46:39.860 INFO (SyncWorker_5) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHCJW sensor as unavailable: a full frame has been read but BBRHCJW has not been found 2024-02-16 18:46:39.861 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor 2024-02-16 18:46:39.863 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up mobile_app.binary_sensor 2024-02-16 18:46:39.865 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'PTEC TH.. $\r\n' 2024-02-16 18:46:39.865 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:39.865 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: PTEC -> {'value': 'TH..', 'timestamp': None} 2024-02-16 18:46:39.871 INFO (MainThread) [homeassistant.components.device_tracker] Setting up mobile_app.device_tracker 2024-02-16 18:46:39.875 INFO (MainThread) [homeassistant.components.sensor] Setting up mobile_app.sensor 2024-02-16 18:46:39.882 DEBUG (SyncWorker_13) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHPJW value from serial controller: None 2024-02-16 18:46:39.882 INFO (SyncWorker_13) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHPJW sensor as unavailable: a full frame has been read but BBRHPJW has not been found 2024-02-16 18:46:39.890 INFO (MainThread) [homeassistant.components.sensor] Setting up proximity.sensor 2024-02-16 18:46:39.892 INFO (MainThread) [homeassistant.components.sensor] Setting up hacs.sensor 2024-02-16 18:46:39.895 INFO (MainThread) [homeassistant.components.update] Setting up hacs.update 2024-02-16 18:46:39.901 DEBUG (SyncWorker_12) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHCJR value from serial controller: None 2024-02-16 18:46:39.901 INFO (SyncWorker_12) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHCJR sensor as unavailable: a full frame has been read but BBRHCJR has not been found 2024-02-16 18:46:39.902 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:39.907 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:39.917 INFO (MainThread) [homeassistant.components.climate] Setting up shelly.climate 2024-02-16 18:46:39.951 DEBUG (SyncWorker_19) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved BBRHPJR value from serial controller: None 2024-02-16 18:46:39.951 INFO (SyncWorker_19) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the BBRHPJR sensor as unavailable: a full frame has been read but BBRHPJR has not been found 2024-02-16 18:46:39.952 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:39.966 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:39.970 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:39.971 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:39.973 DEBUG (SyncWorker_15) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PEJP value from serial controller: None 2024-02-16 18:46:39.974 INFO (SyncWorker_15) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the PEJP sensor as unavailable: a full frame has been read but PEJP has not been found 2024-02-16 18:46:39.976 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:39.979 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:39.979 INFO (MainThread) [custom_components.hacs] Stage changed: setup 2024-02-16 18:46:39.981 INFO (MainThread) [custom_components.hacs] Stage changed: waiting 2024-02-16 18:46:39.981 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts 2024-02-16 18:46:39.991 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST1 001 I\r\n' 2024-02-16 18:46:39.991 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:39.991 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST1 -> {'value': '001', 'timestamp': None} 2024-02-16 18:46:39.991 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST1: executing 2024-02-16 18:46:39.991 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST1 data but user has not activated real time: skipping 2024-02-16 18:46:39.993 DEBUG (SyncWorker_11) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PTEC value from serial controller: 'TH..' 2024-02-16 18:46:40.028 DEBUG (SyncWorker_10) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved DEMAIN value from serial controller: None 2024-02-16 18:46:40.029 INFO (SyncWorker_10) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the DEMAIN sensor as unavailable: a full frame has been read but DEMAIN has not been found 2024-02-16 18:46:40.035 DEBUG (SyncWorker_22) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PAPP value from serial controller: '00680' 2024-02-16 18:46:40.112 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST2 000 I\r\n' 2024-02-16 18:46:40.112 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:40.113 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST2 -> {'value': '000', 'timestamp': None} 2024-02-16 18:46:40.113 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST2: executing 2024-02-16 18:46:40.113 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST2 data but user has not activated real time: skipping 2024-02-16 18:46:40.125 INFO (MainThread) [homeassistant.setup] Setting up default_config 2024-02-16 18:46:40.126 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.0 seconds 2024-02-16 18:46:40.134 DEBUG (SyncWorker_18) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved HHPHC value from serial controller: None 2024-02-16 18:46:40.134 INFO (SyncWorker_18) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the HHPHC sensor as unavailable: a full frame has been read but HHPHC has not been found 2024-02-16 18:46:40.143 DEBUG (SyncWorker_5) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved MOTDETAT value from serial controller: '000000' 2024-02-16 18:46:40.150 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.150 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.150 INFO (MainThread) [homeassistant.components.climate] Setting up shelly.climate 2024-02-16 18:46:40.151 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.153 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.154 DEBUG (SyncWorker_13) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST1 value from serial controller: '001' 2024-02-16 18:46:40.162 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.163 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.164 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.167 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.169 INFO (MainThread) [homeassistant.components.update] Setting up esphome.update 2024-02-16 18:46:40.172 INFO (MainThread) [homeassistant.components.sensor] Setting up esphome.sensor 2024-02-16 18:46:40.173 INFO (MainThread) [homeassistant.components.update] Setting up esphome.update 2024-02-16 18:46:40.175 INFO (MainThread) [homeassistant.components.sensor] Setting up esphome.sensor 2024-02-16 18:46:40.176 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.177 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.178 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.183 DEBUG (SyncWorker_12) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST2 value from serial controller: '000' 2024-02-16 18:46:40.184 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.189 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.207 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.208 DEBUG (SyncWorker_27) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IINST3 value from serial controller: '002' 2024-02-16 18:46:40.216 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IINST3 002 L\r\n' 2024-02-16 18:46:40.216 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:40.216 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IINST3 -> {'value': '002', 'timestamp': None} 2024-02-16 18:46:40.216 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] We have a notification callback for IINST3: executing 2024-02-16 18:46:40.216 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.sensor] received a push notification for new IINST3 data but user has not activated real time: skipping 2024-02-16 18:46:40.218 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.222 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.229 INFO (MainThread) [homeassistant.components.valve] Setting up shelly.valve 2024-02-16 18:46:40.244 DEBUG (SyncWorker_14) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IMAX1 value from serial controller: '023' 2024-02-16 18:46:40.246 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.249 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.252 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to ecs @ 192.168.1.57 in 0.045s 2024-02-16 18:46:40.252 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.254 DEBUG (SyncWorker_2) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IMAX2 value from serial controller: '022' 2024-02-16 18:46:40.259 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.264 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.267 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.268 DEBUG (SyncWorker_15) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved IMAX3 value from serial controller: '020' 2024-02-16 18:46:40.270 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.271 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.274 INFO (MainThread) [homeassistant.components.valve] Setting up shelly.valve 2024-02-16 18:46:40.287 DEBUG (SyncWorker_11) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PMAX value from serial controller: '08690' 2024-02-16 18:46:40.288 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.292 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.296 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.307 DEBUG (SyncWorker_29) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved PPOT value from serial controller: '00' 2024-02-16 18:46:40.308 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.311 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.319 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successfully connected to bme280 @ 192.168.1.55 in 0.131s 2024-02-16 18:46:40.319 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.320 DEBUG (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved ADIR1 value from serial controller: None 2024-02-16 18:46:40.320 INFO (SyncWorker_21) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the ADIR1 sensor as unavailable: a full frame has been read but ADIR1 has not been found 2024-02-16 18:46:40.329 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.333 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX1 023 5\r\n' 2024-02-16 18:46:40.333 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:40.333 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX1 -> {'value': '023', 'timestamp': None} 2024-02-16 18:46:40.335 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.344 INFO (MainThread) [homeassistant.components.valve] Setting up shelly.valve 2024-02-16 18:46:40.353 DEBUG (SyncWorker_16) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved ADIR2 value from serial controller: None 2024-02-16 18:46:40.353 INFO (SyncWorker_16) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the ADIR2 sensor as unavailable: a full frame has been read but ADIR2 has not been found 2024-02-16 18:46:40.356 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.358 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.368 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.375 DEBUG (SyncWorker_7) [custom_components.linktic.sensor] /dev/ttyUSB2: retrieved ADIR3 value from serial controller: None 2024-02-16 18:46:40.375 INFO (SyncWorker_7) [custom_components.linktic.sensor] /dev/ttyUSB2: marking the ADIR3 sensor as unavailable: a full frame has been read but ADIR3 has not been found 2024-02-16 18:46:40.379 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.383 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.392 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.394 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.397 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.410 INFO (MainThread) [homeassistant.components.valve] Setting up shelly.valve 2024-02-16 18:46:40.420 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.424 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.428 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.430 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.432 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.442 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line to parse: b'IMAX2 022 5\r\n' 2024-02-16 18:46:40.442 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] line checksum is valid 2024-02-16 18:46:40.442 DEBUG (LinkyTIC for /dev/ttyUSB2) [custom_components.linktic.serial_reader] read the following values: IMAX2 -> {'value': '022', 'timestamp': None} 2024-02-16 18:46:40.444 INFO (MainThread) [homeassistant.components.sensor] Setting up shelly.sensor 2024-02-16 18:46:40.445 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/diagnostics.py Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component platform = integration.get_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 847, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 864, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'custom_components.linktic.diagnostics' 2024-02-16 18:46:40.450 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/recorder.py Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component platform = integration.get_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 847, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 864, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'custom_components.linktic.recorder' 2024-02-16 18:46:40.456 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/group.py Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 50, in _async_process_single_integration_platform_component platform = integration.get_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 847, in get_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 864, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1324, in _find_and_load_unlocked ModuleNotFoundError: No module named 'custom_components.linktic.group' 2024-02-16 18:46:40.464 INFO (MainThread) [homeassistant.components.switch] Setting up shelly.switch 2024-02-16 18:46:40.465 INFO (MainThread) [homeassistant.components.update] Setting up shelly.update 2024-02-16 18:46:40.467 INFO (MainThread) [homeassistant.components.valve] Setting up shelly.valve 2024-02-16 18:46:40.471 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up shelly.binary_sensor 2024-02-16 18:46:40.475 INFO (MainThread) [homeassistant.components.button] Setting up shelly.button 2024-02-16 18:46:40.478 INFO (MainThread) [homeassistant.components.cover] Setting up shelly.cover 2024-02-16 18:46:40.481 INFO (MainThread) [aioesphomeapi.reconnect_logic] Successful handshake with bme280 @ 192.168.1.55 in 0.162s 2024-02-16 18:46:40.481 INFO (MainThread) [homeassistant.components.event] Setting up shelly.event 2024-02-16 18:46:40.486 INFO (MainThread) [homeassistant.components.light] Setting up shelly.light 2024-02-16 18:46:40.489 INFO (MainThread) [hom

hekmon commented 4 months ago
2024-02-16 17:33:01.094 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/silabs_multiprotocol.py
[...]
2024-02-16 18:46:39.745 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/cast.py
[...]
2024-02-16 18:46:40.445 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/diagnostics.py
[...]
2024-02-16 18:46:40.450 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/recorder.py
[...]
2024-02-16 18:46:40.456 ERROR (MainThread) [homeassistant.helpers.integration_platform] Unexpected error importing linkytic/group.py

Tous ces fichiers n'existent pas (et n'ont jamais existé) dans l'extension. Donc je m'interroge sur le pourquoi votre Home Assistant essaye de les charger.

Une rapide recherche sur internet (ici et ici) semble indiquer une mauvaise installation (pas le bon nom de dossier pour l'extension) pourriez m'indiquer le chemin complet de l'extension sur votre disque ? Et la méthode d'installation (que je devine manuelle) ?

yves67 commented 4 months ago

j'ai fait une installation de linktic V2.07 via HACS, puis j'ai vidé le répertoire linktic et j'ai copié les fichiers de la version beta 3.0 dans le répertoire Custom_components/linktic

voici le path que me donne visual studo :

/homeassistant/custom_components/linktic

yves67 commented 4 months ago

je peux supprimer le répertoire linktic et refaire l'installation ?? qu'en pensez-vous ?

hekmon commented 4 months ago

Effectivement il manque une lettre :

/homeassistant/custom_components/linktic vs /homeassistant/custom_components/linkytic

Ce qui m'étonne c'est que HACS aurait du vous créer le dossier avec le bon nom 🤔

hekmon commented 4 months ago
yves67 commented 4 months ago

ok, je comprends mon erreur, j'ai supprimé le répertoire linkytic de la v2.07 à la main puis j'ai créé le répertoire linktic (en oubliant le y) et j'ai copié les fichiers de la beta V3.0 mea culpa.... je viens de renommer le répertoire avec le y ça suffit, je vais redémarrer HA

yves67 commented 4 months ago

ok, je viens de supprimer l'intégration linkytic via hacs il m'a supprimé le répertoire linkytic (que j'avais corrigé) donc je vais le recréé et recopier les fichiers beta 3.0 (après la soupe...) je vous tient au courant

theblackhole commented 4 months ago

@yves67

j'ai fait une installation de linktic V2.07 via HACS, puis j'ai vidé le répertoire linktic et j'ai copié les fichiers de la version beta 3.0 dans le répertoire Custom_components/linktic

Par curiosité, pourquoi faire cette étape d'installation manuelle après installation via HACS ? Parce que la beta est disponible directement depuis HACS en cochant l'option dédiée, et ça permet de continuer à avoir des maj en beta :slightly_smiling_face: image

yves67 commented 4 months ago

bon, j'ai tout supprimé, j'ai redémarré HA mais dans HACS il ne trouve pas linkytic ???? je voudrais le réinstaller via hacs

theblackhole commented 4 months ago

@yves67 dans hacs>intégration il y a une barre de recherche en haut (après si ça a été supprimé complètement il faut peut-être passer par le bouton "explorer et télécharger des dépots" en bas à droite). Sinon via le bouton dans le readme :wink:

yves67 commented 4 months ago

bon, j'ai galéré, mais j'ai réussi à installer linkytic beta 3.0 via hacs je n'ai plus le problème des libellés j'ai juste rajouté 30 dans le const.py pour mon compteur pré-linky j'ai juste l'abonnement de base, mais dans HA il y a des identités indisponible il n'y a pas un moyen de choisir les identités que l'on veut obtenir, cela éviterait de créér des sensor avec le statut indisponible, que l'on ne peut pas supprimer ???

hekmon commented 4 months ago

bon, j'ai galéré, mais j'ai réussi à installer linkytic beta 3.0 via hacs je n'ai plus le problème des libellés

bonne nouvelle 👍

j'ai juste rajouté 30 dans le const.py

La prochaine version beta contiendra une mise à jour des codes (dont le votre).

pour mon compteur pré-linky j'ai juste l'abonnement de base, mais dans HA il y a des identités indisponible il n'y a pas un moyen de choisir les identités que l'on veut obtenir, cela éviterait de créér des sensor avec le statut indisponible, que l'on ne peut pas supprimer ???

Il ne s'agit pas de supprimer des sensors mais de simplement les désactiver. Le nombre de sensors dépends du mode de fonctionnement, il est normal de les créer pour que l'utilisateur puisse avoir le choix de les activer/désactiver (par exemple si vous passiez sous tempo, votre index base arreterait de s'incrémenter et les index tempo commenceraient a s'incrémenter). image

Vous voyez ici que j'ai bien + 7 entités non affichées qui correspond à des sensors qui ne m'intéresse pas mais qui existe dans mon mode de fonctionnement (historique).

Pour désactiver un sensor :

theblackhole commented 4 months ago

@yves67 Pour moi c'est un comportement normal dans home assistant que des appareils contiennent des entités indisponibles (quoique je me demande si la plupart ne les désactivent pas automatiquement au bout d'un moment). Derrière il est toujours possible :

Exemple avec le mien:

yves67 commented 4 months ago

Merci pour votre réponse Je vais regarder tout cela demain soir, j'ai éteint l'ordinateur et je pars demain matin Je vous tient aucourant Encore merci Non je devrais avoir mon compteur linky début mars, avec le mode standart et triphasé A bientôt, et merci

hekmon commented 4 months ago

Je laisse l'issue ouverte en attendant votre confirmation que le problème ModuleNotFoundError est résolu.

yves67 commented 4 months ago

OK, je vais regarder demain

yves67 commented 4 months ago

Vous pouvez fermer l autre, concernantles libelles

yves67 commented 4 months ago

bonjour vous pouvez fermer cette issue, il n'y a plus de message d'erreur modulenot found j'avais mal installé ce package, désolé à la réception de mon compteur linky, dois-je supprimer le package et le réinstaller en mode standart ?? merci pour tout

hekmon commented 4 months ago

Par défault les Linky sont en mode historique (seuls les producteurs d'énergie ou ceux ayant spécifiquement fais la demande à Enedis sont en mode standard).

Aussi, dans le cas ou vous passeriez en mode standard, pas la peine de désinstaller l'intégration, supprimez simplement la configuration :

image

Et rajoutez de nouveau l'extension (mais toutes la phase d'installation HACS/manuelle n'a pas besoin d'être refaite).

yves67 commented 4 months ago

OK, merci J attends ce compteur linky , début mars ?