MIYO Cube API

HTTP API Dokumentation

🢓

Allgemein

🢓
Das ist die Dokumentation für die MIYO Cube HTTP API. Die API ist erreichbar unter http://*IP*/api/*Methode*
Parameter
Name Beschreibung Typ Erforderlich
*IP* IP Adresse des Cubes
*Methode* Abfrage, die ausgeführt werden soll
Beispiel
http://192.168.1.0/api/link

/link - Liefert einen neuen apiKey

🢓
Liefert einen neuen apiKey, wenn der Zugriff auf den Cube erlaubt ist. Das Drücken des Knopfes auf dem Cube oder die API Methode System.allowlink erlaubt einmaligen Zugriff für 15 Minuten.
Parameter
Name Beschreibung Typ Erforderlich
Beispiel
http://192.168.1.0/api/link
Antwort
{
"apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"id": 0,
"status": "success"
}

/system/update - Plant das nächste Update

🢓
Plant das nächste Update ein, startet nicht sofort.
Parameter
Name Beschreibung Typ Erforderlich
Beispiel
http://192.168.1.0/api/system/update
Antwort
{
"id": 0,
"status": "success"
}

/device/all - Informationen über alle Geräte

🢓
Liefert Informationen über alle Geräte.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
typeIds Gerätetyp Filter (mehrere möglich) [valve/moistureOutdoor] nicht notwendig
Beispiel
http://192.168.1.0/api/device/all?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&typeIds=valve
Antwort
{
  "id": 0,
  "params": {
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    }
  },
  "status": "success"
}

/device/status - Informationen über ein Gerät

🢓
Liefert Informationen über ein Gerät.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
http://192.168.1.0/api/device/status?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&deviceId={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
  "id": 0,
  "params": {
    "device": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
  "status": "success"
}

/device/free - Nicht zugewiesene Geräte

🢓
Liefert alle Geräte, die keinem Bereich zugewiesen sind.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
typeIds Gerätetyp Filter (mehrere möglich) [valve/moistureOutdoor] nicht notwendig
Beispiel
http://192.168.1.0/api/device/free?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&typeIds=valve
Antwort
{
  "id": 0,
  "params": {
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    }
  },
  "status": "success"
}

/device/remove - Löscht ein Gerät

🢓
Löscht ein Gerät vom Cube.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
http://192.168.1.0/api/device/remove?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&deviceId={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
  "id": 0,
  "status": "success"
}

/device/teachin - Lernt ein Gerät ein

🢓
Verbindet den Cube mit einem Gerät, das mit dem Magneten aktiviert wurde.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/device/teachin?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
  "id": 0,
  "status": "success"
}

/device/highlight - Aktiviere LED eines Gerätes

🢓
Aktiviert die LED auf dem gewählten Gerät.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
http://192.168.1.0/api/device/highlight?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&deviceId={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
  "id": 0,
  "status": "success"
}

/circuit/all - Alle Bereiche

🢓
Liefert Informationen über alle Bereiche.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/circuit/all?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "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"
}

/circuit/status - Ein Bereich

🢓
Liefert Informationen über einen Bereich, analog zu /all .
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
Beispiel
http://192.168.1.0/api/circuit/status?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "circuit": {
            "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"
}

/circuit/types - Alle möglichen Typen

🢓
Liefert alle möglichen Typen für Bodenbeschaffenheit, Bewässerungsgeräte, Pflanzentyp und Lage.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/circuit/types?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "irrigationType": {
            "Drip": 2,
            "Hose": 3,
            "Sprinkler": 1,
            "UpSprinkler": 0
        },
        "locationType": {
            "Covered": 1,
            "Glasshouse": 2,
            "Open": 0
        },
        "plantType": {
            "Gras": 0,
            "Hedge": 1,
            "Individual": 4,
            "Patch": 2,
            "Tree": 3
        },
        "soilType": {
            "Loamy": 0,
            "LoamySandy": 2,
            "Sandy": 1,
            "Unknown": 3
        }
    },
    "status": "success"
}

/circuit/log - Liefert eine Statistik

🢓
Liefert die states aller Geräte innerhalb der letzten Woche oder in den definierten Zeiträumen.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
timeFilters Nach Zeitpunkten filtern Liste von unix timestamps im Format: „startDate1,endDate1;startDate2,endDate2“ nicht notwendig
deviceIds Nach deviceIds filtern Liste von deviceIds nicht notwendig
stateTypeIds Nach stateTypes filtern Liste von stateTypes nicht notwendig
sort Sortierung (aufsteigend default) [asc/desc] nicht notwendig
Beispiel
http://192.168.1.0/api/circuit/log?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}&timeFilters=1566224417,1566224450;1566204417,1566210000&deviceIds={abcd1234-ab12-ab12-ab12-abcdef123456},{wxyz9876-yz98-yz98-yz98-uvwxyz987654}&stateTypeIds=chargingLess,reachable&sort=desc
Antwort
{
    "id": 0,
    "params": {
        "history": [
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1562871030000,
                "value": "1563180600"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1562871030000,
                "value": "1563181140"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563181170000,
                "value": "1563227400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563181170000,
                "value": "1563227940"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563227970000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563227970000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563235377000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563235410000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563235410000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563237180000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563290255000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563290262000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563290262000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563292080000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563434285000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563434292000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563434293000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563436140000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448660000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448675000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448675000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448684000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448685000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563450540000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563455520000,
                "value": "false"
            }
        ]
    },
    "status": "success"
}

/circuit/add - Fügt einen Bereich hinzu

🢓
Fügt einen neuen Bereich hinzu. Für einen Bereich ohne Sensor/Ventil valves oder sensorId auf 0 setzen.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
valves Liste von valveIds für den Bereich Liste von valveIds notwendig
sensorId ID des Sensors für den Bereich String notwendig
name Name des Bereiches String notwendig
borderTop Obere Feuchtigkeitsgrenze in Prozent String nicht notwendig
borderBottom Untere Feuchtigkeitsgrenze in Prozent String nicht notwendig
automaticMode Automatische Bewässerung Boolean nicht notwendig
considerMower Externen Rasenmäher berücksichtigen Boolean nicht notwendig
considerWeather Externen Wetterservice berücksichtigen – expertMode muss auf true gesetzt sein Boolean not required
considerCharge Ladedauer für die Funktion der Geräte berücksichtigen expertMode muss auf true gesetzt sein Boolean not required
irrigationType Bewässerungstyp setzen [UpSprinkler/Sprinkler/Drip/Hose] nicht notwendig
plantType Pflanzentyp setzen [Gras/Hedge/Patch/Tree/Individual] nicht notwendig
soilType Bodentyp setzen [Loamy/Sandy/LoamySandy/Unknown] nicht notwendig
locationType Lage setzen [Open/Covered/Glasshouse] nicht notwendig
valveStaggering Staffelung ein Boolean nicht notwendig
day0 Bewässerungszeiten für Montag String nicht notwendig
day1 Bewässerungszeiten für Dienstag String nicht notwendig
day2 Bewässerungszeiten für Mittwoch String nicht notwendig
day3 Bewässerungszeiten für Donnerstag String nicht notwendig
day4 Bewässerungszeiten für Freitag String nicht notwendig
day5 Bewässerungszeiten für Samstag String nicht notwendig
day6 Bewässerungszeiten für Sonntag String nicht notwendig
Beispiel
http://192.168.1.0/api/circuit/add?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&valves={abcd1234-ab12-ab12-ab12-abcdef123456},{wxyz9876-yz98-yz98-yz98-uvwxyz987654}&sensorId=0&name=Flowers&borderTop=70&borderBottom=30&automaticMode=true&considerMower=false&irrigationType=UpSprinkler&plantType=Gras&soilType=Loamy&locationType=Open&valveStaggering=true&day0=10:50-10:59;23:50-23:55&day3=12:50-13:00&day4=08:00-10:00
Antwort
{
    "id": 0,
    "status": "success"
}

/circuit/edit - Bereich bearbeiten

