or you create a seperate dashboard with a full screen camera and then you can show the full screen camera also when an event happens.
for example on motion detected, or when someone is at the door.
Thats a slower way if u just need to zoom in small previews imho, needs additional buttons on caller dash, back button on fullscreen (when retain is unsed) etcâŚ
yup, all options have disadvantages.
indeed for now you need a seperate navigate button if you want to do it manually.
so you could use both.
how does this go back to the normal screen? manual again or also after some time?
by the way, you could better open a seperate topic for this, so the code gets noticed.
// set timeout in sec to auto hide fullscreen mode, 0 to stay untill you click again
ihRetainTimeout = 30,
btw can you point me out how to show dash based on motion?
depends on if you use appdaemon apps or HA automations for automating.
from HA automations:
https://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html#external-commands
inside appdaemon apps:
https://appdaemon.readthedocs.io/en/latest/AD_API_REFERENCE.html#dash-navigate
Sounds good, I open separate topic for fullscreen images on dashâŚ
Hi Rene i set my camera following this thread. But having imagine in HA i have not that on widget in hadashboard.
I tried to open in browser the entity_picture http://etc and the browser show the imagine.
When i use api_password for the widget in dashboard i got a blank widget.
Trying to browse the widget url into a browser i received: 401 Unauthorized
In configuration yaml. I setted
http:
Api_password: mypassword
In dashboard widget:
camera:
widget_type: camera
Entity_picture: http://my HA Ip:port of HA/api/camera_proxy/camera.soggiorno?api_password=my password
Thatâs all
Excuse me my bad english and also not formatted text because iâm writing from a tablet.
What can i do to get the widget working?
Thanks in advance
its indeed a bit hard to understand, but ill try
the url http://my_ HA_Ip:port_of_HA/api/camera_proxy/camera.soggiorno?api_password=my password needs to work in the browser.
if it doesnt, then probably your camera can only work with a changing token.
and the widget doesnt support that, at the moment.
i got an undocumented camera widget that works with changing tokens in some cases (not all) but that isnt perfect either.
you could try it out, it here.
you need the baseiframe directory and the camera.yaml file.
it expects:
camera: camera.soggiorno
ha_url: http://a_working_url_to_HA
password: a_token
i havent tried it for a few months now, so no garantees there either.
I posted a similar issue yesterday and didnât receive a response.
I tried a number of solutions but what worked for me was leaving the http api password in the configuration.yaml.
Yes I got the deprecated message and the need for a bearer token but at least the camera stream in HADashboard is still displaying.
I did define the legacy api password in Auth Providers but not until I uncommented the entry in the http section did my HADashboard camera stream reappear
No doubt this will eventually break. I updated from v0.89.2 to v0.91.2
Thanks to the hint of @ConcordGE i finally found the appropriate section to insert http: api_apssword.
Was uder default_config: section, and after some try I finally got the camera on the widget.
My mistake was to put http: api_password in configuration.yaml BUT under the voice entity_picture.
Thanks to all, Rene at first because it long lasting support to this beautiful project and to the friends who tries to help.
thanks for pointing out that they moved the api password in the HA configuration.
I have got my camera working. Just one question , does this work with the obsidian skin?
Because there its not working (yet).
should be no difference if you use default skin or obsidian or any of the other included skins.
is it possible you have another custom widget?
custom widgets (that dont have the same name as an original widget) in most cases need a few extra lines in the variables.yaml from the skin you use.
Thx Rene , it works now. Just needed a restartâŚ
Hello,
I have a similar problem. I use tokens to validate my cams but on every device I load the dashboard I get an unauthorized login notification from that IP. I have tried to add auth_providers on configuration but then the problem is that I get an error with âintegration not found: auth_providersâ
untill now you need the deprecated API password set in HA.
the camera widget doesnt work with token.
Hello Rene,
Thanks for your answer. When I configure api_password:
auth_providers:
- type: legacy_api_password
api_password: xxxxx
I get this error âIntegration not found: auth_providersâ and the an authentication error from the camera widget
You can set âapi_passwordâ in http-section:
http:
api_password: !secret http_password
indeed, and thats the only way.
and dont use auth_providers.
Looks like with 101 release (or maybe even earlier) http: api_password is no longer supported. I will have to try the undocumented camera widget
However, this thread has been a great help.