Home Assistant how to create a Lovelace 3D floorplan with light overlays and buttons - Part 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2020
  • This part will show you how to create your Lovelace interface with a great looking 3D floor plan. We'll use the buttons and overlays created in the part 1 and get them working in Home Assistant.
    In the next part of this video, we'll customise our interface further with a floor toggle feature, movement sensors, CCTV Feeds and lots more!
    Really want to show your appreciation? You can always "Buy me a beer"...
    www.buymeacoffee.com/homesight
    The Graphics and configuration are available here: homesight.tech/?portfolio=cre...
    Icons: www.flaticon.com/
    Music: www.bensound.com
    Video: Free Stock Video Footage by Videezy!

ความคิดเห็น • 61

  • @JackSoldano
    @JackSoldano 3 หลายเดือนก่อน

    I'm going through my first HA setup now and my dream dashboard was exactly this, I knew someone had to have done this already and stumbled on this video. Thanks so much for the clear instructions its much appreciated!

  • @Tman317
    @Tman317 2 ปีที่แล้ว +1

    Just watched all parts of this series, thanks for the awesome detailed video! And not too fast for me either, although plenty of pausing and rewinding. I really like when I have a problem (like unable to click my button icon due to the overlay ordering) and you have the same issue and explain how to fix it! I also use notepad++ also; great idea. The removal of comments when you go back to Edit is super irritating, and it's been 1-1/2 years since your video and still not changed! Anyway, on to part 3!

  • @malayaleeking
    @malayaleeking ปีที่แล้ว

    This was a rock-solid tutorial. Cheers 👍

  • @ericxls93
    @ericxls93 3 ปีที่แล้ว +1

    Loving your videos! Thank you. Your website is also very helpful!!!!

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Thanks Eric, glad to help.

  • @barryoconnell3576
    @barryoconnell3576 3 ปีที่แล้ว +1

    Brilliant. Thank you for the quick reply.

  • @Lipper1982
    @Lipper1982 6 หลายเดือนก่อน

    cool video, I'm already busy implementing everything. How can I display the current color of the Hue Color lamp?

  • @v2gagao
    @v2gagao 3 ปีที่แล้ว +1

    Very nice 👌 keep up the good work.

    • @v2gagao
      @v2gagao 3 ปีที่แล้ว +1

      Where can I find the lovelace.yml config of these..

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว +1

      Hi Gagandeep, sorry I realise I didn’t add it to the supporting page in the description at first. If you look in the description you’ll find a link to it now.

  • @yongfpv6239
    @yongfpv6239 3 ปีที่แล้ว +1

    great!

  • @ralphbisschops1
    @ralphbisschops1 3 ปีที่แล้ว +4

    Nice video. Just a quick tip on alignment of overlays. I like to keep my overlays the same size as the base floorplan. Everything except the element you want to show is transparent. Alignment is now super easy and is essentially done in the graphics editor. The alignment in HA is always 0%,0%. Keep in mind that the order of things in yaml is even more important in this case as the image covers everything!

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว +1

      Thanks Ralph. Good tip! Thanks!

    • @kennyzelnick1069
      @kennyzelnick1069 3 ปีที่แล้ว

      good tip but when i try that my image ends up in the lower left corner

    • @kennyzelnick1069
      @kennyzelnick1069 3 ปีที่แล้ว

      actually my image does not show if i do that maybe my yaml is wrong explain the order please

  • @HopWorksET
    @HopWorksET ปีที่แล้ว

    I haven't tried this yet, but found this series based on search criteria and it is EXACTLY what I want to do. And there is great information here, well laid out and explained! Thank you sir for sharing and your contributions! [liked][subscribed][saved]&(if project.works=TRUE, result=call(BuyYouBeer(1))). TODO though, create vector icons using Adobe Creative Cloud.

  • @mikethedrone6986
    @mikethedrone6986 ปีที่แล้ว

    Very helpful video series, thank you. I've been wanting to set up a dashboard like this for ages. I have one small issue when I implement this - everything works as expected, image buttons show correctly as does the room "glow" when a light is on, however it doesn't matter what I set for the tap, hold or even double-tap actions. When I tap or hold an "image" button it always shows the more-info. I've tried input_booleans, switches and light entities and it does the same for them all. I even have 3 HA environments - production, dev and a newish clean build - they all do the same too. Any pointers or suggestions welcomed :)

  • @antoniocosta1034
    @antoniocosta1034 ปีที่แล้ว

    Hi there, great videos, but where do i put the demo booleans and the input_select. didn't work in the config.yaml. Thanks

  • @jonnymin.speranza6854
    @jonnymin.speranza6854 8 หลายเดือนก่อน

    hi thanks. I would add name of room SALOON, KITCHEN in various position . How can i do? Thanks

  • @happyjeans
    @happyjeans 7 หลายเดือนก่อน

    Out of interest, is there any reason you can’t export all layers at the same size as the base image and then use a position of 0 left 0 top and the same width for everything (or just not specify?) to indicate everything aligns in the same place as you originally made it? Why trim the light overlay images down to the size of each room then align?

  • @MrRudierasmus
    @MrRudierasmus 3 ปีที่แล้ว

    Brilliant, thank you! Not working on my iphone though. Any ideas why that would be?

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Hmm. That’s odd! Try removing the app, and the phone m through integrations and then re-adding?

  • @RogerStocker
    @RogerStocker 3 ปีที่แล้ว

    You just kept the momentum, again a very nice Video. Only one thing I would like to know, when you use percentage to position the badges and overlays, not absolut positioning?

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว +1

      Hi Roger. Thanks for watching. If you use absolute positioning, when you view it on different screen resolutions it will be out of sync and won’t look right.

    • @RogerStocker
      @RogerStocker 3 ปีที่แล้ว +1

      @@HomeSight Thanks for your answer I guessed right in this case but I wanted to have the confirmation.

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      No problem.

  • @GlodarIlieAdventures
    @GlodarIlieAdventures 3 ปีที่แล้ว +1

    Hello and great job for ur project, i have a question, you have port fw with duckdns? i cant see my pictures only if i get the link from File editor and they are with api , and work only on the Dashboard created , if i try to open a new Home assistan is not showing any picture...

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Hi the port forwarding for duckdns, is going to be 443, since that is the secure port for https. Assuming you have put an ssl certificate in place?

  • @johncrunk8038
    @johncrunk8038 2 ปีที่แล้ว

    I can't deal with a 700+ line file. Use includes to break it up.

  • @rolandkrupanszki5110
    @rolandkrupanszki5110 2 ปีที่แล้ว

    Please Somebody help,
    When I already uploaded (copied) with samba the pictures to config/www/lovelace folder I can't reach these picture via browser (like your avatar image)
    Of course after try to modify the lovelace background that can't reach and show..
    What do I wrong?
    Thanks!

  • @serser956
    @serser956 3 ปีที่แล้ว

    Hi Simon ..
    Very well done your guide ... thank you
    But I can't find the.yaml file to support your movie, kindly could you share it

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Hi. I'm glad you enjoyed the video. Apologies, it doesn't look like I put the link in this video The other videos in the series have the link, but for ease; it's here: homesight.tech/?portfolio=create-lovelace-interface-with-3d-floorplan-2

  • @barryoconnell3576
    @barryoconnell3576 3 ปีที่แล้ว

    Great tutorial. I have an issue with the overlays showing as a grey box when the light is off. Have i exported them incorrectly?

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      You need to use a transparent image for when the light is off. On the website you’ll find a 1 pixel transparent pixel, make sure you set that as the off image.

    • @barryoconnell3576
      @barryoconnell3576 3 ปีที่แล้ว

      It's actually showing the 1x1 pixel i setup but using the scaling i used for the overlay.

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      But that’s the joy of the 1x1 transparent pixel, you shouldn’t see it anyway... but you’re saying it’s showing up as grey? Sounds like it can’t find the image.

  • @stevefromuk
    @stevefromuk 3 ปีที่แล้ว +3

    This is a great video i've been looking forward to part 2 and find you explain things very well,
    However i do find some of your copy and pastes fast, i'm i total beginner so i need to know exactly what line you've copied things into which i can only read on full screen,
    so i have to rewind and try and pause it at the exact moment then back if full screen so i can copy it :)
    Just being picky but thanks.

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Hi Steve, thanks for the feedback. I appreciate it, I’ll try and make it clearer. You can always use the code from the description if that helps?

    • @stevefromuk
      @stevefromuk 3 ปีที่แล้ว +1

      ​@@HomeSight
      Thanks yeah i've copied your code onto my setup and deleted some to leave 1 overlay and 1 entity and uploaded your icons and my overlay i made and lovelace is just displaying a grayed out box even though my browser confirms they are correct.
      i'm not sure if this code will display right in the comments.
      type: picture-elements
      elements:
      - entity: light.dining_room_light_level_on_off
      title: Dining Room Light overlay
      tap_action:
      action: none
      hold_action:
      action: none
      image: /local/lovelace/overlay/1x1_trans.png
      state_image:
      'on': /local/lovelace/overlay/dining_room_light.png
      style:
      left: 60%
      top: 25%
      width: 30.5%
      opacity: 0.5
      type: image
      - entity: dining_room_light_level_on_off
      title: Dining Room Light
      hold_action:
      action: more-info
      tap_action:
      action: toggle
      image: /local/lovelace/icon/icon_light_spot_off.png
      state_filter:
      'off': brightness(80%) saturate(0.8)
      'on': brightness(130%) saturate(1.5)
      state_image:
      'on': /local/lovelace/icon/icon_light_spot_on.png
      style:
      left: 50%
      top: 31.5%
      width: 3%
      type: image
      image: local\lovelace\floorplan\plan.jpg

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Do you have all the images loaded in, and in the right place?

    • @stevefromuk
      @stevefromuk 3 ปีที่แล้ว

      @@HomeSight Do you mean the icons and overlays etc ?
      Yeah all showing in the browser with the URL.

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      It looks ok from the config, but from the sound of the grey boxes, it can’t see the images ...

  • @drohanvandenberg8842
    @drohanvandenberg8842 2 ปีที่แล้ว

    Hi There, you have great videos. You make it easy for dummies (such as myself). Talking about dummies. I have done everything step by step as per your video and the floorplan video. The only problem is I cannot import the image. once a type local/lovelace/floorplan/floorplan.png. When I put the IP in file explorer, it gives an error 404. I can however go on my network and click on my home assistant, with config files and all. If I run the IP, there is no image. Can you please point me in the right direction, so that I can get this sorted? Thank you in advance.

    • @HomeSight
      @HomeSight  2 ปีที่แล้ว

      Hi, are you sure you’ve created the same folder structure?

    • @drohanvandenberg8842
      @drohanvandenberg8842 2 ปีที่แล้ว +1

      @@HomeSight I had the wring spacing in my yaml file, with one line. Thank you for the assist.

    • @HomeSight
      @HomeSight  2 ปีที่แล้ว

      Glad you got it working!

  • @brianredmond7891
    @brianredmond7891 3 ปีที่แล้ว

    Where/how did you create your head shot avatars?

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      On my iPhone and took a snapshot.

    • @KiatHuang
      @KiatHuang 3 ปีที่แล้ว

      @@HomeSight how did you get this graphic avatar from the iPhone snapshot (photo)? Great series of videos btw, am following your methods.

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      They are created in “Bitmoji”. If you use Snapchat, you can create them easily in there

  • @keeptalking100
    @keeptalking100 3 ปีที่แล้ว +2

    You need to fix the editing, some of the video is duplicated :)

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Hi mark. Was it a big bit? Which bit?

    • @keeptalking100
      @keeptalking100 3 ปีที่แล้ว +1

      @@HomeSight Hi, yes quite a long bit - look at 8:50 and 18:00

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Thanks mark!

    • @HomeSight
      @HomeSight  3 ปีที่แล้ว

      Thanks Mark. All sorted, although TH-cam says it may take an hour or so to update.