There is a fix coming planned for 0.91.1 that will make Axis cameras work. Hold out for that.
-Jan
There is a fix coming planned for 0.91.1 that will make Axis cameras work. Hold out for that.
-Jan
I’ve been trying with DCS-935L using RTSP with H.264 and I’ve had no luck. The address I’ve tried is rtsp://username:password@ip-number:554/play1.sdp and is working fine in VLC.
Ok, thanks, please give me a heads up if you figure it out
For all the Foscam owners out there. This is working for me.
Foscam C1 and Foscam FI9800P
- platform: generic
name: "Camera name"
stream_source: rtsp://USERNAME:PASSWORD@IPADDRESS:554/videoMain
still_image_url: http://IPADDRESS:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USERNAME&pwd=PASSWORD
username: USERNAME
password: PASSWORD
verify_ssl: false
and also smooth? i also believe platform foscam itself is now also supported for stream: so not only generic
https://github.com/home-assistant/home-assistant/pull/22568 (91.0)
tried it?
I tried the foscam platform but could not get the stream to work.
The generic is smooth-ish. Has some hickups now and then but overall it’s okay.
I’m struggling to get this to work on my SV3C camera
The URLs work fine on the browser, but HA wont see the still image or the video feedPreformatted text
Camera 1 = DS-2CD2185FWD-IS, H265+, authentification : digest
Camera 2 = DS-2CD2142FWD-I, H264+, authentification : digest
Code :
- platform: generic
still_image_url: http://192.168.1.12:80/ISAPI/Streaming/channels/100/picture
stream_source: rtsp://admin:[email protected]:554/Streaming/Channels/102/
username: !secret hikvision_garage_username
password: !secret hikvision_garage_password
authentication: digest
name: "Camera garage"
- platform: generic
still_image_url: http://192.168.1.13:80/ISAPI/Streaming/channels/100/picture
stream_source: rtsp://admin:[email protected]:554/Streaming/Channels/102/
username: !secret hikvision_garden_username
password: !secret hikvision_garden_password
authentication: digest
name: 'Camera garden'
Small update my reolink camera setup with the sub feed and as a generic camera still suffers from the black feed on first launch and proper stream on second launch out of the box in 0.91.0.
HOWEVER
If I check the preload stream option it works quickly and correctly every time, but with the obvious overhead on the HASS server… I still think there is something wrong with the way HASS initially loads the stream and setting all my cameras this way would probably overload my HASS server. At least I can use this on my front door cam to see it nearly instantly.
Just posting for refrence, maybe will help others troubleshooting. I have a hikvision 1080p camera, the stream component just doesnt work well. It plays a couple seconds, then gets a spinning circle for a second, then continues. It does not skip forward, so the stream quickly gets further and further delayed. On VLC the stream plays fine.
So on 91.1 I get the following errors when playing the stream
non-existing PPS 0 referenced
then
decode_slice_header error
then
no frame!
Pretty standard rstp
rtsp://username:[email protected]:554/ISAPI/Streaming/channels/101
This doorbell plays at 12fps. VLC does not show framerate for this stream,
but my other camera which plays perfectly as a stream does show framerate
I have tried setting framerate in the camera config, but it did not make a difference.
thanks but mine are still not working on stream, h265+ 4mp poe cams my h264+ works fine
The buffering is due to requesting resources faster than they are available. Preload stream will help with this.
The overhead isn’t really that high. Have you checked resource consumption on your machine?
Hmm, I’m casting this to my TV, how do I preload the stream. I’ve never been able to get any of my streams to work on my computer, which is fine for the moment.
Edit: I checked the preload stream, no difference.
This doorbell camera is wi-fi and the others on my network are POE, but even so, VLC still plays the stream well. I suspect the rstp stream is not 100% compliant, or its the audio, or something
I tried using a sub stream as well, I also took out the audio in the sub stream on the camera settings, still not working
I did notice that these errors showed in the log upon restarting
2019-04-05 14:46:43 ERROR (stream_worker) [libav.h264] non-existing PPS 0 referenced
2019-04-05 14:46:43 ERROR (stream_worker) [libav.h264] non-existing PPS 0 referenced
2019-04-05 14:46:43 ERROR (stream_worker) [libav.h264] decode_slice_header error
2019-04-05 14:46:43 ERROR (stream_worker) [libav.h264] no frame!
2019-04-05 14:46:44 ERROR (stream_worker) [libav.h264] error while decoding MB 32 35, bytestream -40
When I removed the camera stream settings in HA these errors did not appear, so I’m confident these errors are from the doorbell camera stream
H265 is not supported currently.
Foscam FI9901EP not working with 0.90.0 and 0.90.1
Both generic and foscam show a still image but no stream.
RTSP url has been verified, with VLC
Downgrading to 0.90.2 works for the generic platform, foscam obviously not because streams have been added in 0.91
I have the following error messages
blob:http://192.168.2.25:8123/7dd28df0-caf4-48b0-b5e6-9b1e7c353c00:1:6333 Uncaught ReferenceError: s is not defined
blob:http://192.168.2.25:8123/7dd28df0-caf4-48b0-b5e6-9b1e7c353c00:1:2380 Uncaught ReferenceError: s is not defined
Missing reference picture, default is 65592
Missing reference picture, default is 65590
edit: issue submitted Foscam FI9901EP stream not working 0.91.0 and 0.91.1 · Issue #22779 · home-assistant/core · GitHub
Anyone have a Amcrest IP4m-1024EW? I have that model and have tried using the setting mentioned in the first post, however it’s not working. I’ve set the following in configuration.yaml and the URL’s I’ve used (same as first post except for IP change and user/password changed). Stream tested and working in VLC and picture link works in a browser.
logger:
default: warn
logs:
homeassistant.components.camera: debug
But the logs are not showing any error messages. Any thoughts?
I just used a random image, as I dont view the preview so its no issue for me.
But in saying that, I cant get the Synology stream to work, the share URL for me doesnt have the option to set it indefinately
Anyone know how to get streams to play on Chromecast or Home Hub in 0.91.1 via voice, like in the release notes?
My camera name in the config is “Upstairs Camera” and my Chromecast is “Upstairs TV”. I say "Show me “Upstairs Camera on Upstairs TV” and I just get something along the lines of “Sure, here are some results on Upstairs TV, which do you want to play?” It just shows some random Youtube security camera footage.
I just did a sync devices in the cloud component, but cant get it to work. Any thoughts?
EDIT: Never mind, just had to add them to my cloud configuration. The Nabu Casa page is out of date and camera doesnt show as a valid entity type.