Im pretty sure i gave the HASS sudo permissions trying to get something else to work. In fact, i did it was for ps4-waker, i needed to run it as sudo in the end.
It’s not a script. It’s the Yi component which is written in Python. Fairly certain those components cannot be executed directly.
My first guess with a successful ffmpeg with sudo is that the user you were running it as did not have the necessary privileges somewhere in the chain.
Maybe instead of running that ffmpeg command on the FTP file, download the file to the HASS directory and run the command on that. Do not download it to your PC and then push it to HASS. Actually go in the directory and grab it from command line.
Yes, this is totally a permissions issue. Sounds like your ownership of the directory structure is off. What user is HASS running as? And you are executing these commands as that user?
For me, I login as pi. But HASS is actually running as homeassistant. So before I try this stuff, I have to
You need to try all of the troubleshooting steps as the homeassistant user since that is the account that is executing the services. Of course they all failed as the pi user as that user does not have the appropriate permissions to the homeassistant directory.
Anyone know how to make it work? add the ln into root directory and still getting the error… Unsure how to make it work… Help? Do I need to install ffmpeg on my hassbian to make this work…
Hi Rich_Paul I believe you used hassio which in this case nothing much you can do since its being setup very close as standard only. Even using SSH doesnt do much since your SSH wont give you any root access whats so ever. However if you used Hassbian like in my case, its pretty simple since installing ffmpeg is so easy.
However my question to everyone, why I can only see the picture and not a playing video. Should I want to see it moving video is there away to do it?
Heemm unsure why you are having the problem. I’m using apt-get install ffmpeg and it works like a charms. ffmpeg doesnt need sudo as far as I know, so its easily being called by homeassistant user.
Anyway did you still running jessie or strecth? Anyway please let me know how I can assist?