Gemeinsame Skripte
This module allows working with "Gemeinsame Skripte" within the selected client, to fulfill the function of reusing, simplifying, and reducing the code of Scripts for Devices and Actions.
A Script is a code fragment in an interpreted language (JavaScript) leicht verständlich ist und das verfügbare Werkzeugspektrum bei der Verarbeitung einer spezifischen Geschäftslogik erweitert.
Common Scripts will be used as libraries of common functionalities. Common Scripts will be used as dependencies in other scripts.
The module allows viewing the list of Common Scripts generated by the client, as well as creating, editing, or deleting those scripts. Scripts can be related to each other to leverage code reuse and access all devices of the client in which they are running.
From the following menu option

Auslöser
Auslöser können für Aktionen basierend auf beliebigen Ereignissen erstellt werden, einschließlich Kalender- und Zustandsereignissen. Für jeden Auslöser bietet die Benutzeroberfläche in der Regel zwei Optionen.
Gemeinsames Skript hinzufügen
Select the Common Scripts option from the menu. When selecting Add, the user can include a description, select a dependency, and enter the JS code below.