I’m trying to add this kind of IP camera to my HA instance running on an RPI3 with HASSIO, and I just can’t manage to do it. It’s accessible in VLC at rtsp://USER:[email protected]:554/ch0_0.h264 (and a bunch of other addresses I’ve found in different places), but none of it works in HA.
As you may be able to tell, I’m a complete noob with cameras and non-straight forward integrations in general, so I wouldn’t be surprised if I’ve made any obvious mistakes.
This is my config right now:
stream:
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
camera:
- platform: ffmpeg
name: "IPC 360 Camera ffmpeg"
input: -rtsp_transport tcp -i rtsp://USER:[email protected]:554/ch0_0.h264
- platform: mjpeg
name: "IPC 360 Camera mjpeg"
mjpeg_url: rtsp://USER:[email protected]:554/cam/realmonitor
- platform: generic
name: IPC 360 Camera generic
still_image_url: http://10.0.1.xx/snapshot.jpg?user=USER&pwd=PASSWORD
stream_source: rtsp://10.0.1.xx:554/live/ch0
verify_ssl: false
authentication: basic
username: USER
password: PASSWORD
As I said, all of the addresses work in vlc. I doubt the generic platform will ever be an option, as I actually don’t have a still_image_url, so that’s just sheer desperation from my side. I only have one of these in use right now, but I’ve tried all kinds of different combinations.
I also tried adding the camera via the ONVIF integration, and while the different profiles show up, there is no image.
Anyway, these are all the logs I get:
WARNING (MainThread) [homeassistant.components.onvif] The date/time on the device (UTC) is '2021-02-26 12:58:19+00:00', which is different from the system '2021-02-26 11:58:20.742318+00:00', this could lead to authentication issues
ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream "rtsp://USER:[email protected]:554/ch0_0.h264"
And then the last row just repeats itself every time I try to open one of the camera entities, with whatever url I’m using for that particular integration. This also applies for the ONVIF integration devices.
I tried to include every bit of information I thought of, but if I’ve missed anything, please let me know. I know there are hundreds of conversations with very similar problems, but I feel like I’ve seen every single one of them and tried everything, and I still can’t get it to work, so I’m very thankful for any and all help.