Hi everyone, and sorry for having to bother you with what I am sure will be a simple problem to most of you.
Two weeks ago I found hass.io and loaded it onto a Rasberry Pi 3. After a lot of reading and a steep learning curve I have managed to reflash some sonoffs with Tasmota software, get them working fine via MQTT as both sensors and switches, and set up device tracking without a hitch.
What I cannot get to work however is my 2 CCTV cameras. One is a small usb SIRICAM camera, and the other an American Dynamics IP dome. Both of them are set up correctly and have the required ports opened in the router.
I have no problem whatsoever connecting to, and viewing video from them on my android phone, or via a web interface, but nomatter what I do, I cannot get video to show in home assistant. I tried everything I could think of for Onvif configurations, but nothing, and it often told me that ffmpeg was not installed ?
I know this is meant to me part of the hass.io installation, and although I can only accept that this is the case, I cannot find any ffmpeg.bin file if I look in usr/bin. ffjpeg: is in configurations.yaml
Anyway, after reading a post on here I decided to try and stream the video from Blue Iris, so I have installed that today, and can again connect to the blue iris web interface and view the cameras, but no video shown in home assistant still, despite it showing no connection faults now in the HA log, and having a grey box saying "SRICAM (image not available) on the overview screen.
In the developer states tab I can see the camera.siricam entity, and has the following next to it:
access_token: 41770aeac63ddf7566796ff970472b0adf4eae0bf681da4f9306a90aa2813c45 friendly_name: SRICAM entity_picture: /api/camera_proxy/camera.sricam?token=41770aeac63ddf7566796ff970472b0adf4eae0bf681da4f9306a90aa2813c45
and it tells me that the state is idle. I presume this means it has found the camera, but if so, how do I change it from idle to streaming ?
The camera.yaml shows:
- platform: mjpeg
mjpeg_url: http://192.168.1.121:81/mjpeg/Cam1
name: SRICAM
username: hassio
password: hassio
As I said before, using the above details in a browser works fine. I have also tried using /Video instead of /mjpeg/Cam1 but still no luck.
I cannot describe how grateful I would be if anyone can tell me where I am being an idiot !
Thanks.