Hi:
I read all post but my Yi cam is all time in idle status. HA report this:
FFmpeg fails program arguments must be a bytes or text string, not NoneType
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/haffmpeg/core.py”, line 114, in open
stderr=stderr
File “/usr/lib/python3.5/asyncio/subprocess.py”, line 212, in create_subprocess_exec
stderr=stderr, **kwds)
File “/usr/lib/python3.5/asyncio/base_events.py”, line 1180, in subprocess_exec
% type(arg).name)
TypeError: program arguments must be a bytes or text string, not NoneType
I installed yi-hack-v3 0.1.5 in my cam.
My configuration.yaml is:
YiCam
camera:
- platform: yi
name: YiCam
host: 10.17.17.51
user: root
password: !secret yicam
path: /tmp/sd/record
ffmpeg_bin: /usr/bin/ffmpeg
ffmpeg_arguments: ‘-vf scale=800:450’
My /tmp/sd/record directory is allways empty.
Any idea.
Thanks