dpm1028
(Dan)
August 29, 2019, 5:44pm
1
I am trying to add a card to view a public camera.
raspberrypi3-homeassistant with version 0.98.0
The config.yaml looks like:
camera:
- platform: ring
- platform: generic
name: SL Fire
still_image_url: http://http://104.171.40.70/snapshot.cgi?chan=1?random=0.48528740798882297
the card looks like:
type: picture-glance
entity: camera.sl_fire
camera_image: camera.sl_fire
title: SL Fire
the entity looks like:
entity: camera.sl_fire
state: idle
state attributes:{
"access_token": "c2d3ad499ca4badf41f7a28678e2d306717ef481db870337888336f4dd48f18f",
"friendly_name": "SL Fire",
"entity_picture": "/api/camera_proxy/camera.sl_fire?token=c2d3ad499ca4badf41f7a28678e2d306717ef481db870337888336f4dd48f18f",
"supported_features": 0
}
Not working. Any help would be appreciated.
At the very least it seems like you have one too many http://
in the still_image_url
.
dpm1028
(Dan)
August 29, 2019, 9:27pm
3
WOW, not sure how I missed that - thank you. I fixed it and got the same results.
dpm1028
(Dan)
August 29, 2019, 9:32pm
4
BTW
this is the error message:
Invalid card configuration
{
"camera_image": "camera.sl_fire",
"entity": "camera.sl_fire",
"title": "SL Fire",
"type": "picture-glance"
}
Not sure what you want, but maybe remove entity.
dpm1028
(Dan)
August 30, 2019, 12:52pm
6
Thanks Phil, I tried that also. I am trying to add the camera to the lovelace ui.
wills106
(Will)
August 30, 2019, 1:54pm
7
Have you tried a picture-entity card to make sure your camera setup works
camera_view: live
entity: camera.driveway
type: picture-entity
That’s all I have for one of my camera cards.
1 Like
Agreed. When I wrote my response yesterday I only had my phone, so really couldn’t check my config (and didn’t remember what I was using.) I checked it today and, sure enough, I’m using picture-entity
as opposed to picture-glance
as well. So, yeah, I’d suggest @dpm1028 tries that.
dpm1028
(Dan)
August 30, 2019, 5:51pm
9
Thank you both - it worked:
camera_image: camera.sl_fire
title: SL Fire
type: picture-entity
entity: camera.sl_fire