Dominevo
ReferenceHTTP API

dishwasher

The dishwasher router: 15 methods of the dishwasher capability, with tier, scope, input and output.

Capability dishwasher · scope device · mode singleton · source packages/types/src/capabilities/dishwasher.cap.ts:191.

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

MethodKindTierToken scopeViewer
getStatusqueryprotectedviewyes
startmutationprotectedcreateyes
pausemutationprotectedcreateyes
resumemutationprotectedcreateyes
stopmutationprotectedcreateyes
setProgrammutationprotectedcreateyes
setPowermutationprotectedcreateyes
setHalfLoadmutationprotectedcreateyes
setHygienePlusmutationprotectedcreateyes
setExtraDrymutationprotectedcreateyes
setIntensiveZonemutationprotectedcreateyes
setVarioSpeedPlusmutationprotectedcreateyes
setChildLockmutationprotectedcreateyes
setOptionmutationprotectedcreateyes
getOptionsqueryprotectedviewyes

dishwasher.getStatus

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

Input

{ deviceId: number }

Output

DishwasherStatusSchema

Shapes: DishwasherStatusSchema

dishwasher.start

  • Kind: mutation — POST /trpc/dishwasher.start
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.start on your hub

Input

{ deviceId: number; program?: string; options?: Record<string, DishwasherValueSchema> }

Output

void

Shapes: DishwasherValueSchema

dishwasher.pause

  • Kind: mutation — POST /trpc/dishwasher.pause
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.pause on your hub

Input

{ deviceId: number }

Output

void

dishwasher.resume

  • Kind: mutation — POST /trpc/dishwasher.resume
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.resume on your hub

Input

{ deviceId: number }

Output

void

dishwasher.stop

  • Kind: mutation — POST /trpc/dishwasher.stop
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.stop on your hub

Input

{ deviceId: number }

Output

void

dishwasher.setProgram

  • Kind: mutation — POST /trpc/dishwasher.setProgram
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setProgram on your hub

Input

{ deviceId: number; program: string }

Output

void

dishwasher.setPower

  • Kind: mutation — POST /trpc/dishwasher.setPower
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setPower on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setHalfLoad

  • Kind: mutation — POST /trpc/dishwasher.setHalfLoad
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setHalfLoad on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setHygienePlus

  • Kind: mutation — POST /trpc/dishwasher.setHygienePlus
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setHygienePlus on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setExtraDry

  • Kind: mutation — POST /trpc/dishwasher.setExtraDry
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setExtraDry on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setIntensiveZone

  • Kind: mutation — POST /trpc/dishwasher.setIntensiveZone
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setIntensiveZone on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setVarioSpeedPlus

  • Kind: mutation — POST /trpc/dishwasher.setVarioSpeedPlus
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setVarioSpeedPlus on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setChildLock

  • Kind: mutation — POST /trpc/dishwasher.setChildLock
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setChildLock on your hub

Input

{ deviceId: number; on: boolean }

Output

void

dishwasher.setOption

  • Kind: mutation — POST /trpc/dishwasher.setOption
  • Tier: protected — any signed-in principal whose scopes cover the method
  • Token scope: create on capability dishwasher, or category device, or a device grant covering deviceId
  • Viewer: yes
  • Try it: open /system/api-explorer?method=dishwasher.setOption on your hub

Input

{ deviceId: number; key: string; value: DishwasherValueSchema }

Output

void

Shapes: DishwasherValueSchema

dishwasher.getOptions

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

Input

{ deviceId: number }

Output

DishwasherOptionsSchema

Shapes: DishwasherOptionsSchema