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.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
getStatus | query | protected | view | yes |
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:
viewon capabilityheating-valve, or categorydevice, or a device grant coveringdeviceId - Viewer: yes
- Try it: open
/system/api-explorer?method=heatingValve.getStatuson your hub
Input
{ deviceId: number }Output
HeatingValveStatusSchemaShapes: HeatingValveStatusSchema