Interface DeviceProvider

DeviceProvider acts as a controller/hub and exposes multiple devices to Scrypted Device Manager.


  • DeviceProvider


  • Get an instance of a previously discovered device that was reported to the device manager. This method will be called every time onDeviceDiscovered or onDevicesChanged is invoked by the plugin. A previously returned instance may be returned again. If a different instance is returned, the plugin is responsible for cleaning up the old instance.


    • nativeId: string

    Returns Promise<any>

  • Called when a previously returned device from getDevice was deleted from Scrypted.


    • id: string
    • nativeId: string

    Returns Promise<void>

Generated using TypeDoc