Issue with external tapo integration

Hello @Will_71. Thanks for developing this integration.

I installed it, configured my Tapo access and the RTSP credentials for my 8 cameras, and the discovery phase went well.
But when I go to Devices and want to set the room, I have an issue: the first room configuration works fine, and the second room configuration goes into a loop, and the whole Gladys becomes unavailable (the dashboards no longer display, the scenes stop triggering…). I have to do a docker container restart gladys to get out of it.

No strange logs in the Gladys container, and in your container logs, I see this:

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)
```Is there anything I can fix on my end? Is it up to you to adjust something in the extension?

Hello,

I experienced the same behavior with another external integration while renaming multiple devices. Is this coming from the integration or the core?

I would say that it’s the core because I had the same issue with overkiz.

However, I don’t know if it’s already in production or not.

Hello, has anyone managed to get the video stream on a Tapo C660? The cameras are discovered but no image is displayed. Thanks in advance.

Hi @JKBS64, what type of camera is it?
Have you enabled the RTSP account in the TAPO app?

If it’s battery and solar powered, TAPO does not officially expose images via RTSP. I managed to do it via HTTP, but I drastically limited image captures otherwise the battery life drops too quickly, and the solar panel provided with the camera is no longer enough to charge it.

Hi, that’s exactly it, battery-powered and also solar. I had a feeling I had an issue with RSTP. So how did you do it over HTTP?

it’s already present in the integration, but maybe it’s not possible with your camera. There are parameters in the integration dedicated to the camera battery/solar and you need to adjust the battery levels and time between each request

You can try to force by clicking on the button

Thanks for the info, it’s still not working but I’ll keep investigating. If I find the solution, I’ll leave a comment.

The solution for my camera might not be the same for you. Because mine is a C610.

Just for info, what is your current battery level?

Keep me posted and I’ll do some research.