The URL is working but in hadashboard nothing is showing. Any advice? (tryed with and without ’ ’
camera_rear_left:
widget_type: camera
title: Rear Left
entity_picture: 'http://admin:[email protected] /PSIA/Streaming/channels/1/picture'
refresh: 2
refresh shouldnt be set that short unless you network, device and cam can handle that
if you use https for your dashboard you cant use http
the best way is to use a cam that is already setup in home assistant and connect to the home assistant api.
use a link like in the docs.
Without refreshing is also not working
I use http for both
In HASSIO i use zoneminder, how would I get the url?
Regarding the link you mean without the quotes? I did that and is not working
the link should be a working link and should look like:
http://ha_ip:8123/api/camera_proxy/camera.your_ha_cam_name?api_password=
you need the connection to the camera that is setup in HA
you already know that that link wont work.
now I got it, yes with your link works.
p.s. out of curiosity, why with the other link is not working?
probably the other link is another type of picture or link, which doesnt work in an iframe.
Ok thanks.
Other think, is it possible to click on the picture and make it zoom full page?
not at the moment.
you would need to create your own custom widget for that.
by mistake I deleted my Camera.dash file now trying to rebuild it. Now this code is not working, how can that be
typo?
the link should work in a browser.
a reboot was necessary, the HASSIO was not working.
EDIT
still not working, full of
/bin/sh: gatttool: not found
and all sorts of errors …
Please check your config., notification_id=invalid_config, service_call_id=140522452059416-9>
2018-01-02 16:15:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- [http](https://home-assistant.io/components/http/)
- [history](https://home-assistant.io/components/history/)
- [api](https://home-assistant.io/components/api/)
- [system-log](https://home-assistant.io/components/system_log/)
- [websocket-api](https://home-assistant.io/components/websocket_api/)
- [frontend](https://home-assistant.io/components/frontend/)
- [logbook](https://home-assistant.io/components/logbook/)
- [camera](https://home-assistant.io/components/camera/)
- [google-assistant](https://home-assistant.io/components/google_assistant/)
lmamakos
(Louis Mamakos)
July 7, 2018, 1:40am
14
You’ll find that the chrome browser is no longer happy with embedded credentials in links embedded in (at least) IFRAME elements.
totolino
(totolino)
December 21, 2018, 10:53am
15
Hi at all. I know this thread is old but here is the solution!
camera_haustur:
widget_type: camera
entity: camera.haustur
entity_picture: http://192.168.178.49:8123/api/camera_proxy/camera.haustur?token=f2c6a52595fcf8da65c94501561393d08e2aa8354408725cb4888a380b9bb361&api_password=blablabla
refresh: 5
The link in homeassistant is this http://HOMEASSISTANTIP:8123/api/camera_proxy/camera.haustur?token=f2c6a52595fcf8da65c94501561393d08e2aa8354408725cb4888a380b9bb361
If you have a “?” already in your link the api part has to start with a “&”
The solution as written above:
http://192.168.178.49:8123/api/camera_proxy/camera.haustur?token=f2c6a52595fcf8da65c94501561393d08e2aa8354408725cb4888a380b9bb361&api_password=blablabla
with in configuration.yaml
http:
api_password: blablabla