🢓
Fügt einen neuen Bereich hinzu. Für einen Bereich ohne Sensor/Ventil valves oder sensorId auf 0 setzen.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
valves Liste von valveIds für den Bereich Liste von valveIds nicht notwendig
sensorId ID des Sensors für den Bereich String nicht notwendig
name Name des Bereiches String nicht notwendig
borderTop Obere Feuchtigkeitsgrenze in Prozent String nicht notwendig
borderBottom Untere Feuchtigkeitsgrenze in Prozent String nicht notwendig
automaticMode Automatische Bewässerung Boolean nicht notwendig
considerMower Externen Rasenmäher berücksichtigen Boolean nicht notwendig
considerWeather Externen Wetterservice berücksichtigen – expertMode muss auf true gesetzt sein Boolean not required
considerCharge Ladedauer für die Funktion der Geräte berücksichtigen expertMode muss auf true gesetzt sein Boolean not required
irrigationType Bewässerungstyp setzen [UpSprinkler/Sprinkler/Drip/Hose] nicht notwendig
plantType Pflanzentyp setzen [Gras/Hedge/Patch/Tree/Individual] nicht notwendig
soilType Bodentyp setzen [Loamy/Sandy/LoamySandy/Unknown] nicht notwendig
locationType Lage setzen [Open/Covered/Glasshouse] nicht notwendig
valveStaggering Staffelung ein Boolean nicht notwendig
day0 Bewässerungszeiten für Montag String nicht notwendig
day1 Bewässerungszeiten für Dienstag String nicht notwendig
day2 Bewässerungszeiten für Mittwoch String nicht notwendig
day3 Bewässerungszeiten für Donnerstag String nicht notwendig
day4 Bewässerungszeiten für Freitag String nicht notwendig
day5 Bewässerungszeiten für Samstag String nicht notwendig
day6 Bewässerungszeiten für Sonntag String nicht notwendig
Beispiel
http://192.168.1.0/api/circuit/edit?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}&valves={abcd1234-ab12-ab12-ab12-abcdef123456},{wxyz9876-yz98-yz98-yz98-uvwxyz987654}&sensorId=0&name=Flowers&borderTop=70&borderBottom=30&automaticMode=true&considerMower=false&irrigationType=UpSprinkler&plantType=Gras&soilType=Loamy&locationType=Open&valveStaggering=true&day0=10:50-10:59;23:50-23:55&day3=12:50-13:00&day4=08:00-10:00
Antwort
{
    "id": 0,
    "status": "success"
}

/circuit/irrigation - Bewässerung starten/stoppen

🢓
Startet oder stoppt eine Bewässerung, default für 10 Minuten.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
mode Start oder stopp [start/stop] notwendig
duration Dauer der Bewässerung in Minuten String nicht notwendig
Beispiel
http://192.168.1.0/api/circuit/irrigation?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}&mode=start&duration=15
Antwort
{
    "id": 0,
    "status": "success"
}

/circuit/remove - Bereich löschen

🢓
Löscht einen Bereich.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
Beispiel
http://192.168.1.0/api/circuit/remove?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "status": "success"
}

/circuit/winter - Wintermodus aktivieren/deaktivieren

🢓
Aktiviert oder deaktiviert den Wintermodus.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches String notwendig
winter Wintermodus ein/aus Boolean notwendig
Beispiel
http://192.168.1.0/api/circuit/winter?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}&winter=true
Antwort
{
    "id": 0,
    "status": "success"
}

/extern/status - Daten von Externen Geräten

🢓
Liefert derzeitige Daten von den externen Geräten „rain“, „temperature“, „wind“ und „mower“.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/extern/status?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "mower": null,
        "rain": false,
        "temperature": 20,
        "wind":null
    },
    "status": "success"
}

/extern/rain - Informiert MIYO über Regen

🢓
Informiert MIYO über Regen. Wenn der Wert auf true gesetzt wird berücksichtigt der Cube Regenwetter, wenn er auf false gesetzt ist berücksichtigt er das Wetter der Cloud.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
rain Regen setzen Boolean notwendig
Beispiel
http://192.168.1.0/api/extern/rain?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&rain=true
Antwort
{
    "id": 0,
    "status": "success"
}

/extern/wind - Schickt die Windgeschwindigkeit

🢓
Schickt die Windgeschwindigkeit. Das Limit für die Windgeschwindigkeit, um die Bewässerung zu stoppen ist 40.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
wind Windgeschwindigkeit Integer notwendig
Beispiel
http://192.168.1.0/api/extern/wind?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&wind=20
Antwort
{
    "id": 0,
    "status": "success"
}

/extern/temperature - Schickt die Temperatur

🢓
Schickt die Temperatur in Grad Celsius.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
temperature Temperatur in Grad Celsius Integer notwendig
Beispiel
http://192.168.1.0/api/extern/temperature?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&temperature=20
Antwort
{
    "id": 0,
    "status": "success"
}

/extern/mower - Schickt dass ein Rasenmäher läuft

🢓
Schickt dass ein Rasenmäher gerade läuft/nicht läuft. Der Wert considerMower in /circuit/edit muss auf true gesetzt sein.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
running Rasenmäher läuft Boolean notwendig
Beispiel
http://192.168.1.0/api/extern/mower?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&running=true
Antwort
{
    "id": 0,
    "status": "success"
}

/extern/block - Bereich blockieren

🢓
Erlaubt oder verbietet Bewässerung für einen Bereich z.B. während einer Party.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitId ID des Bereiches der geblockt werden soll String notwendig
block Blockieren ein/aus Boolean notwendig
Beispiel
http://192.168.1.0/api/extern/block?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitId={abcd1234-ab12-ab12-ab12-abcdef123456}&block=true
Antwort
{
    "id": 0,
    "status": "success"
}

/system/status - Informationen über den Cube

🢓
Liefert Informationen über den Cube.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/status?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "cloudAllowed": true,
        "expertMode": true,
        "lat": "21.271656",
        "linkMode": false,
        "lon": "-157.821612",
        "updateStatus": 0,
        "uuid": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "version": "1.3.5"
    },
    "status": "success"
}

/system/time - Aktuelle Zeit

🢓
Liefert die aktuelle lokale Zeit und Zeitzone.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/time?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "clock": {
            "timestamp":1566809253,
            "timezone":"CEST"
        },
        "timestamp": 1566809253,
        "timezone": "CEST"
    },
    "status": "success"
}

/system/timezone - Alle Zeitzonen

