Dominevo
ReferenceHTTP API

heatingValve

The heatingValve router: 1 method of the heating-valve capability, with tier, scope, input and output.

Capability heating-valve · scope device · mode singleton · source packages/types/src/capabilities/heating-valve.cap.ts:16.

Every method is called at /trpc/heatingValve.<method> — queries with GET, mutations with POST. See How to call and Authorization. Device methods take deviceId in their input.

MethodKindTierToken scopeViewer
getStatusqueryprotectedviewyes

heatingValve.getStatus

  • Kind: query — GET /trpc/heatingValve.getStatus (added by the framework)
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: view on capability heating-valve, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=heatingValve.getStatus on your hub

Input

{ deviceId: number }

Output

HeatingValveStatusSchema

Shapes: HeatingValveStatusSchema