Class ScryptedDeviceBase

Hierarchy

Constructors

Properties

nativeId?: string
id?: string
interfaces?: string[]
mixins?: string[]
name?: string
pluginId?: string
providedInterfaces?: string[]
providedName?: ScryptedDeviceType
providedRoom?: string
providedType?: ScryptedDeviceType
providerId?: string
room?: string
on?: boolean
brightness?: number
colorTemperature?: number
rgb?: ColorRgb
hsv?: ColorHsv
running?: boolean
paused?: boolean
docked?: boolean
thermostatActiveMode?: ThermostatMode
thermostatAvailableModes?: ThermostatMode[]
thermostatMode?: ThermostatMode
thermostatSetpoint?: number
thermostatSetpointHigh?: number
thermostatSetpointLow?: number
temperature?: number
temperatureUnit?: TemperatureUnit
humidity?: number
ptzCapabilities?: any
lockState?: LockState
entryOpen?: boolean
batteryLevel?: number
online?: boolean
updateAvailable?: boolean
fromMimeType?: string
toMimeType?: string
binaryState?: boolean
tampered?: TamperState
powerDetected?: boolean
audioDetected?: boolean
motionDetected?: boolean
ambientLight?: number
occupied?: boolean
flooded?: boolean
ultraviolet?: number
luminance?: number
position?: Position
securitySystemState?: SecuritySystemState
pm10Density?: number
pm25Density?: number
vocDensity?: number
noxDensity?: number
co2ppm?: number
airQuality?: AirQuality
humiditySetting?: HumiditySettingStatus
fan?: FanStatus
applicationInfo?: LauncherApplicationInfo

Accessors

  • get storage(): Storage
  • Returns Storage

  • get console(): Console
  • Returns Console

Methods

  • Parameters

    • data: any
    • mimeType: string

    Returns Promise<MediaObject>

  • Returns void

  • Fire an event for this device.

    Parameters

    • eventInterface: string
    • eventData: any

    Returns Promise<void>

Generated using TypeDoc