🢓
Liefert alle Zeitzonen.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/timezone?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "timezones": [  
            "Africa/Abidjan",
            "Africa/Accra",
            "Africa/Addis_Ababa",
            "Africa/Algiers",
            "Africa/Asmara",
            "Africa/Bamako",
            "Africa/Bangui",
            "Africa/Banjul",
            "Africa/Bissau",
            "Africa/Blantyre",
            "Africa/Brazzaville",
            "Africa/Bujumbura",
            "Africa/Cairo",
            "Africa/Casablanca",
            "Africa/Ceuta",
            "Africa/Conakry",
            "Africa/Dakar",
            "Africa/Dar_es_Salaam",
            "Africa/Djibouti",
            "Africa/Douala",
            "Africa/El_Aaiun",
            "Africa/Freetown",
            "Africa/Gaborone",
            "Africa/Harare",
            "Africa/Johannesburg",
            "Africa/Juba",
            "Africa/Kampala",
            "Africa/Khartoum",
            "Africa/Kigali",
            "Africa/Kinshasa",
            "Africa/Lagos",
            "Africa/Libreville",
            "Africa/Lome",
            "Africa/Luanda",
            "Africa/Lubumbashi",
            "Africa/Lusaka",
            "Africa/Malabo",
            "Africa/Maputo",
            "Africa/Maseru",
            "Africa/Mbabane",
            "Africa/Mogadishu",
            "Africa/Monrovia",
            "Africa/Nairobi",
            "Africa/Ndjamena",
            "Africa/Niamey",
            "Africa/Nouakchott",
            "Africa/Ouagadougou",
            "Africa/Porto-Novo",
            "Africa/Sao_Tome",
            "Africa/Tripoli",
            "Africa/Tunis",
            "Africa/Windhoek",
            "America/Adak",
            "America/Anchorage",
            "America/Anguilla",
            "America/Antigua",
            "America/Araguaina",
            "America/Argentina/Buenos_Aires",
            "America/Argentina/Catamarca",
            "America/Argentina/Cordoba",
            "America/Argentina/Jujuy",
            "America/Argentina/La_Rioja",
            "America/Argentina/Mendoza",
            "America/Argentina/Rio_Gallegos",
            "America/Argentina/Salta",
            "America/Argentina/San_Juan",
            "America/Argentina/San_Luis",
            "America/Argentina/Tucuman",
            "America/Argentina/Ushuaia",
            "America/Aruba",
            "America/Asuncion",
            "America/Atikokan",
            "America/Bahia",
            "America/Bahia_Banderas",
            "America/Barbados",
            "America/Belem",
            "America/Belize",
            "America/Blanc-Sablon",
            "America/Boa_Vista",
            "America/Bogota",
            "America/Boise",
            "America/Cambridge_Bay",
            "America/Campo_Grande",
            "America/Cancun",
            "America/Caracas",
            "America/Cayenne",
            "America/Cayman",
            "America/Chicago",
            "America/Chihuahua",
            "America/Costa_Rica",
            "America/Creston",
            "America/Cuiaba",
            "America/Curacao",
            "America/Danmarkshavn",
            "America/Dawson",
            "America/Dawson_Creek",
            "America/Denver",
            "America/Detroit",
            "America/Dominica",
            "America/Edmonton",
            "America/Eirunepe",
            "America/El_Salvador",
            "America/Fort_Nelson",
            "America/Fortaleza",
            "America/Glace_Bay",
            "America/Godthab",
            "America/Goose_Bay",
            "America/Grand_Turk",
            "America/Grenada",
            "America/Guadeloupe",
            "America/Guatemala",
            "America/Guayaquil",
            "America/Guyana",
            "America/Halifax",
            "America/Havana",
            "America/Hermosillo",
            "America/Indiana/Indianapolis",
            "America/Indiana/Knox",
            "America/Indiana/Marengo",
            "America/Indiana/Petersburg",
            "America/Indiana/Tell_City",
            "America/Indiana/Vevay",
            "America/Indiana/Vincennes",
            "America/Indiana/Winamac",
            "America/Inuvik",
            "America/Iqaluit",
            "America/Jamaica",
            "America/Juneau",
            "America/Kentucky/Louisville",
            "America/Kentucky/Monticello",
            "America/Kralendijk",
            "America/La_Paz",
            "America/Lima",
            "America/Los_Angeles",
            "America/Lower_Princes",
            "America/Maceio",
            "America/Managua",
            "America/Manaus",
            "America/Marigot",
            "America/Martinique",
            "America/Matamoros",
            "America/Mazatlan",
            "America/Menominee",
            "America/Merida",
            "America/Metlakatla",
            "America/Mexico_City",
            "America/Miquelon",
            "America/Moncton",
            "America/Monterrey",
            "America/Montevideo",
            "America/Montserrat",
            "America/Nassau",
            "America/New_York",
            "America/Nipigon",
            "America/Nome",
            "America/Noronha",
            "America/North_Dakota/Beulah",
            "America/North_Dakota/Center",
            "America/North_Dakota/New_Salem",
            "America/Ojinaga",
            "America/Panama",
            "America/Pangnirtung",
            "America/Paramaribo",
            "America/Phoenix",
            "America/Port-au-Prince",
            "America/Port_of_Spain",
            "America/Porto_Velho",
            "America/Puerto_Rico",
            "America/Punta_Arenas",
            "America/Rainy_River",
            "America/Rankin_Inlet",
            "America/Recife",
            "America/Regina",
            "America/Resolute",
            "America/Rio_Branco",
            "America/Santarem",
            "America/Santiago",
            "America/Santo_Domingo",
            "America/Sao_Paulo",
            "America/Scoresbysund",
            "America/Sitka",
            "America/St_Barthelemy",
            "America/St_Johns",
            "America/St_Kitts",
            "America/St_Lucia",
            "America/St_Thomas",
            "America/St_Vincent",
            "America/Swift_Current",
            "America/Tegucigalpa",
            "America/Thule",
            "America/Thunder_Bay",
            "America/Tijuana",
            "America/Toronto",
            "America/Tortola",
            "America/Vancouver",
            "America/Whitehorse",
            "America/Winnipeg",
            "America/Yakutat",
            "America/Yellowknife",
            "Antarctica/Casey",
            "Antarctica/Davis",
            "Antarctica/DumontDUrville",
            "Antarctica/Macquarie",
            "Antarctica/Mawson",
            "Antarctica/McMurdo",
            "Antarctica/Palmer",
            "Antarctica/Rothera",
            "Antarctica/Syowa",
            "Antarctica/Troll",
            "Antarctica/Vostok",
            "Arctic/Longyearbyen",
            "Asia/Aden",
            "Asia/Almaty",
            "Asia/Amman",
            "Asia/Anadyr",
            "Asia/Aqtau",
            "Asia/Aqtobe",
            "Asia/Ashgabat",
            "Asia/Atyrau",
            "Asia/Baghdad",
            "Asia/Bahrain",
            "Asia/Baku",
            "Asia/Bangkok",
            "Asia/Barnaul",
            "Asia/Beirut",
            "Asia/Bishkek",
            "Asia/Brunei",
            "Asia/Chita",
            "Asia/Choibalsan",
            "Asia/Colombo",
            "Asia/Damascus",
            "Asia/Dhaka",
            "Asia/Dili",
            "Asia/Dubai",
            "Asia/Dushanbe",
            "Asia/Famagusta",
            "Asia/Gaza",
            "Asia/Hebron",
            "Asia/Ho_Chi_Minh",
            "Asia/Hong_Kong",
            "Asia/Hovd",
            "Asia/Irkutsk",
            "Asia/Jakarta",
            "Asia/Jayapura",
            "Asia/Jerusalem",
            "Asia/Kabul",
            "Asia/Kamchatka",
            "Asia/Karachi",
            "Asia/Kathmandu",
            "Asia/Khandyga",
            "Asia/Kolkata",
            "Asia/Krasnoyarsk",
            "Asia/Kuala_Lumpur",
            "Asia/Kuching",
            "Asia/Kuwait",
            "Asia/Macau",
            "Asia/Magadan",
            "Asia/Makassar",
            "Asia/Manila",
            "Asia/Muscat",
            "Asia/Nicosia",
            "Asia/Novokuznetsk",
            "Asia/Novosibirsk",
            "Asia/Omsk",
            "Asia/Oral",
            "Asia/Phnom_Penh",
            "Asia/Pontianak",
            "Asia/Pyongyang",
            "Asia/Qatar",
            "Asia/Qostanay",
            "Asia/Qyzylorda",
            "Asia/Riyadh",
            "Asia/Sakhalin",
            "Asia/Samarkand",
            "Asia/Seoul",
            "Asia/Shanghai",
            "Asia/Singapore",
            "Asia/Srednekolymsk",
            "Asia/Taipei",
            "Asia/Tashkent",
            "Asia/Tbilisi",
            "Asia/Tehran",
            "Asia/Thimphu",
            "Asia/Tokyo",
            "Asia/Tomsk",
            "Asia/Ulaanbaatar",
            "Asia/Urumqi",
            "Asia/Ust-Nera",
            "Asia/Vientiane",
            "Asia/Vladivostok",
            "Asia/Yakutsk",
            "Asia/Yangon",
            "Asia/Yekaterinburg",
            "Asia/Yerevan",
            "Atlantic/Azores",
            "Atlantic/Bermuda",
            "Atlantic/Canary",
            "Atlantic/Cape_Verde",
            "Atlantic/Faroe",
            "Atlantic/Madeira",
            "Atlantic/Reykjavik",
            "Atlantic/South_Georgia",
            "Atlantic/St_Helena",
            "Atlantic/Stanley",
            "Australia/Adelaide",
            "Australia/Brisbane",
            "Australia/Broken_Hill",
            "Australia/Currie",
            "Australia/Darwin",
            "Australia/Eucla",
            "Australia/Hobart",
            "Australia/Lindeman",
            "Australia/Lord_Howe",
            "Australia/Melbourne",
            "Australia/Perth",
            "Australia/Sydney",
            "Europe/Amsterdam",
            "Europe/Andorra",
            "Europe/Astrakhan",
            "Europe/Athens",
            "Europe/Belgrade",
            "Europe/Berlin",
            "Europe/Bratislava",
            "Europe/Brussels",
            "Europe/Bucharest",
            "Europe/Budapest",
            "Europe/Busingen",
            "Europe/Chisinau",
            "Europe/Copenhagen",
            "Europe/Dublin",
            "Europe/Gibraltar",
            "Europe/Guernsey",
            "Europe/Helsinki",
            "Europe/Isle_of_Man",
            "Europe/Istanbul",
            "Europe/Jersey",
            "Europe/Kaliningrad",
            "Europe/Kiev",
            "Europe/Kirov",
            "Europe/Lisbon",
            "Europe/Ljubljana",
            "Europe/London",
            "Europe/Luxembourg",
            "Europe/Madrid",
            "Europe/Malta",
            "Europe/Mariehamn",
            "Europe/Minsk",
            "Europe/Monaco",
            "Europe/Moscow",
            "Europe/Oslo",
            "Europe/Paris",
            "Europe/Podgorica",
            "Europe/Prague",
            "Europe/Riga",
            "Europe/Rome",
            "Europe/Samara",
            "Europe/San_Marino",
            "Europe/Sarajevo",
            "Europe/Saratov",
            "Europe/Simferopol",
            "Europe/Skopje",
            "Europe/Sofia",
            "Europe/Stockholm",
            "Europe/Tallinn",
            "Europe/Tirane",
            "Europe/Ulyanovsk",
            "Europe/Uzhgorod",
            "Europe/Vaduz",
            "Europe/Vatican",
            "Europe/Vienna",
            "Europe/Vilnius",
            "Europe/Volgograd",
            "Europe/Warsaw",
            "Europe/Zagreb",
            "Europe/Zaporozhye",
            "Europe/Zurich",
            "Indian/Antananarivo",
            "Indian/Chagos",
            "Indian/Christmas",
            "Indian/Cocos",
            "Indian/Comoro",
            "Indian/Kerguelen",
            "Indian/Mahe",
            "Indian/Maldives",
            "Indian/Mauritius",
            "Indian/Mayotte",
            "Indian/Reunion",
            "Pacific/Apia",
            "Pacific/Auckland",
            "Pacific/Bougainville",
            "Pacific/Chatham",
            "Pacific/Chuuk",
            "Pacific/Easter",
            "Pacific/Efate",
            "Pacific/Enderbury",
            "Pacific/Fakaofo",
            "Pacific/Fiji",
            "Pacific/Funafuti",
            "Pacific/Galapagos",
            "Pacific/Gambier",
            "Pacific/Guadalcanal",
            "Pacific/Guam",
            "Pacific/Honolulu",
            "Pacific/Kiritimati",
            "Pacific/Kosrae",
            "Pacific/Kwajalein",
            "Pacific/Majuro",
            "Pacific/Marquesas",
            "Pacific/Midway",
            "Pacific/Nauru",
            "Pacific/Niue",
            "Pacific/Norfolk",
            "Pacific/Noumea",
            "Pacific/Pago_Pago",
            "Pacific/Palau",
            "Pacific/Pitcairn",
            "Pacific/Pohnpei",
            "Pacific/Port_Moresby",
            "Pacific/Rarotonga",
            "Pacific/Saipan",
            "Pacific/Tahiti",
            "Pacific/Tarawa",
            "Pacific/Tongatapu",
            "Pacific/Wake",
            "Pacific/Wallis",
            "UTC",
            "UTC+00:00",
            "UTC+01:00",
            "UTC+02:00",
            "UTC+03:00",
            "UTC+03:30",
            "UTC+04:00",
            "UTC+04:30",
            "UTC+05:00",
            "UTC+05:30",
            "UTC+05:45",
            "UTC+06:00",
            "UTC+06:30",
            "UTC+07:00",
            "UTC+08:00",
            "UTC+09:00",
            "UTC+09:30",
            "UTC+10:00",
            "UTC+11:00",
            "UTC+12:00",
            "UTC+13:00",
            "UTC+14:00",
            "UTC-00:00",
            "UTC-01:00",
            "UTC-02:00",
            "UTC-03:00",
            "UTC-03:30",
            "UTC-04:00",
            "UTC-04:30",
            "UTC-05:00",
            "UTC-06:00",
            "UTC-07:00",
            "UTC-08:00",
            "UTC-09:00",
            "UTC-10:00",
            "UTC-11:00",
            "UTC-12:00",
            "UTC-13:00",
            "UTC-14:00"
        ]
    },
    "status": "success"
}

