Camera not working: No image in Gladys, but image in the manufacturer's app

Hello,

I noticed yesterday that I have a camera image not working.

I have 2 identical NETATMO cameras integrated into Gladys for a very long time.

An error is shown in the « Camera » integration for one of the devices even though I didn’t touch anything and the other device has no problem.

Image of the Netatmo web interface:

Didn’t you update the camera in a way that would have changed the URL?

No, updates are deployed by Netatmo.
The latest is from November 2024.

The URL is the same as the one I added on 17/12/2022.
Noted in my document created when integrating the cameras.

@gaetanb76,

Was there a power outage on this camera and not the other one? A disconnection? A restart? Something else? Do you know exactly when this happened and could you go back through the application’s history thread to find it?

Sorry for the late reply.

The images are stored in my Dropbox.
No camera outage in March.

I don’t know how to access Gladys’ logs to go back to such a distant date.
Besides, Gladys has restarted several times since.

I had an Internet outage for 4 days two weeks ago.
Everything came back to normal without me touching anything.

So no more issues with the camera, @gaetanb76?
Besides, Netatmo has done quite a lot since early March…

Hello ,

Once again the same problem, image in the Netatmo app, but not in Gladys. This is for the same camera.

Gladys logs :

2025-04-26T16:32:48+0200 <warn> getImage.js:79 () Error: Command failed: ffmpeg -i http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/index.m3u8 -f image2 -vframes 1 -qscale:v 15 -vf scale=1280:-1 /tmp/gladysassistant/camera-36b64735-384d-49a0-a909-086732595ff7-269-38-32-16.jpg
ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-INDEPENDENT-SEGMENTS')
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/high/index.m3u8' for reading
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-VERSION:7')
[http @ 0x58fa8d92be40] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/medium/index.m3u8' for reading
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-VERSION:7')
[http @ 0x58fa8d92be40] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/low/index.m3u8' for reading
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-VERSION:7')
[http @ 0x58fa8d92be40] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/poor/index.m3u8' for reading
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-VERSION:7')
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/high/live0000523595.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/high/live0000523596.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/medium/live0000523595.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/medium/live0000523596.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/low/live0000523595.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/low/live0000523596.ts' for reading
[http @ 0x58fa8d92be40] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/poor/index.m3u8' for reading
[hls @ 0x58fa8d91e880] Skip ('#EXT-X-VERSION:7')
[hls @ 0x58fa8d91e880] skipping 2 segments ahead, expired from playlists
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/poor/live0000523597.ts' for reading
[hls @ 0x58fa8d91e880] Opening 'http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/files/poor/live0000523598.ts' for reading

    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at ChildProcess.exithandler (node:child_process:414:12)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1101:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 255,
  killed: true,
  signal: null,
  cmd: 'ffmpeg -i http://192.168.xxx.xxx/xxxxxxxxx84d7803eb4e6913cxxxxxxxxx/live/index.m3u8 -f image2 -vframes 1 -qscale:v 15 -vf scale=1280:-1 /tmp/gladysassistant/camera-36b64735-384d-49a0-a909-086732595ff7-269-38-32-16.jpg'
}
2025-04-26T16:32:48+0200 <warn> poll.js:14 (RtspCameraHandler.poll) Unable to poll camera

Hi @gaetanb76!

I don’t have a Netatmo camera on hand, so it’s difficult to test myself, but here are some common things to check:

  • Have you tested the stream in VLC to make sure it works properly? (Documentation → Caméra | Gladys Assistant )
  • Could it be a local network issue? For example, if the camera takes too long to respond, Gladys will throw an error. There is a 10-second timeout to retrieve the image. According to the logs, it responds fine, but maybe too slowly?
  • Is the stream being used by another client simultaneously? Some cameras do not support multiple connections at the same time, which could explain the error.

Let us know, we’ll figure it out! :slight_smile:

Hi @pierre-gilles,
Thanks for your follow-up.

  • The VLC video stream is OK (Appentis)

  • The stream isn’t being used by any other instance
  • Since my message, the image has returned on its own.
    I have another camera « Netatmo outdoor » (Entrance) that

Indeed, from what you’re telling me, it’s probably a timeout issue.

However, 10 seconds to retrieve a camera image is already very long, so it’s more on your end that you should look at how to improve your network so your camera responds in under 10 seconds.

An Orange repeater connected via powerline (PLC) — I wouldn’t be surprised if the issue comes from that!

Hello @pierre-gilles
I’m posting here because I have a problem with a Tapo C210 camera; this has already happened two or three times. This camera does return an image with the TAPO app and also streams on the Gladys dashboard, but it doesn’t provide an image every 10s. And then it works again without touching anything. Very strange
Here are the logs:

2025-05-25T08:36:38+0200 <warn> getImage.js:79 () Error: Command failed: ffmpeg -rtsp_transport tcp -i rtsp://xxxxxxxxxxxxxxxxxxxxxxxxx@192.168.1.174:554/stream1 -f image2 -vframes 1 -qscale:v 15 -vf scale=1280:-1 /tmp/gladysassistant/camera-5346cd76-3f07-455a-bd57-2e4189598e6d-991-27-36-8.jpg
ffmpeg version 5.1.6-0+deb12u1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100

    at genericNodeError (node:internal/errors:983:15)
    at wrappedFn (node:internal/errors:537:14)
    at ChildProcess.exithandler (node:child_process:414:12)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1101:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) {
  code: 255,
  killed: true,
  signal: null,
  cmd: 'ffmpeg -rtsp_transport tcp -i rtsp://xxxxxxxxxxxxxxxxxxxxxxxxxxxx@192.168.1.174:554/stream1 -f image2 -vframes 1 -qscale:v 15 -vf scale=1280:-1 /tmp/gladysassistant/camera-5346cd76-3f07-455a-bd57-2e4189598e6d-991-27-36-8.jpg'
 Avant les mise a jour 4.58  je n'avais pas ce probleme, j'ai d'autre camera Tapo et IMOU qui fonctionnent correctement . Qu'est ce que tu en penses?Merci d'avance

Hi @Psoy,

Your camera takes more than 10 seconds to respond, that’s what’s causing the error.

Since several users seem affected, I’ll increase the timeout to 20 seconds to avoid this kind of issue.

However, @Psoy @gaetanb76, since your networks seem a bit slow, I recommend not setting the image refresh on your cameras too frequently. A one‑minute interval would be more appropriate in your case :slightly_smiling_face:

Timeout increased here:

It’s merged and will be included in the next Gladys release :slight_smile:

1 Like

It’s live in Gladys Assistant 4.59 :

1 Like

2 messages were split into a new topic: Netatmo Camera unavailable in Gladys