Fornisce informazioni su tutte le aree.
INCHIESTA
Esempio:
{
"id": 1,
"apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"method": "Circuit.all"
}
Parametro:
ID | Il cubo invia questo ID indietro | Numero intero | non necessario |
Apikey | Chiave API daLink.all | Corda | necessario |
metodo | tipo di richiesta | Corda | necessario |
RISPOSTA
{
"id": 1,
"params": {
"circuits": {
"{abcd1234-ab12-ab12-ab12-abcdef123456}": {
"id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"name": "garden",
"params": {
"automaticMode": false,
"borderBottom": "40",
"borderTop": "60",
"considerMower": false,
"day0": "10:50-10:59;23:50-23:59",
"day1": "",
"day2": "",
"day3": "16:50-20:50",
"day4": "",
"day5": "",
"day6": "",
"irrigationDelayForecast": true,
"irrigationType": 0,
"locationType": 0,
"plantType": 1,
"soilType": 0,
"temperatureOffset": 0,
"valveStaggering": true
},
"sensor": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"sensorData": {
"channel": 100,
"deviceTypeId": "moistureOutdoor",
"firmware": "",
"id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"ipv6": "fe80::211:7d00:30:abcd%zmd0",
"lastUpdate": 1563290254,
"stateTypes": {
"0": {
"type": "moisture",
"value": 100
},
"1": {
"type": "brightness",
"value": 0
},
"2": {
"type": "temperature",
"value": 0
},
"3": {
"type": "frequency",
"value": 0
},
"4": {
"type": "irrigationNecessary",
"value": false
},
"5": {
"type": "irrigationPossible",
"value": false
},
"6": {
"type": "temperatureOffset",
"value": 0
},
"7": {
"type": "rssi",
"value": -200
},
"8": {
"type": "reachable",
"value": false
},
"9": {
"type": "solarVoltage",
"value": 0
},
"10": {
"type": "sunWithinWeek",
"value": true
},
"11": {
"type": "lowPower",
"value": false
},
"12": {
"type": "otauPossible",
"value": false
},
"13": {
"type": "otauProgress",
"value": 0
},
"14": {
"type": "otauStatus",
"value": ""
},
"15": {
"type": "winterMode",
"value": false
},
"16": {
"type": "chargingDurationDay",
"value": 0
},
"17": {
"type": "charging",
"value": false
},
"18": {
"type": "chargingLess",
"value": false
},
"19": {
"type": "lastResetTime",
"value": 0
},
"20": {
"type": "lastResetType",
"value": -1
}
}
},
"stateTypes": {
"0": {
"type": "irrigation",
"value": false
},
"1": {
"type": "automaticMode",
"value": false
},
"2": {
"type": "externBlock",
"value": false
},
"3": {
"type": "winterMode",
"value": false
},
"4": {
"type": "irrigationNextStart",
"value": 1563461400
},
"5": {
"type": "irrigationNextEnd",
"value": 1563475800
},
"6": {
"type": "valveStaggeringIndex",
"value": 0
}
},
"valves": {}
},
"{abcd1234-ab12-ab12-ab12-abcdef123456}": {
"id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"name": "Flowers",
"params": {
"automaticMode": false,
"borderBottom": "40",
"borderTop": "60",
"considerMower": false,
"day0": "",
"day1": "09:35-11:32",
"day2": "",
"day3": "",
"day4": "",
"day5": "",
"day6": "",
"irrigationDelayForecast": false,
"irrigationType": 0,
"locationType": 2,
"plantType": 0,
"soilType": 1,
"temperatureOffset": 0,
"valveStaggering": true
},
"sensor": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"sensorData": {
"channel": 100,
"deviceTypeId": "moistureOutdoor",
"firmware": "",
"id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"ipv6": "fe80::211:7d00:30:abcd%zmd0",
"lastUpdate": 1563290254,
"stateTypes": {
"0": {
"type": "moisture",
"value": 100
},
"1": {
"type": "brightness",
"value": 0
},
"2": {
"type": "temperature",
"value": 0
},
"3": {
"type": "frequency",
"value": 0
},
"4": {
"type": "irrigationNecessary",
"value": false
},
"5": {
"type": "irrigationPossible",
"value": false
},
"6": {
"type": "temperatureOffset",
"value": 0
},
"7": {
"type": "rssi",
"value": -200
},
"8": {
"type": "reachable",
"value": false
},
"9": {
"type": "solarVoltage",
"value": 0
},
"10": {
"type": "sunWithinWeek",
"value": true
},
"11": {
"type": "lowPower",
"value": false
},
"12": {
"type": "otauPossible",
"value": false
},
"13": {
"type": "otauProgress",
"value": 0
},
"14": {
"type": "otauStatus",
"value": ""
},
"15": {
"type": "winterMode",
"value": false
},
"16": {
"type": "chargingDurationDay",
"value": 0
},
"17": {
"type": "charging",
"value": false
},
"18": {
"type": "chargingLess",
"value": false
},
"19": {
"type": "lastResetTime",
"value": 0
},
"20": {
"type": "lastResetType",
"value": -1
}
}
},
"sensorValve": {
"channel": 1,
"valve": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
},
"stateTypes": {
"0": {
"type": "irrigation",
"value": false
},
"1": {
"type": "automaticMode",
"value": false
},
"2": {
"type": "externBlock",
"value": false
},
"3": {
"type": "winterMode",
"value": false
},
"4": {
"type": "irrigationNextStart",
"value": 1563867300
},
"5": {
"type": "irrigationNextEnd",
"value": 1563874320
},
"6": {
"type": "valveStaggeringIndex",
"value": 0
}
},
"valves": {
"0": {
"channel": 1,
"valve": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"valveData": {
"channel": 100,
"deviceTypeId": "valve",
"firmware": "1.51.0",
"id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"ipv6": "fe80::211:7d00:30:abcd%zmd0",
"lastUpdate": 1563352577,
"stateTypes": {
"0": {
"type": "valveInitialClose",
"value": false
},
"1": {
"type": "valveStatus",
"value": false
},
"2": {
"type": "openValve",
"value": false
},
"3": {
"type": "lastIrrigationStart",
"value": 0
},
"4": {
"type": "lastIrrigationEnd",
"value": 1563290494
},
"5": {
"type": "lastIrrigationDuration",
"value": 1563290494
},
"6": {
"type": "rssi",
"value": -35
},
"7": {
"type": "reachable",
"value": true
},
"8": {
"type": "solarVoltage",
"value": "0.84"
},
"9": {
"type": "sunWithinWeek",
"value": true
},
"10": {
"type": "lowPower",
"value": false
},
"11": {
"type": "otauPossible",
"value": false
},
"12": {
"type": "otauProgress",
"value": 0
},
"13": {
"type": "otauStatus",
"value": ""
},
"14": {
"type": "winterMode",
"value": false
},
"15": {
"type": "chargingDurationDay",
"value": 0
},
"16": {
"type": "charging",
"value": false
},
"17": {
"type": "chargingLess",
"value": false
},
"18": {
"type": "lastResetTime",
"value": 0
},
"19": {
"type": "lastResetType",
"value": -1
}
}
}
}
}
}
}
},
"status": "success"
}