/system/weather - Aktuelles Wetter

🢓
Liefert das aktuelle Wetter.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/weather?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "params": {
        "weather": {
            "description": "light intensity shower rain",
            "forecast": true,
            "icon": "09d",
            "temperature":24
        }
    },
    "status": "success"
}

/system/reboot - Cube Neustart

🢓
Startet den Cube neu.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/reboot?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "status": "success"
}

/system/reset - Cube zurücksetzen

🢓
Cube wird auf Werkeinstellungen zurückgesetzt.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/reset?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "status": "success"
}

/system/position - GPS Position setzen

🢓
Setzt die GPS Position des Cubes (wird für die Wettervorhersage gebraucht).
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
lon Longitude String notwendig
lat Latitude String notwendig
Beispiel
http://192.168.1.0/api/system/position?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&lat=21.271656&lon=-157.821612
Antwort
{
    "id": 0,
    "status": "success"
}

/system/allowlink - Linking erlauben

🢓
Erlaubt einem neuen Benutzer sich mit dem Cube zu verbinden, wie beim Drücken des Cube Knopfes.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
Beispiel
http://192.168.1.0/api/system/allowlink?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}
Antwort
{
    "id": 0,
    "status": "success"
}

/system/cloud - Cloud Verbindung aktivieren/deaktivieren

🢓
Aktiviert oder deaktiviert die Cloud Verbindung.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
allowed Cloud allowed Boolean notwendig
Beispiel
http://192.168.1.0/api/system/cloud?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&allowed=true
Antwort
{
    "id": 0,
    "status": "success"
}

/system/timezone - Zeitzone setzen

🢓
Setzt die Zeitzone des Cubes.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
timezone Zeitzone String notwendig
Beispiel
http://192.168.1.0/api/system/timezone?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&timezone=Atlantic/St_Helena
Antwort
{
    "id": 0,
    "status": "success"
}

/system/expertMode - expertMode setzen

🢓
Aktivert oder deaktiviert den expertMode, der für bestimmte zusätzliche Einstellungen benötigt wird.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
allowed expertMode ein Boolean required
Beispiel
http://192.168.1.0/api/system/expertMode?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&allowed=true
Antwort
{
    "id": 0,
    "status": "success"
}

/logging/entries - Liefert eine Statistik

🢓
Liefert die states aller Geräte innerhalb der letzten Woche oder in den definierten Zeiträumen.
Parameter
Name Beschreibung Typ Erforderlich
apiKey API Key von /link String notwendig
circuitIds Nach Bereichen filtern Liste von circuitIds nicht notwendig
timeFilters Nach Zeitpunkten filtern Liste von unix timestamps im Format: „startDate1,endDate1;startDate2,endDate2“ nicht notwendig
deviceIds Nach deviceIds filtern Liste von deviceIds nicht notwendig
stateTypeIds Nach stateTypes filtern Liste von stateTypes nicht notwendig
sort Sortierung (aufsteigend default) [asc/desc] nicht notwendig
Beispiel
http://192.168.1.0/api/circuit/log?apiKey={abcd1234-ab12-ab12-ab12-abcdef123456}&circuitIds={abcd1234-ab12-ab12-ab12-abcdef123456},{wxyz9876-yz98-yz98-yz98-uvwxyz987654}&timeFilters=1566224417,1566224450;1566204417,1566210000&deviceIds={abcd1234-ab12-ab12-ab12-abcdef123456},{wxyz9876-yz98-yz98-yz98-uvwxyz987654}&stateTypeIds=chargingLess,reachable&sort=desc
Antwort
{
    "id": 0,
    "params": {
        "history": [
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1562871030000,
                "value": "1563180600"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1562871030000,
                "value": "1563181140"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563181170000,
                "value": "1563227400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563181170000,
                "value": "1563227940"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563227970000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563227970000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563235377000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563235410000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563235410000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563237180000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563290255000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563290262000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563290262000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563292080000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563434285000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563434292000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563434293000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563436140000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448660000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448675000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448675000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448684000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448685000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563450540000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563455520000,
                "value": "false"
            }
        ]
    },
    "status": "success"
}

Websocket API Dokumentation

🢓

Allgemein

🢓
WEBSOCKET REQUEST
Port: 3810
Format: json
ws://*IP*:3810
Groß und Kleinschreibung beachten

NOTIFICATIONS
Der Cube sendet Benachrichtigungen über den Websocket. Eine Notification beinhaltet die id -1 und den Wert „notification“ mit Information über die erfolgten Änderungen.
Beispiel
{
  "id": -1,
  "notification": "Device.stateChanged",
  "params": {
    "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "type": "rssi",
    "value": -41
  }
}

Link.all - liefert einen neuen apiKey

