« Back to Product

Documentation

Command Reference

The Command Reference includes commands that are provided by IP-Symcon and are used for its own management.
This is a list of IP-Symcon specific commands.

Warning

For a list of module-specific commands, refer to the Module Reference.

Process Control

Functions in this group allow influencing the flow of a script.

IPS_AbortScriptaborts all running and queued executions of a flow script
IPS_ExecuteStarts an external program
IPS_ExecuteExStarts an external program in the user context
IPS_RunActionexecutes a single action
IPS_RunActionWaitexecutes a single action and waits for the result
IPS_RunScriptstarts another IP-Symcon script
IPS_RunScriptExstarts another IP-Symcon script and passes variables
IPS_RunScriptTextstarts text as IP-Symcon script
IPS_RunScriptTextExstarts a text as IP-Symcon script and passes variables
IPS_RunScriptTextWaitstarts a text as IP-Symcon script and waits for its execution
IPS_RunScriptTextWaitExstarts a text as IP-Symcon script, passes variables, and waits for the execution of the script
IPS_RunScriptWaitstarts another IP-Symcon script and waits for the result
IPS_RunScriptWaitExstarts another IP-Symcon script, passes variables, and waits for the result
IPS_SemaphoreEnterallows the synchronization with other simultaneously running scripts
IPS_SemaphoreLeaveallows the synchronization with other simultaneously running scripts
IPS_Sleepdelays a script for a specified duration

Management of Permissions

Functions in this group are used to manage users, roles and permissions.

Users
IPS_AddPermissionToUseradds a permission to a user
IPS_AddRoleToUserassigns a role to a user
IPS_CreateUsercreates a new user
IPS_DeleteUserdeletes a user
IPS_GetUserreturns information about a user
IPS_GetUserListreturns the names of all users
IPS_RemovePermissionFromUserremoves a permission from a user
IPS_RemoveRoleFromUserremoves a role from a user
IPS_SetUserActiveactivates/deactivates a user
IPS_SetUserBindDNsets the BindDN of an LDAP user
IPS_SetUserEMailsets the e-mail address of a user
IPS_SetUserFirstNamesets the first name of a user
IPS_SetUserLastNamesets the last name of a user
IPS_SetUserPasswordsets the password of a user
IPS_UserExistschecks whether a specific user exists
IPS_UserHasPermissionchecks whether a user may perform an operation on an object
IPS_UserHasRolechecks whether a specific role is assigned to a user
IPS_UserIsAdministratorchecks whether a user is an administrator
IPS_GetLoggedInUserreturns the name of the user in whose context the current execution runs
IPS_HasPermissionchecks whether the currently logged in user may perform an operation on an object
IPS_IsAdministratorchecks whether the currently logged in user is an administrator
IPS_IsUnknownchecks whether the current execution runs without a logged in user
Roles
IPS_AddPermissionToRoleadds a permission to a role
IPS_CreateRolecreates a new role
IPS_DeleteRoledeletes a role
IPS_GetRolereturns information about a role
IPS_GetRoleListreturns the names of all roles
IPS_RemovePermissionFromRoleremoves a permission from a role
IPS_RoleExistschecks whether a role exists
IPS_RoleHasPermissionchecks whether a role has a permission for an object

Management of Events

Functions in this group are used to manage events.

IPS_CreateEventcreate a new event
IPS_DeleteEventdeletes an event
IPS_EventExistschecks if an event exists
IPS_GetEventreturns extensive information about an event
IPS_GetEventIDByNamedetermines the ID of an event by its name
IPS_GetEventListreturns a list of all existing events
IPS_GetEventListByTypereturns a list of all events of a given type
IPS_IsConditionPassingchecks if a condition is fulfilled
IPS_SetEventActionset the executed action
IPS_SetEventActiveactivates/deactivates an event
IPS_SetEventConditionmodifies the conditions of an event
IPS_SetEventConditionDateRulemodifies the rule of a condition of an event for date comparisons
IPS_SetEventConditionDayOfTheWeekRulemodifies the rule of a condition of an event for weekday comparisons
IPS_SetEventConditionTimeRulemodifies the rule of a condition of an event for time comparisons
IPS_SetEventConditionVariableDynamicRulemodifies a dynamic condition rule of an event for variable comparison
IPS_SetEventConditionVariableRulemodifies a condition rule of an event for variable comparison
IPS_SetEventConditionVariableStaticRulemodifies a static condition rule of an event for variable comparison
IPS_SetEventCyclicconfigures a cyclic event
IPS_SetEventCyclicDateFromsets the start date
IPS_SetEventCyclicDateTosets the end date
IPS_SetEventCyclicTimeFromset the start time
IPS_SetEventCyclicTimeTosets the end time
IPS_SetEventLimitlimits the number of event executions
IPS_SetEventScheduleActionmodifies the action table of a schedule event and sets the action to "Execute PHP Code"
IPS_SetEventScheduleActionExmodifies the action table of a schedule event
IPS_SetEventScheduleGroupmodifies the grouping of days for a schedule event
IPS_SetEventScheduleGroupPointmodifies a switch point of the group of a schedule event
IPS_SetEventScriptsets the action to "Execute PHP Code" and define the code to be executed
IPS_SetEventTriggerdefines the trigger for a triggered event
IPS_SetEventTriggerSubsequentExecutiondefines whether a triggered event is executed again on the same value
IPS_SetEventTriggerValueset the value the trigger variable is compared to

