Abra GraphQL APIs
/Other
/- housingAssociation
area
cloudConnections
statsEnergySummary
statsTimeSeries
home
homes
homeMemberInvitations
homeMemberInvitation
homeMember
homeMembers
hubIdentifyByMacAddress
hubIdentifyBySerialNumber
hubIdentifyByQrCode
hubGetDppPayload
hubTemplates
userMyAccount
userPreferences
notificationsInbox
insuranceCompanies
userAccount
userAccountByEmail
invitedUserHome
homeOrganizations
areaAccessPoliciesForUser
areaUsersWithAccess
installerDashboard
installerProject
installerProjects
emergencyContact
emergencyContacts
command
freezeProtection
smartChargeUserSync
routines
routine
demandResponse
smartEnergy
getGeofenceStatus
housingAssociation
Download GraphQL schema
Home
Users
Fire
Water
Access
Energy
Misc
Other
Return type
Smartpayload
String
Query sample
query smartChargeUserSync {
smartChargeUserSync {
payload
}
}Response sample
{ "data": { "payload": "Example String" } }
Arguments
home Id
I D!,non-nullrequired
Return type
Routineroutines
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
routine Id
I D!,non-nullrequired
Return type
Routineid
I D!,non-null
logic
state
origin
description
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
Demandeligible
Boolean!,non-null
enrolled
Boolean!,non-null
Query sample
query demandResponse {
demandResponse {
eligible
enrolled
}
}Response sample
{ "data": { "eligible": true, "enrolled": true } }
Arguments
home Id
I D!,non-nullrequired
Return type
SmartQuery 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
housing Association Id
I D!,non-nullrequired
Return type
HousingQuery 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
home Id
I D!,non-nullrequired
Return type
Geofenceis Active
Boolean!,non-null
radius
Int!,non-null
geofence Alarm
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" } }