Skip to content

Philips Hue

Lights, rooms, zones, scenes and sensors of a Hue Bridge, with live updates.

In a dashboard file: a connection with "driver": "hue", its settings in config, and what a data source of it reads in that data source’s params (Connections and data sources).

A dashboard with a connection of this driver, named hue, and a tile that reads it. Any number of tiles can read the same connection. In the editor, the values of params are picked from what the connection lists; ids in the example are made up.

{
"schemaVersion": 4,
"connections": {
"hue": {
"driver": "hue",
"config": { "host": "192.168.1.40", "key": "filled in when the bridge pairs" }
}
},
"screens": [
{
"name": "Home",
"tiles": [
{
"type": "light",
"label": "Kitchen",
"layout": { "x": 1, "y": 1, "width": 2, "height": 2 },
"dataSource": {
"connection": "hue",
"params": {
"kind": "light",
"item": "3f2c8e1a-5b7d-4c9e-8a1f-2d6b9c0e4a71"
}
}
}
]
}
]
}
Field Type Default What
host text required The bridge, for example 192.168.1.40.
key text Leave it empty, press the bridge’s link button, then test the connection: it pairs and fills it in. A credential.
bridgeId text The bridge’s id, which its certificate names; the connection’s test fills it in.
refreshInterval number, above 0 Seconds between refreshes.
Field Type Default What
kind text required What. A light, a room, a zone or a sensor.
item text required Which. By its name on the bridge.
value text Value. What to read of it; the whole light for a light, a room or a zone when left out.
refreshInterval number, above 0 Refresh every. Seconds; the connection’s setting when left out.