FFMpeg motion binary sensor keeps going unavailable

I setup an FFmpeg motion detection binary sensor and it worked just fine. But then I noticed it go unavailable. I restarted FFmpeg and it was good for a bit, and went unavailable after triggering a few times. It has repeated this all day.

I know this isn’t super helpful information, and I am new to Home Assistant - so can someone tell me how to pull some useful information to share so I can get help with this?

Here is the sensor in my configuration:

binary_sensor:
  - name: FFmpeg Front Porch Motion
    platform: ffmpeg_motion
    input: !secret fpcam_stream
    reset: 5
    changes: 15

The sensor works, so I know the input is good - not a lot else to go on from this.
The stream URL is also being used for an FFmpeg camera - and I haven’t had this disconnect, but I also haven’t ran it for more than a minute at a time.

Where do I pull a useful log to help diagnose what is happening?

Thanks!

1 Like

The log is in your config directory. i.e. The same place as configuration.yaml.

Been trying different log levels, and can’t seem to find the problem.

Possibly ffmpeg is dying - see the docs

If the ffmpeg process is broken, the sensor will be unavailable. To control the ffmpeg process of sensor, use the service ffmpeg.start , ffmpeg.stop , ffmpeg.restart .

Yes, as a temporary fix I have created an automation that restarts the sensor if it goes unavailable. But this is happening very often (every few minutes).

There was another thread recently about ffmpeg creating core files. Core files are dumped when a process crashes. So it may be that there is a problem with the ffmpeg binary - are you using hassio?

No, normal home assistant in docker.

Here is the other thread anyway Home Assistant is creating .core Files in the config Folder

Thanks.
I checked don’t see any core files.
I’ll keep digging, find something sooner or later.

Since some 0.9x-version, while before my ffmpeg cam display in HA was steady, i have it also dropping away. After a restart of my Pi it works again for a while, and than stops working again.

Are you expecting someone to help? You give no logs or useful information.

Just thought i would chime in about also having problems with FFMPEG going unavailable. Sometimes that also helps, knowing there are more people? Fyi, i’m seeing these in my logs:

Summary

2019-04-14 11:27:02 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe
2019-04-14 11:27:02 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 447, in start
await resp.prepare(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 353, in prepare
return await self._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 667, in _start
return await super()._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 410, in _start
await writer.write_headers(status_line, headers)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 112, in write_headers
self._write(buf)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 67, in _write
raise ConnectionResetError(‘Cannot write to closing transport’)
ConnectionResetError: Cannot write to closing transport
2019-04-14 11:27:42 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe
2019-04-14 11:27:43 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 447, in start
await resp.prepare(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 353, in prepare
return await self._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 667, in _start
return await super()._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 410, in _start
await writer.write_headers(status_line, headers)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 112, in write_headers
self._write(buf)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 67, in _write
raise ConnectionResetError(‘Cannot write to closing transport’)
ConnectionResetError: Cannot write to closing transport
2019-04-14 11:35:37 ERROR (Thread-13) [custom_components.solaredge.sensor] Missing connections in power flow data
2019-04-14 11:37:11 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe
2019-04-14 11:37:11 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/asyncio/tasks.py”, line 241, in _step
result = coro.throw(exc)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py”, line 114, in handle
result = await result
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 475, in get
return await self.handle(request, camera)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/init.py”, line 511, in handle
return await camera.handle_async_mjpeg_stream(request)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/ffmpeg/camera.py”, line 86, in handle_async_mjpeg_stream
await stream.close()
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 158, in close
await self._loop.run_in_executor(None, _close)
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 153, in _close
self._proc.stdin.write(b"q")
BrokenPipeError: [Errno 32] Broken pipe

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py”, line 447, in start
await resp.prepare(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 353, in prepare
return await self._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 667, in _start
return await super()._start(request)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_response.py”, line 410, in _start
await writer.write_headers(status_line, headers)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 112, in write_headers
self._write(buf)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/http_writer.py”, line 67, in _write
raise ConnectionResetError(‘Cannot write to closing transport’)
ConnectionResetError: Cannot write to closing transport
2019-04-14 11:37:26 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.5/subprocess.py”, line 801, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File “/usr/lib/python3.5/subprocess.py”, line 1437, in _communicate
selector.register(self.stdout, selectors.EVENT_READ)
File “/usr/lib/python3.5/selectors.py”, line 351, in register
key = super().register(fileobj, events, data)
File “/usr/lib/python3.5/selectors.py”, line 237, in register
key = SelectorKey(fileobj, self._fileobj_lookup(fileobj), events, data)
File “/usr/lib/python3.5/selectors.py”, line 224, in _fileobj_lookup
return _fileobj_to_fd(fileobj)
File “/usr/lib/python3.5/selectors.py”, line 39, in _fileobj_to_fd
“{!r}”.format(fileobj)) from None
ValueError: Invalid file object: <_io.FileIO [closed]>

As I stated earlier - so far anything I changed did not generate an FFMPEG log information.
Unfortunately, my SSD was a lemon and started throwing bad sector errors. I am waiting on a replacement drive so currently my system is offline.

Thanks for following up - once I get the system back up and going I’ll see if the issue returns and try to get something in the logs again.

Hello, i have the same issue.

Changing the camera I am using as input the sensor works but with a couple of specific camera i have the same behavior described into this thread (sensor ok for a while and then unavailable).

My logs are:

2019-09-04 23:18:56 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-09-04 23:18:57 WARNING (MainThread) [homeassistant.components.http] Configuring api_password via the http integration has been deprecated. Use the legacy api password auth provider instead. For instructions, see Authentication providers - Home Assistant
2019-09-04 23:18:57 WARNING (MainThread) [homeassistant.components.http.auth] legacy_api_password support has been enabled.
2019-09-04 23:19:07 WARNING (SyncWorker_16) [homeassistant.components.apcupsd.sensor] Sensor type: maxlinev does not appear in the APCUPSd status output
2019-09-04 23:19:07 WARNING (SyncWorker_16) [homeassistant.components.apcupsd.sensor] Sensor type: minlinev does not appear in the APCUPSd status output
2019-09-04 23:19:07 WARNING (SyncWorker_16) [homeassistant.components.apcupsd.sensor] Sensor type: outputv does not appear in the APCUPSd status output

I don’t see anything strange on the log.

This is the configuration that I am using for the sensor:

binary_sensor:

  • platform: ffmpeg_motion
    name: OpenSpace
    input: !secret CAM5

On the secret file i have this syntax:

CAM5: -rtsp_transport tcp -i rtsp://user:password@IP:port/

I need help, I don’t see where I am doing wrong.

ffmpeg stop don"t make my sensor unavailable ,… any idea to have this ?