get_devices() Get all devices registered within the hub. Call Example Edit core.get_devices() params: none. return: an array of devices (table) or nil in a case of an error. Edit require "core" local devices = core.get_devices() if devices then for _, dev in ipairs( devices ) do print( "device name:" .. dev.name ) end end