Smart Home Dryer Guide

Device TYPE

action.devices.types.DRYER This type indicates that the device gets the dryer icon and some dryer-type synonyms/aliases.

Dryers have start and stop functionality independent from being on or off. Some can be paused and resumed while drying.

Dryers also have various modes and each mode has its own related settings. These are specific to the dryer and are interpreted in a generalized form.

These are our recommendations for traits on this type of device, however you are free to mix and match from all available traits to best match your existing product functionality.

Please see each individual trait document for implementation details like required attributes, EXECUTE and QUERY.

Sample SYNC Request and Response

This is an example using the device type and traits above. It is intended to give an idea of how to build a SYNC response. If you add or remove traits, this will need to be modified to reflect those changes.

Request
{
  "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
  "inputs": [{
    "intent": "action.devices.SYNC",
  }]
}
Response
{
  "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
  "payload": {
    "agentUserId": "1836.15267389",
    "devices": [{
      "id": "123",
      "type": "action.devices.types.DRYER",
      "traits": [
        "action.devices.traits.OnOff",
        "action.devices.traits.StartStop",
        "action.devices.traits.Modes",
        "action.devices.traits.Toggles",
        "action.devices.traits.RunCycle"
      ],
      "name": {
        "defaultNames": ["AAA Super Dryer"],
        "name": "Washer",
        "nicknames": ["clothes dryer"]
      },
      "willReportState": true,
      "attributes": {
        "pausable": true,
        "availableModes": [{
          "name": "load",
          "name_values": [{
            "name_synonym": ["load", "size", "load size", "//..."],
            "lang": "en"
          }],
          "settings": [{
              "setting_name": "small",
              "setting_values": [{
                "setting_synonym": ["small", "half", "//..."],
                "lang": "en"
              }]
            },
            {
              "setting_name": "large",
              "setting_values": [{
                "setting_synonym": ["large", "full", "//..."],
                "lang": "en"
              }]
            }
          ],
          "ordered": true
        }],
        "availableToggles": [{
            "name": "Sterilization",
            "name_values": [{
              "name_synonym": ["Bio-clean", "UltraSound", "//..."],
              "lang": "en"
            }]
          },
          {
            "name": "Energy Saving",
            "name_values": [{
              "name_synonym": ["normal", "medium", "high", "//..."],
              "lang": "en"
            }]
          }
        ]
      },
      "deviceInfo": {
        "manufacturer": "AAA Corporation",
        "model": "492134",
        "hwVersion": "3.2",
        "swVersion": "11.4"
      },
      "customData": {
        "fooValue": 74,
        "barValue": true,
        "bazValue": "lambtwirl"
      }
    }]
  }
}
Validator

Device ERRORS

The error codes extend the primary list in the DevGuide. Additional errors will be added as needed.