Skip to content

system.getSources

since 26.1.0

Return the list of sources within a category.

local sources = system.getSources(category)

Parameters

Name Type Required Description
category number yes

Returns

sources (Sources list)

Examples

From the official Ethos documentation
system.getSources(CATEGORY_TELEMETRY_SENSOR)