Skip to content
Home
Overview
Overview
Users
Overview
Overview
Fire
Overview
Overview
Water
Overview
Overview
Access
Overview
Overview
Energy
Overview
Overview
Misc
Overview
Overview
Other
Overview

Arguments

emergencyContactId
ID!,non-nullrequired

Return type

EmergencyContact
id
ID!,non-null
firstName
String!,non-null
lastName
String!,non-null
phoneNumber
PhoneNumber!,non-null
isAlarmStationContact
Boolean
Query sample
query emergencyContact($emergencyContactId: ID!) {
  emergencyContact(emergencyContactId: $emergencyContactId) {
    id 
    firstName 
    lastName 
    phoneNumber {
      countryCode 
      nationalNumber 
    }
    isAlarmStationContact 
  }
}
Variables
{ "emergencyContactId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "firstName": "Example String", "lastName": "Example String", "phoneNumber": { "countryCode": "Example String", "nationalNumber": "Example String" }, "isAlarmStationContact": true } }

Arguments

homeId
ID!,non-nullrequired

Return type

EmergencyContactCollection
emergencyContacts
Query sample
query emergencyContacts($homeId: ID!) {
  emergencyContacts(homeId: $homeId) {
    emergencyContacts {
      id 
      firstName 
      lastName 
      phoneNumber {
        countryCode 
        nationalNumber 
      }
      isAlarmStationContact 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "emergencyContacts": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "firstName": "Example String", "lastName": "Example String", "phoneNumber": { "countryCode": "Example String", "nationalNumber": "Example String" }, "isAlarmStationContact": true } ] } }

Arguments

commandId
ID!,non-nullrequired

Return type

