Driver Capability List

From Hubitat Documentation
Revision as of 17:41, 7 January 2019 by Cschwer (talk | contribs)
Jump to: navigation, search

Capabilities that can be used in drivers

IlluminanceMeasurement

TemperatureMeasurement

SwitchLevel

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)