Management of Instances

Functions in this group are used to manage instances.

Debug
IPS_DisableDebugdeactivates the forwarding of debug messages
IPS_DisableDebugFiledeactivates the writing of debug logs to a file
IPS_EnableDebugactivates the forwarding of debug messages for a specific duration
IPS_EnableDebugFileactivates the writing of debug logs to a file
IPS_SendDebugsends a message to the debug output of an object
IPS_CreateInstancecreates an instance
IPS_DeleteInstancedeletes an instance
IPS_GetInstancereturns extensive information about a specific instance
IPS_GetInstanceIDByNamereturns the ID of an instance by its name
IPS_GetInstanceListreturns a list of all existing instances
IPS_GetInstanceListByModuleIDreturns all instances with a specific module ID
IPS_GetInstanceListByModuleTypereturns a list of all instances with a specific type
IPS_InstanceExistschecks if a specific instance exists
IPS_RequestActioncalls the RequestAction method of an instance by ident
IPS_Translatetranslates a text with the translations of the module of an instance
Configuration
IPS_ApplyChangesapplies a changed configuration
IPS_GetConfigurationreads a configuration
IPS_GetConfigurationFormreads a configuration form
IPS_GetConfigurationForParentreturns the configuration which an instance specifies for its parent instance
IPS_GetPropertyreads the current value of a property
IPS_GetVisualizationTilereads the custom presentation of an instance
IPS_HasChangeschecks if the configuration was changed
IPS_ResetChangesresets the modified configuration to the current configuration
IPS_SetConfigurationsets a new configuration
IPS_SetPropertysets a planned value for a property
References
IPS_GetReferenceListreturns the IDs of all references
Search
IPS_IsSearchingchecks whether an instance is in search mode
IPS_StartSearchstarts the search mode of an instance
IPS_StopSearchstops the search mode of an instance
IPS_SupportsSearchingchecks whether an instance supports the search mode
Timers
IPS_GetTimerreturns information about a timer
IPS_GetTimerListreturns the IDs of all timers
IPS_TimerExistschecks whether a specific timer exists
Connection
IPS_ConnectInstancecreates a (data) connection between two instances
IPS_DisconnectInstancedisconnects a (data) connection between two instances
IPS_GetCompatibleInstancesreturns compatible instances to an instance
IPS_GetCompatibleParentsreturns the description of the compatible parent instances
IPS_IsInstanceCompatiblechecks if a connection between two instances is possible

Management of Categories

Functions in this group are used to manage categories.

IPS_CategoryExistschecks if a category already exists
IPS_CreateCategorycreates a new category
IPS_DeleteCategorydeletes an existing category
IPS_GetCategoryreturns information about a category
IPS_GetCategoryIDByNamesearches and returns the ID of an existing category by its name
IPS_GetCategoryListreturns a list of all existing categories

Management of Links

Functions in this group are used to manage links.

IPS_CreateLinkcreates a new link
IPS_DeleteLinkdeletes an existing link
IPS_GetLinkreturns extensive information about a link
IPS_GetLinkIDByNamereturns the ID of a link by its name
IPS_GetLinkListreturns a list of all existing links
IPS_LinkExistschecks if a link exists already
IPS_SetLinkTargetIDsets the target of a link

Management of Media

Functions from this group are used to manage media