Command
id
ID!,non-null
homeId
ID!,non-null
commandType
CommandType!,non-null
commandState
CommandState!,non-null
triggeredAt
String!,non-null
deviceIds
[ID!],non-null
Query sample
query command($commandId: ID!) {
  command(commandId: $commandId) {
    id 
    homeId 
    commandType 
    commandState 
    triggeredAt 
    source 
    target 
    deviceIds 
  }
}
Variables
{ "commandId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "commandType": "ALARM", "commandState": "FAILED", "triggeredAt": "Example String", "source": "CUSTOMER", "target": "DEVICE", "deviceIds": [ "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" ] } }

Arguments

homeId
ID!,non-nullrequired

Return type

FreezeProtection
enabled
Boolean!,non-null
thresholdTemperature
Float!,non-null
temperatureSensors
[Device!]!,non-null
Query sample
query freezeProtection($homeId: ID!) {
  freezeProtection(homeId: $homeId) {
    enabled 
    thresholdTemperature 
    temperatureSensors {
      id 
      deviceType 
      name 
      serialNumber 
      imei 
      macAddress 
      ipAddress 
      roomPlacement 
      manufacturer {
        id 
        name 
        logo {
          url 
          urlSmall 
          urlMedium 
          urlLarge 
        }
      }
      deviceTemplate(
        # Arguments Here
      ) {
        id 
        deviceType 
        name 
        primaryPairingMode 
        secondaryPairingModes 
        manufacturer {
          id 
          name 
          logo {
            url 
            urlSmall 
            urlMedium 
            urlLarge 
          }
        }
        image {
          url 
          urlSmall 
          urlMedium 
          urlLarge 
        }
        imageWithBg {
          url 
          urlSmall 
          urlMedium 
          urlLarge 
        }
        instructions {
          installation {
            description {
              __typename
              # ...DeviceInstructionDescriptionItemFragment
            }
            assetUrl 
          }
          configuration {
            description {
              __typename
              # ...DeviceInstructionDescriptionItemFragment
            }
            assetUrl 
          }
          help {
            description {
              __typename
              # ...DeviceInstructionDescriptionItemFragment
            }
            assetUrl 
          }
          connectionAssetUrl 
        }
      }
      image {
        url 
        urlSmall 
        urlMedium 
        urlLarge 
      }
      favorite 
      favoriteChangedAt 
      registeredAt 
      canBeUnregistered 
      firmwareVersion 
      latestFirmware {
        variant 
        version 
        downloadUrl 
      }
      relayConfiguration {
        supportedDeviceTypes 
        endDeviceType 
      }
      ioModuleConfiguration {
        supportedConfigurations 
        configuration 
      }
      area {
        id 
        areaName 
        areaType 
        size 
        floor 
        children 
        devices(
          # Arguments Here
        ) {
          id 
          deviceType 
          name 
          serialNumber 
          imei 
          macAddress 
          ipAddress 
          roomPlacement 
          manufacturer {
            id 
            name 
            logo {
              __typename
              # ...DeviceManufacturerLogoFragment
            }
          }
          deviceTemplate(
            # Arguments Here
          ) {
            id 
            deviceType 
            name 
            primaryPairingMode 
            secondaryPairingModes 
            manufacturer {
              __typename
              # ...DeviceManufacturerFragment
            }
            image {
              __typename
              # ...DeviceTemplateImageFragment
            }
            imageWithBg {
              __typename
              # ...DeviceTemplateImageFragment
            }
            instructions {
              __typename
              # ...DeviceTemplateInstructionsFragment
            }
          }
          image {
            url 
            urlSmall 
            urlMedium 
            urlLarge 
          }
          favorite 
          favoriteChangedAt 
          registeredAt 
          canBeUnregistered 
          firmwareVersion 
          latestFirmware {
            variant 
            version 
            downloadUrl 
          }
          relayConfiguration {
            supportedDeviceTypes 
            endDeviceType 
          }
          ioModuleConfiguration {
            supportedConfigurations 
            configuration 
          }
          area {
            id 
            areaName 
            areaType 
            size 
            floor 
            children 
            devices(
              # Arguments Here
            ) {
              __typename
              # ...DeviceFragment
            }
            accessPolicies {
              __typename
              # ...HomeProfileActionAccessFragment
            }
          }
          traits {
            traitType 
            commands 
            attributes {
              __typename
              # ...TraitAttributeAvailableArmLevelsFragment
            }
          }
          accessPolicy {
            read 
            write 
            delete 
            expiresAt 
          }
        }
        accessPolicies {
          actionType 
          create 
          update 
          delete 
          read 
        }
      }
      traits {
        traitType 
        commands 
        attributes {
          name 
          dataType 
          editable 
          availableArmLevels {
            id 
            description 
          }
        }
      }
      accessPolicy {
        read 
        write 
        delete 
        expiresAt 
      }
    }
    activation {
      triggeredAt 
      canSafelyOpenValve 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "enabled": true, "thresholdTemperature": 40, "temperatureSensors": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deviceType": "AIR_QUALITY_SENSOR", "name": "Example String", "serialNumber": "Example String", "imei": "Example String", "macAddress": "Example String", "ipAddress": "Example String", "roomPlacement": "Example String", "manufacturer": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "logo": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" } }, "deviceTemplate": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deviceType": "AIR_QUALITY_SENSOR", "name": "Example String", "primaryPairingMode": "PLUG", "secondaryPairingModes": [ "PLUG" ], "manufacturer": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "logo": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" } }, "image": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" }, "imageWithBg": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" }, "instructions": { "installation": [ { "description": { "__typename": "DeviceInstructionDescriptionItem" }, "assetUrl": "Example String" } ], "configuration": [ { "description": { "__typename": "DeviceInstructionDescriptionItem" }, "assetUrl": "Example String" } ], "help": [ { "description": { "__typename": "DeviceInstructionDescriptionItem" }, "assetUrl": "Example String" } ], "connectionAssetUrl": "Example String" } }, "image": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" }, "favorite": true, "favoriteChangedAt": "Example String", "registeredAt": "Example String", "canBeUnregistered": true, "firmwareVersion": "Example String", "latestFirmware": [ { "variant": "ROUTER", "version": "Example String", "downloadUrl": "Example String" } ], "relayConfiguration": { "supportedDeviceTypes": [ "AIR_QUALITY_SENSOR" ], "endDeviceType": "AIR_QUALITY_SENSOR" }, "ioModuleConfiguration": { "supportedConfigurations": [ "BMS" ], "configuration": "BMS" }, "area": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "areaName": "Example String", "areaType": "BATHROOM", "size": 40, "floor": 40, "children": true, "devices": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deviceType": "AIR_QUALITY_SENSOR", "name": "Example String", "serialNumber": "Example String", "imei": "Example String", "macAddress": "Example String", "ipAddress": "Example String", "roomPlacement": "Example String", "manufacturer": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "logo": { "__typename": "DeviceManufacturerLogo" } }, "deviceTemplate": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "deviceType": "AIR_QUALITY_SENSOR", "name": "Example String", "primaryPairingMode": "PLUG", "secondaryPairingModes": [ "PLUG" ], "manufacturer": { "__typename": "DeviceManufacturer" }, "image": { "__typename": "DeviceTemplateImage" }, "imageWithBg": { "__typename": "DeviceTemplateImage" }, "instructions": { "__typename": "DeviceTemplateInstructions" } }, "image": { "url": "Example String", "urlSmall": "Example String", "urlMedium": "Example String", "urlLarge": "Example String" }, "favorite": true, "favoriteChangedAt": "Example String", "registeredAt": "Example String", "canBeUnregistered": true, "firmwareVersion": "Example String", "latestFirmware": [ { "variant": "ROUTER", "version": "Example String", "downloadUrl": "Example String" } ], "relayConfiguration": { "supportedDeviceTypes": [ "AIR_QUALITY_SENSOR" ], "endDeviceType": "AIR_QUALITY_SENSOR" }, "ioModuleConfiguration": { "supportedConfigurations": [ "BMS" ], "configuration": "BMS" }, "area": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "areaName": "Example String", "areaType": "BATHROOM", "size": 40, "floor": 40, "children": true, "devices": [ { "__typename": "Device" } ], "accessPolicies": [ { "__typename": "HomeProfileActionAccess" } ] }, "traits": [ { "traitType": "ARM_DISARM", "commands": [ "ALARM" ], "attributes": [ { "__typename": "TraitAttributeAvailableArmLevels" } ] } ], "accessPolicy": { "read": true, "write": true, "delete": true, "expiresAt": "Example String" } } ], "accessPolicies": [ { "actionType": "ALARMS_AND_NOTIFICATIONS", "create": true, "update": true, "delete": true, "read": true } ] }, "traits": [ { "traitType": "ARM_DISARM", "commands": [ "ALARM" ], "attributes": [ { "name": "Example String", "dataType": "ALARM_TYPE", "editable": true, "availableArmLevels": [ { "id": 40, "description": "Example String" } ] } ] } ], "accessPolicy": { "read": true, "write": true, "delete": true, "expiresAt": "Example String" } } ], "activation": { "triggeredAt": "Example String", "canSafelyOpenValve": true } } }

