“V-ID” device event handling which generate “ID:SID” element.

Example:

<itemaddr="524:248" ID="524" SID="32"LAMP="524:32" name="Message processing" type="script">

// example 1
524/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

// example 2
V-ID/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

// example 3
V-ID/ID:SID
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

// example 4
V-ID/LAMP
б{
setStatus(2023:32, {1, “Lamp status is changed.”});
}
</item>


//After compilation:

524/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

524/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

524/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}

524/524:32
{
setStatus(2023:32, {1, “Lamp status is changed.”});
}
       

Result:

In all the examples when switching on or off the lamp 524:32 the following messages will be displayed in the interface:

“Lamp status is changed.”