I’m running into problems while configuring an Onvif camera. First of all: the camera is visible in my home network. I’ve downloaded the app ‘dCam Light’ on my iPhone, and it automatically detects the IP camera and shows the live stream via onvif. While viewing the settings in the dCam app, it shows:
Onvif URL: 192.168.1.51
Onvif port: 8899
Username: admin
Password: this field is blank
Hardware ID: 00001 (not sure if this is required in HA)
Video encoding: H264
I entered the following lines to the configuration.yaml file:
camera:
- platform: onvif
host: 192.168.1.51
name: IP camera
username: admin
port: 8899
After that, in HA the camera shows up as: IP camera(Image not available)
Does anyone know what’s going wrong? The strange thing is that an iPhone app detects the onvif camera automatically, and HA can’t connect.
Sorry, I should’ve mentioned that. Yes, ffmpeg is installed. When I’m adding the same IP camera as an ffmpeg camera, it’s showing up in HA perfectly. But in that situation I only get a still image every 10 seconds. I want a more fluid stream.
I see you have an iPhone, Do you get “Image not available” when using the iPhone HomeAssistant app ? My camera does not work properly when using Safari but it does when I use the app.
Do you get the same issue when using a browser from your PC/MAC ?
Have you tried using the other variations of generic/ffmpeg/mjpeg Camera ?