Manifest
Every field of a widget’s manifest, with its rules, and where a widget of your own gets each one.
The manifest is the part of a widget that says what it is: its name, the devices it fits, the sizes its tile can have and the settings each tile can change. The template and the style say what it shows and how.
You don’t write a manifest by hand in the app. The editor builds the manifest of a widget of yours from what you give it, and the rest comes from the widget you started from. This page lists every field, so you know what is behind the editor and can read the manifest of a built-in widget.
Fields
| Field | Type | Required | What it is |
|---|---|---|---|
type | text | Yes | The widget’s identifier, such as light.basic. |
version | text | Yes | Its version, such as 1.2.0. |
api | number | Yes | The version of the widget API it is written for. Always 1. |
title | text | Yes | Its name, as the widget picker shows it. |
description | text | No | One line about it, shown under the name in the picker. |
kind | text | No | What the widget shows: device, flow, mood or free. |
match | object | No | Which devices it fits. |
size | object | Yes | The default, smallest and largest size of its tile. |
settings | list | No | The settings each tile can change. |
align | object | No | Where the content can sit in the tile. |
styles | list | No | Its own style variables, set in the Style dialog (Style variables). |
tips | list | No | Up to three Did you know? tips about its settings (Tips). |
docked | object | No | { "size": "tile" }: docked by its dock setting, it keeps its tile’s width on a side (its height at the top or bottom) instead of a 96 px rail. |
images | list | No | The hosts its pictures come from, for a widget in the Community (below). |
script | object | No | What its script (client.js) may load, reach, do and see (Scripts). |
demo | object | No | The values its previews show, for a widget in the Community (below). |
title, description and the texts of settings can be shown in the viewer’s language: see Translations.
type
A lower-case name in at least two parts joined by dots.
Each part starts with a letter and continues with letters, digits and dashes.
light.basic and sensor.motion-light are valid; light and Light.Basic are not.
The pattern is ^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$.
Tiles of a widget of yours refer to it as own: followed by its id.
version
Three numbers joined by dots: 1.0.0, 2.13.4.
The pattern is ^\d+\.\d+\.\d+$.
A widget you copied from a built-in remembers the version it was copied at, and tells you when the built-in has a newer one.
api
The version of the widget API, which is the list of components, attributes, filters and actions a template may use.
It is 1, and nothing else is accepted.
title and description
title is 1 to 60 characters.
description is at most 240 characters.
For a widget of yours the title is its name, and the description is the line you write under In the widget picker on the Details panel.
kind
| Value | The widget shows |
|---|---|
device | One device, the tile’s own. This is the default. |
flow | A flow. |
mood | A mood. |
free | Nothing device-specific: a clock, some text, or what its settings choose. |
A widget that starts empty is free.
match
Says which devices the widget fits, and ranks widgets for the picker, so that the most specific one is suggested first. A device class together with readings is the most specific, a class alone comes next, then a single reading, and a widget that matches anything comes last.
| Field | Type | Default | What it holds |
|---|---|---|---|
classes | list | none | Device classes it fits, such as light or thermostat. |
requires | list | [] | Readings the device must have, such as onoff. |
optional | list | [] | Readings the widget uses when the device has them, such as dim. |
video | yes/no | no | Also fits any device with a live video, whatever its class. |
A device that fits only by its video ranks below one that fits by its class: Tiledash’s Camera has video, so a doorbell with a camera can show as a Camera, but a new tile for it is still a Doorbell.
A device’s videos are known only while the app is connected to its Homey.
A widget of yours has the match of the widget it started from.
size
A tile is measured in grid cells: [columns, rows].
Columns are 1 to 12 and rows are 1 to 24, both whole numbers.
A row is half as tall as a column is wide, so [3, 4] is roughly square.
| Field | What it is |
|---|---|
default | The size of a new tile. |
min | The smallest the tile can be made, down to [1, 1] (small tiles). |
max | The largest the tile can be made. |
A widget of yours that started from another has that widget’s sizes.
A widget that started empty gets the default and smallest size you set under Details, and a largest size of [12, 24].
settings
A list of up to 32 settings, in the order a tile’s settings show them. It is empty by default. The settings reference describes every kind.
align
Where the widget’s content can sit in the tile.
The tile’s Style panel offers these directions and no others, and each one has a place that is used until the tile says otherwise.
The content reads the choice through --hd-item-align and --hd-item-justify.
| Field | Allowed values | Direction |
|---|---|---|
x | start, center, end, stretch | Sideways |
y | start, center, end | Up and down |
Leave a direction out and it isn’t offered. No other fields are allowed.
images
The hosts the widget’s pictures come from: the addresses in hd-image src, hd-slideshow and hd-house-side.
Up to 10 hosts, each a full public name in lower case, such as images.example.com, with no https://, port or path.
"images": ["images.example.com", "cdn.photos.org"]From 19 December 2026, a widget installed from the Community shows pictures only from these hosts. A picture from any other host isn’t shown, and the tile shows the element’s fallback icon instead. An address the user typed in one of the tile’s settings always shows, so a slideshow of your own photos keeps working. Your own widgets, and widgets you made yourself from a Community one, aren’t held to it.
When you publish from the app, Tiledash fills in images from the addresses your template and its partials use.
When you publish a package folder or a zip, list them yourself: the check warns about each host your template uses that isn’t listed.
demo
The values a Community widget shows in its previews: its card, its page, the widget picker and the publish check.
Tiles never use them: a tile always shows its own settings.
Without demo, previews use Tiledash’s made-up values that fit the settings.
"demo": { "settings": { "speaker": { "name": "Kitchen speaker", "readings": { "speaker_track": "Harbour Lights", "speaker_artist": "The Low Tides", "volume_set": 0.35 } }, "showArtist": true }}settings names settings of the widget, up to 32:
- A simple setting (number, percentage, on/off, text, choice, colour, icon, size, spot) takes its value, held to the setting’s own rules.
- A reading setting takes a capability id. Its device must have that reading: one the device setting requires, or one in its demo’s
readings. - A device setting takes a demo device: a
name(up to 40 characters) andreadingson top of what the setting requires, up to 24, each a number,trueorfalse, a text of up to 120 characters, ornull.
Lists of devices, rich settings (flows, moods, dashboards and the like) and value settings can’t have demo values yet.
When you publish from the app, the Preview step fills demo in from your editor’s preview, with a name you give each device: your own devices’ names are never published.
The check warns about a required setting the previews would leave empty.
A full manifest
This is the Light widget’s manifest:
{ "type": "light.basic", "version": "1.2.0", "api": 1, "title": "Light", "description": "Switch, brightness and colour temperature of a light.", "kind": "device", "match": { "classes": ["light"], "requires": ["onoff"], "optional": ["dim", "light_temperature", "light_hue", "measure_power"] }, "size": { "default": [3, 4], "min": [2, 4], "max": [6, 8] }, "settings": [ { "type": "boolean", "name": "showWarmth", "label": "Colour temperature slider", "default": true } ], "align": { "x": "start", "y": "end" }}Where a widget of yours gets each field
| Field | In a widget of yours |
|---|---|
type, version, api | Made by Tiledash. Tiles use own: and the widget’s id. |
title | Its name. |
description | The line under In the widget picker on the Details panel. |
kind, match, align | The widget it started from. A widget that started empty is free with no match. |
size | The widget it started from, or the sizes you set on Details when it started empty. |
settings | The Settings tab, whose form and JSON view edit this list. |
When you turn on Use mine instead of the built-in, your widget keeps the built-in’s type and title, so tiles that already use it keep their settings and look.