array IPS_GetLibraryModules (string $LibraryID)
LibraryID | ID of the shown library |
An array of all the GUIDs of a library in IP-Symcon given as strings |
The command determines the IDs of all modules in a the library with ID LibraryID. The IDs are listed in an array of strings.
print_r(IPS_GetLibraryModules("{7DC57F9A-C095-4CDE-A6F0-2CB35A29A8FE}")); /* returns e.g.: Array ( [0] => {57040540-4432-4220-8D2D-4676B57E223D} [1] => {48FCFDC1-11A5-4309-BB0B-A0DB8042A969} [2] => {56800073-A809-4513-9618-1C593EE1240C} [3] => {2FD7576A-D2AD-47EE-9779-A502F23CABB3} etc. ... ) */