Hmmm sorry, my bad, I’ve made a wrong assumption here. You won’t need card-mod for what you’re trying to achieve, but the extra-styles property of button-card. See here. Works a charm like this for me. An example for a scrolling marquee in my button-card:
extra_styles: |
.marquee {
animation: marquee 20s linear infinite;
}
@keyframes marquee {
from {
transform: translateX(0%);
}
to {
transform: translateX(-50%);
}
}
This is my implementation so far! I went to great lengths to find light fixture 3D models, so I just couldn’t cover them up with buttons. Instead I made smaller indicator buttons for individual lights and added lines to connect them with objects. This also helps keeping things separated around my desk area, while buttons are still large enough on my tablet. Also tweaked the room buttons and added a toggle for my PC.
Still would want to tweak the lighting visuals and UI functionality (just using the standard more-info view for now) but this’ll have to do for now
I’m using a Galaxy Tab A8 (via Fully Kiosk Browser) to display my new floorplan dashboard using this forum as reference. The floorplan uses picture-elements as the main card, with multiple custom:config-template-card elements.
Everything works perfectly on iPhone and desktop browsers — light states and overlays update smoothly. But on the Tab A8, do not refresh unless the entire page is reloaded. This leads to stale visual states (e.g., lights appearing off when they’re on).
What I’ve tried:
Initially had config-template-card as the main card (this did refresh, but caused a full redraw with a flash effect)
Switched to picture-elements as the base, using config-template-card only for the overlays (to avoid flashing) — but now the overlays don’t refresh at all
Hi everyone! Sorry I have been really MIA. I bought a new house and have been stuck in 2 years of renovation. When I’m done with all the install and Reno, I will make a new version of this dashboard. With all the updates maybe I can even make it easier etc. Will keep you all posted. Thanks for all of the love across the internet! Awesome to see you all having fun with this
Thanks for this, I am trying to follow these instruction. The floorplan images are done. Now I am trying to make one dimmable light react dynamically and it does not work. I can see the base floorplan but the room “Bureau” is always lit even if I dim or turn off completely light.dimmer_bureau
Big thanks to @lukevink for the original concept and to @NdR91 for his NdR-FloorplanUI build on top of it — both repos have been dormant for a while but the concept is still very much alive.
I've taken their work as a basis and done a significant update and simplification:
All card_mod styling updated to current HA standards
Reusable button_card_templates for the sidebar — navigation, weather card and people presence are defined once and reused across all views instead of being duplicated per page
Navigation buttons are now defined in YAML with icons and styles instead of custom PNG images, making them much easier to customise
The sidebar blends into the floorplan instead of having a hard edge — the gradient fade gives a more integrated look
Custom weather icons in the sidebar and defined as buttoncard template
8 views: Home (animated floorplan with light overlays), Devices (HomeKit-style tiles, 2 swipe pages), Media (Spotify + Sonos), Climate, Energy, Buienradar, Camera, Calendar
A special mention for the floorplan images — my wife is an interior stylist and modelled our home in SketchUp and rendered it in V-Ray. The day/night cycle and dynamic light overlays really come to life with proper architectural renders.
This is my first public repo so I hope someone finds it useful. Feel free to use it and make it even better!
Thanks for bringing this project back to my attention
I got almost everything configured but my floorplan doesn’t look as good as yours, big compliments to your wife.iam gonne take a look at vray and sketch up to level up my floorplan game
I noticed that my floorplan doesnt update when a light turns on, only after a refresh of the page.is this something you also experience or do i have to dig a bit deeper.
Does anybody have an idea wha could be wrong.
I used the setup provided by stingone, but when I turn a lamp on I don't see the change on the floorplan (if this makes sense). it does't represent the status of that light, after a reload it does, It looks like it doesn't refresh automatically.
I see this behavior om my Mac mini and my Lenovo p12 tablet.