🢓
Liefert einen neuen apiKey, wenn der Zugriff auf den Cube erlaubt ist. Das Drücken des Knopfes auf dem Cube oder die API Methode System.allowlink erlaubt einmaligen Zugriff für 15 Minuten.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "method": "Link.all"
}
Antwort
{
"apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
"id": 1,
"status": "success"
}

System.update - Plant das nächste Update

🢓
Plant das nächste Update ein, startet nicht sofort.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "method": "System.update"
}
Antwort
{
"id": 1,
"status": "success"
}

Device.all - Informationen über alle Geräte

🢓
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
typeIds Gerätetyp Filter (mehrere möglich) [valve/moistureOutdoor] nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.all",
  "params": {
    "typeIds": [
      "valve"
    ]
  }
}
Antwort
{
  "id": 1,
  "params": {
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    }
  },
  "status": "success"
}

Device.status - Informationen über ein Gerät

🢓
Liefert Informationen über ein Gerät.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.status",
  "params": {
    "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
  "id": 1,
  "params": {
    "device": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
  "status": "success"
}

Device.free - nicht zugewiesene Geräte

🢓
Liefert alle Geräte, die keinem Bereich zugewiesen sind.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
typeIds Gerätetyp Filter (mehrere möglich) [valve/moistureOutdoor] nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.free",
  "params": {
    "typeIds": [
      "valve"
    ]
  }
}
Antwort
{
  "id": 1,
  "params": {
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    },
    "{abcd1234-ab12-ab12-ab12-abcdef123456};1": {
      "channel": 1,
      "deviceTypeId": "moistureOutdoor",
      "firmware": "1.34.0",
      "id": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
      "ipv6": "fe80::211:7d00:30:abcd%zmd0",
      "lastUpdate": 0,
      "stateTypes": {
        "0": {
          "type": "moisture",
          "value": 0
        },
        "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
        }
      }
    }
  },
  "status": "success"
}

Device.remove - Löscht ein Gerät

🢓
Löscht ein Gerät vom Cube.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.remove",
  "params": {
    "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
  "id": 1,
  "status": "success"
}

Device.teachin - Lernt ein Gerät ein

🢓
Verbindet den Cube mit einem Gerät, das mit dem Magneten aktiviert wurde.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.teachin"
}
Antwort
{
  "id": 1,
  "status": "success"
}

Device.highlight - Aktiviere LED eines Gerätes

🢓
Aktiviert die LED auf dem gewählten Gerät.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
deviceId ID des Gerätes String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Device.highlight",
  "params": {
    "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
  "id": 1,
  "status": "success"
}

Circuit.all - Alle Bereiche

🢓
Liefert Informationen über alle Bereiche.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.all"
}
Antwort
{
    "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"
}

Circuit.status - Ein Bereich

🢓
Liefert Informationen über einen Bereich, analog zu /all .
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.status",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
    "id": 1,
    "params": {
        "circuit": {
            "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"
}

Circuit.types - Alle möglichen Typen

🢓
Liefert alle möglichen Typen für Bodenbeschaffenheit, Bewässerungsgeräte, Pflanzentyp und Lage.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.types"
}
Antwort
{
    "id": 1,
    "params": {
        "irrigationType": {
            "Drip": 2,
            "Hose": 3,
            "Sprinkler": 1,
            "UpSprinkler": 0
        },
        "locationType": {
            "Covered": 1,
            "Glasshouse": 2,
            "Open": 0
        },
        "plantType": {
            "Gras": 0,
            "Hedge": 1,
            "Individual": 4,
            "Patch": 2,
            "Tree": 3
        },
        "soilType": {
            "Loamy": 0,
            "LoamySandy": 2,
            "Sandy": 1,
            "Unknown": 3
        }
    },
    "status": "success"
}

Circuit.log - Liefert eine Statistik

🢓
Liefert die states aller Geräte innerhalb der letzten Woche oder in den definierten Zeiträumen.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
timeFilters Nach Zeitpunkten filtern Liste von unix timestamps im Format: „startDate1,endDate1;startDate2,endDate2“ nicht notwendig
deviceIds Nach deviceIds filtern Liste von deviceIds nicht notwendig
stateTypeIds Nach stateTypes filtern Liste von stateTypes nicht notwendig
sort Sortierung (aufsteigend default) [asc/desc] nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.log",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "timeFilters": [
        {"startDate": 1566224417, "endDate": 1566224450},
        {"startDate": 1566204417, "endDate": 1566210000}
    ],
    "deviceIds": [
        "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "{wxyz9876-yz98-yz98-yz98-uvwxyz987654}"
    ],
    "stateTypeIds": [
        "chargingLess",
        "reachable"
    ],
    "sort": "desc"
  }
}
Antwort
{
    "id": 1,
    "params": {
        "history": [
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1562871030000,
                "value": "1563180600"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1562871030000,
                "value": "1563181140"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563181170000,
                "value": "1563227400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563181170000,
                "value": "1563227940"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563227970000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563227970000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563235377000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563235410000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563235410000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563237180000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563290255000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563290262000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563290262000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563292080000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563434285000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563434292000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563434293000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563436140000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448660000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448675000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448675000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448684000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448685000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563450540000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563455520000,
                "value": "false"
            }
        ]
    },
    "status": "success"
}

Circuit.add - Fügt einen Bereich hinzu

🢓
Fügt einen neuen Bereich hinzu.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
valves Liste von valveIds für den Bereich Liste von valveIds notwendig
sensorId ID des Sensors für den Bereich String notwendig
name Name des Bereiches String notwendig
borderTop Obere Feuchtigkeitsgrenze in Prozent String nicht notwendig
borderBottom Untere Feuchtigkeitsgrenze in Prozent String nicht notwendig
automaticMode Automatische Bewässerung Boolean nicht notwendig
considerMower Externen Rasenmäher berücksichtigen Boolean nicht notwendig
considerWeather Externen Wetterservice berücksichtigen – expertMode muss auf true gesetzt sein Boolean not required
considerCharge Ladedauer für die Funktion der Geräte berücksichtigen expertMode muss auf true gesetzt sein Boolean not required
irrigationType Bewässerungstyp setzen [UpSprinkler/Sprinkler/Drip/Hose] nicht notwendig
plantType Pflanzentyp setzen [Gras/Hedge/Patch/Tree/Individual] nicht notwendig
soilType Bodentyp setzen [Loamy/Sandy/LoamySandy/Unknown] nicht notwendig
locationType Lage setzen [Open/Covered/Glasshouse] nicht notwendig
valveStaggering Staffelung ein Boolean nicht notwendig
day0 Bewässerungszeiten für Montag String nicht notwendig
day1 Bewässerungszeiten für Dienstag String nicht notwendig
day2 Bewässerungszeiten für Mittwoch String nicht notwendig
day3 Bewässerungszeiten für Donnerstag String nicht notwendig
day4 Bewässerungszeiten für Freitag String nicht notwendig
day5 Bewässerungszeiten für Samstag String nicht notwendig
day6 Bewässerungszeiten für Sonntag String nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.add",
  "params": {
    "valves": [
        "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "{wxyz9876-yz98-yz98-yz98-uvwxyz987654}"
    ],
    "sensorId": "0",
    "name": "Flowers",
    "borderTop": 70,
    "borderBottom": 30,
    "automaticMode": true,
    "considerMower": false,
    "irrigationType": "UpSprinkler",
    "plantType": "Gras",
    "soilType": "Loamy",
    "locationType": "Open",
    "valveStaggering": true,
    "day0": "10:50-10:59;23:50-23:55",
    "day3": "12:50-13:00",
    "day4": "08:00-10:00"
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Circuit.edit - Bereich bearbeiten

🢓
Bearbeitet einen Bereich.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
valves Liste von valveIds für den Bereich Liste von valveIds nicht notwendig
sensorId ID des Sensors für den Bereich String nicht notwendig
name Name des Bereiches String nicht notwendig
borderTop Obere Feuchtigkeitsgrenze in Prozent String nicht notwendig
borderBottom Untere Feuchtigkeitsgrenze in Prozent String nicht notwendig
automaticMode Automatische Bewässerung Boolean nicht notwendig
considerMower Externen Rasenmäher berücksichtigen Boolean nicht notwendig
considerWeather Externen Wetterservice berücksichtigen – expertMode muss auf true gesetzt sein Boolean not required
considerCharge Ladedauer für die Funktion der Geräte berücksichtigen expertMode muss auf true gesetzt sein Boolean not required
irrigationType Bewässerungstyp setzen [UpSprinkler/Sprinkler/Drip/Hose] nicht notwendig
plantType Pflanzentyp setzen [Gras/Hedge/Patch/Tree/Individual] nicht notwendig
soilType Bodentyp setzen [Loamy/Sandy/LoamySandy/Unknown] nicht notwendig
locationType Lage setzen [Open/Covered/Glasshouse] nicht notwendig
valveStaggering Staffelung ein Boolean nicht notwendig
day0 Bewässerungszeiten für Montag String nicht notwendig
day1 Bewässerungszeiten für Dienstag String nicht notwendig
day2 Bewässerungszeiten für Mittwoch String nicht notwendig
day3 Bewässerungszeiten für Donnerstag String nicht notwendig
day4 Bewässerungszeiten für Freitag String nicht notwendig
day5 Bewässerungszeiten für Samstag String nicht notwendig
day6 Bewässerungszeiten für Sonntag String nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.edit",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "valves": [
        "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "{wxyz9876-yz98-yz98-yz98-uvwxyz987654}"
    ],
    "sensorId": "0",
    "name": "Flowers",
    "borderTop": 70,
    "borderBottom": 30,
    "automaticMode": true,
    "considerMower": false,
    "irrigationType": "UpSprinkler",
    "plantType": "Gras",
    "soilType": "Loamy",
    "locationType": "Open",
    "valveStaggering": true,
    "day0": "10:50-10:59;23:50-23:55",
    "day3": "12:50-13:00",
    "day4": "08:00-10:00"
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Circuit.irrigation - Bewässerung starten/stoppen

