Requires: IP-Symcon >= 2.7
string IPS_GetConfiguration (integer $InstanceID)
InstanceID | ID of the instance |
If the command is executed successfully, it returns the configuration of the instance as string. |
Returns the configuration of the instance with the ID InstanceID as a string.
// Read the configuration of instance 12345 and output it via "echo". $config = IPS_GetConfiguration(12345); echo $config; // Examplary output of a ModBus instance {"DataType":3,"WriteAddress":0,"ReadAddress":0,"Poller":3600000,"ReadOnly":false,"EmulateStatus":true,"Factor":0.0}