origami README

README проекта с github.com/hazymorning/origami. Одним файлом markdown: README.md.

◪ Origami

Latest release Origami suite

This is the documentation of a personal Home Assistant dashboard and its parts, built around Bubble Card. After many years of fussing over small details, it suddenly just felt right. Most of it was made by hand on a phone, so it's mainly meant for phones.

If just one person used it, it would probably look and work differently. But others in the house use it too, and they shouldn't have to ask how anything works, so the whole thing is shaped around being easy to use. At the same time, a small digital version of a home should feel as welcoming and pleasant as the home itself, which is why design and UI/UX play such a big part too.

Origami on three phones, with the home view, the music pop-up and the TV remote

[!NOTE] Setting this up takes a while. It tries to work with Home Assistant, not around it or on top of it. This means most parts need a module, a helper or a script next to the card, and each part's README lists them. How Origami is built explains this further.

Get started · Home view · Pop-ups · More

Get started

The theme, the font and Bubble Card come first.

Install the theme

Colors, sizes and shadows for light and dark mode.

  1. If themes from the themes folder don't load yet, add these lines to configuration.yaml and restart Home Assistant. With frontend: already there, only the themes line goes under it.

    frontend:
      themes: !include_dir_merge_named themes
    
  2. Open Origami in HACS. If HACS asks to add the repository, select Add. Then select Download.

    Open this repository in HACS.

  3. Run frontend.reload_themes and pick Origami under Theme in the user profile.

Light and dark. The theme and the weather card follow the phone's light or dark mode, which most phones change at sunrise and sunset. Staying light or dark all day works too: choose Light or Dark next to the theme in the user profile.

Add the font

The font is Montserrat.

  1. Open Resources and select Add resource.

  2. Paste this URL, choose Stylesheet and select Create.

    https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap
    
  3. Reload the page.

To load the font from Home Assistant instead of Google, copy www/fonts to /config/www/fonts and use /local/fonts/montserrat.css as the URL.

Install Bubble Card

Most of Origami is made with the wonderful Bubble Card by Clooos. It needs version 3.4 or later, and Bubble Card Tools to add the modules.

  1. Download Bubble Card and Bubble Card Tools in HACS, or update them if they're already there.

    Open Bubble Card in HACS · Open Bubble Card Tools in HACS

  2. Restart Home Assistant. If Bubble Card Tools isn't set up yet, add it as an integration.

Add a module

Every module needs Base, so start with that one.

  1. Open the module in bubble_card/modules and select Copy raw file.
  2. In the editor of any Bubble card, or of a new one under Add card, open Modules, then My Modules, and select Import from YAML.
  3. Paste the module and save.

To add all modules at once, copy the bubble_card/modules folder to /config/bubble_card/modules and reload the page. The module reference has every module's options.

Add a card or pop-up
  1. Edit the dashboard and select Add card.
  2. Choose Manual, paste the file's contents and select Save.

A pop-up stays hidden until a button opens it with Navigate to its hash, like #popup_server. Both need to be in the same view. The parts are made for a Sections view.

Home view

The home view with the greeting, the weather, favorites, rooms and the navigation bar, in light and dark mode

From top to bottom:

Menu

The menu sliding in from the top, in light and dark mode

Hides Home Assistant's header for good, with a menu in its place if wanted. Home Assistant has no proper way to do this yet, so it takes the Origami Header card. More

Pop-ups

Room

The living room pop-up at midday and the bathroom pop-up late in the evening, each with its media, lights and climate, in light and dark mode

A pop-up for each room, with its media, lights and climate. More

Lights

The lights pop-up with the slider for all lamps and the scenes, at midday and late in the evening, in light and dark mode

Every lamp and scene in the home, and one key that turns on the scene for the time of day or turns everything off. More

Music

The music pop-up with the cover, the play row and the volume, and with its group open, in light and dark mode

One music card for all speakers, playing alone or as a group. More

TV

The TV pop-up, in light and dark mode

The TV's remote on the phone. More

Fan

The fan pop-up at medium speed, and at low speed with the Nature preset, oscillation and its timer running, in light and dark mode

A fan's controls, with a timer that turns it off later. More

Favorites list

The favorites pop-up, in light and dark mode

Quick access to favorites: other pop-ups, devices, anything really. More

Server

The server pop-up with its status, the load and the updates, in light and dark mode

A look at the server's health, backups and updates. More

Vacuum

The vacuum pop-up while it cleans, and docked with a full bin, in light and dark mode

Cleaning for the whole home or just one room. More

More

How Origami is built

Bubble Card does the layout, the actions, the pop-ups and the editor. Each part uses the first of these that works:

  1. Bubble Card's own card types and options.
  2. An Origami module, for a look or behavior that Bubble Card doesn't have.
  3. A template in the card instead of a template sensor, for a value the card can work out itself.
  4. Home Assistant's helpers and scripts, for what a card can't do alone, like the fan's timer or a thermostat's steps. Scripts get their entities from the card and work in any home without edits.
  5. A card of its own, only for a gap nothing else fills, like Origami Weather, Origami Notifications and Origami Header.
Coming from 2.0

HACS only updates the theme. The modules were copied in by hand, so the new ones are pasted the same way.

  1. Update Origami and Bubble Card in HACS.
  2. Paste all the new modules over the old ones.
  3. Make the small change that the upgrade steps list for a few cards.

After that, the 2.0 dashboard keeps working, and its cards can be replaced with the new parts one at a time. The changelog lists which part replaces which card, and what looks different on the old ones.

