Scrypted Documentation / WritableDeviceState
Interface: WritableDeviceState
Extends
Properties
id
id:
string
Inherited from
info?
optional
info:DeviceInformation
Inherited from
interfaces
interfaces:
string
[]
Inherited from
mixins
mixins:
string
[]
Inherited from
name?
optional
name:string
Inherited from
nativeId?
optional
nativeId:string
Inherited from
pluginId
pluginId:
string
Inherited from
providedInterfaces
providedInterfaces:
string
[]
Inherited from
DeviceState
.providedInterfaces
providedName?
optional
providedName:ScryptedDeviceType
Inherited from
providedRoom?
optional
providedRoom:string
Inherited from
providedType?
optional
providedType:ScryptedDeviceType
Inherited from
providerId?
optional
providerId:string
Inherited from
room?
optional
room:string
Inherited from
type?
optional
type:ScryptedDeviceType
Inherited from
scryptedRuntimeArguments?
optional
scryptedRuntimeArguments:ScryptedRuntimeArguments
Inherited from
DeviceState
.scryptedRuntimeArguments
on?
optional
on:boolean
Inherited from
brightness?
optional
brightness:number
Inherited from
colorTemperature?
optional
colorTemperature:number
Inherited from
rgb?
optional
rgb:ColorRgb
Inherited from
hsv?
optional
hsv:ColorHsv
Inherited from
running?
optional
running:boolean
Inherited from
paused?
optional
paused:boolean
Inherited from
docked?
optional
docked:boolean
Inherited from
temperatureSetting?
optional
temperatureSetting:TemperatureSettingStatus
Inherited from
DeviceState
.temperatureSetting
temperature?
optional
temperature:number
Inherited from
temperatureUnit?
optional
temperatureUnit:TemperatureUnit
Inherited from
humidity?
optional
humidity:number
Inherited from
audioVolumes?
optional
audioVolumes:AudioVolumes
Inherited from
recordingActive?
optional
recordingActive:boolean
Inherited from
ptzCapabilities?
optional
ptzCapabilities:PanTiltZoomCapabilities
Inherited from
lockState?
optional
lockState:LockState
Inherited from
entryOpen?
optional
entryOpen:boolean
|"jammed"
Inherited from
batteryLevel?
optional
batteryLevel:number
Inherited from
chargeState?
optional
chargeState:ChargeState
Inherited from
online?
optional
online:boolean
Inherited from
fromMimeType?
optional
fromMimeType:string
Inherited from
toMimeType?
optional
toMimeType:string
Inherited from
converters?
optional
converters:MediaConverterTypes
[]
Inherited from
binaryState?
optional
binaryState:boolean
Inherited from
tampered?
optional
tampered:TamperState
Inherited from
powerDetected?
optional
powerDetected:boolean
Inherited from
audioDetected?
optional
audioDetected:boolean
Inherited from
motionDetected?
optional
motionDetected:boolean
Inherited from
ambientLight?
optional
ambientLight:number
Inherited from
occupied?
optional
occupied:boolean
Inherited from
flooded?
optional
flooded:boolean
Inherited from
ultraviolet?
optional
ultraviolet:number
Inherited from
luminance?
optional
luminance:number
Inherited from
position?
optional
position:Position
Inherited from
securitySystemState?
optional
securitySystemState:SecuritySystemState
Inherited from
DeviceState
.securitySystemState
pm10Density?
optional
pm10Density:number
Inherited from
pm25Density?
optional
pm25Density:number
Inherited from
vocDensity?
optional
vocDensity:number
Inherited from
noxDensity?
optional
noxDensity:number
Inherited from
co2ppm?
optional
co2ppm:number
Inherited from
airQuality?
optional
airQuality:AirQuality
Inherited from
airPurifierState?
optional
airPurifierState:AirPurifierState
Inherited from
filterChangeIndication?
optional
filterChangeIndication:boolean
Inherited from
DeviceState
.filterChangeIndication
filterLifeLevel?
optional
filterLifeLevel:number
Inherited from
humiditySetting?
optional
humiditySetting:HumiditySettingStatus
Inherited from
fan?
optional
fan:FanStatus
Inherited from
applicationInfo?
optional
applicationInfo:LauncherApplicationInfo
Inherited from
systemDevice?
optional
systemDevice:ScryptedSystemDeviceInfo
Inherited from
Methods
setState()
setState(
property
,value
):Promise
<void
>
Parameters
• property: string
• value: any
Returns
Promise
<void
>