* [hydrawise] Migrated to new GraphQL based API Fixes #7261 Signed-off-by: Dan Cunningham <dan@digitaldan.com> * Addressed PR comments. Signed-off-by: Dan Cunningham <dan@digitaldan.com> * Address PR review comments. Signed-off-by: Dan Cunningham <dan@digitaldan.com>
117 lines
1.9 KiB
GraphQL
117 lines
1.9 KiB
GraphQL
{
|
|
me {
|
|
email
|
|
lastContact
|
|
controllers {
|
|
id
|
|
name
|
|
status {
|
|
summary
|
|
online
|
|
lastContact {
|
|
timestamp
|
|
}
|
|
}
|
|
location {
|
|
coordinates {
|
|
latitude
|
|
longitude
|
|
}
|
|
forecast(days: 3) {
|
|
time
|
|
updateTime
|
|
conditions
|
|
averageWindSpeed {
|
|
value
|
|
unit
|
|
}
|
|
highTemperature {
|
|
value
|
|
unit
|
|
}
|
|
lowTemperature {
|
|
value
|
|
unit
|
|
}
|
|
probabilityOfPrecipitation
|
|
precipitation {
|
|
value
|
|
unit
|
|
}
|
|
averageHumidity
|
|
}
|
|
}
|
|
zones {
|
|
id
|
|
name
|
|
status {
|
|
suspendedUntil {
|
|
timestamp
|
|
}
|
|
}
|
|
icon {
|
|
id
|
|
fileName
|
|
customImage {
|
|
id
|
|
url
|
|
}
|
|
}
|
|
number {
|
|
value
|
|
label
|
|
}
|
|
scheduledRuns {
|
|
summary
|
|
currentRun{
|
|
id
|
|
startTime {
|
|
timestamp
|
|
}
|
|
endTime {
|
|
timestamp
|
|
}
|
|
duration
|
|
status {
|
|
value
|
|
label
|
|
}
|
|
}
|
|
nextRun {
|
|
id
|
|
startTime {
|
|
timestamp
|
|
}
|
|
endTime {
|
|
timestamp
|
|
}
|
|
duration
|
|
}
|
|
}
|
|
}
|
|
sensors {
|
|
id
|
|
name
|
|
input {
|
|
number
|
|
label
|
|
}
|
|
status {
|
|
active
|
|
waterFlow {
|
|
value
|
|
unit
|
|
}
|
|
}
|
|
model {
|
|
modeType
|
|
active
|
|
offLevel
|
|
offTimer
|
|
delay
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|