Skip to content
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

Floor plan elements in Home Assistant #168

Open
goatchurchprime opened this issue May 28, 2024 · 0 comments
Open

Floor plan elements in Home Assistant #168

goatchurchprime opened this issue May 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@goatchurchprime
Copy link

As part of storing the design and layout of the Immersive Home geometry back into Home Assistant (so that it can be shared with a second headset, and backed up), you should generate Floor Plan pages for each room, as described like this.
https://community.home-assistant.io/t/yet-another-sh3d-floor-plan-plugin/684148

They're overdoing the graphics in these examples. Basically you get a single background SVG or image for each room, and then the elements are laid out by percentage values like in a css definition:

- type: state-icon
    entity: light.bathroom
    title: null
    tap_action:
      action: toggle
    style:
      top: 44.76%
      left: 25.65%
      border-radius: 50%
      text-align: center
      background-color: rgba(255, 255, 255, 0.3)

So even if you don't use the headset again you've got your elements in a more spatial UI in the screen app, and the work isn't wasted. It's an excellent way to get an external view of what ImmersiveHome has stored into the database.

@Nitwel Nitwel added the enhancement New feature or request label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants