Find a Scrypted device by id.
Find a Scrypted device by id.
Find a Scrypted device by pluginId and optionally the nativeId.
Optional
nativeId: stringFind a Scrypted device by pluginId and optionally the nativeId.
Optional
nativeId: stringFind a Scrypted device by name.
Find a Scrypted device by name.
Get the current state of a device.
Get the current state of every device.
Passively (without polling) listen to property changed events.
Subscribe to events from a specific interface on a device id, such as 'OnOff' or 'Brightness'. This is a convenience method for ScryptedDevice.listen.
Generated using TypeDoc
SystemManager is used by scripts to query device state and access devices.