Difference between revisions of "Driver Capability List"
(→Button) |
|||
Line 21: | Line 21: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | |||
+ | == AirQuality == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.airQuality</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "AirQuality"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>airQualityIndex</code>''' - NUMBER, range:0..500 | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 78: | Line 90: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
:'''<code>mute</code>''' - ENUM ["unmuted", "muted"] | :'''<code>mute</code>''' - ENUM ["unmuted", "muted"] | ||
− | :'''<code>volume</code>''' - NUMBER | + | :'''<code>volume</code>''' - NUMBER, unit:% |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 96: | Line 108: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>battery</code>''' - NUMBER | + | :'''<code>battery</code>''' - NUMBER, unit:% |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 137: | Line 149: | ||
:'''<code>holdableButton</code>''' - ENUM ["true", "false"] | :'''<code>holdableButton</code>''' - ENUM ["true", "false"] | ||
:'''<code>numberOfButtons</code>''' - NUMBER | :'''<code>numberOfButtons</code>''' - NUMBER | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | |||
+ | == CarbonDioxideDetector == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.carbonDioxideDetector</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "CarbonDioxideDetector"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>carbonDioxide</code>''' - ENUM ["clear", "tested", "detected"] | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 148: | Line 172: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>carbonDioxide</code>''' - NUMBER | + | :'''<code>carbonDioxide</code>''' - NUMBER, unit:ppm |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 207: | Line 231: | ||
:'''<code>colorName</code>''' - STRING | :'''<code>colorName</code>''' - STRING | ||
:'''<code>hue</code>''' - NUMBER | :'''<code>hue</code>''' - NUMBER | ||
− | :'''<code>saturation</code>''' - NUMBER | + | :'''<code>saturation</code>''' - NUMBER, unit:% |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 225: | Line 249: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>colorMode</code>''' - ENUM ["CT", "RGB"] | + | :'''<code>colorMode</code>''' - ENUM ["CT", "RGB", "EFFECTS"] |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 238: | Line 262: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
:'''<code>colorName</code>''' - STRING | :'''<code>colorName</code>''' - STRING | ||
− | :'''<code>colorTemperature</code>''' - NUMBER | + | :'''<code>colorTemperature</code>''' - NUMBER, unit:°K |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
− | :'''<code>setColorTemperature(colortemperature)</code>''' | + | :'''<code>setColorTemperature(colortemperature, level, transitionTime)</code>''' |
::''colortemperature'' required (NUMBER) - Color temperature in degrees Kelvin | ::''colortemperature'' required (NUMBER) - Color temperature in degrees Kelvin | ||
+ | ::''level'' optional (NUMBER) - level to set | ||
+ | ::''transitionTime'' optional (NUMBER) - transition time to use in seconds | ||
== Configuration == | == Configuration == | ||
Line 279: | Line 305: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
:'''<code>contact</code>''' - ENUM ["closed", "open"] | :'''<code>contact</code>''' - ENUM ["closed", "open"] | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | |||
+ | == CurrentMeter == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.currentMeter</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "CurrentMeter"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>amperage</code>''' - NUMBER, unit:A | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 307: | Line 345: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | :'''<code>doubleTap(buttonNumber)</code>''' | ||
+ | ::''buttonNumber'' required (NUMBER) | ||
== EnergyMeter == | == EnergyMeter == | ||
Line 316: | Line 356: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>energy</code>''' - NUMBER | + | :'''<code>energy</code>''' - NUMBER, unit:kWh |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 341: | Line 381: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
:'''<code>speed</code>''' - ENUM ["low","medium-low","medium","medium-high","high","on","off","auto"] | :'''<code>speed</code>''' - ENUM ["low","medium-low","medium","medium-high","high","on","off","auto"] | ||
+ | :'''<code>supportedFanSpeeds</code>''' - JSON_OBJECT | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
:'''<code>setSpeed(fanspeed)</code>''' | :'''<code>setSpeed(fanspeed)</code>''' | ||
::''fanspeed'' required (ENUM) - Fan speed to set | ::''fanspeed'' required (ENUM) - Fan speed to set | ||
+ | :'''<code>cycleSpeed()</code>''' | ||
== FilterStatus == | == FilterStatus == | ||
Line 357: | Line 399: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | |||
+ | == Flash == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.flash</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "Flash"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>flash(rateToFlash)</code>''' | ||
+ | ::''rateToFlash'' optional (NUMBER) Rate to flash in ms | ||
== GarageDoorControl == | == GarageDoorControl == | ||
Line 371: | Line 426: | ||
:'''<code>close()</code>''' | :'''<code>close()</code>''' | ||
:'''<code>open()</code>''' | :'''<code>open()</code>''' | ||
+ | |||
+ | == GasDetector == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.gasDetector</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "GasDetector"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>naturalGas</code>''' - ENUM ["clear", "tested", "detected"] | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
== HealthCheck == | == HealthCheck == | ||
Line 396: | Line 463: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | :'''<code>hold(buttonNumber)</code>''' | ||
+ | ::''buttonNumber'' required (NUMBER) | ||
== IlluminanceMeasurement == | == IlluminanceMeasurement == | ||
Line 405: | Line 474: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>illuminance</code>''' - NUMBER | + | :'''<code>illuminance</code>''' - NUMBER, unit:lx |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 448: | Line 517: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
:'''<code>initialize()</code>''' | :'''<code>initialize()</code>''' | ||
+ | |||
+ | == LevelPreset == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.levelPreset</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "LevelPreset"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>levelPreset</code>''' - NUMBER, unit:%, range:1..100 | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>presetLevel(level)</code>''' | ||
+ | ::''level'' required (NUMBER) - Level to preset (1 to 100) | ||
== Light == | == Light == | ||
Line 479: | Line 562: | ||
:'''<code>setNextEffect()</code>''' | :'''<code>setNextEffect()</code>''' | ||
:'''<code>setPreviousEffect()</code>''' | :'''<code>setPreviousEffect()</code>''' | ||
+ | |||
+ | == LiquidFlowRate == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.liquidFlowRate</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "LiquidFlowRate"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>rate</code>''' - NUMBER, unit:LPM || GPM | ||
== LocationMode == | == LocationMode == | ||
Line 546: | Line 639: | ||
:'''<code>startActivity(activityname)</code>''' | :'''<code>startActivity(activityname)</code>''' | ||
::''activityname'' required (STRING) - Name of media activity to start | ::''activityname'' required (STRING) - Name of media activity to start | ||
+ | |||
+ | == MediaInputSource == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.mediaInputSource</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "MediaInputSource"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>supportedInputs</code>''' - JSON_OBJECT | ||
+ | :'''<code>mediaInputSource</code>''' - STRING | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>setInputSource(inputName)</code>''' | ||
+ | ::''inputName'' required (STRING) - Input to select | ||
+ | |||
+ | == MediaTransport == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.mediaTransport</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "MediaTransport"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>transportStatus</code>''' - ENUM - ["playing", "paused", "stopped"] | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>play()</code>''' | ||
+ | :'''<code>pause()</code>''' | ||
+ | :'''<code>stop()</code>''' | ||
== Momentary == | == Momentary == | ||
Line 653: | Line 776: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>power</code>''' - NUMBER | + | :'''<code>power</code>''' - NUMBER, unit:W |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 689: | Line 812: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>pressure</code>''' - NUMBER | + | :'''<code>pressure</code>''' - NUMBER, unit: Pa || psi |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 705: | Line 828: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | :'''<code>push(buttonNumber)</code>''' | ||
+ | ::''buttonNumber'' required (NUMBER) | ||
== Refresh == | == Refresh == | ||
Line 726: | Line 851: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>humidity</code>''' - NUMBER | + | :'''<code>humidity</code>''' - NUMBER, unit:%rh |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 755: | Line 880: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | :'''<code>release(buttonNumber)</code>''' | ||
+ | ::''buttonNumber'' required (NUMBER) | ||
+ | |||
== SamsungTV == | == SamsungTV == | ||
Line 890: | Line 1,018: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>soundPressureLevel</code>''' - NUMBER | + | :'''<code>soundPressureLevel</code>''' - NUMBER, unit:dB |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 928: | Line 1,056: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
− | :'''<code>speak(text)</code>''' | + | :'''<code>speak(text, volume, voice)</code>''' |
::''text'' required (STRING) - Text to speak | ::''text'' required (STRING) - Text to speak | ||
+ | ::''volume'' optional (NUMBER) | ||
+ | ::''voice'' optional (STRING) - AWS Polly voice name | ||
== StepSensor == | == StepSensor == | ||
Line 966: | Line 1,096: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>level</code>''' - NUMBER | + | :'''<code>level</code>''' - NUMBER, unit:% |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,014: | Line 1,144: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | + | :'''<code>networkStatus</code>''' - ENUM ["online", "offline"] | |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | :'''<code>sendMsg(message)</code>''' | ||
+ | ::''message'' required (STRING) - Text message to send | ||
== TemperatureMeasurement == | == TemperatureMeasurement == | ||
Line 1,025: | Line 1,157: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>temperature</code>''' - NUMBER | + | :'''<code>temperature</code>''' - NUMBER, unit:°F || °C |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,048: | Line 1,180: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>coolingSetpoint</code>''' - NUMBER | + | :'''<code>coolingSetpoint</code>''' - NUMBER, unit:°F || °C |
− | :'''<code>heatingSetpoint</code>''' - NUMBER | + | :'''<code>heatingSetpoint</code>''' - NUMBER, unit:°F || °C |
− | :'''<code>schedule</code>''' - JSON_OBJECT | + | :'''<code>schedule</code>''' - JSON_OBJECT '''(Deprecated)''' |
− | :'''<code>supportedThermostatFanModes</code>''' - | + | :'''<code>supportedThermostatFanModes</code>''' - JSON_OBJECT |
− | :'''<code>supportedThermostatModes</code>''' - | + | :'''<code>supportedThermostatModes</code>''' - JSON_OBJECT |
− | :'''<code>temperature</code>''' - NUMBER | + | :'''<code>temperature</code>''' - NUMBER, unit:°F || °C |
:'''<code>thermostatFanMode</code>''' - ENUM ["on", "circulate", "auto"] | :'''<code>thermostatFanMode</code>''' - ENUM ["on", "circulate", "auto"] | ||
:'''<code>thermostatMode</code>''' - ENUM ["auto", "off", "heat", "emergency heat", "cool"] | :'''<code>thermostatMode</code>''' - ENUM ["auto", "off", "heat", "emergency heat", "cool"] | ||
:'''<code>thermostatOperatingState</code>''' - ENUM ["heating", "pending cool", "pending heat", "vent economizer", "idle", "cooling", "fan only"] | :'''<code>thermostatOperatingState</code>''' - ENUM ["heating", "pending cool", "pending heat", "vent economizer", "idle", "cooling", "fan only"] | ||
− | :'''<code>thermostatSetpoint</code>''' - NUMBER | + | :'''<code>thermostatSetpoint</code>''' - NUMBER, unit:°F || °C |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,072: | Line 1,204: | ||
:'''<code>setHeatingSetpoint(temperature)</code>''' | :'''<code>setHeatingSetpoint(temperature)</code>''' | ||
::''temperature'' required (NUMBER) - Heating setpoint in degrees | ::''temperature'' required (NUMBER) - Heating setpoint in degrees | ||
− | :'''<code>setSchedule(JSON_OBJECT)</code>''' | + | :'''<code>setSchedule(JSON_OBJECT)</code>''' '''(Deprecated)''' |
− | ::''JSON_OBJECT'' (JSON_OBJECT) - JSON_OBJECT | + | ::''JSON_OBJECT'' (JSON_OBJECT) - JSON_OBJECT '''(Deprecated)''' |
:'''<code>setThermostatFanMode(fanmode)</code>''' | :'''<code>setThermostatFanMode(fanmode)</code>''' | ||
::''fanmode'' required (ENUM) - Fan mode to set | ::''fanmode'' required (ENUM) - Fan mode to set | ||
Line 1,087: | Line 1,219: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>coolingSetpoint</code>''' - NUMBER | + | :'''<code>coolingSetpoint</code>''' - NUMBER, unit:°F || °C |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,118: | Line 1,250: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>heatingSetpoint</code>''' - NUMBER | + | :'''<code>heatingSetpoint</code>''' - NUMBER, unit:°F || °C |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,177: | Line 1,309: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>thermostatSetpoint</code>''' - NUMBER | + | :'''<code>thermostatSetpoint</code>''' - NUMBER, unit:°F || °C |
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,261: | Line 1,393: | ||
:'''<code>close()</code>''' | :'''<code>close()</code>''' | ||
:'''<code>open()</code>''' | :'''<code>open()</code>''' | ||
+ | |||
+ | == Variable == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.variable</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "Variable"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>variable</code>''' - STRING | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>setVariable(valueToSet)</code>''' | ||
+ | ::''valueToSet'' required (STRING) | ||
== VideoCamera == | == VideoCamera == | ||
Line 1,306: | Line 1,452: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>voltage</code>''' - NUMBER | + | :'''<code>voltage</code>''' - NUMBER, unit:V |
+ | :'''<code>frequency</code>''' - NUMBER, unit:Hz | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
Line 1,321: | Line 1,468: | ||
'''<big>Commands</big>''' | '''<big>Commands</big>''' | ||
+ | |||
+ | == WindowBlind == | ||
+ | |||
+ | '''<big>Device Selector</big>''' | ||
+ | :<code>capability.windowBlind</code> | ||
+ | '''<big>Driver Definition</big>''' | ||
+ | :<code>capability "WindowBlind"</code> | ||
+ | |||
+ | '''<big>Attributes</big>''' | ||
+ | :'''<code>position</code>''' - NUMBER, unit:% | ||
+ | :'''<code>windowShade</code>''' - ENUM ["opening", "partially open", "closed", "open", "closing", "unknown"] | ||
+ | :'''<code>tilt</code>''' - NUMBER, unit:% | ||
+ | |||
+ | '''<big>Commands</big>''' | ||
+ | :'''<code>close()</code>''' | ||
+ | :'''<code>open()</code>''' | ||
+ | :'''<code>setPosition(position)</code>''' | ||
+ | ::''position'' required (NUMBER) - Shade position (0 to 100) | ||
+ | :'''<code>startPositionChange(direction)</code>''' | ||
+ | ::''direction'' required (ENUM) - Direction for position change request ["open", "close"] | ||
+ | :'''<code>stopPositionChange()</code>''' | ||
+ | :'''<code>setTiltLevel(tilt)</code>''' | ||
+ | ::''tilt'' required (NUMBER) - Tilt percent (0 to 100) | ||
== WindowShade == | == WindowShade == | ||
Line 1,330: | Line 1,500: | ||
'''<big>Attributes</big>''' | '''<big>Attributes</big>''' | ||
− | :'''<code>position</code>''' - NUMBER | + | :'''<code>position</code>''' - NUMBER, unit:% |
− | : | ||
:'''<code>windowShade</code>''' - ENUM ["opening", "partially open", "closed", "open", "closing", "unknown"] | :'''<code>windowShade</code>''' - ENUM ["opening", "partially open", "closed", "open", "closing", "unknown"] | ||
Line 1,339: | Line 1,508: | ||
:'''<code>setPosition(position)</code>''' | :'''<code>setPosition(position)</code>''' | ||
::''position'' required (NUMBER) - Shade position (0 to 100) | ::''position'' required (NUMBER) - Shade position (0 to 100) | ||
+ | :'''<code>startPositionChange(direction)</code>''' | ||
+ | ::''direction'' required (ENUM) - Direction for position change request ["open", "close"] | ||
+ | :'''<code>stopPositionChange()</code>''' | ||
== ZwMultichannel == | == ZwMultichannel == |
Revision as of 17:57, 9 March 2021
Capabilities that can be used in drivers
Contents
- 1 AccelerationSensor
- 2 Actuator
- 3 AirQuality
- 4 Alarm
- 5 AudioNotification
- 6 AudioVolume
- 7 Battery
- 8 Beacon
- 9 Bulb
- 10 Button (Deprecated)
- 11 CarbonDioxideDetector
- 12 CarbonDioxideMeasurement
- 13 CarbonMonoxideDetector
- 14 ChangeLevel
- 15 Chime
- 16 ColorControl
- 17 ColorMode
- 18 ColorTemperature
- 19 Configuration
- 20 Consumable
- 21 ContactSensor
- 22 CurrentMeter
- 23 DoorControl
- 24 DoubleTapableButton
- 25 EnergyMeter
- 26 EstimatedTimeOfArrival
- 27 FanControl
- 28 FilterStatus
- 29 Flash
- 30 GarageDoorControl
- 31 GasDetector
- 32 HealthCheck
- 33 HoldableButton
- 34 IlluminanceMeasurement
- 35 ImageCapture
- 36 Indicator
- 37 Initialize
- 38 LevelPreset
- 39 Light
- 40 LightEffects
- 41 LiquidFlowRate
- 42 LocationMode
- 43 Lock
- 44 LockCodes
- 45 MediaController
- 46 MediaInputSource
- 47 MediaTransport
- 48 Momentary
- 49 MotionSensor
- 50 MusicPlayer
- 51 Notification
- 52 Outlet
- 53 Polling
- 54 PowerMeter
- 55 PowerSource
- 56 PresenceSensor
- 57 PressureMeasurement
- 58 PushableButton
- 59 Refresh
- 60 RelativeHumidityMeasurement
- 61 RelaySwitch
- 62 ReleasableButton
- 63 SamsungTV
- 64 SecurityKeypad
- 65 Sensor
- 66 ShockSensor
- 67 SignalStrength
- 68 SleepSensor
- 69 SmokeDetector
- 70 SoundPressureLevel
- 71 SoundSensor
- 72 SpeechRecognition
- 73 SpeechSynthesis
- 74 StepSensor
- 75 Switch
- 76 SwitchLevel
- 77 TV
- 78 TamperAlert
- 79 Telnet
- 80 TemperatureMeasurement
- 81 TestCapability
- 82 Thermostat
- 83 ThermostatCoolingSetpoint
- 84 ThermostatFanMode
- 85 ThermostatHeatingSetpoint
- 86 ThermostatMode
- 87 ThermostatOperatingState
- 88 ThermostatSchedule
- 89 ThermostatSetpoint
- 90 ThreeAxis
- 91 TimedSession
- 92 Tone
- 93 TouchSensor
- 94 UltravioletIndex
- 95 Valve
- 96 Variable
- 97 VideoCamera
- 98 VideoCapture
- 99 VoltageMeasurement
- 100 WaterSensor
- 101 WindowBlind
- 102 WindowShade
- 103 ZwMultichannel
- 104 pHMeasurement
AccelerationSensor
Device Selector
capability.accelerationSensor
Driver Definition
capability "AccelerationSensor"
Attributes
acceleration
- ENUM ["inactive", "active"]
Commands
Actuator
Device Selector
capability.actuator
Driver Definition
capability "Actuator"
Attributes
Commands
AirQuality
Device Selector
capability.airQuality
Driver Definition
capability "AirQuality"
Attributes
airQualityIndex
- NUMBER, range:0..500
Commands
Alarm
Device Selector
capability.alarm
Driver Definition
capability "Alarm"
Attributes
alarm
- ENUM ["strobe", "off", "both", "siren"]
Commands
both()
off()
siren()
strobe()
AudioNotification
Device Selector
capability.audioNotification
Driver Definition
capability "AudioNotification"
Attributes
Commands
playText(text, volumelevel)
- text required (STRING) - Text to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
playTextAndRestore(text, volumelevel)
- text required (STRING) - Text to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
playTextAndResume(text, volumelevel)
- text required (STRING) - Text to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
playTrack(trackuri, volumelevel)
- trackuri required (STRING) - URI/URL of track to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
playTrackAndRestore(trackuri, volumelevel)
- trackuri required (STRING) - URI/URL of track to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
playTrackAndResume(trackuri, volumelevel)
- trackuri required (STRING) - URI/URL of track to play
- volumelevel optional (NUMBER) - Volume level (0 to 100)
AudioVolume
Device Selector
capability.audioVolume
Driver Definition
capability "AudioVolume"
Attributes
mute
- ENUM ["unmuted", "muted"]volume
- NUMBER, unit:%
Commands
mute()
setVolume(volumelevel)
- volumelevel required (NUMBER) - Volume level (0 to 100)
unmute()
volumeDown()
volumeUp()
Battery
Device Selector
capability.battery
Driver Definition
capability "Battery"
Attributes
battery
- NUMBER, unit:%
Commands
Beacon
Device Selector
capability.beacon
Driver Definition
capability "Beacon"
Attributes
presence
- ENUM ["not present", "present"]
Commands
Bulb
Device Selector
capability.bulb
Driver Definition
capability "Bulb"
Attributes
switch
- ENUM ["on", "off"]
Commands
off()
on()
Button (Deprecated)
Device Selector
capability.button
Driver Definition
capability "Button"
Attributes
button
- NUMBERholdableButton
- ENUM ["true", "false"]numberOfButtons
- NUMBER
Commands
CarbonDioxideDetector
Device Selector
capability.carbonDioxideDetector
Driver Definition
capability "CarbonDioxideDetector"
Attributes
carbonDioxide
- ENUM ["clear", "tested", "detected"]
Commands
CarbonDioxideMeasurement
Device Selector
capability.carbonDioxideMeasurement
Driver Definition
capability "CarbonDioxideMeasurement"
Attributes
carbonDioxide
- NUMBER, unit:ppm
Commands
CarbonMonoxideDetector
Device Selector
capability.carbonMonoxideDetector
Driver Definition
capability "CarbonMonoxideDetector"
Attributes
carbonMonoxide
- ENUM ["detected", "tested", "clear"]
Commands
ChangeLevel
Device Selector
capability.changeLevel
Driver Definition
capability "ChangeLevel"
Attributes
Commands
startLevelChange(direction)
- direction required (ENUM) - Direction for level change request
stopLevelChange()
Chime
Device Selector
capability.chime
Driver Definition
capability "Chime"
Attributes
soundEffects
- JSON_OBJECTsoundName
- STRINGstatus
- ENUM ["playing", "stopped"]
Commands
playSound(soundnumber)
- soundnumber required (NUMBER) - Sound number to play
stop()
ColorControl
Device Selector
capability.colorControl
Driver Definition
capability "ColorControl"
Attributes
RGB
- STRINGcolor
- STRINGcolorName
- STRINGhue
- NUMBERsaturation
- NUMBER, unit:%
Commands
setColor(colormap)
- colormap required (COLOR_MAP) - Color map settings [hue*:(0 to 100), saturation*:(0 to 100), level:(0 to 100)]
setHue(hue)
- hue required (NUMBER) - Color Hue (0 to 100)
setSaturation(saturation)
- saturation required (NUMBER) - Color Saturation (0 to 100)
ColorMode
Device Selector
capability.colorMode
Driver Definition
capability "ColorMode"
Attributes
colorMode
- ENUM ["CT", "RGB", "EFFECTS"]
Commands
ColorTemperature
Device Selector
capability.colorTemperature
Driver Definition
capability "ColorTemperature"
Attributes
colorName
- STRINGcolorTemperature
- NUMBER, unit:°K
Commands
setColorTemperature(colortemperature, level, transitionTime)
- colortemperature required (NUMBER) - Color temperature in degrees Kelvin
- level optional (NUMBER) - level to set
- transitionTime optional (NUMBER) - transition time to use in seconds
Configuration
Device Selector
capability.configuration
Driver Definition
capability "Configuration"
Attributes
Commands
configure()
Consumable
Device Selector
capability.consumable
Driver Definition
capability "Consumable"
Attributes
consumableStatus
- ENUM ["missing", "order", "maintenance_required", "good", "replace"]
Commands
setConsumableStatus(STRING)
- STRING (STRING) - STRING
ContactSensor
Device Selector
capability.contactSensor
Driver Definition
capability "ContactSensor"
Attributes
contact
- ENUM ["closed", "open"]
Commands
CurrentMeter
Device Selector
capability.currentMeter
Driver Definition
capability "CurrentMeter"
Attributes
amperage
- NUMBER, unit:A
Commands
DoorControl
Device Selector
capability.doorControl
Driver Definition
capability "DoorControl"
Attributes
door
- ENUM ["unknown", "closed", "open", "closing", "opening"]
Commands
close()
open()
DoubleTapableButton
Device Selector
capability.doubleTapableButton
Driver Definition
capability "DoubleTapableButton"
Attributes
doubleTapped
- NUMBER
Commands
doubleTap(buttonNumber)
- buttonNumber required (NUMBER)
EnergyMeter
Device Selector
capability.energyMeter
Driver Definition
capability "EnergyMeter"
Attributes
energy
- NUMBER, unit:kWh
Commands
EstimatedTimeOfArrival
Device Selector
capability.estimatedTimeOfArrival
Driver Definition
capability "EstimatedTimeOfArrival"
Attributes
eta
- DATE
Commands
FanControl
Device Selector
capability.fanControl
Driver Definition
capability "FanControl"
Attributes
speed
- ENUM ["low","medium-low","medium","medium-high","high","on","off","auto"]supportedFanSpeeds
- JSON_OBJECT
Commands
setSpeed(fanspeed)
- fanspeed required (ENUM) - Fan speed to set
cycleSpeed()
FilterStatus
Device Selector
capability.filterStatus
Driver Definition
capability "FilterStatus"
Attributes
filterStatus
- ENUM ["normal", "replace"]
Commands
Flash
Device Selector
capability.flash
Driver Definition
capability "Flash"
Attributes
Commands
flash(rateToFlash)
- rateToFlash optional (NUMBER) Rate to flash in ms
GarageDoorControl
Device Selector
capability.garageDoorControl
Driver Definition
capability "GarageDoorControl"
Attributes
door
- ENUM ["unknown", "open", "closing", "closed", "opening"]
Commands
close()
open()
GasDetector
Device Selector
capability.gasDetector
Driver Definition
capability "GasDetector"
Attributes
naturalGas
- ENUM ["clear", "tested", "detected"]
Commands
HealthCheck
Device Selector
capability.healthCheck
Driver Definition
capability "HealthCheck"
Attributes
checkInterval
- NUMBER
Commands
ping()
HoldableButton
Device Selector
capability.holdableButton
Driver Definition
capability "HoldableButton"
Attributes
held
- NUMBER
Commands
hold(buttonNumber)
- buttonNumber required (NUMBER)
IlluminanceMeasurement
Device Selector
capability.illuminanceMeasurement
Driver Definition
capability "IlluminanceMeasurement"
Attributes
illuminance
- NUMBER, unit:lx
Commands
ImageCapture
Device Selector
capability.imageCapture
Driver Definition
capability "ImageCapture"
Attributes
image
- STRING
Commands
take()
Indicator
Device Selector
capability.indicator
Driver Definition
capability "Indicator"
Attributes
indicatorStatus
- ENUM ["never", "when on", "when off"]
Commands
indicatorNever()
indicatorWhenOff()
indicatorWhenOn()
Initialize
Device Selector
capability.initialize
Driver Definition
capability "Initialize"
Attributes
Commands
initialize()
LevelPreset
Device Selector
capability.levelPreset
Driver Definition
capability "LevelPreset"
Attributes
levelPreset
- NUMBER, unit:%, range:1..100
Commands
presetLevel(level)
- level required (NUMBER) - Level to preset (1 to 100)
Light
Device Selector
capability.light
Driver Definition
capability "Light"
Attributes
switch
- ENUM ["on", "off"]
Commands
off()
on()
LightEffects
Device Selector
capability.lightEffects
Driver Definition
capability "LightEffects"
Attributes
effectName
- STRINGlightEffects
- JSON_OBJECT
Commands
setEffect(effectnumber)
- effectnumber required (NUMBER) - Effect number to enable
setNextEffect()
setPreviousEffect()
LiquidFlowRate
Device Selector
capability.liquidFlowRate
Driver Definition
capability "LiquidFlowRate"
Attributes
rate
- NUMBER, unit:LPM || GPM
LocationMode
Device Selector
capability.locationMode
Driver Definition
capability "LocationMode"
Attributes
mode
- DYNAMIC_ENUM
Commands
Lock
Device Selector
capability.lock
Driver Definition
capability "Lock"
Attributes
lock
- ENUM ["locked", "unlocked with timeout", "unlocked", "unknown"]
Commands
lock()
unlock()
LockCodes
Device Selector
capability.lockCodes
Driver Definition
capability "LockCodes"
Attributes
codeChanged
- ENUM ["added", "changed", "deleted", "failed"]codeLength
- NUMBERlockCodes
- JSON_OBJECTmaxCodes
- NUMBER
Commands
deleteCode(codeposition)
- codeposition required (NUMBER) - Code position number to delete
getCodes()
setCode(codeposition, pincode, name)
- codeposition required (NUMBER) - Code position number
- pincode required (STRING) - Numeric PIN code
- name optional (STRING) - Name for this lock code
setCodeLength(pincodelength)
- pincodelength required (NUMBER) - Maximum pin code lentgh for this lock
MediaController
Device Selector
capability.mediaController
Driver Definition
capability "MediaController"
Attributes
activities
- JSON_OBJECTcurrentActivity
- STRING
Commands
getAllActivities()
getCurrentActivity()
startActivity(activityname)
- activityname required (STRING) - Name of media activity to start
MediaInputSource
Device Selector
capability.mediaInputSource
Driver Definition
capability "MediaInputSource"
Attributes
supportedInputs
- JSON_OBJECTmediaInputSource
- STRING
Commands
setInputSource(inputName)
- inputName required (STRING) - Input to select
MediaTransport
Device Selector
capability.mediaTransport
Driver Definition
capability "MediaTransport"
Attributes
transportStatus
- ENUM - ["playing", "paused", "stopped"]
Commands
play()
pause()
stop()
Momentary
Device Selector
capability.momentary
Driver Definition
capability "Momentary"
Attributes
Commands
push()
MotionSensor
Device Selector
capability.motionSensor
Driver Definition
capability "MotionSensor"
Attributes
motion
- ENUM ["inactive", "active"]
Commands
MusicPlayer
Device Selector
capability.musicPlayer
Driver Definition
capability "MusicPlayer"
Attributes
level
- NUMBERmute
- ENUM ["unmuted", "muted"]status
- STRINGtrackData
- JSON_OBJECTtrackDescription
- STRING
Commands
mute()
nextTrack()
pause()
play()
playText(text)
- text required (STRING) - Text to play
playTrack(trackuri)
- trackuri required (STRING) - URI/URL of track to play
previousTrack()
restoreTrack(trackuri)
- trackuri required (STRING) - URI/URL of track to restore
resumeTrack(trackuri)
- trackuri required (STRING) - URI/URL of track to play
setLevel(volumelevel)
- volumelevel required (NUMBER) - Volume level (0 to 100)
setTrack(trackuri)
- trackuri required (STRING) - URI/URL of track to set
stop()
unmute()
Notification
Device Selector
capability.notification
Driver Definition
capability "Notification"
Attributes
Commands
deviceNotification(text)
- text required (STRING) - Notification text
Outlet
Device Selector
capability.outlet
Driver Definition
capability "Outlet"
Attributes
switch
- ENUM ["on", "off"]
Commands
off()
on()
Polling
Device Selector
capability.polling
Driver Definition
capability "Polling"
Attributes
Commands
poll()
PowerMeter
Device Selector
capability.powerMeter
Driver Definition
capability "PowerMeter"
Attributes
power
- NUMBER, unit:W
Commands
PowerSource
Device Selector
capability.powerSource
Driver Definition
capability "PowerSource"
Attributes
powerSource
- ENUM ["battery", "dc", "mains", "unknown"]
Commands
PresenceSensor
Device Selector
capability.presenceSensor
Driver Definition
capability "PresenceSensor"
Attributes
presence
- ENUM ["present", "not present"]
Commands
PressureMeasurement
Device Selector
capability.pressureMeasurement
Driver Definition
capability "PressureMeasurement"
Attributes
pressure
- NUMBER, unit: Pa || psi
Commands
PushableButton
Device Selector
capability.pushableButton
Driver Definition
capability "PushableButton"
Attributes
numberOfButtons
- NUMBERpushed
- NUMBER
Commands
push(buttonNumber)
- buttonNumber required (NUMBER)
Refresh
Device Selector
capability.refresh
Driver Definition
capability "Refresh"
Attributes
Commands
refresh()
RelativeHumidityMeasurement
Device Selector
capability.relativeHumidityMeasurement
Driver Definition
capability "RelativeHumidityMeasurement"
Attributes
humidity
- NUMBER, unit:%rh
Commands
RelaySwitch
Device Selector
capability.relaySwitch
Driver Definition
capability "RelaySwitch"
Attributes
switch
- ENUM ["on", "off"]
Commands
off()
on()
ReleasableButton
Device Selector
capability.releasableButton
Driver Definition
capability "ReleasableButton"
Attributes
released
- NUMBER
Commands
release(buttonNumber)
- buttonNumber required (NUMBER)
SamsungTV
Device Selector
capability.samsungTV
Driver Definition
capability "SamsungTV"
Attributes
messageButton
- JSON_OBJECTmute
- ENUM ["muted", "unknown", "unmuted"]pictureMode
- ENUM ["unknown", "standard", "movie", "dynamic"]soundMode
- ENUM ["speech", "movie", "unknown", "standard", "music"]switch
- ENUM ["on", "off"]volume
- NUMBER
Commands
mute()
off()
on()
setPictureMode(ENUM)
- ENUM (ENUM) - ENUM
setSoundMode(ENUM)
- ENUM (ENUM) - ENUM
setVolume(NUMBER)
- NUMBER (NUMBER) - NUMBER
showMessage(STRING, STRING, STRING, STRING)
- STRING (STRING) - STRING
- STRING (STRING) - STRING
- STRING (STRING) - STRING
- STRING (STRING) - STRING
unmute()
volumeDown()
volumeUp()
SecurityKeypad
Device Selector
capability.securityKeypad
Driver Definition
capability "SecurityKeypad"
Attributes
codeChanged
- ENUM ["added", "changed", "deleted", "failed"]codeLength
- NUMBERlockCodes
- JSON_OBJECTmaxCodes
- NUMBERsecurityKeypad
- ENUM ["disarmed", "armed home", "armed away", "unknown"]
Commands
armAway()
armHome()
deleteCode(codeposition)
- codeposition required (NUMBER) - Code position number to delete
disarm()
getCodes()
setCode(codeposition, pincode, name)
- codeposition required (NUMBER) - Code position number
- pincode required (STRING) - Numeric PIN code
- name optional (STRING) - Name for this lock code
setCodeLength(pincodelength)
- pincodelength required (NUMBER) - Maximum pin code lentgh for this keypad
setEntryDelay(entrancedelay)
- entrancedelay required (NUMBER) - Entrance delay in seconds
setExitDelay(exitdelay)
- exitdelay required (NUMBER) - Exit delay in seconds
Sensor
Device Selector
capability.sensor
Driver Definition
capability "Sensor"
Attributes
Commands
ShockSensor
Device Selector
capability.shockSensor
Driver Definition
capability "ShockSensor"
Attributes
shock
- ENUM ["clear", "detected"]
Commands
SignalStrength
Device Selector
capability.signalStrength
Driver Definition
capability "SignalStrength"
Attributes
lqi
- NUMBERrssi
- NUMBER
Commands
SleepSensor
Device Selector
capability.sleepSensor
Driver Definition
capability "SleepSensor"
Attributes
sleeping
- ENUM ["not sleeping", "sleeping"]
Commands
SmokeDetector
Device Selector
capability.smokeDetector
Driver Definition
capability "SmokeDetector"
Attributes
smoke
- ENUM ["clear", "tested", "detected"]
Commands
SoundPressureLevel
Device Selector
capability.soundPressureLevel
Driver Definition
capability "SoundPressureLevel"
Attributes
soundPressureLevel
- NUMBER, unit:dB
Commands
SoundSensor
Device Selector
capability.soundSensor
Driver Definition
capability "SoundSensor"
Attributes
sound
- ENUM ["detected", "not detected"]
Commands
SpeechRecognition
Device Selector
capability.speechRecognition
Driver Definition
capability "SpeechRecognition"
Attributes
phraseSpoken
- STRING
Commands
SpeechSynthesis
Device Selector
capability.speechSynthesis
Driver Definition
capability "SpeechSynthesis"
Attributes
Commands
speak(text, volume, voice)
- text required (STRING) - Text to speak
- volume optional (NUMBER)
- voice optional (STRING) - AWS Polly voice name
StepSensor
Device Selector
capability.stepSensor
Driver Definition
capability "StepSensor"
Attributes
goal
- NUMBERsteps
- NUMBER
Commands
Switch
Device Selector
capability.switch
Driver Definition
capability "Switch"
Attributes
switch
- ENUM ["on", "off"]
Commands
off()
on()
SwitchLevel
Device Selector
capability.switchLevel
Driver Definition
capability "SwitchLevel"
Attributes
level
- NUMBER, unit:%
Commands
setLevel(level, duration)
- level required (NUMBER) - Level to set (0 to 100)
- duration optional (NUMBER) - Transition duration in seconds
TV
Device Selector
capability.tv
Driver Definition
capability "TV"
Attributes
channel
- NUMBERmovieMode
- STRINGpicture
- STRINGpower
- STRINGsound
- STRINGvolume
- NUMBER
Commands
channelDown()
channelUp()
volumeDown()
volumeUp()
TamperAlert
Device Selector
capability.tamperAlert
Driver Definition
capability "TamperAlert"
Attributes
tamper
- ENUM ["clear", "detected"]
Commands
Telnet
Device Selector
capability.telnet
Driver Definition
capability "Telnet"
Attributes
networkStatus
- ENUM ["online", "offline"]
Commands
sendMsg(message)
- message required (STRING) - Text message to send
TemperatureMeasurement
Device Selector
capability.temperatureMeasurement
Driver Definition
capability "TemperatureMeasurement"
Attributes
temperature
- NUMBER, unit:°F || °C
Commands
TestCapability
Device Selector
capability.testCapability
Driver Definition
capability "TestCapability"
Attributes
Commands
Thermostat
Device Selector
capability.thermostat
Driver Definition
capability "Thermostat"
Attributes
coolingSetpoint
- NUMBER, unit:°F || °CheatingSetpoint
- NUMBER, unit:°F || °Cschedule
- JSON_OBJECT (Deprecated)supportedThermostatFanModes
- JSON_OBJECTsupportedThermostatModes
- JSON_OBJECTtemperature
- NUMBER, unit:°F || °CthermostatFanMode
- ENUM ["on", "circulate", "auto"]thermostatMode
- ENUM ["auto", "off", "heat", "emergency heat", "cool"]thermostatOperatingState
- ENUM ["heating", "pending cool", "pending heat", "vent economizer", "idle", "cooling", "fan only"]thermostatSetpoint
- NUMBER, unit:°F || °C
Commands
auto()
cool()
emergencyHeat()
fanAuto()
fanCirculate()
fanOn()
heat()
off()
setCoolingSetpoint(temperature)
- temperature required (NUMBER) - Cooling setpoint in degrees
setHeatingSetpoint(temperature)
- temperature required (NUMBER) - Heating setpoint in degrees
setSchedule(JSON_OBJECT)
(Deprecated)- JSON_OBJECT (JSON_OBJECT) - JSON_OBJECT (Deprecated)
setThermostatFanMode(fanmode)
- fanmode required (ENUM) - Fan mode to set
setThermostatMode(thermostatmode)
- thermostatmode required (ENUM) - Thermostat mode to set
ThermostatCoolingSetpoint
Device Selector
capability.thermostatCoolingSetpoint
Driver Definition
capability "ThermostatCoolingSetpoint"
Attributes
coolingSetpoint
- NUMBER, unit:°F || °C
Commands
setCoolingSetpoint(temperature)
- temperature required (NUMBER) - Cooling setpoint in degrees
ThermostatFanMode
Device Selector
capability.thermostatFanMode
Driver Definition
capability "ThermostatFanMode"
Attributes
thermostatFanMode
- ENUM ["auto", "circulate", "on"]
Commands
fanAuto()
fanCirculate()
fanOn()
setThermostatFanMode(fanmode)
- fanmode required (ENUM) - Fan mode to set
ThermostatHeatingSetpoint
Device Selector
capability.thermostatHeatingSetpoint
Driver Definition
capability "ThermostatHeatingSetpoint"
Attributes
heatingSetpoint
- NUMBER, unit:°F || °C
Commands
setHeatingSetpoint(temperature)
- temperature required (NUMBER) - Heating setpoint in degrees
ThermostatMode
Device Selector
capability.thermostatMode
Driver Definition
capability "ThermostatMode"
Attributes
thermostatMode
- ENUM ["heat", "cool", "emergency heat", "auto", "off"]
Commands
auto()
cool()
emergencyHeat()
heat()
off()
setThermostatMode(thermostatmode)
- thermostatmode required (ENUM) - Thermostat mode to set
ThermostatOperatingState
Device Selector
capability.thermostatOperatingState
Driver Definition
capability "ThermostatOperatingState"
Attributes
thermostatOperatingState
- ENUM ["vent economizer", "pending cool", "cooling", "heating", "pending heat", "fan only", "idle"]
Commands
ThermostatSchedule
Device Selector
capability.thermostatSchedule
Driver Definition
capability "ThermostatSchedule"
Attributes
schedule
- JSON_OBJECT
Commands
setSchedule(JSON_OBJECT)
- JSON_OBJECT (JSON_OBJECT) - JSON_OBJECT
ThermostatSetpoint
Device Selector
capability.thermostatSetpoint
Driver Definition
capability "ThermostatSetpoint"
Attributes
thermostatSetpoint
- NUMBER, unit:°F || °C
Commands
ThreeAxis
Device Selector
capability.threeAxis
Driver Definition
capability "ThreeAxis"
Attributes
threeAxis
- VECTOR3
Commands
TimedSession
Device Selector
capability.timedSession
Driver Definition
capability "TimedSession"
Attributes
sessionStatus
- ENUM ["stopped", "canceled", "running", "paused"]timeRemaining
- NUMBER
Commands
cancel()
pause()
setTimeRemaining(NUMBER)
- NUMBER (NUMBER) - NUMBER
start()
stop()
Tone
Device Selector
capability.tone
Driver Definition
capability "Tone"
Attributes
Commands
beep()
TouchSensor
Device Selector
capability.touchSensor
Driver Definition
capability "TouchSensor"
Attributes
touch
- ENUM ["touched"]
Commands
UltravioletIndex
Device Selector
capability.ultravioletIndex
Driver Definition
capability "UltravioletIndex"
Attributes
ultravioletIndex
- NUMBER
Commands
Valve
Device Selector
capability.valve
Driver Definition
capability "Valve"
Attributes
valve
- ENUM ["open", "closed"]
Commands
close()
open()
Variable
Device Selector
capability.variable
Driver Definition
capability "Variable"
Attributes
variable
- STRING
Commands
setVariable(valueToSet)
- valueToSet required (STRING)
VideoCamera
Device Selector
capability.videoCapture
Driver Definition
capability "VideoCamera"
Attributes
camera
- ENUM ["on", "off", "restarting", "unavailable"]mute
- ENUM ["unmuted", "muted"]settings
- JSON_OBJECTstatusMessage
- STRING
Commands
flip()
mute()
off()
on()
unmute()
VideoCapture
Device Selector
capability.videoCapture
Driver Definition
capability "VideoCapture"
Attributes
clip
- JSON_OBJECT
Commands
capture(DATE, DATE, DATE)
- DATE (DATE) - DATE
- DATE (DATE) - DATE
- DATE (DATE) - DATE
VoltageMeasurement
Device Selector
capability.voltageMeasurement
Driver Definition
capability "VoltageMeasurement"
Attributes
voltage
- NUMBER, unit:Vfrequency
- NUMBER, unit:Hz
Commands
WaterSensor
Device Selector
capability.waterSensor
Driver Definition
capability "WaterSensor"
Attributes
water
- ENUM ["wet", "dry"]
Commands
WindowBlind
Device Selector
capability.windowBlind
Driver Definition
capability "WindowBlind"
Attributes
position
- NUMBER, unit:%windowShade
- ENUM ["opening", "partially open", "closed", "open", "closing", "unknown"]tilt
- NUMBER, unit:%
Commands
close()
open()
setPosition(position)
- position required (NUMBER) - Shade position (0 to 100)
startPositionChange(direction)
- direction required (ENUM) - Direction for position change request ["open", "close"]
stopPositionChange()
setTiltLevel(tilt)
- tilt required (NUMBER) - Tilt percent (0 to 100)
WindowShade
Device Selector
capability.windowShade
Driver Definition
capability "WindowShade"
Attributes
position
- NUMBER, unit:%windowShade
- ENUM ["opening", "partially open", "closed", "open", "closing", "unknown"]
Commands
close()
open()
setPosition(position)
- position required (NUMBER) - Shade position (0 to 100)
startPositionChange(direction)
- direction required (ENUM) - Direction for position change request ["open", "close"]
stopPositionChange()
ZwMultichannel
Device Selector
capability.zwMultichannel
Driver Definition
capability "ZwMultichannel"
Attributes
epEvent
- STRINGepInfo
- STRING
Commands
enableEpEvents(STRING)
- STRING (STRING) - STRING
epCmd(NUMBER, STRING)
- NUMBER (NUMBER) - NUMBER
- STRING (STRING) - STRING
pHMeasurement
Device Selector
capability.pHMeasurement
Driver Definition
capability "pHMeasurement"
Attributes
pH
- NUMBER
Commands