Skip to content
muratozturkdevPublic

About

Your Home Assistant home as a live, interactive 3D dollhouse. Fully local, no cloud. Every 3D object is generated by code written by AI: no GLB or other model files.

Topics

Resources

Contributing

Stars

270 stars

Watchers

1 watching

Forks

Latest commit

 

History

80 Commits

Folders and files

Repository files navigation

Homescape

Your Home Assistant home as a live, interactive 3D dollhouse.

Try the live demo: no install, runs in your browser Star Homescape on GitHub

Free and open source (GPL-3.0): no subscription, no account, no cloud.

Open your Home Assistant instance and show the add app repository dialog with the Homescape repository pre-filled

Latest release CI License: GPL-3.0 Pull requests welcome

Home Assistant installs (installations that share usage analytics) Release downloads GitHub stars Page views

Homescape in 26 seconds: the sample home at night lighting up room by room, lamps switched on with clicks, the cat and the dog petted, rain and snow by day, a first-person walk into the kitchen and an armchair placed in edit mode
Click it for the full video in 1080p.

Homescape draws your home in 3D in the browser and keeps it in sync with Home Assistant: lights glow in their rooms, the TV plays, doors and windows open with their sensors, and people and pets move through the house. Hover or tap anything to switch it, click it for every control. The first plan is built automatically from your Home Assistant areas and entities; you shape it further directly in 3D.

Dashboard view with every room's devices and controls, and the Customize button

Features

  • Live 3D home: lights, climate, covers, media players, fans, vacuums, locks, alarms, sensors and more, each with its own 3D look and state animation. Day and night follow the sun.
  • Control everything: quick actions on hover or tap, a detailed card per device, a dashboard view you can arrange (reorder and hide cards, rooms and devices, pin favorites), and search (⌘K).
  • Build your plan in 3D: draw rooms and wall segments, add floors and roofs, place more than 150 kinds of furniture, devices and outdoor items, bind them to entities. Leave walls out, make them half walls or cut doorless openings into them for open-plan spaces: each room keeps its own name and Home Assistant area. Straight or U-shaped stairs (walls along them if you like), L-shaped sofas and counters, tall kitchen cabinets, garage doors as wide as two cars. The item search matches types and English names in any language. Several homes, each with its own floors.
  • Houses and flats: an apartment mode for a flat on any floor of a building, with the street far below and no roof.
  • Walk through it: a first-person mode with the real sun position, stairs between floors and doors that open.
  • Life in the house: people go where your motion, occupancy or presence sensors detect someone, watch TV, sleep at night and leave when the alarm is set to away; pets and visitors, street life outside, and the weather from your weather entity (rain, snow, storms with lightning, fog, wind).
  • Spatial sound: appliances, rain, birds and the street, quieter behind walls.
  • No 3D model files: there is not a single GLB, glTF or OBJ file in Homescape. Every object, from the sofa to the street lamps and the people, is generated by code, and all of that code was written by AI. The sounds were made with AI too.
  • Everywhere you are: the plan syncs to your Home Assistant user, works on tablets and phones (touch friendly, can be added to the home screen) and opens right in the Home Assistant sidebar.
  • 14 languages: English, Deutsch, Español, Français, Italiano, Nederlands, Polski, Português, Русский, Türkçe, हिन्दी, 日本語, 한국어, 中文. The device (or Home Assistant) language is used automatically.
  • Fully local: Homescape is static files served by your Home Assistant and runs in your browser. It talks only to your Home Assistant, never sees your password and makes no other requests: no cloud, no account, no tracking. Once installed it works on your home network even without internet.
  • Your plan is safe: it is stored in Home Assistant under your user and included in your backups. Homescape never overwrites data it cannot read, keeps a copy before replacing a plan, and can restore any of them from Plan history. See where your data lives.

Getting started

In Home Assistant (recommended)

Open your Home Assistant instance and show the add app repository dialog with the Homescape repository pre-filled

The button opens your Home Assistant with the repository ready to add. Or go to Settings > Apps > Install app, open the top-right menu, choose Repositories and add:

https://github.com/muratozturkdev/homescape

Install Homescape, start it and open it from the sidebar. On installations without apps (Container, Core), copy the built files to /config/www/homescape and add a Webpage dashboard. Both ways are described in docs/home-assistant.md.

Standalone or for development

Requires Node.js 20 or newer.

npm install
cp .env.example .env.local   # optional: set HA_URL to your Home Assistant address
npm run dev                  # http://localhost:5190

Open the connect dialog in the top right and sign in with Home Assistant: Home Assistant's own login page opens, and your password never reaches Homescape. A long-lived access token works too. Without a connection you can explore the demo homes.

With HA_URL set, the development server proxies Home Assistant, so no CORS configuration is needed. npm run build produces a static site in dist/ that can be hosted anywhere (see docs/home-assistant.md for the CORS setting when it is not served by Home Assistant).

Development

npm run typecheck     # TypeScript
npm run lint          # oxlint
npm run i18n:check    # every user-facing text has a translation
npm run check         # browser regression tests (dev server running, Chrome installed)
npm run shot          # screenshot of the scene to shots/scene.png
npm run media         # the screenshots of this README and the Home Assistant app page
npm run promo:x       # the video of this README (needs ffmpeg)

The architecture, the folder layout and the rules for the 3D scene are in CLAUDE.md, the visual language in DESIGN.md.

Built with Vite, React, three.js with React Three Fiber, zustand, Tailwind CSS and home-assistant-js-websocket. There are no 3D model files (GLB, glTF or any other): every object is generated in code (src/scene/kit/), written by AI. Third-party licenses: THIRD_PARTY_NOTICES.md.

Contributing

Pull requests are welcome! Bug fixes, new 3D models for devices and furniture, translations, docs and ideas all help. Small fixes can go straight to a pull request; for a bigger change, open an issue first so we can agree on the direction. The contributing guide covers running the app and the tests, how the code is organized, how to keep people's plans safe and how to add a language.

Support Homescape

Homescape is free and open source: no subscription, no account, no ads. It is built in spare time, and the most helpful support costs nothing:

  • ⭐ Star the repository. It takes one click and matters more than it looks: stars are how people find projects on GitHub, they move Homescape up in search and trending lists, they show other Home Assistant users that it is worth a try, and they tell me the work is useful and worth continuing.
  • Share it with other Home Assistant users, for example on the Home Assistant community forum.
  • Tell me what you think: report bugs and ideas in the issues or send a pull request.

Star Homescape on GitHub

Star history

Star history of Homescape

License

Homescape is free software under the GNU General Public License v3.0 or later: you may use, study, share and change it, and anyone who distributes it, changed or not, must pass on the source under the same license. The libraries, fonts and generated sounds it uses keep their own terms (THIRD_PARTY_NOTICES.md).


Made by @muratozturkdev in Türkiye with ❤️

About

Your Home Assistant home as a live, interactive 3D dollhouse. Fully local, no cloud. Every 3D object is generated by code written by AI: no GLB or other model files.

Topics

Resources

Contributing

Stars

270 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages