Skip to content

Instantly share code, notes, and snippets.

@ciotlosm
Last active June 24, 2021 20:16
Show Gist options
  • Save ciotlosm/9508388876edf92c4c1f3579e740fbd5 to your computer and use it in GitHub Desktop.
Save ciotlosm/9508388876edf92c4c1f3579e740fbd5 to your computer and use it in GitHub Desktop.
Lovelace
@ciotlosm
Copy link
Author

ciotlosm commented Jun 26, 2018

@brianhanifin can you check if your bug was fixed? Fixed and tested
@sdomotica I think this is a new bug introduced with other fixes. I'll note this as well to check by end of the week. Already fixed in dev

Please log issues against https://github.com/home-assistant/ui-schema/issues. Part of the items below have already been logged, I'll try to move all to that issue list.

@luci-11
Copy link

luci-11 commented Jun 26, 2018

Totally agree with @SupahNoob, it would be great to see camera stream as background and sensors above as in picture glance!

EDIT: I managed to do it :)
just open the camera card, right click on it, "copy image URL".
Then use picture-glance and put as image that URL (from /api/camera_proxy_stream/....). Only problem is that token sometimes changes and link should be updated
BUT IT'S AMAZING

@boonhapus
Copy link

@ciotlosm Looks like others have cleared up the idea I was trying to express. Essentially having a camera feed with the same controls as a glance. Appears that there is an issue for this: home-assistant/ui-schema#39 and I think Paulus's idea is the way to go. Unfortunately I don't have much experience with JS. I'll watch the repo instead of this gist. (Never got a notification from here either, which is odd.)

@mrand
Copy link

mrand commented Jun 26, 2018

Looks neat!
Is there already a way to reload an image (or iframe) from the web (or even local) on a timer? I'm specifically thinking a weather map gif (the web source generates a new one every ~6 minutes).

@Snipercaine
Copy link

Loving this LoveLace thing! (kinda like saying it too, makes me feel dirty)
Can we specify different icons for specific entities just in Lovelace?
Example: I have a picture_glance of a room with all the switches in that room listed at the bottom, but all the icons look the same so I can't tell which one is which. I could assign unique icons in customize.yaml... but I don't want to :)

@ciotlosm
Copy link
Author

ciotlosm commented Jun 27, 2018

@mrand you can do timers yourself in an iframe card. You have all the freedom.
@Snipercaine Not at the moment. You can raise an issue for this in ui-schema

Docs are now moved here https://home-assistant.io/lovelace so you can get notification on issues and updates and allows contributions

@pdobrien3
Copy link

How about blank tiles to use for spacing on the glance card? My glance tile has 9 sensors. 5 on top and 4 on the bottom. Would be nice to have 2 sensors | one blank tile | 2sensors on the bottom row to even things out. Thanks for your hard work on Lovelace. It is awesome.

@ciotlosm
Copy link
Author

ciotlosm commented Jun 29, 2018

@pdobrien3 I've added your request here: https://www.home-assistant.io/lovelace/glance/
The repo moved so feel free to use the new repo

@max5962
Copy link

max5962 commented Jun 29, 2018

I could be awesome if camera-preview and picture-glance can be merge ( true PTZ interface ! :) )

@ciotlosm
Copy link
Author

ciotlosm commented Jun 29, 2018

Please remember that docs moved here: https://home-assistant.io/lovelace

@max5962 this will probably be possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment