Developer Documentation

Documentation for developers interested in writing custom apps and drivers for Hubitat Elevation by using Apps Code, Drivers Code, and related features

Developer Documentation

These documents are intended for developers who want to write app or driver code in the Hubitat Elevation development environment. Regular Hubitat users should consult the main documentation.

Overview

Learn how the Hubitat Elevation platform works, how drivers and apps differ and interact, and other important concepts for getting started.

App Structure

Information on developing apps. (Apps appear as "Integrations," "Automations," or "Apps" in the user interface.).

Overview

More App How-Tos

More on Apps

Driver Structure

Information on developing drivers. (Drivers are used by the code behind items in the "Devices" list in the user interface.)

Overview

Primers on Driver-Building by Protocol

More Driver How-Tos

More on Drivers

Library Structure

Libraries are pieces of code that can be shared among multiple apps and/or drivers.

Capabilities

A list of capabilities that drivers can implement and that app inputs can select for, along with required commands and attributes for these capabilities.

Method Documentation

Information on Hubitat-provided methods and classes available to app code, driver code, or both.

App Interfaces

Interfaces available to apps to interact with special features of the Hubitat Elevation environment.

Driver Interfaces

Interfaces available to drivers for making various types of connections.

Common Interfaces

Interfaces available to both apps and drivers.

Allowed Imports

The following Java and Groovy classes are allowed to be imported in user code:

Z-Wave Classes

Information on Groovy class implementation of all Z-Wave command classes supported by Hubitat, useful for Z-Wave driver developers.

LIFX

Information on Groovy classes, methods, etc. provided by Hubitat for communication with LIFX devices.

Other

Additional information and tips about Hubitat app and driver development.