-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Documentation for adding image to picture card #120
Comments
It doesn't look like templates are supported in picture entities. There is a way to do it though with a generic camera entity. camera:
- platform: generic
input: http://double-take.jetson.local/api/storage/matches/{{states.sensor.double_take_unknown.attributes.unknown.filename}}?box=true
name: UnknownFaces Then your card would look like this.
I will make sure to include this in the docs with an example. Do you think it's worth writing out latest |
Yeah - I have set it up as a generic camera and its fine for now. I am just trying to phase out my use of deepstack but retain the ease of integration with HA. Maybe add an arg / option / bool to enable ${cameraName}_latest.jpg and ${personName}_latest.jpg? This way people could have a card for each camera or person latest image. Alternatively - maybe an add-on for HA is the answer - This could create entities automatically for each attribute of the double-take output/result. |
Hi. I have an add-on made but for some reason ingress does not work yet: https://github.com/tkdrob/double-take-hass-addon |
I will working on a camera/person
Wow! This is awesome, I run HA in a container so I don't currently have an addon store to test with, but it was on my list of things to build in. Nice work! |
Could you please add a |
@jonwilliams84 the new beta build includes a This should allow you to use it in a picture card now on HA. |
Would this logo work? https://github.com/jakowenko/double-take/blob/master/frontend/public/apple-touch-icon.png |
This "logo" will work as an icon but a logo usually includes the name in the image just like Frigate NVR does. |
# [1.4.0](v1.3.0...v1.4.0) (2021-10-12) ### Bug Fixes * **api:train:** validate mime type and result of database.get.fileByFilename ([#123](#123)) ([d5e050f](d5e050f)) * **api:** catch facebox error before normalizing data ([67c93c4](67c93c4)) * **api:** delete orphaned db records when deleting training folder / files ([f031545](f031545)) * **ui:** fix multiselect dropdowns when open and scrolling ([ae2085b](ae2085b)) * **ui:** theme wouldn't load if setting to same theme ([88b0976](88b0976)) ### Features * **api:** api/latest/<name>.jpg ([#120](#120)) ([cd765ae](cd765ae)) * **api:** use camera name when using custom mqtt topic ([70a4ce3](70a4ce3)) * **ui:** enable/disable sockets on matches page ([bb95e0a](bb95e0a))
@tkdrob, if you want to message me on Discord, I can get a logo created for you with the name in it. @jonwilliams84, I'm going to close this since it's included in Feel free to reopen if you run into issues with it. |
FYI, the beta build and future release will have the latest images under |
I am trying to add the last image to a picture-element card using the following as an example:
In developer tools and templates, this renders the url correctly as:
http://double-take.jetson.local/api/storage/matches/670f03f6-7d88-49ba-be61-66789f6fa554.jpg?box=true
However the picture doesn't show in a card.
What am I missing?
If set this as a camera in HA config it works but surely there is an easier way to do it?
Regards,
Jon
The text was updated successfully, but these errors were encountered: