Difference between revisions of "Driver Capability List"
Line 2: | Line 2: | ||
== IlluminanceMeasurement == | == IlluminanceMeasurement == | ||
+ | |||
+ | == TemperatureMeasurement == | ||
== SwitchLevel == | == SwitchLevel == |
Revision as of 17:41, 7 January 2019
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
- NUMBERheatingSetpoint
- NUMBERcoolingSetpoint
- NUMBERthermostatSetpoint
- NUMBERthermostatMode
- 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_OBJECTsupportedThermostatModes
- 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)