What can we improve?

Documentation

(Edit)

IPS_GetConfiguration

Requires: IP-Symcon >= 2.7

string IPS_GetConfiguration (integer $InstanceID)

Parameters

InstanceID ID of the instance

Returns

If the command is executed successfully, it returns the configuration of the instance as string.

Description

Returns the configuration of the instance with the ID InstanceID as a string.

Example

// 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}
Deutsche Webseite verfügbar
Go to cart
Any questions?