🢓
Startet oder stoppt eine Bewässerung, default für 10 Minuten.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
mode Start oder Stopp [start/stop] notwendig
duration Dauer der Bewässerung in Minuten String nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.irrigation",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "mode": "start",
    "duration": 15
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Circuit.remove - Bereich löschen

🢓
Löscht einen Bereich.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.remove",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Circuit.winter - Wintermodus aktivieren/deaktivieren

🢓
Aktiviert oder deaktiviert den Wintermodus.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches String notwendig
winter Wintermodus ein/aus Boolean notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Circuit.winter",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "winter": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Extern.status - Daten von Externen Geräten

🢓
Liefert derzeitige Daten von den externen Geräten „rain“, „temperature“, „wind“ und „mower“.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.status",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}"
  }
}
Antwort
{
    "id": 1,
    "params": {
        "mower": null,
        "rain": false,
        "temperature": 20,
        "wind":null
    },
    "status": "success"
}

Extern.rain - Informiert MIYO über Regen

🢓
Informiert MIYO über Regen. Wenn der Wert auf true gesetzt wird berücksichtigt der Cube Regenwetter, wenn er auf false gesetzt ist berücksichtigt er das Wetter der Cloud.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
rain Regen setzen Boolean notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.rain",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "rain": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Extern.wind - Schickt die Windgeschwindigkeit

🢓
Schickt die Windgeschwindigkeit. Das Limit für die Windgeschwindigkeit, um die Bewässerung zu stoppen ist 40.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
wind Windgeschwindigkeit Integer notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.wind",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "wind": 20
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Extern.temperature- Schickt die Temperatur

🢓
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
temperature Temperatur in Grad Celsius Integer notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.temperature",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "temperature": 20
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Extern.mower - Schickt dass ein Rasenmäher läuft

🢓
Schickt dass ein Rasenmäher gerade läuft/nicht läuft. Der Wert considerMower in /circuit/edit muss auf true gesetzt sein.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
running Rasenmäher läuft Boolean notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.mower",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "running": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Extern.block - Bereich blockieren

🢓
Erlaubt oder verbietet Bewässerung für einen Bereich z.B. während einer Party.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitId ID des Bereiches der geblockt werden soll String notwendig
block Blockieren ein/aus Boolean notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Extern.block",
  "params": {
    "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
    "block": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.status - Informationen über den Cube

🢓
Liefert Informationen über den Cube.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.status"
}
Antwort
{
    "id": 1,
    "params": {
        "cloudAllowed": true,
        "expertMode": true,
        "lat": "21.271656",
        "linkMode": false,
        "lon": "-157.821612",
        "updateStatus": 0,
        "uuid": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "version": "1.3.5"
    },
    "status": "success"
}

System.time - Aktuelle Zeit

🢓
Liefert die aktuelle lokale Zeit und Zeitzone.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.time"
}
Antwort
{
    "id": 1,
    "params": {
        "clock": {
            "timestamp":1566809253,
            "timezone":"CEST"
        },
        "timestamp": 1566809253,
        "timezone": "CEST"
    },
    "status": "success"
}

System.timezone - Alle Zeitzonen

