Yet Another SH3D Floor Plan Plugin

Hello, your idea sounds great and I’d love to help you realize it.
Unfortunately web dev is far away from my expertise zone so I can’t be a great help :frowning:
If you need some 3d printing design or ideas of interesting applications with esphome I’d be more than happy to help you :slight_smile:

For anyone willing like me to use a floorplan 3d as a main clickable view leading to other pages, my workaround is to add a dedicated icon in each room + a tap action on the motion detection icon.

@shmuelzon : I’ll be more than happy to betatest this feature if you implement it :slight_smile:

@shmuelzon thanks a lot for this amazing plugin it’s saving a lot of effort. I’m trying to adjust the rendering config at Sweet Home 3D side to get the best results (Quality, lighting, …) and when I set the 3D view’s time to 8:00 AM as you suggested The light effect of each rendered image is not really visible. I’m getting almost the same base image with a small variations. is it better to set the 3D view’s time to night (8PM for example) to get a perfect light effect and rendered images capturing only the light variations vs baseline?

@ahouaidia At the end of the day, you should choose what works best for you. It probably depends on how our floor plan is oriented and maybe the evening time will look better. The main idea behind that suggestion was so there would be enough light to see to floor plan even when no lights are on. If 8PM works looks good to you, that’s great. If it’s still too bright you can try other times or increase each light source’s power to make it brighter.

Thanks man ! I managed to get the expected results :slight_smile:

@shmuelzon Thank you for building this, the plugin is amazing, and it works tremendously well! As someone coming in entirely green/new, I have some suggestions, mainly for the github page:

  1. I think you need some extended instructions, beyond what is needed to run the plugin-render, such as:
  • Where to load the pictures: local is www, and you should create a folder called floorplan and drop all the files there (from the render or the floorplan directory that is created)?

  • What do you do with the yaml file? I created a new dashboard with a picture-elements card, and replaced the entire yaml with the contents of the floorplan.yaml file. But at first I had no idea whether that would work.

  • How do you select the desired perspective for rendering? You have to set the SH3D 3d view to exactly how you want it, before activating the plugin.

  • How do you change the rendering settings? You have to go to “Create photo…” in SH3D and change settings there. You don’t have to render anything or save anything, just make the changes and close the dialogue.

  • What does “remove ceiling lights” do? It doesn’t actually remove YOUR ceiling lights, just a global ceiling light for people who haven’t added lights to their floorplans.

  • DON’T MOVE the 3D view or make changes while it’s rendering! These will get captured by the plugin as it scripts the renders one by one. Hit the Start button and walk away.

  1. Is there a way to save the state so renders don’t get screwed up by changes made while it is processing? E.g., create a save file along with “store point of view”?

  2. Instructions on how to adjust the position of the light icons/switches by changing the x/y percentage values would be helpful.

  3. I’d love if the plugin remembers settings (which directory to output renders to, resolution, etc.)

  4. It would be good to have clarification on how the plugin handles rendering of lights that aren’t assigned as entities (are they all turned off, retained per their power level). Also whether set power levels are recorded and applied during rendering. I’ve been meaning to test this out but it takes a long time to render a scene.

Most of these things I figured out myself, but it involved a decent amount of guesswork :slight_smile: It’s totally worth the end results, though.

2 Likes

This project is amazing, I have been looking for something like this for a very long time. But I also agree that documentation should be improved, because of that I have created a PR that has a documentation improviment and also some new features included, such as set quality of render, check if project is open, etc.

PR link: feat: users/guimatheus92/v0.5.0 by guimatheus92 · Pull Request #40 · shmuelzon/home-assistant-floor-plan (github.com)

@shmuelzon thank you very much for this project, it has helped me a lot!

@ElGuano, glad to hear you were able to make use of this plugin. If you could, please open an issue over at GitHub with any suggestions / questions you might have. It’ll be easier to track there.

@guimatheus92 thank you for that, I’ll take a look now.

What your plugin does, looks exactly like what I wished existed when I started fiddling with floorplans, thank you for the great work! I’ll give it a try on the weekend. Already excited about it :slight_smile:

P.S.

I did exactly the same in same sequence :smiley:

1 Like

Hi Guys,
I’m trying to use the plugin, but unfortunally I didn’t see any lights in the configuration panel.

Maybe I don’t understand how to set the lights name to be automatically discovered.

I’m using SH3D for Mac.

thanks for any help.

All lights, regardless of their names, should appear in the panel. The only lights that are ignored are those that are hidden and those that have a power value of 0. If you double click the light in SH3D, you should see in the new window that opens, at the bottom (IIRC), the power value.

I hide them to try a 1st rendering test without lights…
I can see them now :slight_smile:

Any other tips ?
Thanks.

There are a few in the README of the plugin page, just have a look there. Good luck!

This is amazing! Thanks for working on it.

1 Like