Change the colors
  1. Copy themes/origami.yaml to /config/themes under a new name, like my-origami.yaml.
  2. In the copy, rename Origami: at the top, then change the colors. The comments in the file say what each group of settings does.
  3. Run frontend.reload_themes and select the new theme in the user profile.

A few lines are usually enough: primary-color and accent-color in each mode for the accent, radius-ratio for how round the controls are, or a state color for one kind of device, like state-light-active-color: var(--orange-color). Leave the original file alone, since an update replaces it.

Troubleshooting
  • Origami isn't in the theme list. Add the themes line from Get started to configuration.yaml and restart Home Assistant.
  • HACS can't find Origami. The Open in HACS button under Get started adds the repository to HACS.
  • A card says "Custom element doesn't exist". Download the card in HACS and reload the page. In the Companion app, select Reset frontend cache in the app settings.
  • The font doesn't change. Check that the stylesheet is under Resources, then reload the page.
  • A Bubble card looks plain. Check that Bubble Card Tools is added as an integration and that the card's modules are under Modules, then My Modules. Then reload the page.
  • A tap doesn't open a pop-up. The pop-up has to be in the same view as the button, with a hash that matches the button's navigation path, like #popup_tv.
  • The header and its edit button are gone. The menu hides them. Edit in the menu, or ?edit=1 at the end of the address, opens edit mode.
Using an AI assistant

Many details look like they could be simpler, but most of them came from a lot of trial and error on real phones: a value worked out in the card instead of a template sensor, a mini pop-up instead of a helper, a size from the theme instead of the card. An assistant doesn't know that history, and where it has to guess, it often undoes one of these choices without noticing.

  • Hand it the part's files, not a link or a screenshot. It can only follow what it reads, and a screenshot hides the options behind the look.
  • Have it read the part's README and the module reference first, so it doesn't make up options that the modules don't have.
  • Ask it to build in the order under How Origami is built, so the part still fits the rest after an update. No card-mod, since it writes over the same styles as the modules and the two get in each other's way.
  • Give it the real entity IDs. It can't see Home Assistant and makes up any ID it doesn't get.
  • Keep a copy of the configuration before pasting anything.
Status and roadmap

This is one home's dashboard. The READMEs describe every part as generally as possible, but it all grew out of that one setup and a lot of fussing over details. Quite a few things work the way that home needs and look the way one person likes. Most dashboards that people share are probably like that, but here at least every part can be changed to fit another home.

  • Changes. The dashboard grows with the home it comes from, for a fix, for something that makes daily use nicer, or just for fun. After an update, a part can look or work differently, and the changelog says what's new and what to update.
  • Roadmap. There's none. New things come from daily use and from what others share, and ideas and questions are welcome in the Discussions.

⚠️ Watch only the releases. On the repository's page, select Watch, then Custom, check Releases and select Apply. Each release then comes by email, with its new modules, fixes and improvements. All Activity also sends one for every issue and comment, which gets a lot very quickly.

origami (hazymorning/origami)

Ищем в базе…

Что это такое?Origami — это тема и макет дашборда для Home Assistant, созданные на основе реального дома. Её можно использовать только как визуальную тему или как полностью готовый дашборд из секций с карточками, всплывающими окнами и вспомогательными сущностями для автоматизаций, которые вы подстраиваете под свои устройства.
Это просто цветовая тема или целый дашборд?И то, и другое: можно установить только тему Origami со шрифтом, а можно скопировать весь комплект (тему, модули Bubble Card, пакеты helper-сущностей и dashboard.yaml) и получить готовый дашборд для телефона со всплывающими окнами, меню и карточкой погоды.
Что нужно перед установкой?Нужен работающий Home Assistant с установленным HACS и доступом к папке /config, например через аддон Samba share или приложение Studio Code Server. Проверено на Home Assistant 2026.10.
Что ещё не готово или не работает?Версия для компьютера не доделана, а всплывающие окна для музыки, света и большинства комнат пока не включены, поэтому их кнопки «из коробки» ничего не делают. Дополнительный аддон Origami Header тоже пока экспериментальный.
Где именно открывается этот дашборд?Он работает внутри веб-интерфейса Home Assistant, которым вы уже пользуетесь в браузере или в приложении Companion; сам макет — это одноколоночное представление из секций, рассчитанное на телефоны.
Как заменить устройства на свои?Откройте dashboard.yaml в редакторе конфигурации в текстовом виде, через Ctrl+F найдите примеры сущностей вроде light.livingroom и замените их своими, затем сделайте то же самое для helper-сущностей в packages/origami.yaml.
Что показывает карточка меню внизу?Нажатие на «Ещё» в панели навигации открывает меню Origami Header с карточкой состояния сервера: время работы, нагрузка на процессор и использование памяти, а также ярлыки к File editor, автоматизациям, боковой панели и режиму редактирования.
Для чего здесь используется Bubble Card?Bubble Card отвечает за плитки избранного, заголовки секций и всплывающие окна; плитки могут сами появляться или скрываться в зависимости от времени или состояния сущности (например, пылесос показывает ход уборки).
Можно взять только одну карточку, а не весь дашборд?Да, каждая секция dashboard.yaml описана как отдельный фрагмент YAML, который можно вставить в свой дашборд после установки темы и нужных для неё карточек.
Какие есть похожие проекты?neonplan3d, esphome, kiosk-satellite, home-assistant.io, zigbee2mqtt, glasshouse, EchoMuse, gentelella
Автор
hazymorning
Размер
39.5 MB
Звёзды
580
Возраст
4 мес
Коммиты · 90 дней