🢓
Liefert alle Zeitzonen.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.timezone"
}
Antwort
{
    "id": 1,
    "params": {
        "timezones": [  
            "Africa/Abidjan",
            "Africa/Accra",
            "Africa/Addis_Ababa",
            "Africa/Algiers",
            "Africa/Asmara",
            "Africa/Bamako",
            "Africa/Bangui",
            "Africa/Banjul",
            "Africa/Bissau",
            "Africa/Blantyre",
            "Africa/Brazzaville",
            "Africa/Bujumbura",
            "Africa/Cairo",
            "Africa/Casablanca",
            "Africa/Ceuta",
            "Africa/Conakry",
            "Africa/Dakar",
            "Africa/Dar_es_Salaam",
            "Africa/Djibouti",
            "Africa/Douala",
            "Africa/El_Aaiun",
            "Africa/Freetown",
            "Africa/Gaborone",
            "Africa/Harare",
            "Africa/Johannesburg",
            "Africa/Juba",
            "Africa/Kampala",
            "Africa/Khartoum",
            "Africa/Kigali",
            "Africa/Kinshasa",
            "Africa/Lagos",
            "Africa/Libreville",
            "Africa/Lome",
            "Africa/Luanda",
            "Africa/Lubumbashi",
            "Africa/Lusaka",
            "Africa/Malabo",
            "Africa/Maputo",
            "Africa/Maseru",
            "Africa/Mbabane",
            "Africa/Mogadishu",
            "Africa/Monrovia",
            "Africa/Nairobi",
            "Africa/Ndjamena",
            "Africa/Niamey",
            "Africa/Nouakchott",
            "Africa/Ouagadougou",
            "Africa/Porto-Novo",
            "Africa/Sao_Tome",
            "Africa/Tripoli",
            "Africa/Tunis",
            "Africa/Windhoek",
            "America/Adak",
            "America/Anchorage",
            "America/Anguilla",
            "America/Antigua",
            "America/Araguaina",
            "America/Argentina/Buenos_Aires",
            "America/Argentina/Catamarca",
            "America/Argentina/Cordoba",
            "America/Argentina/Jujuy",
            "America/Argentina/La_Rioja",
            "America/Argentina/Mendoza",
            "America/Argentina/Rio_Gallegos",
            "America/Argentina/Salta",
            "America/Argentina/San_Juan",
            "America/Argentina/San_Luis",
            "America/Argentina/Tucuman",
            "America/Argentina/Ushuaia",
            "America/Aruba",
            "America/Asuncion",
            "America/Atikokan",
            "America/Bahia",
            "America/Bahia_Banderas",
            "America/Barbados",
            "America/Belem",
            "America/Belize",
            "America/Blanc-Sablon",
            "America/Boa_Vista",
            "America/Bogota",
            "America/Boise",
            "America/Cambridge_Bay",
            "America/Campo_Grande",
            "America/Cancun",
            "America/Caracas",
            "America/Cayenne",
            "America/Cayman",
            "America/Chicago",
            "America/Chihuahua",
            "America/Costa_Rica",
            "America/Creston",
            "America/Cuiaba",
            "America/Curacao",
            "America/Danmarkshavn",
            "America/Dawson",
            "America/Dawson_Creek",
            "America/Denver",
            "America/Detroit",
            "America/Dominica",
            "America/Edmonton",
            "America/Eirunepe",
            "America/El_Salvador",
            "America/Fort_Nelson",
            "America/Fortaleza",
            "America/Glace_Bay",
            "America/Godthab",
            "America/Goose_Bay",
            "America/Grand_Turk",
            "America/Grenada",
            "America/Guadeloupe",
            "America/Guatemala",
            "America/Guayaquil",
            "America/Guyana",
            "America/Halifax",
            "America/Havana",
            "America/Hermosillo",
            "America/Indiana/Indianapolis",
            "America/Indiana/Knox",
            "America/Indiana/Marengo",
            "America/Indiana/Petersburg",
            "America/Indiana/Tell_City",
            "America/Indiana/Vevay",
            "America/Indiana/Vincennes",
            "America/Indiana/Winamac",
            "America/Inuvik",
            "America/Iqaluit",
            "America/Jamaica",
            "America/Juneau",
            "America/Kentucky/Louisville",
            "America/Kentucky/Monticello",
            "America/Kralendijk",
            "America/La_Paz",
            "America/Lima",
            "America/Los_Angeles",
            "America/Lower_Princes",
            "America/Maceio",
            "America/Managua",
            "America/Manaus",
            "America/Marigot",
            "America/Martinique",
            "America/Matamoros",
            "America/Mazatlan",
            "America/Menominee",
            "America/Merida",
            "America/Metlakatla",
            "America/Mexico_City",
            "America/Miquelon",
            "America/Moncton",
            "America/Monterrey",
            "America/Montevideo",
            "America/Montserrat",
            "America/Nassau",
            "America/New_York",
            "America/Nipigon",
            "America/Nome",
            "America/Noronha",
            "America/North_Dakota/Beulah",
            "America/North_Dakota/Center",
            "America/North_Dakota/New_Salem",
            "America/Ojinaga",
            "America/Panama",
            "America/Pangnirtung",
            "America/Paramaribo",
            "America/Phoenix",
            "America/Port-au-Prince",
            "America/Port_of_Spain",
            "America/Porto_Velho",
            "America/Puerto_Rico",
            "America/Punta_Arenas",
            "America/Rainy_River",
            "America/Rankin_Inlet",
            "America/Recife",
            "America/Regina",
            "America/Resolute",
            "America/Rio_Branco",
            "America/Santarem",
            "America/Santiago",
            "America/Santo_Domingo",
            "America/Sao_Paulo",
            "America/Scoresbysund",
            "America/Sitka",
            "America/St_Barthelemy",
            "America/St_Johns",
            "America/St_Kitts",
            "America/St_Lucia",
            "America/St_Thomas",
            "America/St_Vincent",
            "America/Swift_Current",
            "America/Tegucigalpa",
            "America/Thule",
            "America/Thunder_Bay",
            "America/Tijuana",
            "America/Toronto",
            "America/Tortola",
            "America/Vancouver",
            "America/Whitehorse",
            "America/Winnipeg",
            "America/Yakutat",
            "America/Yellowknife",
            "Antarctica/Casey",
            "Antarctica/Davis",
            "Antarctica/DumontDUrville",
            "Antarctica/Macquarie",
            "Antarctica/Mawson",
            "Antarctica/McMurdo",
            "Antarctica/Palmer",
            "Antarctica/Rothera",
            "Antarctica/Syowa",
            "Antarctica/Troll",
            "Antarctica/Vostok",
            "Arctic/Longyearbyen",
            "Asia/Aden",
            "Asia/Almaty",
            "Asia/Amman",
            "Asia/Anadyr",
            "Asia/Aqtau",
            "Asia/Aqtobe",
            "Asia/Ashgabat",
            "Asia/Atyrau",
            "Asia/Baghdad",
            "Asia/Bahrain",
            "Asia/Baku",
            "Asia/Bangkok",
            "Asia/Barnaul",
            "Asia/Beirut",
            "Asia/Bishkek",
            "Asia/Brunei",
            "Asia/Chita",
            "Asia/Choibalsan",
            "Asia/Colombo",
            "Asia/Damascus",
            "Asia/Dhaka",
            "Asia/Dili",
            "Asia/Dubai",
            "Asia/Dushanbe",
            "Asia/Famagusta",
            "Asia/Gaza",
            "Asia/Hebron",
            "Asia/Ho_Chi_Minh",
            "Asia/Hong_Kong",
            "Asia/Hovd",
            "Asia/Irkutsk",
            "Asia/Jakarta",
            "Asia/Jayapura",
            "Asia/Jerusalem",
            "Asia/Kabul",
            "Asia/Kamchatka",
            "Asia/Karachi",
            "Asia/Kathmandu",
            "Asia/Khandyga",
            "Asia/Kolkata",
            "Asia/Krasnoyarsk",
            "Asia/Kuala_Lumpur",
            "Asia/Kuching",
            "Asia/Kuwait",
            "Asia/Macau",
            "Asia/Magadan",
            "Asia/Makassar",
            "Asia/Manila",
            "Asia/Muscat",
            "Asia/Nicosia",
            "Asia/Novokuznetsk",
            "Asia/Novosibirsk",
            "Asia/Omsk",
            "Asia/Oral",
            "Asia/Phnom_Penh",
            "Asia/Pontianak",
            "Asia/Pyongyang",
            "Asia/Qatar",
            "Asia/Qostanay",
            "Asia/Qyzylorda",
            "Asia/Riyadh",
            "Asia/Sakhalin",
            "Asia/Samarkand",
            "Asia/Seoul",
            "Asia/Shanghai",
            "Asia/Singapore",
            "Asia/Srednekolymsk",
            "Asia/Taipei",
            "Asia/Tashkent",
            "Asia/Tbilisi",
            "Asia/Tehran",
            "Asia/Thimphu",
            "Asia/Tokyo",
            "Asia/Tomsk",
            "Asia/Ulaanbaatar",
            "Asia/Urumqi",
            "Asia/Ust-Nera",
            "Asia/Vientiane",
            "Asia/Vladivostok",
            "Asia/Yakutsk",
            "Asia/Yangon",
            "Asia/Yekaterinburg",
            "Asia/Yerevan",
            "Atlantic/Azores",
            "Atlantic/Bermuda",
            "Atlantic/Canary",
            "Atlantic/Cape_Verde",
            "Atlantic/Faroe",
            "Atlantic/Madeira",
            "Atlantic/Reykjavik",
            "Atlantic/South_Georgia",
            "Atlantic/St_Helena",
            "Atlantic/Stanley",
            "Australia/Adelaide",
            "Australia/Brisbane",
            "Australia/Broken_Hill",
            "Australia/Currie",
            "Australia/Darwin",
            "Australia/Eucla",
            "Australia/Hobart",
            "Australia/Lindeman",
            "Australia/Lord_Howe",
            "Australia/Melbourne",
            "Australia/Perth",
            "Australia/Sydney",
            "Europe/Amsterdam",
            "Europe/Andorra",
            "Europe/Astrakhan",
            "Europe/Athens",
            "Europe/Belgrade",
            "Europe/Berlin",
            "Europe/Bratislava",
            "Europe/Brussels",
            "Europe/Bucharest",
            "Europe/Budapest",
            "Europe/Busingen",
            "Europe/Chisinau",
            "Europe/Copenhagen",
            "Europe/Dublin",
            "Europe/Gibraltar",
            "Europe/Guernsey",
            "Europe/Helsinki",
            "Europe/Isle_of_Man",
            "Europe/Istanbul",
            "Europe/Jersey",
            "Europe/Kaliningrad",
            "Europe/Kiev",
            "Europe/Kirov",
            "Europe/Lisbon",
            "Europe/Ljubljana",
            "Europe/London",
            "Europe/Luxembourg",
            "Europe/Madrid",
            "Europe/Malta",
            "Europe/Mariehamn",
            "Europe/Minsk",
            "Europe/Monaco",
            "Europe/Moscow",
            "Europe/Oslo",
            "Europe/Paris",
            "Europe/Podgorica",
            "Europe/Prague",
            "Europe/Riga",
            "Europe/Rome",
            "Europe/Samara",
            "Europe/San_Marino",
            "Europe/Sarajevo",
            "Europe/Saratov",
            "Europe/Simferopol",
            "Europe/Skopje",
            "Europe/Sofia",
            "Europe/Stockholm",
            "Europe/Tallinn",
            "Europe/Tirane",
            "Europe/Ulyanovsk",
            "Europe/Uzhgorod",
            "Europe/Vaduz",
            "Europe/Vatican",
            "Europe/Vienna",
            "Europe/Vilnius",
            "Europe/Volgograd",
            "Europe/Warsaw",
            "Europe/Zagreb",
            "Europe/Zaporozhye",
            "Europe/Zurich",
            "Indian/Antananarivo",
            "Indian/Chagos",
            "Indian/Christmas",
            "Indian/Cocos",
            "Indian/Comoro",
            "Indian/Kerguelen",
            "Indian/Mahe",
            "Indian/Maldives",
            "Indian/Mauritius",
            "Indian/Mayotte",
            "Indian/Reunion",
            "Pacific/Apia",
            "Pacific/Auckland",
            "Pacific/Bougainville",
            "Pacific/Chatham",
            "Pacific/Chuuk",
            "Pacific/Easter",
            "Pacific/Efate",
            "Pacific/Enderbury",
            "Pacific/Fakaofo",
            "Pacific/Fiji",
            "Pacific/Funafuti",
            "Pacific/Galapagos",
            "Pacific/Gambier",
            "Pacific/Guadalcanal",
            "Pacific/Guam",
            "Pacific/Honolulu",
            "Pacific/Kiritimati",
            "Pacific/Kosrae",
            "Pacific/Kwajalein",
            "Pacific/Majuro",
            "Pacific/Marquesas",
            "Pacific/Midway",
            "Pacific/Nauru",
            "Pacific/Niue",
            "Pacific/Norfolk",
            "Pacific/Noumea",
            "Pacific/Pago_Pago",
            "Pacific/Palau",
            "Pacific/Pitcairn",
            "Pacific/Pohnpei",
            "Pacific/Port_Moresby",
            "Pacific/Rarotonga",
            "Pacific/Saipan",
            "Pacific/Tahiti",
            "Pacific/Tarawa",
            "Pacific/Tongatapu",
            "Pacific/Wake",
            "Pacific/Wallis",
            "UTC",
            "UTC+00:00",
            "UTC+01:00",
            "UTC+02:00",
            "UTC+03:00",
            "UTC+03:30",
            "UTC+04:00",
            "UTC+04:30",
            "UTC+05:00",
            "UTC+05:30",
            "UTC+05:45",
            "UTC+06:00",
            "UTC+06:30",
            "UTC+07:00",
            "UTC+08:00",
            "UTC+09:00",
            "UTC+09:30",
            "UTC+10:00",
            "UTC+11:00",
            "UTC+12:00",
            "UTC+13:00",
            "UTC+14:00",
            "UTC-00:00",
            "UTC-01:00",
            "UTC-02:00",
            "UTC-03:00",
            "UTC-03:30",
            "UTC-04:00",
            "UTC-04:30",
            "UTC-05:00",
            "UTC-06:00",
            "UTC-07:00",
            "UTC-08:00",
            "UTC-09:00",
            "UTC-10:00",
            "UTC-11:00",
            "UTC-12:00",
            "UTC-13:00",
            "UTC-14:00"
        ]
    },
    "status": "success"
}

