Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Configuration Hassio Home Assistant help

warlock

New Member
Joined
Jun 4, 2019
Messages
1
Reaction score
0
Hello,

i can connect to my cam by VLC with:

rtsp://admin:1234!@192.168.1.12:554/onvif1

but if i set the same values in Home Assistant with

camera:
  • platform: onvif
    name: CameraOnvif
    host: 192.168.1.12
    port: 554
    username: admin
    password: 1234

i get no stream

if i set

ffmpeg:

camera:

  • platform: ffmpeg
    name: cam1
    input: rtsp://admin:1234!@192.168.1.12:554/onvif1
i get stream clipping only evry 10 seconds

And idea?
 
Go to camera's settings, enable "RTSP" under security menu and set a new RTSP password.
Try the rtsp url:
rtsp://admin:your rtsp password@192.168.1.12:554/onvif1

If your server/client allows you to choose protocol, ensuring you shift TCP/IP to UDP.
 
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
 
there is two ways to setup ipcam w/ HA, onvif or RTSP both are works for me.

but audio is not working? anyone have same problem?

ffmpeg:
camera:
- platform: onvif
name: onvif
host: 192.168.x.x
username: admin
password: xxxx
port: 5000 (find your own prot, mine is 5000)
rtsp_transport: udp

- platform: ffmpeg
name: rtsp
input: -rtsp_transport udp -i rtsp://admin:xxxx@192.168.x.x:554/onvif1
extra_arguments: -pred 1 -q:v 2
 
Back
Top