Requires: IP-Symcon >= 2.1
boolean IPS_SetIcon (integer $ObjectID, string $Icon)
ObjectID | The ID of the object |
Icon | Filename of the icon without path and extension |
If the command succeeds, it returns TRUE, otherwise FALSE. |
This function assigns an icon to the object with the ID ObjectID. The name of the icon is the filename without the extension or path.
A list of available icons can be found under Icons
IPS_SetIcon(47381, "weather");