Hubitat Elevation
Devices through the Maker API, with live events from the hub.
In a dashboard file: a connection with "driver": "hubitat", its settings in config, and what a data source of it reads in that data source’s params (Connections and data sources).
Example
Section titled “Example”A dashboard with a connection of this driver, named hubitat, 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": { "hubitat": { "driver": "hubitat", "config": { "host": "192.168.1.20", "appId": 12, "token": "your Maker API access token" } } }, "screens": [ { "name": "Home", "tiles": [ { "type": "value", "label": "Office", "layout": { "x": 1, "y": 1, "width": 2, "height": 2 }, "dataSource": { "connection": "hubitat", "params": { "device": "7", "attribute": "temperature" } }, "options": { "numberFormat": "0.0", "unit": "°C" } } ] } ]}Settings (config)
Section titled “Settings (config)”| Field | Type | Default | What |
|---|---|---|---|
host |
text | required | The hub, for example 192.168.1.20. |
appId |
whole number, above 0 or text | required | The id of the Maker API app. |
token |
text | required | The Maker API access token. A credential. |
refreshInterval |
number, above 0 | Seconds between refreshes. |
What a data source reads (params)
Section titled “What a data source reads (params)”| Field | Type | Default | What |
|---|---|---|---|
device |
text | required | Device. One of the hub’s devices that the Maker API app includes. |
attribute |
text | Attribute. Which of the device’s attributes; all of them when left out. | |
refreshInterval |
number, above 0 | Refresh every. Seconds; the connection’s setting when left out. |