-
- Use the
- Automation component to run this script when an event is triggered. The
- "eventSource" and "eventData" local variables will contain information about the event.
-
-
- Library scripts are can be run using the "Test" button, or called from other scripts with custom arguments. Though Library scripts
- can be run from
- Automations, an Event script is better suited for that, as Event Scripts expose extra
- variables pertaining to the event.
-
-
-
- Device scripts enable the creation of custom devices within Scrypted. Choose the supported interfaces of your device,
- then use the "Generate Device Code" button to get a default implementation.
-
-
-
- DeviceProvider is a unique interface, in that it enables creation of "controllers" that may create one of more other devices. This can be used to add support for
- third party hubs or discoverable devices. See the
-
Hue and
-
Lifx
- samples to get started.
-
-
Generate Device Code
-
-
-
-