IPS_CreateMediacreates a new media object in the media pool
IPS_DeleteMediaremoves a media object from the media pool
IPS_GetMediareturns extensive information about a specific media object
IPS_GetMediaContentreturns the content of a media object
IPS_GetMediaIDByFilereturns the ID of a media object by its file
IPS_GetMediaIDByNamereturns the ID of a media object by its name
IPS_GetMediaListreturns a list of all media objects in the media pool
IPS_GetMediaListByTypereturns a list of all media objects of a specific type
IPS_MediaExistschecks if a specific media object is contained within the media pool already
IPS_SendMediaEventsend a notification that a media object was changed
IPS_SetMediaCachedactivates that a media object is only modified in the internal memory
IPS_SetMediaContentset the content of a media object
IPS_SetMediaFilebind a media file to a media object

Management of Modules

Functions from this group are used to manage modules and libraries

IPS_GetCompatibleModulesreturns all modules that are compatible to a specific module
IPS_GetLibraryreturns extensive information about a library
IPS_GetLibraryListreturns a list of all libraries
IPS_GetLibraryModulesreturns a list of modules in a library
IPS_GetModulereturns extensive information about a module
IPS_GetModuleListreturns a list of all modules
IPS_GetModuleListByTypereturns a list of all modules of a given type
IPS_IsModuleCompatiblechecks if two modules are compatible to each other
IPS_LibraryExistsChecks if the given library exists
IPS_ModuleExistschecks if the given module exists

Management of Objects

Functions from this group are used to manipulate objects.

IPS_FindObjectIDByIdentsearches the ID of an object by its ident without failing if nothing is found
IPS_FindObjectIDByNamesearches the ID of an object by its name without failing if nothing is found
IPS_GetChildrenIDsreturns a list of all child objects
IPS_GetLocationreturns the complete path to an object
IPS_GetNamereturns the name of the object
IPS_GetObjectreturns extensive information about an object
IPS_GetObjectIDByIdentreturns the ID of an object by its ident
IPS_GetObjectIDByNamereturns the ID of an object by its name
IPS_GetObjectListreturns a list of all existing objects
IPS_GetParentreturns the ID of the parent of the object
IPS_HasChildrenchecks if an object has child objects
IPS_IsChildchecks if an object is a child of a parent object
IPS_ObjectExistschecks if a specific object exists
IPS_SetDisabledsets an object as disabled for the visualizations
IPS_SetHiddensets the visibility for an object
IPS_SetHiddenMaximizesets the visibility of the maximize button of an object
IPS_SetHiddenTitlesets the visibility of the title of an object
IPS_SetIconsets the icon of an object
IPS_SetIdentsets the ident of an object
IPS_SetInfosets extended information of an object
IPS_SetNamesets the name of an object
IPS_SetParentsets the parent of an object
IPS_SetPositionsets the position of an object

Program Information

Functions from this group provide information about IP Symcon itself

IPS_FunctionExistschecks if a specific function exists
IPS_GetAvailableUpdatesreturns an available update for the configured update channel
IPS_GetFunctionreturns extensive information about a function
IPS_GetFunctionListreturns a list of all available functions
IPS_GetFunctionListByModuleIDreturns a list of all available functions of a module
IPS_GetKernelArchitecturereturns the architecture that IP-Symcon was created for
IPS_GetKernelDatereturns the kernel creation date
IPS_GetKernelDirreturns the path to the IP Symcon program folder
IPS_GetKernelDirExreturns the path to the IP Symcon installation folder
IPS_GetKernelDirSpacereturns the total/free/available disk space of the drive on which all data of IP-Symcon is stored
IPS_GetKernelPlatformreturns the operating system which IP-Symcon is running on
IPS_GetKernelRevisionreturns a unique revision identifier
IPS_GetKernelRunlevelreturns the run level of the kernel
IPS_GetKernelStartTimereturns the point in time when IP-Symcon was started
IPS_GetKernelVersionreturns the version number of the used kernel
IPS_GetLiveUpdateVersionreturns a version identifier made of the build date and revision of the kernel
IPS_GetLogDirreturns the path to the IP Symcon log folder
IPS_GetSystemLanguagereturns the system language of the operating system on which IP-Symcon is running
IPS_GetUpdateChannelreturns the currently configured update channel
IPS_LogMessageWrites a user defined message into the log file

Management of Scripts

Functions from this group are used to manage scripts.

