Skip to content

cloud.smarthq.service.laundry.smartassist.state

  • Configuration


    Describes boundaries and fixed properties for the service.

    Go There

  • State


    A list of the states this service can be in.

    Go There

  • Data Types


    All the data types used for this service.

    Go There

Description

Service for laundry smart assist state

Example Device Response (Digital Twin API)

Service for Washer Smart Assist Status.

{
  "adapterId": "0000000000000000000000000000000000000000",
  "alertTypes": [],
  "createdDateTime": "2022-03-04T12:12:12.123Z",
  "deviceId": "0000000000000000000000000000000000000000000000000000000000000000",
  "deviceType": "cloud.smarthq.device.washer",
  "gatewayId": "0000000000000000000000000000000000000000000000000000000000000000",
  "kind": "device#item",
  "lastPresenceTime": "2022-03-04T12:12:12.123Z",
  "lastSyncTime": "2022-03-04T12:12:12.123Z",
  "presence": "OFFLINE",
  "removable": true,
  "services": [
    {
      "serviceType": "cloud.smarthq.service.laundry.smartassist.state",
      "lastSyncTime": "2022-03-04T12:12:12.123Z",
      "domainType": "cloud.smarthq.domain.washer.smartassist",
      "supportedCommands": [],
      "state": {
        "nonCriticalFaultActive": false,
        "criticalFaultActive": true
      },
      "serviceId": "0000000000000000000000000000000000000000000000000000000000000000",
      "serviceDeviceType": "cloud.smarthq.device.washer",
      "config": {},
      "lastStateTime": "2022-03-04T12:12:12.123Z"
    }
  ],
  "userId": "000000000000000"
}

Configuration

The following are properties for the gateway/device sync as part of the "config" object for each individual service.

Field Name Property Type Required
supportedAlerts STRING_ARRAY No

State

The following are properties for the device state report as part of the "state" object for each individual service.

Field Name Property Type Required
criticalFaultActive BOOLEAN Yes
nonCriticalFaultActive BOOLEAN Yes

Data Types

BOOLEAN

Value must be either true or false.

STRING_ARRAY

Value must be an array of strings.