System.weather - Aktuelles Wetter

🢓
Liefert das aktuelle Wetter.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.weather"
}
Antwort
{
    "id": 1,
    "params": {
        "weather": {
            "description": "light intensity shower rain",
            "forecast": true,
            "icon": "09d",
            "temperature":24
        }
    },
    "status": "success"
}

System.reboot - Cube Neustart

🢓
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.reboot"
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.reset - Cube zurücksetzen

🢓
Cube wird auf Werkeinstellungen zurückgesetzt.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.reset"
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.position - GPS Position setzen

🢓
Setzt die GPS Position des Cubes (wird für die Wettervorhersage gebraucht).
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
lon Longitude String notwendig
lat Latitude String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.position",
  "params": {
    "lat": 21.271656,
    "lon": -157.821612
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.allowlink - Linking erlauben

🢓
Erlaubt einem neuen Benutzer sich mit dem Cube zu verbinden, wie beim Drücken des Cube Knopfes.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.allowlink"
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.cloud- Cloud Verbindung aktivieren/deaktivieren

🢓
Aktiviert oder deaktiviert die Cloud Verbindung.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
allowed Cloud allowed Boolean notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.cloud",
  "params": {
    "allowed": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.timezone - Zeitzone setzen

🢓
Setzt die Zeitzone des Cubes.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
timezone Zeitzone String notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.timezone",
  "params": {
    "timezone": "Atlantic/St_Helena"
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

System.expertMode - expertMode setzen

🢓
Aktivert oder deaktiviert den expertMode, welcher für bestimmte zusätzliche Einstellungen benötigt wird.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
allowed expertMode ein Boolean required
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "System.expertMode",
  "params": {
    "allowed": true
  }
}
Antwort
{
    "id": 1,
    "status": "success"
}

Logging.entries - Liefert eine Statistik

🢓
Liefert die states aller Geräte innerhalb der letzten Woche oder in den definierten Zeiträumen.
Parameter
Name Beschreibung Typ Erforderlich
id Der Cube sendet diese ID zurück Integer nicht notwendig
apiKey API Key von Link.all String notwendig
method Art der Anfrage String notwendig
circuitIds Nach Bereichen filtern Liste von circuitIds nicht notwendig
timeFilters Nach Zeitpunkten filtern Liste von unix timestamps im Format: „startDate1,endDate1;startDate2,endDate2“ nicht notwendig
deviceIds Nach deviceIds filtern Liste von deviceIds nicht notwendig
stateTypeIds Nach stateTypes filtern Liste von stateTypes nicht notwendig
sort Sortierung (aufsteigend default) [asc/desc] nicht notwendig
Beispiel
{
  "id": 1,
  "apiKey": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
  "method": "Logging.entries",
  "params": {
    "circuitIds": [
        "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "{wxyz9876-yz98-yz98-yz98-uvwxyz987654}"
    ],
    "timeFilters": [
        {"startDate": 1566224417, "endDate": 1566224450},
        {"startDate": 1566204417, "endDate": 1566210000}
    ],
    "deviceIds": [
        "{abcd1234-ab12-ab12-ab12-abcdef123456}",
        "{wxyz9876-yz98-yz98-yz98-uvwxyz987654}"
    ],
    "stateTypeIds": [
        "chargingLess",
        "reachable"
    ],
    "sort": "desc"
  }
}
Antwort
{
    "id": 1,
    "params": {
        "history": [
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1562871030000,
                "value": "1563180600"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1562871030000,
                "value": "1563181140"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563181170000,
                "value": "1563227400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563181170000,
                "value": "1563227940"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563227970000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563227970000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563235377000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563235410000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563235410000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563237180000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563290255000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563290262000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563290262000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563292080000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563434285000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563434292000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563434293000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563436140000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448660000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448675000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448675000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448684000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "chargingLess",
                "timestamp": 1563448685000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextStart",
                "timestamp": 1563448690000,
                "value": "1563461400"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "irrigationNextEnd",
                "timestamp": 1563448690000,
                "value": "1563475800"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563450540000,
                "value": "false"
            },
            {
                "circuitId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "deviceId": "{abcd1234-ab12-ab12-ab12-abcdef123456}",
                "source": "LoggingSourceState",
                "stateTypeId": "reachable",
                "timestamp": 1563455520000,
                "value": "false"
            }
        ]
    },
    "status": "success"
}

Statetypes

🢓

Geräte und Statetypes

🢓
Parameter
Name Beschreibung Typ Erforderlich
valveInitialClose Ventil soll geschlossen werden Boolean
valveStatus Ventil ist offen Boolean
openValve Ventil soll geöffnet werden Boolean
lastIrrigationStart Unix Timestamp vom letzten Bewässerungsstart Integer
lastIrrigationEnd Unix Timestamp vom letzen Bewässerungsende Integer
lastIrrigationDuration Dauer der letzten Bewässerung Integer
rssi Signalstärke des Gerätes Integer
reachable Gerät ist vom Cube erreichbar Boolean
solarVoltage Solarspannung des Gerätes Integer
sunWithinWeek Aktuell immer true Boolean
lowPower Gerät hat wenig Akku Boolean
otauPossible Installation eines Updates ist möglich Boolean
otauProgress Fortschritt des Updates Integer
otauStatus Update Status des Gerätes String
winterMode Winter Modus aktiviert Boolean
chargingDurationDay Ladedauer pro Tag innerhalb der letzten Woche Integer
charging Gerät lädt Boolean
chargingLess Gerät lädt nicht genug Boolean
lastResetTime Zeit des letzten Reset des Gerätes Integer
lastResetType Typ des letzten Reset des Gerätes String
moisture Feuchtigkeit des Sensors % Integer
brightness Helligkeit des Sensors in lux Integer
temperature Temperatur des Sensors (Bodennahe) in °C Integer
frequency Frequenz des Feuchtigkeitssensors Integer
irrigationNecessary Bewässerung benötigt (Boden sehr trocken) Boolean
irrigationPossible Bewässerung möglich (Boden trocken) Boolean
temperatureOffset Temperatur Offset des Sensors Integer