Skip to content

Scrypted Documentation / DeviceCreator

Interface: DeviceCreator

A DeviceProvider that allows the user to create a device.

Methods

getCreateDeviceSettings()

getCreateDeviceSettings(): Promise<Setting[]>

Returns

Promise<Setting[]>


createDevice()

createDevice(settings): Promise<string>

Return the id of the created device.

Parameters

settings: DeviceCreatorSettings

Returns

Promise<string>