Je n’arrive pas à créer mon premier automatisme Renseigner votre problème
J’ai installé HASS sur un mini PC.
J’ai installé MQTT et Zigbee2MQTT
Ma configuration
Comment récupérer ma configuration :
Dans votre HA, Menu latéral Paramètres > Système > Corrections puis les trois petits points en haut a droite > Informations Système puis une fois en bas Copier
Je continue :
J’essaie de créer mon premier automatisme, avec un BluePrint :
En faisant le test , je n’arrive pas à les voir …Si je vais dans config/automations.yaml je peux voir - id: ‹ 1675256410673 ›
alias: test
description: Cuisine
use_blueprint:
path: homeassistant/motion_light.yaml
input:
motion_entity: binary_sensor.detecteur_aqara_2_occupancy
light_target:
area_id: cuisine
device_id: 15ad69bf68708c9576c72c156bc586b4
no_motion_wait: 186
Mais je ne vois rien apparaitre dans automatismes …
Un grand merci d’avance
Luc Giraud
quand tu définis/modifie un automatisme
une fois la sauvergarde de ce dernier effectué
tu dois aller dans
outils de développements
verifier la configuration et juste en dessous tu verra rechargement de la configuration et choisi automatisations
cliques sur automatisations
et voila
pourquoi tout cela
c’est que historiquement il fallait a chaque modification d’une automatisation redémarrer HA pour la prise en compte de cette dernière
Merci pour la réponse ! Quelle réactivité.
J’ai donc vérifié la configuration, mais je ne vois pas de nouvel automatisme. Est-ce normal ?
Désolé, je ne suis qu’au tout début …
Cela ne change rien.
A tout hasard, j’ai essayé de créer un automatisme sans BluePrint, j’ai le même résultat ( ou plutôt absence de résultat).
Une fois enregistré, j’ai ceci dans le fichier /config/automations.yaml
Salut
A priori, tu es un débutant.
Je te conseille d’utiliser l’interface pour créer ton automatisation au lieu d’utiliser les fichiers yaml.
Appuie sur le bouton bleu en bas à droite.
Effectivement, je suis débutant !
J’ai également testé en appuyant sur le bouton créer une automatisation.
Je l’ai enregistré, mais je ne vois pas cet automatisation dans la liste …
Suis-je assez clair ?
Merci en tout cas pour l’aide apportée.
Bein non je n’ai rien. C’est bien ce qui m’inquiètes !
Lorsque j’essaie de donner les informations systèmes, j’ai une petite animation ( disque bleu qui tourne) qui me dit de patienter et du coup je ne peux rien copier …
Pour les logs, j’ai récupéré cela :
ant
2023-02-01 17:45:18.106 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-01 17:45:24.944 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server ([Errno 104] Connection reset by peer)
2023-02-01 17:45:24.952 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server
2023-02-01 17:45:25.511 ERROR (MainThread) [homeassistant.components.automation] Failed to generate automation from blueprint: Failed to load blueprint: Unable to find motion_light_tutorial.yaml
2023-02-01 17:45:29.117 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.prise_projecteur_signal_strength (<class 'custom_components.meross_lan.sensor.MLSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-01 17:45:29.140 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.prise_lampe_bleue_signal_strength (<class 'custom_components.meross_lan.sensor.MLSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-01 17:45:31.964 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101076334675690839048e1e9448b9c) error in async_http_request: Cannot connect to host 10.128.1.144:80 ssl:default [Connect call failed ('10.128.1.144', 80)]
2023-02-01 17:45:31.968 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101072360219490839048e1e9447f38) error in async_http_request: Cannot connect to host 10.128.1.40:80 ssl:default [Connect call failed ('10.128.1.40', 80)]
2023-02-01 17:45:32.270 ERROR (MainThread) [homeassistant.components.homekit] HomeKit 0xa4c13866ecf3b2ec child lock cannot startup: entity not available: {'include_domains': [], 'exclude_domains': [], 'include_entities': ['lock.0xa4c13866ecf3b2ec_child_lock'], 'exclude_entities': [], 'include_entity_globs': [], 'exclude_entity_globs': []}
2023-02-01 17:46:10.033 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 17:46:10.039 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 17:51:01.127 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 17:51:01.128 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 17:56:12.465 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 17:56:12.466 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:01:04.623 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:01:04.626 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:06:05.995 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:06:05.998 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:08:26.598 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:08:26.599 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:11:29.134 ERROR (MainThread) [homeassistant.components.automation] Failed to generate automation from blueprint: Failed to load blueprint: Unable to find motion_light_tutorial.yaml
2023-02-01 18:12:27.758 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:12:27.758 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:16:49.232 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:16:49.234 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:21:40.365 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:21:40.368 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
2023-02-01 18:26:14.998 ERROR (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error reading from socket.
2023-02-01 18:26:14.999 WARNING (Thread-5) [pychromecast.socket_client] [49PUS6482/12(10.128.1.41):8009] Error communicating with socket, resetting connection
Pour finir en page d’accueil, j’ai ce message d’erreur
Error loading the view strategy:
TypeError: Cannot read properties of undefined (reading ‹ toUpperCase ›)
Bonsoir,
Le problème, c’est que je ne sais pas comment corriger ces erreurs.
Une piste pour celle se trouvant en page d’accueil ?
Error loading the view strategy:
Ca avance !
Un sincère merci pour l’assistance …
Je joins mon fichier log
2023-02-03 11:10:44.507 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-03 11:10:44.509 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-03 11:10:59.364 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.prise_chaudiere_signal_strength (<class 'custom_components.meross_lan.sensor.MLSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dB', 'dBm']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-03 11:10:59.387 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.prise_projecteur_signal_strength (<class 'custom_components.meross_lan.sensor.MLSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dB', 'dBm']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-03 11:10:59.735 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.prise_lampe_bleue_signal_strength (<class 'custom_components.meross_lan.sensor.MLSensor'>) is using native unit of measurement '%' which is not a valid unit for the device class ('signal_strength') it is using; expected one of ['dB', 'dBm']; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-02-03 11:11:02.247 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(2101076334675690839048e1e9448b9c) error in async_http_request: Cannot connect to host 10.128.1.144:80 ssl:default [Connect call failed ('10.128.1.144', 80)]
Pour les automatismes, on verra après, je crois qu’il faut être patient …
Est-il possible de faire l’intégration d’une caméra Eufy ?