deviceManager
The deviceManager router: 118 methods of the device-manager capability, with tier, scope, input and output.
Capability device-manager · scope system · mode singleton · source packages/types/src/capabilities/device-manager.cap.ts:590.
Every method is called at /trpc/deviceManager.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
allocateDeviceId | mutation | protected | create | no |
migrateDevice | mutation | admin | admin only | no |
repairMigrationSecrets | mutation | admin | admin only | no |
registerDevice | mutation | protected | create | no |
removeDevice | mutation | protected | delete | no |
persistConfig | mutation | admin | admin only | no |
loadConfig | query | admin | admin only | no |
loadRuntimeState | query | admin | admin only | no |
loadMeta | query | protected | view | no |
setName | mutation | admin | admin only | no |
setAlias | mutation | admin | admin only | no |
renderDeviceTemplates | query | admin | admin only | no |
checkDeviceTemplates | query | admin | admin only | no |
setLocation | mutation | admin | admin only | no |
setTags | mutation | admin | admin only | no |
setType | mutation | admin | admin only | no |
setIntegrationId | mutation | admin | admin only | no |
setLinkDeviceId | mutation | admin | admin only | no |
setPrimaryChildEntityId | mutation | admin | admin only | no |
setChildLayout | mutation | admin | admin only | no |
setPrimaryChildPreference | mutation | admin | admin only | no |
setDisplay | mutation | admin | admin only | no |
getRoleDisplayDefaults | query | protected | view | yes |
setRoleDisplayDefaults | mutation | admin | admin only | no |
getWireableFields | query | protected | view | no |
setRole | mutation | admin | admin only | no |
applyInitialMeta | mutation | admin | admin only | no |
setMetadata | mutation | admin | admin only | no |
setIdentifiers | mutation | admin | admin only | no |
listIdentityCandidates | query | admin | admin only | no |
setAttachedIdentifiers | mutation | admin | admin only | no |
listIdentityLinks | query | admin | admin only | no |
confirmIdentityLink | mutation | admin | admin only | no |
dismissIdentityLink | mutation | admin | admin only | no |
unlinkIdentity | mutation | admin | admin only | no |
relinkIdentity | mutation | admin | admin only | no |
ensureRoom | mutation | admin | admin only | no |
listRooms | query | protected | view | yes |
updateRoom | mutation | admin | admin only | no |
deleteRoom | mutation | admin | admin only | no |
listLocations | query | protected | view | no |
addLocation | mutation | admin | admin only | no |
removeLocation | mutation | admin | admin only | no |
renameLocation | mutation | admin | admin only | no |
listLocationIcons | query | protected | view | yes |
setLocationIcon | mutation | admin | admin only | no |
listLocationDescriptions | query | protected | view | no |
setLocationDescription | mutation | admin | admin only | no |
listSiteZones | query | protected | view | yes |
setSiteZone | mutation | admin | admin only | no |
removeSiteZone | mutation | admin | admin only | no |
renameSiteZone | mutation | admin | admin only | no |
setLocationZone | mutation | admin | admin only | no |
setDisabled | mutation | admin | admin only | no |
listPersistedByAddon | query | protected | view | no |
listAll | query | protected | view | yes |
search | query | protected | view | yes |
getDevice | query | protected | view | no |
getChildren | query | protected | view | yes |
getChildrenBatch | query | protected | view | no |
getLinkedDevices | query | protected | view | yes |
getLinkedDevicesBatch | query | protected | view | yes |
getStreamSources | query | protected | view | no |
getConfigSchema | query | protected | view | no |
getSettingsSchema | query | protected | view | no |
updateConfig | mutation | admin | admin only | no |
enable | mutation | admin | admin only | no |
disable | mutation | admin | admin only | no |
remove | mutation | admin | admin only | no |
listDeletedSince | query | admin | admin only | no |
cleanupDeletedDevicesData | mutation | admin | admin only | no |
removeByIntegration | mutation | admin | admin only | no |
getStreamProfileMap | query | protected | view | no |
setStreamProfileMap | mutation | admin | admin only | no |
probeStreams | mutation | admin | admin only | no |
getBindings | query | protected | view | yes |
getBindingsBatch | query | protected | view | no |
getAllBindings | query | protected | view | no |
listDeviceIdsByCaps | query | protected | view | yes |
setWrapperActive | mutation | admin | admin only | no |
getWrapperActivation | query | protected | view | no |
listWrappersForCap | query | protected | view | no |
listBindableCapsForDeviceType | query | protected | view | no |
getDeviceSettingsAggregate | query | protected | view | no |
getDeviceLiveInfoAggregate | query | protected | view | yes |
getDeviceAggregate | query | protected | view | no |
runDeviceAction | mutation | protected | create | no |
updateDeviceField | mutation | admin | admin only | no |
updateDeviceFieldsBatch | mutation | admin | admin only | no |
discoverDevices | mutation | admin | admin only | no |
adoptDevice | mutation | admin | admin only | no |
getCreationSchema | query | protected | view | no |
createDevice | mutation | admin | admin only | no |
testCreationField | mutation | admin | admin only | no |
adoptionListCandidateFilters | query | admin | admin only | no |
adoptionListCandidates | query | admin | admin only | no |
adoptionRefresh | mutation | admin | admin only | no |
adoptionAdopt | mutation | admin | admin only | no |
adoptionRelease | mutation | admin | admin only | no |
adoptionStartJob | mutation | admin | admin only | no |
adoptionListJobs | query | admin | admin only | no |
adoptionCancelJob | mutation | admin | admin only | no |
adoptionGetMode | query | admin | admin only | no |
adoptionSetMode | mutation | admin | admin only | no |
adoptionListRecords | query | admin | admin only | no |
adoptionResync | mutation | admin | admin only | no |
discoveryProviders | query | admin | admin only | no |
discoverAllProviders | mutation | admin | admin only | no |
discoverProvider | mutation | admin | admin only | no |
listDiscoveryProposals | query | admin | admin only | no |
dismissDiscoveryProposal | mutation | admin | admin only | no |
reportDiscoveryObservations | mutation | admin | admin only | no |
runDiscoverySweep | mutation | admin | admin only | no |
providerCreationType | query | admin | admin only | no |
providerDiscoveryParamsSchema | query | admin | admin only | no |
testField | mutation | admin | admin only | no |
getDeviceStatusAggregate | query | protected | view | no |
getDeviceStatusAggregateBatch | query | protected | view | yes |
deviceManager.allocateDeviceId
- Kind: mutation —
POST /trpc/deviceManager.allocateDeviceId - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.allocateDeviceIdon your hub
Input
{ addonId: string; stableId: string }Output
{ id: number }deviceManager.migrateDevice
- Kind: mutation —
POST /trpc/deviceManager.migrateDevice - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.migrateDeviceon your hub
Input
{ sourceId: number; targetId: number }Output
MigrateDeviceResultSchemaShapes: MigrateDeviceResultSchema
deviceManager.repairMigrationSecrets
- Kind: mutation —
POST /trpc/deviceManager.repairMigrationSecrets - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.repairMigrationSecretson your hub
Input
{ deviceA: number; deviceB: number; apply?: boolean = false }Output
{ outcome: "repaired" | "would-repair" | "nothing-to-repair"; markersRepointedAtA: number; markersRepointedAtB: number; refsNowAtA: string[]; refsNowAtB: string[] }deviceManager.registerDevice
- Kind: mutation —
POST /trpc/deviceManager.registerDevice - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.registerDeviceon your hub
Input
{ addonId: string; stableId: string; id: number; type: string; name: string; location?: string | null; disabled?: boolean; parentDeviceId: number | null; role?: string | null; features?: string[]; config: Record<string, unknown>; secretConfigPaths?: string[] }Output
voiddeviceManager.removeDevice
- Kind: mutation —
POST /trpc/deviceManager.removeDevice - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
deleteon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.removeDeviceon your hub
Input
{ deviceId: number }Output
voiddeviceManager.persistConfig
- Kind: mutation —
POST /trpc/deviceManager.persistConfig - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.persistConfigon your hub
Input
{ deviceId: number; data: Record<string, unknown>; secretConfigPaths?: string[] }Output
voiddeviceManager.loadConfig
- Kind: query —
GET /trpc/deviceManager.loadConfig - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.loadConfigon your hub
Input
{ deviceId: number }Output
Record<string, unknown>deviceManager.loadRuntimeState
- Kind: query —
GET /trpc/deviceManager.loadRuntimeState - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.loadRuntimeStateon your hub
Input
{ deviceId: number }Output
Record<string, unknown>deviceManager.loadMeta
- Kind: query —
GET /trpc/deviceManager.loadMeta - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.loadMetaon your hub
Input
{ deviceId: number }Output
{ id: number; stableId: string; addonId: string; type: string; name: string; userNamed?: boolean; location: string | null; locationId?: string | null; tags?: string[]; tagIds?: string[]; disabled: boolean; parentDeviceId: number | null; metadata?: Record<string, unknown> | null; identifiers?: { mac?: ({ value: string; origin: "read" | "derived"; readAt: number })[]; serial?: { value: string; origin: "read" | "derived"; readAt: number }; machine-uuid?: { value: string; origin: "read" | "derived"; readAt: number }; vendor-uid?: { value: string; origin: "read" | "derived"; readAt: number }; hostname?: { value: string; origin: "read" | "derived"; readAt: number }; ip?: { value: string(ipv4) | string(ipv6); origin: "read" | "derived"; readAt: number } }; attachedIdentifiers?: { mac?: ({ value: string; origin: "read" | "derived"; readAt: number })[]; serial?: { value: string; origin: "read" | "derived"; readAt: number }; machine-uuid?: { value: string; origin: "read" | "derived"; readAt: number }; vendor-uid?: { value: string; origin: "read" | "derived"; readAt: number }; hostname?: { value: string; origin: "read" | "derived"; readAt: number }; ip?: { value: string(ipv4) | string(ipv6); origin: "read" | "derived"; readAt: number } }; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> }; integrationId?: string; linkDeviceId?: number | null; primaryChildEntityId?: string | null; childLayout?: ({ childKey: string; section: string; order?: number; collapsed?: boolean })[]; primaryChildPreference?: string[]; role?: string | null; display?: { icon?: string; label?: string; unit?: string; precision?: number; hidden?: boolean; perCap?: Record<string, { unit?: string; precision?: number }> } } | nulldeviceManager.setName
- Kind: mutation —
POST /trpc/deviceManager.setName - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setNameon your hub
Input
{ deviceId: number; name: string; stampUserNamed?: boolean }Output
voiddeviceManager.setAlias
- Kind: mutation —
POST /trpc/deviceManager.setAlias - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setAliason your hub
Input
{ deviceId: number; alias: string }Output
{ ok: true; alias: string } | { ok: false; reason: "empty" | "too-long" | "grammar" | "reserved" | "taken"; takenBy?: number }deviceManager.renderDeviceTemplates
- Kind: query —
GET /trpc/deviceManager.renderDeviceTemplates - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.renderDeviceTemplateson your hub
Input
{ templates: string[]; allowedDeviceIds?: number[]; thisDevice?: { deviceId: number; values?: Record<string, string | number | boolean> } }Output
{ results: ({ ok: true; text: string; trace: ({ ref: string; reason: "unknown-alias" | "unknown-field" | "no-field" | "unavailable" })[] } | { ok: false; refusal: { reason: "too-long" | "syntax" | "forbidden-syntax" | "forbidden-member" | "unknown-filter" | "ambiguous-field" | "busy" | "budget-exceeded" | "timeout" | "output-too-large" | "render-failed" | "out-of-scope" | "unavailable"; message: string }; trace: ({ ref: string; reason: "unknown-alias" | "unknown-field" | "no-field" | "unavailable" })[] })[] }deviceManager.checkDeviceTemplates
- Kind: query —
GET /trpc/deviceManager.checkDeviceTemplates - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.checkDeviceTemplateson your hub
Input
{ templates: string[]; allowedDeviceIds?: number[]; thisDevice?: { deviceId: number; values?: Record<string, string | number | boolean> } }Output
{ results: ({ ok: true; aliases: ({ alias: string; deviceId: number | null; allowed: boolean; reads: string[] })[]; readsClock: boolean } | { ok: false; refusal: { reason: "too-long" | "syntax" | "forbidden-syntax" | "forbidden-member" | "unknown-filter" | "ambiguous-field" | "busy" | "budget-exceeded" | "timeout" | "output-too-large" | "render-failed" | "out-of-scope" | "unavailable"; message: string } })[] }deviceManager.setLocation
- Kind: mutation —
POST /trpc/deviceManager.setLocation - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setLocationon your hub
Input
{ deviceId: number; location?: string | null; locationId?: string | null }Output
voiddeviceManager.setTags
- Kind: mutation —
POST /trpc/deviceManager.setTags - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setTagson your hub
Input
{ deviceId: number; tags?: string[]; tagIds?: string[] }Output
voiddeviceManager.setType
- Kind: mutation —
POST /trpc/deviceManager.setType - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setTypeon your hub
Input
{ deviceId: number; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload" }Output
voiddeviceManager.setIntegrationId
- Kind: mutation —
POST /trpc/deviceManager.setIntegrationId - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setIntegrationIdon your hub
Input
{ deviceId: number; integrationId: string }Output
voiddeviceManager.setLinkDeviceId
- Kind: mutation —
POST /trpc/deviceManager.setLinkDeviceId - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setLinkDeviceIdon your hub
Input
{ deviceId: number; linkDeviceId: number | null }Output
voiddeviceManager.setPrimaryChildEntityId
- Kind: mutation —
POST /trpc/deviceManager.setPrimaryChildEntityId - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setPrimaryChildEntityIdon your hub
Input
{ deviceId: number; primaryChildEntityId: string | null }Output
voiddeviceManager.setChildLayout
- Kind: mutation —
POST /trpc/deviceManager.setChildLayout - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setChildLayouton your hub
Input
{ deviceId: number; childLayout: ({ childKey: string; section: string; order?: number; collapsed?: boolean })[] }Output
voiddeviceManager.setPrimaryChildPreference
- Kind: mutation —
POST /trpc/deviceManager.setPrimaryChildPreference - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setPrimaryChildPreferenceon your hub
Input
{ deviceId: number; primaryChildPreference: string[] }Output
voiddeviceManager.setDisplay
- Kind: mutation —
POST /trpc/deviceManager.setDisplay - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setDisplayon your hub
Input
{ deviceId: number; display: { icon?: string; label?: string; unit?: string; precision?: number; hidden?: boolean; perCap?: Record<string, { unit?: string; precision?: number }> } | null }Output
voiddeviceManager.getRoleDisplayDefaults
- Kind: query —
GET /trpc/deviceManager.getRoleDisplayDefaults - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getRoleDisplayDefaultson your hub
Input
{}Output
{ defaults: Record<string, { unit?: string; precision?: number; icon?: string }> }deviceManager.setRoleDisplayDefaults
- Kind: mutation —
POST /trpc/deviceManager.setRoleDisplayDefaults - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setRoleDisplayDefaultson your hub
Input
{ defaults: Record<string, { unit?: string; precision?: number; icon?: string }> }Output
voiddeviceManager.getWireableFields
- Kind: query —
GET /trpc/deviceManager.getWireableFields - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getWireableFieldson your hub
Input
{ deviceId: number; includeSynthesizable?: boolean }Output
{ caps: ({ cap: string; fields: ({ path: string; kind: "string" | "number" | "boolean" | "enum" | "union"; unionMembers?: ("string" | "number" | "boolean")[]; enumValues?: string[]; item?: boolean; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device" })[]; itemArray?: { path: string; keyField: string } })[] }deviceManager.setRole
- Kind: mutation —
POST /trpc/deviceManager.setRole - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setRoleon your hub
Input
{ deviceId: number; role: string | null }Output
voiddeviceManager.applyInitialMeta
- Kind: mutation —
POST /trpc/deviceManager.applyInitialMeta - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.applyInitialMetaon your hub
Input
{ deviceId: number; name?: string; location?: string | null; locationId?: string | null; tags?: string[]; tagIds?: string[]; type?: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; integrationId?: string; linkDeviceId?: number | null; role?: string | null }Output
voiddeviceManager.setMetadata
- Kind: mutation —
POST /trpc/deviceManager.setMetadata - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setMetadataon your hub
Input
{ deviceId: number; patch: Record<string, unknown> }Output
voiddeviceManager.setIdentifiers
- Kind: mutation —
POST /trpc/deviceManager.setIdentifiers - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setIdentifierson your hub
Input
{ deviceId: number; identifiers: { mac?: ({ value: string; origin: "read" | "derived"; readAt: number })[]; serial?: { value: string; origin: "read" | "derived"; readAt: number }; machine-uuid?: { value: string; origin: "read" | "derived"; readAt: number }; vendor-uid?: { value: string; origin: "read" | "derived"; readAt: number }; hostname?: { value: string; origin: "read" | "derived"; readAt: number }; ip?: { value: string(ipv4) | string(ipv6); origin: "read" | "derived"; readAt: number } } | null; unread?: ("mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip")[] }Output
voiddeviceManager.listIdentityCandidates
- Kind: query —
GET /trpc/deviceManager.listIdentityCandidates - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listIdentityCandidateson your hub
Input
{}Output
{ status: "unknown"; reason: string } | { status: "answered"; pairs: ({ a: { deviceId: number; addonId: string; integrationId: string | null }; b: { deviceId: number; addonId: string; integrationId: string | null }; keys: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; confidence: "auto" | "proposal" })[]; undeclaredDeviceIds: number[] }deviceManager.setAttachedIdentifiers
- Kind: mutation —
POST /trpc/deviceManager.setAttachedIdentifiers - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setAttachedIdentifierson your hub
Input
{ deviceId: number; identifiers: { mac?: ({ value: string; origin: "read" | "derived"; readAt: number })[]; serial?: { value: string; origin: "read" | "derived"; readAt: number }; machine-uuid?: { value: string; origin: "read" | "derived"; readAt: number }; vendor-uid?: { value: string; origin: "read" | "derived"; readAt: number }; hostname?: { value: string; origin: "read" | "derived"; readAt: number }; ip?: { value: string(ipv4) | string(ipv6); origin: "read" | "derived"; readAt: number } } | null; unread?: ("mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip")[] }Output
voiddeviceManager.listIdentityLinks
- Kind: query —
GET /trpc/deviceManager.listIdentityLinks - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listIdentityLinkson your hub
Input
{ deviceId?: number }Output
{ status: "not-loaded"; reason: string } | { status: "answered"; links: ({ kind: "same-device" | "poe-power"; a: { addonId: string; stableId: string; deviceId: number }; b: { addonId: string; stableId: string; deviceId: number }; state: "proposed" | "linked" | "dismissed"; origin: "auto" | "operator"; evidence: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; evidenceGone?: true; createdAt: number; decidedAt?: number; id: string })[] }deviceManager.confirmIdentityLink
- Kind: mutation —
POST /trpc/deviceManager.confirmIdentityLink - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.confirmIdentityLinkon your hub
Input
{ linkId: string }Output
{ ok: true; link: { kind: "same-device" | "poe-power"; a: { addonId: string; stableId: string; deviceId: number }; b: { addonId: string; stableId: string; deviceId: number }; state: "proposed" | "linked" | "dismissed"; origin: "auto" | "operator"; evidence: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; evidenceGone?: true; createdAt: number; decidedAt?: number; id: string } } | { ok: false; reason: "not-loaded" | "unknown-link" | "wrong-state" | "evidence-gone"; message: string }deviceManager.dismissIdentityLink
- Kind: mutation —
POST /trpc/deviceManager.dismissIdentityLink - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.dismissIdentityLinkon your hub
Input
{ linkId: string }Output
{ ok: true; link: { kind: "same-device" | "poe-power"; a: { addonId: string; stableId: string; deviceId: number }; b: { addonId: string; stableId: string; deviceId: number }; state: "proposed" | "linked" | "dismissed"; origin: "auto" | "operator"; evidence: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; evidenceGone?: true; createdAt: number; decidedAt?: number; id: string } } | { ok: false; reason: "not-loaded" | "unknown-link" | "wrong-state" | "evidence-gone"; message: string }deviceManager.unlinkIdentity
- Kind: mutation —
POST /trpc/deviceManager.unlinkIdentity - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.unlinkIdentityon your hub
Input
{ linkId: string }Output
{ ok: true; link: { kind: "same-device" | "poe-power"; a: { addonId: string; stableId: string; deviceId: number }; b: { addonId: string; stableId: string; deviceId: number }; state: "proposed" | "linked" | "dismissed"; origin: "auto" | "operator"; evidence: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; evidenceGone?: true; createdAt: number; decidedAt?: number; id: string } } | { ok: false; reason: "not-loaded" | "unknown-link" | "wrong-state" | "evidence-gone"; message: string }deviceManager.relinkIdentity
- Kind: mutation —
POST /trpc/deviceManager.relinkIdentity - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.relinkIdentityon your hub
Input
{ linkId: string }Output
{ ok: true; link: { kind: "same-device" | "poe-power"; a: { addonId: string; stableId: string; deviceId: number }; b: { addonId: string; stableId: string; deviceId: number }; state: "proposed" | "linked" | "dismissed"; origin: "auto" | "operator"; evidence: ({ key: "mac" | "serial" | "machine-uuid" | "vendor-uid" | "hostname" | "ip"; value: string })[]; evidenceGone?: true; createdAt: number; decidedAt?: number; id: string } } | { ok: false; reason: "not-loaded" | "unknown-link" | "wrong-state" | "evidence-gone"; message: string }deviceManager.ensureRoom
- Kind: mutation —
POST /trpc/deviceManager.ensureRoom - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.ensureRoomon your hub
Input
{ name: string }Output
{ name: string; icon?: <custom>; description?: string; zoneId?: string; colour?: "tag-a" | "tag-b" | "tag-c" | "tag-d" | "tag-e" | "tag-f" | "tag-g" | "tag-h"; order?: number; id: string }deviceManager.listRooms
- Kind: query —
GET /trpc/deviceManager.listRooms - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.listRoomson your hub
Input
voidOutput
({ name: string; icon?: <custom>; description?: string; zoneId?: string; colour?: "tag-a" | "tag-b" | "tag-c" | "tag-d" | "tag-e" | "tag-f" | "tag-g" | "tag-h"; order?: number; id: string })[]deviceManager.updateRoom
- Kind: mutation —
POST /trpc/deviceManager.updateRoom - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.updateRoomon your hub
Input
{ id: string; patch: { name?: string; icon?: <custom> | null; description?: string | null; zoneId?: string | null; colour?: "tag-a" | "tag-b" | "tag-c" | "tag-d" | "tag-e" | "tag-f" | "tag-g" | "tag-h" | null; order?: number | null } }Output
{ name: string; icon?: <custom>; description?: string; zoneId?: string; colour?: "tag-a" | "tag-b" | "tag-c" | "tag-d" | "tag-e" | "tag-f" | "tag-g" | "tag-h"; order?: number; id: string }deviceManager.deleteRoom
- Kind: mutation —
POST /trpc/deviceManager.deleteRoom - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.deleteRoomon your hub
Input
{ id: string }Output
{ cleared: number }deviceManager.listLocations
- Kind: query —
GET /trpc/deviceManager.listLocations - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listLocationson your hub
Input
voidOutput
string[]deviceManager.addLocation
- Kind: mutation —
POST /trpc/deviceManager.addLocation - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.addLocationon your hub
Input
{ name: string }Output
voiddeviceManager.removeLocation
- Kind: mutation —
POST /trpc/deviceManager.removeLocation - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.removeLocationon your hub
Input
{ name: string; cascade?: boolean }Output
voiddeviceManager.renameLocation
- Kind: mutation —
POST /trpc/deviceManager.renameLocation - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.renameLocationon your hub
Input
{ from: string; to: string }Output
{ moved: number }deviceManager.listLocationIcons
- Kind: query —
GET /trpc/deviceManager.listLocationIcons - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.listLocationIconson your hub
Input
voidOutput
({ locationKey: string; icon: <custom> })[]deviceManager.setLocationIcon
- Kind: mutation —
POST /trpc/deviceManager.setLocationIcon - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setLocationIconon your hub
Input
{ location: string; icon: <custom> | null }Output
voiddeviceManager.listLocationDescriptions
- Kind: query —
GET /trpc/deviceManager.listLocationDescriptions - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listLocationDescriptionson your hub
Input
voidOutput
({ locationKey: string; description: string })[]deviceManager.setLocationDescription
- Kind: mutation —
POST /trpc/deviceManager.setLocationDescription - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setLocationDescriptionon your hub
Input
{ location: string; description: string | null }Output
voiddeviceManager.listSiteZones
- Kind: query —
GET /trpc/deviceManager.listSiteZones - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.listSiteZoneson your hub
Input
voidOutput
({ zoneKey: string; label: string; icon: <custom> | null; locationKeys: string[] })[]deviceManager.setSiteZone
- Kind: mutation —
POST /trpc/deviceManager.setSiteZone - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setSiteZoneon your hub
Input
{ name: string; icon?: <custom> | null }Output
voiddeviceManager.removeSiteZone
- Kind: mutation —
POST /trpc/deviceManager.removeSiteZone - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.removeSiteZoneon your hub
Input
{ name: string }Output
voiddeviceManager.renameSiteZone
- Kind: mutation —
POST /trpc/deviceManager.renameSiteZone - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.renameSiteZoneon your hub
Input
{ from: string; to: string }Output
voiddeviceManager.setLocationZone
- Kind: mutation —
POST /trpc/deviceManager.setLocationZone - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setLocationZoneon your hub
Input
{ location: string; zone: string | null }Output
voiddeviceManager.setDisabled
- Kind: mutation —
POST /trpc/deviceManager.setDisabled - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setDisabledon your hub
Input
{ deviceId: number; disabled: boolean }Output
voiddeviceManager.listPersistedByAddon
- Kind: query —
GET /trpc/deviceManager.listPersistedByAddon - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listPersistedByAddonon your hub
Input
{ addonId: string }Output
({ id: number; stableId: string; type: string; name: string; location: string | null; locationId?: string | null; tags?: string[]; tagIds?: string[]; disabled: boolean; parentDeviceId: number | null; role?: string | null })[]deviceManager.listAll
- Kind: query —
GET /trpc/deviceManager.listAll - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.listAllon your hub
Input
{ addonId?: string; projection?: "full" | "slim"; isCamera?: boolean; deviceIds?: number[] }Output
DeviceInfoSchema[]Shapes: DeviceInfoSchema
deviceManager.search
- Kind: query —
GET /trpc/deviceManager.search - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.searchon your hub
Input
DeviceSearchInputSchemaOutput
DeviceSearchResultSchemaShapes: DeviceSearchInputSchema · DeviceSearchResultSchema
deviceManager.getDevice
- Kind: query —
GET /trpc/deviceManager.getDevice - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceon your hub
Input
{ deviceId: number }Output
DeviceInfoSchema | nullShapes: DeviceInfoSchema
deviceManager.getChildren
- Kind: query —
GET /trpc/deviceManager.getChildren - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getChildrenon your hub
Input
{ parentDeviceId: number }Output
DeviceInfoSchema[]Shapes: DeviceInfoSchema
deviceManager.getChildrenBatch
- Kind: query —
GET /trpc/deviceManager.getChildrenBatch - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getChildrenBatchon your hub
Input
{ parentDeviceIds: number[] }Output
Record<string, DeviceInfoSchema[]>Shapes: DeviceInfoSchema
deviceManager.getLinkedDevices
- Kind: query —
GET /trpc/deviceManager.getLinkedDevices - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getLinkedDeviceson your hub
Input
{ deviceId: number }Output
{ mode: LinkedDevicesModeSchema; devices: LinkedDeviceSchema[] }Shapes: LinkedDevicesModeSchema · LinkedDeviceSchema
deviceManager.getLinkedDevicesBatch
- Kind: query —
GET /trpc/deviceManager.getLinkedDevicesBatch - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getLinkedDevicesBatchon your hub
Input
{ deviceIds: number[] }Output
({ deviceId: number; mode: LinkedDevicesModeSchema; devices: LinkedDeviceSchema[] })[]Shapes: LinkedDevicesModeSchema · LinkedDeviceSchema
deviceManager.getStreamSources
- Kind: query —
GET /trpc/deviceManager.getStreamSources - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getStreamSourceson your hub
Input
{ deviceId: number }Output
StreamSourceEntrySchema[]Shapes: StreamSourceEntrySchema
deviceManager.getConfigSchema
- Kind: query —
GET /trpc/deviceManager.getConfigSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getConfigSchemaon your hub
Input
{ deviceId: number }Output
ConfigEntrySchema[]Shapes: ConfigEntrySchema
deviceManager.getSettingsSchema
- Kind: query —
GET /trpc/deviceManager.getSettingsSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getSettingsSchemaon your hub
Input
{ deviceId: number }Output
unknown | nulldeviceManager.updateConfig
- Kind: mutation —
POST /trpc/deviceManager.updateConfig - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.updateConfigon your hub
Input
{ deviceId: number; values: Record<string, unknown> }Output
{ success: true }deviceManager.enable
- Kind: mutation —
POST /trpc/deviceManager.enable - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.enableon your hub
Input
{ deviceId: number }Output
{ success: true }deviceManager.disable
- Kind: mutation —
POST /trpc/deviceManager.disable - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.disableon your hub
Input
{ deviceId: number }Output
{ success: true }deviceManager.remove
- Kind: mutation —
POST /trpc/deviceManager.remove - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.removeon your hub
Input
{ deviceId: number }Output
{ success: true }deviceManager.listDeletedSince
- Kind: query —
GET /trpc/deviceManager.listDeletedSince - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listDeletedSinceon your hub
Input
{ sinceMs: number }Output
DeviceTombstoneSchema[]Shapes: DeviceTombstoneSchema
deviceManager.cleanupDeletedDevicesData
- Kind: mutation —
POST /trpc/deviceManager.cleanupDeletedDevicesData - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.cleanupDeletedDevicesDataon your hub
Input
{ confirm: boolean }Output
CleanupDeletedDevicesResultSchemaShapes: CleanupDeletedDevicesResultSchema
deviceManager.removeByIntegration
- Kind: mutation —
POST /trpc/deviceManager.removeByIntegration - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.removeByIntegrationon your hub
Input
{ integrationId: string }Output
{ removed: number }deviceManager.getStreamProfileMap
- Kind: query —
GET /trpc/deviceManager.getStreamProfileMap - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getStreamProfileMapon your hub
Input
{ deviceId: number }Output
Record<string, string | null>deviceManager.setStreamProfileMap
- Kind: mutation —
POST /trpc/deviceManager.setStreamProfileMap - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setStreamProfileMapon your hub
Input
{ deviceId: number; profileMap: Record<string, string | null> }Output
{ success: true }deviceManager.probeStreams
- Kind: mutation —
POST /trpc/deviceManager.probeStreams - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.probeStreamson your hub
Input
{ deviceId: number }Output
({ streamId: string; width?: number; height?: number; codec?: string; fps?: number; bitrateKbps?: number })[]deviceManager.getBindings
- Kind: query —
GET /trpc/deviceManager.getBindings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getBindingson your hub
Input
{ deviceId: number }Output
{ deviceId: number; entries: ({ capName: string; kind: "native" | "wrapped"; providerAddonId: string; providerNodeId: string; nativeAddonId: string; implementedMethods?: string[] })[] }deviceManager.getBindingsBatch
- Kind: query —
GET /trpc/deviceManager.getBindingsBatch - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getBindingsBatchon your hub
Input
{ deviceIds: number[] }Output
({ deviceId: number; entries: ({ capName: string; kind: "native" | "wrapped"; providerAddonId: string; providerNodeId: string; nativeAddonId: string; implementedMethods?: string[] })[] })[]deviceManager.getAllBindings
- Kind: query —
GET /trpc/deviceManager.getAllBindings - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getAllBindingson your hub
Input
{}Output
({ deviceId: number; entries: ({ capName: string; kind: "native" | "wrapped"; providerAddonId: string; providerNodeId: string; nativeAddonId: string; implementedMethods?: string[] })[] })[]deviceManager.listDeviceIdsByCaps
- Kind: query —
GET /trpc/deviceManager.listDeviceIdsByCaps - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.listDeviceIdsByCapson your hub
Input
{ capNames: string[] }Output
number[]deviceManager.setWrapperActive
- Kind: mutation —
POST /trpc/deviceManager.setWrapperActive - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.setWrapperActiveon your hub
Input
{ deviceId: number; capName: string; wrapperAddonId: string; active: boolean }Output
voiddeviceManager.getWrapperActivation
- Kind: query —
GET /trpc/deviceManager.getWrapperActivation - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getWrapperActivationon your hub
Input
{ deviceId: number; capName: string }Output
WrapperActivationReadSchemaShapes: WrapperActivationReadSchema
deviceManager.listWrappersForCap
- Kind: query —
GET /trpc/deviceManager.listWrappersForCap - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listWrappersForCapon your hub
Input
{ capName: string }Output
string[]deviceManager.listBindableCapsForDeviceType
- Kind: query —
GET /trpc/deviceManager.listBindableCapsForDeviceType - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listBindableCapsForDeviceTypeon your hub
Input
{ deviceType: string }Output
({ capName: string; wrappers: string[] })[]deviceManager.getDeviceSettingsAggregate
- Kind: query —
GET /trpc/deviceManager.getDeviceSettingsAggregate - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceSettingsAggregateon your hub
Input
{ deviceId: number }Output
SettingsSchemaWithValuesSchema | nullShapes: SettingsSchemaWithValuesSchema
deviceManager.getDeviceLiveInfoAggregate
- Kind: query —
GET /trpc/deviceManager.getDeviceLiveInfoAggregate - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceLiveInfoAggregateon your hub
Input
{ deviceId: number }Output
SettingsSchemaWithValuesSchema | nullShapes: SettingsSchemaWithValuesSchema
deviceManager.getDeviceAggregate
- Kind: query —
GET /trpc/deviceManager.getDeviceAggregate - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceAggregateon your hub
Input
{ deviceId: number }Output
{ settings: SettingsSchemaWithValuesSchema | null; live: SettingsSchemaWithValuesSchema | null }Shapes: SettingsSchemaWithValuesSchema
deviceManager.runDeviceAction
- Kind: mutation —
POST /trpc/deviceManager.runDeviceAction - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
createon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.runDeviceActionon your hub
Input
{ deviceId: number; action: string; input: unknown }Output
unknowndeviceManager.updateDeviceField
- Kind: mutation —
POST /trpc/deviceManager.updateDeviceField - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.updateDeviceFieldon your hub
Input
{ deviceId: number; writerCapName: string; writerAddonId: string; key: string; value: unknown }Output
{ success: true }deviceManager.updateDeviceFieldsBatch
- Kind: mutation —
POST /trpc/deviceManager.updateDeviceFieldsBatch - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.updateDeviceFieldsBatchon your hub
Input
{ deviceId: number; changes: ({ writerCapName: string; writerAddonId: string; key: string; value: unknown })[] }Output
{ success: true; failures: ({ writerCapName: string; writerAddonId: string; error: string })[] }deviceManager.discoverDevices
- Kind: mutation —
POST /trpc/deviceManager.discoverDevices - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.discoverDeviceson your hub
Input
{ addonId: string }Output
({ stableId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; suggestedName: string; prefilledConfig: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> }; alreadyOnboarded?: boolean; onboardedDeviceId?: number; onboardedName?: string; setupIntegration?: boolean; parentStableId?: string; selectable?: boolean; needsParams?: string[] })[]deviceManager.adoptDevice
- Kind: mutation —
POST /trpc/deviceManager.adoptDevice - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptDeviceon your hub
Input
{ addonId: string; candidate: { stableId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; suggestedName: string; prefilledConfig: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> }; alreadyOnboarded?: boolean; onboardedDeviceId?: number; onboardedName?: string; setupIntegration?: boolean; parentStableId?: string; selectable?: boolean; needsParams?: string[] }; integrationId?: string }Output
{ id: number; stableId: string; addonId: string; type: string; name: string; parentDeviceId: number | null; online: boolean; features: string[]; config: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> } }deviceManager.getCreationSchema
- Kind: query —
GET /trpc/deviceManager.getCreationSchema - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getCreationSchemaon your hub
Input
{ addonId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; integrationId?: string }Output
unknown | nulldeviceManager.createDevice
- Kind: mutation —
POST /trpc/deviceManager.createDevice - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.createDeviceon your hub
Input
{ addonId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; config: Record<string, unknown>; integrationId?: string }Output
{ id: number; stableId: string; addonId: string; type: string; name: string; parentDeviceId: number | null; online: boolean; features: string[]; config: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> } }deviceManager.testCreationField
- Kind: mutation —
POST /trpc/deviceManager.testCreationField - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.testCreationFieldon your hub
Input
{ addonId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; key: string; value: unknown; formValues?: Record<string, unknown> }Output
{ status: "ok" | "error"; labels?: string[]; error?: string }deviceManager.adoptionListCandidateFilters
- Kind: query —
GET /trpc/deviceManager.adoptionListCandidateFilters - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionListCandidateFilterson your hub
Input
{ addonId: string; integrationId: string }Output
{ filters: AdoptionFilterSchema[] }Shapes: AdoptionFilterSchema
deviceManager.adoptionListCandidates
- Kind: query —
GET /trpc/deviceManager.adoptionListCandidates - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionListCandidateson your hub
Input
{ integrationId: string; page?: number = 1; pageSize?: number = 50; filter?: string; filterText?: CandidateQueryFilterSchema; addonId: string }Output
AdoptionListCandidatesOutputSchemaShapes: CandidateQueryFilterSchema · AdoptionListCandidatesOutputSchema
deviceManager.adoptionRefresh
- Kind: mutation —
POST /trpc/deviceManager.adoptionRefresh - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionRefreshon your hub
Input
{ addonId: string; integrationId: string }Output
AdoptionStatusSchemaShapes: AdoptionStatusSchema
deviceManager.adoptionAdopt
- Kind: mutation —
POST /trpc/deviceManager.adoptionAdopt - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionAdopton your hub
Input
{ integrationId: string; childNativeIds: string[]; filter?: string; importLocations?: boolean; perCandidate?: Record<string, { name?: string; hiddenChildIds?: string[] }>; addonId: string }Output
AdoptionAdoptResultSchemaShapes: AdoptionAdoptResultSchema
deviceManager.adoptionRelease
- Kind: mutation —
POST /trpc/deviceManager.adoptionRelease - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionReleaseon your hub
Input
{ integrationId: string; camDeviceId: number; addonId: string }Output
voiddeviceManager.adoptionStartJob
- Kind: mutation —
POST /trpc/deviceManager.adoptionStartJob - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionStartJobon your hub
Input
{ integrationId: string; childNativeIds: string[]; filter?: string; importLocations?: boolean; perCandidate?: Record<string, { name?: string; hiddenChildIds?: string[] }>; addonId: string }Output
{ jobId: string }deviceManager.adoptionListJobs
- Kind: query —
GET /trpc/deviceManager.adoptionListJobs - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionListJobson your hub
Input
{ addonId: string; integrationId?: string }Output
({ jobId: string; addonId: string; integrationId: string; state: "running" | "done" | "failed" | "cancelled"; total: number; processed: number; adopted: number; alreadyAdopted: number; failed: number; accessoriesCreated: number; currentChildNativeId: string | null; results: ({ childNativeId: string; outcome: "adopted" | "already-adopted" | "failed" | "cancelled"; parentDeviceId: number | null; accessoryCount: number; error: string | null })[]; startedAt: number; finishedAt: number | null; error: string | null })[]deviceManager.adoptionCancelJob
- Kind: mutation —
POST /trpc/deviceManager.adoptionCancelJob - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionCancelJobon your hub
Input
{ jobId: string }Output
{ cancelled: boolean }deviceManager.adoptionGetMode
- Kind: query —
GET /trpc/deviceManager.adoptionGetMode - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionGetModeon your hub
Input
{ addonId: string; integrationId: string }Output
{ adoptMode: AdoptModeSchema; stored: boolean }Shapes: AdoptModeSchema
deviceManager.adoptionSetMode
- Kind: mutation —
POST /trpc/deviceManager.adoptionSetMode - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionSetModeon your hub
Input
{ addonId: string; integrationId: string; adoptMode: AdoptModeSchema }Output
voidShapes: AdoptModeSchema
deviceManager.adoptionListRecords
- Kind: query —
GET /trpc/deviceManager.adoptionListRecords - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionListRecordson your hub
Input
{ addonId: string; integrationId?: string }Output
AdoptionRecordSchema[]Shapes: AdoptionRecordSchema
deviceManager.adoptionResync
- Kind: mutation —
POST /trpc/deviceManager.adoptionResync - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.adoptionResyncon your hub
Input
{ camDeviceId: number; resetToSource?: boolean }Output
{ changed: boolean; rebuiltChildren: number; removedChildren?: number }deviceManager.discoveryProviders
- Kind: query —
GET /trpc/deviceManager.discoveryProviders - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.discoveryProviderson your hub
Input
{}Output
{ providers: ({ addonId: string; label: string })[] }deviceManager.discoverAllProviders
- Kind: mutation —
POST /trpc/deviceManager.discoverAllProviders - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.discoverAllProviderson your hub
Input
{ subnets?: string[] }Output
{ groups: ({ addonId: string; label: string; candidates: ({ stableId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; suggestedName: string; prefilledConfig: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> }; alreadyOnboarded?: boolean; onboardedDeviceId?: number; onboardedName?: string; setupIntegration?: boolean; parentStableId?: string; selectable?: boolean; needsParams?: string[] })[]; error: string | null })[] }deviceManager.discoverProvider
- Kind: mutation —
POST /trpc/deviceManager.discoverProvider - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.discoverProvideron your hub
Input
{ addonId: string; params?: Record<string, unknown>; subnets?: string[] }Output
{ candidates: ({ stableId: string; type: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload"; suggestedName: string; prefilledConfig: Record<string, unknown>; sourceInfo?: { id: string; system: string; uniqueId?: string; quantity?: "temperature" | "pressure" | "speed" | "precipitation" | "precipitation-rate" | "length" | "area" | "illuminance" | "irradiance" | "power" | "energy" | "voltage" | "current" | "apparent-power" | "humidity" | "percentage" | "concentration-volume" | "concentration-mass" | "concentration-ppb" | "volume" | "price-per-volume" | "duration" | "duration-ms" | "information" | "sound-level" | "signal-level" | "signal-ratio" | "frequency" | "colour-temperature" | "angle" | "bitrate" | "rate" | "mass" | "index" | "ratio" | "count" | "none" | "device"; dateTimeShape?: "date" | "time" | "datetime"; raw?: Record<string, unknown> }; alreadyOnboarded?: boolean; onboardedDeviceId?: number; onboardedName?: string; setupIntegration?: boolean; parentStableId?: string; selectable?: boolean; needsParams?: string[] })[] }deviceManager.listDiscoveryProposals
- Kind: query —
GET /trpc/deviceManager.listDiscoveryProposals - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.listDiscoveryProposalson your hub
Input
{}Output
{ proposals: DiscoveryProposalSchema[] }Shapes: DiscoveryProposalSchema
deviceManager.dismissDiscoveryProposal
- Kind: mutation —
POST /trpc/deviceManager.dismissDiscoveryProposal - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.dismissDiscoveryProposalon your hub
Input
{ id: string }Output
{ dismissed: boolean }deviceManager.reportDiscoveryObservations
- Kind: mutation —
POST /trpc/deviceManager.reportDiscoveryObservations - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.reportDiscoveryObservationson your hub
Input
{ observations: DiscoveryObservationSchema[] }Output
{ proposed: number }Shapes: DiscoveryObservationSchema
deviceManager.runDiscoverySweep
- Kind: mutation —
POST /trpc/deviceManager.runDiscoverySweep - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.runDiscoverySweepon your hub
Input
{}Output
{ providers: number; proposed: number }deviceManager.providerCreationType
- Kind: query —
GET /trpc/deviceManager.providerCreationType - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.providerCreationTypeon your hub
Input
{ addonId: string; integrationId?: string }Output
{ deviceType: "camera" | "light" | "siren" | "switch" | "sensor" | "climate" | "button" | "event-emitter" | "update" | "generic" | "notifier" | "script" | "automation" | "lock" | "cover" | "valve" | "humidifier" | "water-heater" | "fan" | "media-player" | "alarm-panel" | "control" | "presence" | "weather" | "weather-station" | "vacuum" | "lawn-mower" | "container" | "image" | "pet-feeder" | "pet-fountain" | "dishwasher" | "washer" | "dryer" | "gateway" | "heat-pump" | "vehicle" | "energy-system" | "workload" | null }deviceManager.providerDiscoveryParamsSchema
- Kind: query —
GET /trpc/deviceManager.providerDiscoveryParamsSchema - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.providerDiscoveryParamsSchemaon your hub
Input
{ addonId: string }Output
unknowndeviceManager.testField
- Kind: mutation —
POST /trpc/deviceManager.testField - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.testFieldon your hub
Input
{ deviceId: number; key: string; value: unknown }Output
{ status: "ok" | "error"; labels?: string[]; error?: string }deviceManager.getDeviceStatusAggregate
- Kind: query —
GET /trpc/deviceManager.getDeviceStatusAggregate - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: no
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceStatusAggregateon your hub
Input
{ deviceId: number; caps?: string[] }Output
Record<string, unknown | null>deviceManager.getDeviceStatusAggregateBatch
- Kind: query —
GET /trpc/deviceManager.getDeviceStatusAggregateBatch - Tier: protected — any signed-in principal whose scopes cover the method
- Token scope:
viewon capabilitydevice-manager, or categorysystem - Viewer: yes
- Try it: open
/system/api-explorer?method=deviceManager.getDeviceStatusAggregateBatchon your hub
Input
{ deviceIds: number[]; caps?: string[] }Output
Record<string, Record<string, unknown | null>>