Difference between revisions of "Driver Capability List"

From Hubitat Documentation
Jump to: navigation, search
(Replaced content with " <big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big> <big> This document is available at: http://docs2.hubitat.com/en/devel...")
(Tag: Replaced)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Capabilities that can be used in drivers
 
  
== IlluminanceMeasurement ==
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
  
== TemperatureMeasurement ==
+
<big>
 
+
This document is available at: http://docs2.hubitat.com/en/developer/driver/capability-list
== SwitchLevel ==
+
</big>
 
 
'''<big>Device Definition</big>'''
 
:<code>capability "Switch Level"</code>
 
 
 
'''<big>Device Selector</big>'''
 
:<code>capability.switchLevel</code>
 
 
 
'''<big>Attributes</big>'''
 
: '''<code>level</code>''' - NUMBER
 
 
 
'''<big>Commands</big>'''
 
:'''<code>setLevel(Level, Duration)</code>'''
 
:: ''Level'' (NUMBER) - Level to set (0 to 100)
 
:: ''Duration'' (NUMBER) - Transition duration in seconds
 
 
 
 
 
== Thermostat ==
 
'''<big>Device Selector</big>'''
 
 
 
<code>capability.thermostat</code>
 
 
 
'''<big>Attributes</big>'''
 
:'''<code>temperature</code>''' - NUMBER
 
:'''<code>heatingSetpoint</code>''' - NUMBER
 
:'''<code>coolingSetpoint</code>''' - NUMBER
 
:'''<code>thermostatSetpoint</code>''' - NUMBER
 
:'''<code>thermostatMode</code>''' - ENUM ["auto", "off", "heat", "emergency heat", "cool"]
 
:'''<code>thermostatFanMode</code>''' - ENUM ["on", "circulate", "auto"]
 
:'''<code>thermostatOperatingState</code>''' - ENUM ["heating", "pending cool", "pending heat", "vent economizer", "idle", "cooling", "fan only"]
 
:'''<code>schedule</code>''' - JSON_OBJECT
 
:'''<code>supportedThermostatModes</code>''' - ENUM ["auto", "off", "heat", "emergency heat", "cool"]
 
:'''<code>supportedThermostatFanModes</code>''' - ENUM ["on", "circulate", "auto"]
 
 
 
'''<big>Commands</big>'''
 
:'''<code>setHeatingSetpoint(Temperature)</code>'''
 
::''Temperature'' (NUMBER) - Heating setpoint in degrees
 
:'''<code>setCoolingSetpoint(Temperature)</code>'''
 
::''Temperature'' (NUMBER) - Cooling setpoint in degrees
 
:'''<code>off()</code>'''
 
:'''<code>heat()</code>'''
 
:'''<code>emergencyHeat()</code>'''
 
:'''<code>cool()</code>'''
 
:'''<code>setThermostatMode(Thermostat mode)</code>'''
 
::''Thermostat mode'' (ENUM) ["auto", "off", "heat", "emergency heat", "cool"] - Thermostat mode to set
 
:'''<code>fanOn()</code>'''
 
:'''<code>fanAuto()</code>'''
 
:'''<code>fanCirculate()</code>'''
 
:'''<code>setThermostatFanMode(Fan mode)</code>'''
 
::''Fan mode'' (ENUM) ["on", "circulate", "auto"] - Fan mode to set
 
:'''<code>auto()</code>'''
 
:'''<code>setSchedule(JSON_OBJECT)</code>'''
 

Latest revision as of 04:04, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/driver/capability-list