ActionsFunctions in this group are used to manage actions.
IPS_ActionExistschecks whether a specific action exists
IPS_GetActionFormreturns the dynamically generated configuration form of an action
IPS_GetActionReadableCodereturns an action with its parameters as readable PHP code
IPS_GetActionsreturns all available actions as a JSON encoded string
IPS_GetActionsByEnvironmentreturns the actions offered for a target object in an environment
IPS_UpdateFormFieldchanges the parameter of a form field in an action form
IPS_CreateScriptcreates a script
IPS_DeleteScriptdeletes a script
IPS_GetScriptreturns extensive information about a script
IPS_GetScriptContentreturns the content of a script
IPS_GetScriptEventListreturns all events that are assigned to a script
IPS_GetScriptFilereturns the file name of a script
IPS_GetScriptIDByFilereturns the ID of a script by its file
IPS_GetScriptIDByNamereturns the ID of a script by its name
IPS_GetScriptListreturns a list of all scripts
IPS_GetScriptTimerreturns the start value of the script timer
IPS_ScriptExistschecks if a script exists
IPS_SetScriptContentsets the content of a script
IPS_SetScriptFilesets the file name for a script
IPS_SetScriptTimersets the start value of a script timer
Threads
IPS_GetScriptThreadreturns information about a thread of the script engine
IPS_GetScriptThreadListreturns the IDs of all threads of the script engine
IPS_ScriptThreadExistschecks whether a specific thread of the script engine exists

Management of Traces

Functions in this group are used to read traces.

IPS_GetTraceIDListreturns the IDs of the trace entries of an object
IPS_GetTraceListreturns a trace entry with its cause chain

Management of Variables

Functions in this group are used to manage variables and change their values

IPS_CreateVariablecreates a new variable
IPS_DeleteVariabledeletes a variable
IPS_GetVariablereturns extensive information about a variable
IPS_GetVariableEventListreturns a list of all events that are associated with a variable
IPS_GetVariableIDByNamereturns the ID of a variable by its name
IPS_GetVariableListreturns a list of all existing variables
IPS_GetVariablePresentationReturns all parameters of the currently used presentation
IPS_SetVariableCustomActionsets a user-defined action script for a variable
IPS_SetVariableCustomPresentationassigns a user-defined presentation to the variable
IPS_SetVariableCustomProfilesets a user-defined profile for a variable
IPS_VariableExistschecks if a variable exists
Variable PresentationFunctions in this group are used to manage variable presentations
IPS_GetPresentationprovides comprehensive information about a specific presentation
IPS_GetPresentationFormreturns the configuration form of a presentation for a variable type
IPS_GetPresentationFormatreturns the format template of a presentation for a variable type
IPS_GetPresentationsprovides all presentations of the system
IPS_GetPresentationValuereturns the preview value of a presentation
IPS_PresentationExistsChecks whether a specific presentation exists
Management of TemplatesFunctions in this group are used to manage templates
Variable Profiles
IPS_CreateVariableProfilecreates a variable profile
IPS_DeleteVariableProfiledeletes a variable profile
IPS_GetVariableProfilereturns extensive information about a variable profile
IPS_GetVariableProfileListreturns a list of all existing variable profiles
IPS_GetVariableProfileListByTypereturns a list of all existing variable profiles of a specific type
IPS_SetVariableProfileAssociationmodifies the association table of a variable profile
IPS_SetVariableProfileDigitssets the number of decimal places of a variable profile
IPS_SetVariableProfileIconsets the icon for a variable profile
IPS_SetVariableProfileTextsets the prefix and suffix of a variable profile
IPS_SetVariableProfileValuessets the minimum value, maximum value, and step size of a variable profile
IPS_VariableProfileExistschecks if a variable profile exists

Accessing Variables

Functions in this group are used to read or write the values of variables.

GetValuereturns the value of an IP-Symcon variable, independent of its type
GetValueBooleanreturns the value of an IP-Symcon variable of the type Boolean
GetValueColorreturns the value of a color variable as integer in the format 0xRRGGBB
GetValueFloatreturns the value of an IP-Symcon variable of the type Float
GetValueFormattedreturns the value of an IP-Symcon variable and formats it according to its profile
GetValueFormattedExreturns a value formatted based on the profile of a variable
GetValueIntegerreturns the value of an IP-Symcon variable of the type Integer
GetValueStringreturns the value of an IP-Symcon variable of the type String
HasActionchecks whether an action is defined
RequestActionexecutes the variable action of an IP-Symcon variable
RequestActionColorexecutes the action of a color variable with a color value in the format 0xRRGGBB
RequestActionExexecutes the action of an IP-Symcon variable with individual sender
SetValuesets the value of an IP-Symcon variable independent of its type
SetValueBooleansets the value of an IP-Symcon variable of the type Boolean
SetValueColorsets the value of a color variable from a color value in the format 0xRRGGBB
SetValueFloatsets the value of an IP-Symcon variable of the type Float
SetValueIntegersets the value of an IP-Symcon variable of the type Integer
SetValueStringsets the value of an IP-Symcon variable of the type String
Any questions?