Return type

SmartChargeUserSyncPayload
payload
String
Query sample
query smartChargeUserSync {
  smartChargeUserSync {
    payload 
  }
}
Response sample
{ "data": { "payload": "Example String" } }

Arguments

homeId
ID!,non-nullrequired

Return type

RoutineCollection
routines
[Routine!]!,non-null
Query sample
query routines($homeId: ID!) {
  routines(homeId: $homeId) {
    routines {
      id 
      logic {
        trigger {
          condition {
            at 
          }
        }
        action {
          deviceId 
          chargingOn 
        }
        compensatingAction {
          deviceId 
          chargingOn 
        }
      }
      state 
      origin {
        type 
        source 
      }
      description {
        name 
        description 
      }
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "routines": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "logic": { "trigger": { "condition": { "at": "Example String" } }, "action": { "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "chargingOn": true }, "compensatingAction": { "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "chargingOn": true } }, "state": "ACTIVE", "origin": { "type": "CUSTOM", "source": "DEMAND_RESPONSE" }, "description": { "name": "Example String", "description": "Example String" } } ] } }

Arguments

routineId
ID!,non-nullrequired

Return type

Routine
id
ID!,non-null
logic
RoutineLogic!,non-null
state
RoutineState!,non-null
origin
Query sample
query routine($routineId: ID!) {
  routine(routineId: $routineId) {
    id 
    logic {
      trigger {
        condition {
          at 
        }
      }
      action {
        deviceId 
        chargingOn 
      }
      compensatingAction {
        deviceId 
        chargingOn 
      }
    }
    state 
    origin {
      type 
      source 
    }
    description {
      name 
      description 
    }
  }
}
Variables
{ "routineId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "logic": { "trigger": { "condition": { "at": "Example String" } }, "action": { "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "chargingOn": true }, "compensatingAction": { "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "chargingOn": true } }, "state": "ACTIVE", "origin": { "type": "CUSTOM", "source": "DEMAND_RESPONSE" }, "description": { "name": "Example String", "description": "Example String" } } }

Return type

DemandResponse
eligible
Boolean!,non-null
enrolled
Boolean!,non-null
Query sample
query demandResponse {
  demandResponse {
    eligible 
    enrolled 
  }
}
Response sample
{ "data": { "eligible": true, "enrolled": true } }

Arguments

homeId
ID!,non-nullrequired

Return type

SmartEnergy
enabled
Boolean!,non-null
devices
Query sample
query smartEnergy($homeId: ID!) {
  smartEnergy(homeId: $homeId) {
    enabled 
    configuration {
      hourlyLimitWatts 
    }
    devices {
      enabled 
      deviceId 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "enabled": true, "configuration": { "hourlyLimitWatts": 40 }, "devices": [ { "enabled": true, "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" } ] } }

Arguments

housingAssociationId
ID!,non-nullrequired

Return type

HousingAssociation
id
ID!,non-null
buildings
[Building!]!,non-null
collectiveAlarmZones
Query sample
query housingAssociation($housingAssociationId: ID!) {
  housingAssociation(housingAssociationId: $housingAssociationId) {
    id 
    buildings {
      id 
      units {
        id 
        unitNumber 
      }
      commonAreas {
        id 
        nickname 
      }
    }
    collectiveAlarmZones {
      id 
      facilities {
        id 
        units {
          id 
          unitNumber 
        }
        commonAreas {
          id 
          nickname 
        }
      }
      configurations {
        propagationDelaySeconds 
        meetingPointMap(
          # Arguments Here
        ) {
          url {
            original 
            small 
            medium 
            large 
          }
          uploadUrl 
        }
      }
    }
  }
}
Variables
{ "housingAssociationId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "buildings": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "units": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "unitNumber": "Example String" } ], "commonAreas": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "nickname": "Example String" } ] } ], "collectiveAlarmZones": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "facilities": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "units": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "unitNumber": "Example String" } ], "commonAreas": [ { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "nickname": "Example String" } ] } ], "configurations": [ { "propagationDelaySeconds": 40, "meetingPointMap": { "url": { "original": "Example String", "small": "Example String", "medium": "Example String", "large": "Example String" }, "uploadUrl": "Example String" } } ] } ] } }

Arguments

homeId
ID!,non-nullrequired

Return type

GeofenceStatus
isActive
Boolean!,non-null
radius
Int!,non-null
geofenceAlarm
String!,non-null
Query sample
query getGeofenceStatus($homeId: ID!) {
  getGeofenceStatus(homeId: $homeId) {
    isActive 
    radius 
    geofenceAlarm 
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4" }
Response sample
{ "data": { "isActive": true, "radius": 40, "geofenceAlarm": "Example String" } }
Overview
Overview
Overview
Overview
Overview
Overview
Overview