Pb sur intégration externe tapo

Bonjour @Will_71 . Merci pour le développement de cette intégration.

Je l’ai installée, configuré mon accès Tapo et les identifiants RTSP de mes 8 caméras, et la phase de découverte s’est bien passée.
Mais quand je vais dans Appareils et que je veux définir la pièce, j’ai un souci : la première config de pièce se fait bien, et la deuxième config de pièce tourne en boucle, et c’est tout Gladys qui se retrouve indisponible (les dashboard ne s’affichent plus, les scènes cessent de se déclencher…). Je dois faire un docker container restart gladys pour m’en sortir.

Pas de logs étranges dans le container Gladys, et dans les logs de ton container, j’observe ça :

2026-08-23T10:10:47.792708637Z [2026-08-23T10:10:47.791Z] [WARN] Refreshing the image of "Escalier extérieur" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.793492248Z [2026-08-23T10:10:47.792Z] [WARN] Refreshing the image of "Fontaine" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.794053677Z [2026-08-23T10:10:47.793Z] [WARN] Refreshing the image of "Parking" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.794636457Z [2026-08-23T10:10:47.793Z] [WARN] Refreshing the image of "Salle à manger" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.795546460Z [2026-08-23T10:10:47.794Z] [WARN] Refreshing the image of "Serre de jardin" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.795777179Z [2026-08-23T10:10:47.795Z] [WARN] Refreshing the image of "Sous-sol" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.797371478Z [2026-08-23T10:10:47.795Z] [WARN] Refreshing the image of "Terrain arrière" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:10:47.797770565Z [2026-08-23T10:10:47.796Z] [WARN] Refreshing the image of "Terrasse" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.871432440Z [2026-08-23T10:11:47.870Z] [WARN] Refreshing the image of "Escalier extérieur" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.871635334Z [2026-08-23T10:11:47.870Z] [WARN] Refreshing the image of "Fontaine" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.871750538Z [2026-08-23T10:11:47.871Z] [WARN] Refreshing the image of "Parking" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.872570025Z [2026-08-23T10:11:47.871Z] [WARN] Refreshing the image of "Salle à manger" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.872707254Z [2026-08-23T10:11:47.871Z] [WARN] Refreshing the image of "Serre de jardin" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.872802557Z [2026-08-23T10:11:47.872Z] [WARN] Refreshing the image of "Sous-sol" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.873067290Z [2026-08-23T10:11:47.872Z] [WARN] Refreshing the image of "Terrain arrière" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:11:47.873163280Z [2026-08-23T10:11:47.872Z] [WARN] Refreshing the image of "Terrasse" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.891471903Z [2026-08-23T10:12:47.890Z] [WARN] Refreshing the image of "Escalier extérieur" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.891679134Z [2026-08-23T10:12:47.891Z] [WARN] Refreshing the image of "Fontaine" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.892290065Z [2026-08-23T10:12:47.891Z] [WARN] Refreshing the image of "Parking" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.892937110Z [2026-08-23T10:12:47.892Z] [WARN] Refreshing the image of "Salle à manger" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.893501289Z [2026-08-23T10:12:47.892Z] [WARN] Refreshing the image of "Serre de jardin" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.894084669Z [2026-08-23T10:12:47.893Z] [WARN] Refreshing the image of "Sous-sol" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.895005284Z [2026-08-23T10:12:47.894Z] [WARN] Refreshing the image of "Terrain arrière" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:12:47.895557189Z [2026-08-23T10:12:47.895Z] [WARN] Refreshing the image of "Terrasse" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.964607841Z [2026-08-23T10:13:47.963Z] [WARN] Refreshing the image of "Escalier extérieur" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.965032779Z [2026-08-23T10:13:47.964Z] [WARN] Refreshing the image of "Fontaine" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.965576708Z [2026-08-23T10:13:47.965Z] [WARN] Refreshing the image of "Parking" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.966097611Z [2026-08-23T10:13:47.965Z] [WARN] Refreshing the image of "Salle à manger" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.966566050Z [2026-08-23T10:13:47.966Z] [WARN] Refreshing the image of "Serre de jardin" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.967452552Z [2026-08-23T10:13:47.966Z] [WARN] Refreshing the image of "Sous-sol" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.967555768Z [2026-08-23T10:13:47.967Z] [WARN] Refreshing the image of "Terrain arrière" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:13:47.967963005Z [2026-08-23T10:13:47.967Z] [WARN] Refreshing the image of "Terrasse" failed: TAPO_CAMERA_IP_UNKNOWN
2026-08-23T10:40:13.726568019Z [2026-08-23T10:40:13.554Z] [WARN] [gladys-sdk] connection to Gladys lost (close code 1006)
2026-08-23T10:40:13.739908017Z [2026-08-23T10:40:13.717Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 1000 ms (attempt 1)
2026-08-23T10:40:15.311763913Z [2026-08-23T10:40:15.310Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:40:15.322077421Z [2026-08-23T10:40:15.321Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 2000 ms (attempt 2)
2026-08-23T10:40:17.348959040Z [2026-08-23T10:40:17.348Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:40:17.353507326Z [2026-08-23T10:40:17.352Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 4000 ms (attempt 3)
2026-08-23T10:40:21.356805646Z [2026-08-23T10:40:21.355Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:40:21.356906387Z [2026-08-23T10:40:21.356Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 8000 ms (attempt 4)
2026-08-23T10:40:29.365714124Z [2026-08-23T10:40:29.365Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:40:29.366164813Z [2026-08-23T10:40:29.365Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 16000 ms (attempt 5)
2026-08-23T10:40:45.373092465Z [2026-08-23T10:40:45.371Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:40:45.373164754Z [2026-08-23T10:40:45.372Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 32000 ms (attempt 6)
2026-08-23T10:41:17.375942606Z [2026-08-23T10:41:17.375Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:41:17.377935153Z [2026-08-23T10:41:17.376Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 60000 ms (attempt 7)
2026-08-23T10:42:17.380999051Z [2026-08-23T10:42:17.380Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:42:17.381172943Z [2026-08-23T10:42:17.380Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 60000 ms (attempt 8)
2026-08-23T10:42:47.300100567Z [2026-08-23T10:42:47.299Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:42:47.304107400Z [2026-08-23T10:42:47.301Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 1000 ms (attempt 1)
2026-08-23T10:42:48.314517142Z [2026-08-23T10:42:48.310Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:42:48.318312056Z [2026-08-23T10:42:48.315Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 2000 ms (attempt 2)
2026-08-23T10:42:50.321046188Z [2026-08-23T10:42:50.320Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:42:50.321956177Z [2026-08-23T10:42:50.321Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 4000 ms (attempt 3)
2026-08-23T10:42:54.330128736Z [2026-08-23T10:42:54.328Z] [ERROR] [gladys-sdk] websocket error on ws://172.30.0.1:80: connect ECONNREFUSED 172.30.0.1:80
2026-08-23T10:42:54.330228552Z [2026-08-23T10:42:54.329Z] [WARN] [gladys-sdk] not connected to Gladys (ws://172.30.0.1:80), retrying in 8000 ms (attempt 4)

Est-ce qu’il y a quelque chose que je peux corriger de mon côté ? Est-ce à toi d’ajuster un truc dans l’extension ?

Hello,

J’ai eu le même comportement sur une autre intégration externe lors du renommage de plusieurs device. Est-ce que ça vient de l’intégration ou du coeur ?

Je dirais que c’est le core car j’ai eu le même chose avec overkiz.

Par contre je ne sais pas si c’est déjà en prod ou pas.

Bonjour, quelqu’un a réussi à obtenir le flux vidéo sur une Tapo C660 ? Les caméras sont bien découvertes mais aucune image ne s’affiche. Merci d’avance.

Salut @JKBS64, c’est quoi comme type de caméra?
As tu activé le compte RTSP dans l’application TAPO?

Si c’est sur batterie et solaire, TAPO n’expose pas officiellement les images en RSTP. J’ai réussi en pasant par HTTP mais j’ai drastiquement limité les captures d’images sinon l’autonomie de la batterie descends trop vite, et le panneau solaire fourni avec la caméra ne suffit plus à la charger.

Salut, c’est exactement ça, sur batterie et en plus solaire. Je me doutais bien que j’avais un soucis avec le RSTP. Et donc comment as-tu fait en http ?

c’est déjà présent dans l’intégration, mais peut etre que ce n’est pas possible avec ta caméra. Il y a des paramètres dans l’intégration dédia au caméra batterie/solaire et il faut jouer sur les niveau de batterie et temps entre chaque requetes

Tu peux essayer de forcer en cliquant sur le bouton

Merci de l’info, ça ne passe toujours pas mais je vais continuer à investiguer. Si je trouve la solution, je mettrai un commentaire.

Apres peu être que la solution pour ma caméra n’est pas la même pour toi. Car moi c’est une C610.

Juste pour info quel est ton niveau de batterie actuellement ?

Tiens moi au courant et je ferais des recherches.