A potentially easier way to get Still Image URL's for struggling users #534
potent33
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
(Inspect Element doesn't give an accurate URL for the Snapshot Camera, for some reason this is only possible with an iOS/Android/Emulated Mobile Browser) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have had success with this link.
I found a trick where, by using a phone or an emulated phone on a browser to use HA, you can retrieve the link from an existing snapshot camera (provided that the entity exists and doesn't register when you try to enter the Still Image URL into RTSP setup, I personally had a issue in the logs stating I had no attributes when trying to use the layout with 'https://myha.mydomain.local/' as the base URL) and use it for the Still Image URL.
Experiment with the link, sometimes a forward slash and or a full stop after the port is needed, or a full stop after the entity is declared.
The API links given outright by the link on the phone also worked for me 'http://homeassistant.local:8123/api/camera_proxy_stream/camera.front_door_snapshot' which I then modified for my purposes to get the base link but expect some delays in the image for some reason.
This was the link layout I used.
https://homeassistant:8123{{ states.camera.front_door_snapshot.attributes.entity_picture }}
Beta Was this translation helpful? Give feedback.
All reactions