Driver Capability List

From Hubitat Documentation
Revision as of 18:33, 7 January 2019 by Mike.maxwell (talk | contribs)
Jump to: navigation, search

Capabilities that can be used in drivers

IlluminanceMeasurement

TemperatureMeasurement

SwitchLevel

Device Definition

capability "Switch Level"

Device Selector

capability.switchLevel

Attributes

level - NUMBER

Commands

setLevel(Level, Duration)
Level (NUMBER) - Level to set (0 to 100)
Duration (NUMBER) - Transition duration in seconds


Thermostat

Device Selector

capability.thermostat

Attributes

temperature - NUMBER
heatingSetpoint - NUMBER
coolingSetpoint - NUMBER
thermostatSetpoint - NUMBER
thermostatMode - ENUM ["auto", "off", "heat", "emergency heat", "cool"]
thermostatFanMode - ENUM ["on", "circulate", "auto"]
thermostatOperatingState - ENUM ["heating", "pending cool", "pending heat", "vent economizer", "idle", "cooling", "fan only"]
schedule - JSON_OBJECT
supportedThermostatModes - ENUM ["auto", "off", "heat", "emergency heat", "cool"]
supportedThermostatFanModes - ENUM ["on", "circulate", "auto"]

Commands

setHeatingSetpoint(Temperature)
Temperature (NUMBER) - Heating setpoint in degrees
setCoolingSetpoint(Temperature)
Temperature (NUMBER) - Cooling setpoint in degrees
off()
heat()
emergencyHeat()
cool()
setThermostatMode(Thermostat mode)
Thermostat mode (ENUM) ["auto", "off", "heat", "emergency heat", "cool"] - Thermostat mode to set
fanOn()
fanAuto()
fanCirculate()
setThermostatFanMode(Fan mode)
Fan mode (ENUM) ["on", "circulate", "auto"] - Fan mode to set
auto()
setSchedule(JSON_OBJECT)