nymea/plugins/deviceplugins/netatmo/devicepluginnetatmo.json

336 lines
15 KiB
JSON

{
"name": "Netatmo",
"idName": "Netatmo",
"id": "69d14951-0c02-4877-bcef-dffdf48b7ccb",
"vendors": [
{
"name": "Netatmo",
"idName": "netatmo",
"id": "4b46b4ed-5ec9-4aa4-afc3-92d3f80e6351",
"deviceClasses": [
{
"id": "728d5a67-27a3-400e-b83c-2765f5196f69",
"idName": "connection",
"name": "Netatmo Connection",
"critcalStateTypeId": "2f79bc1d-27ed-480a-b583-728363c83ea6",
"deviceIcon": "Network",
"interfaces": ["gateway"],
"basicTags": [
"Service",
"Gateway",
"Weather"
],
"createMethods": ["user"],
"paramTypes": [
{
"id": "a97d256c-e159-4aa0-bc71-6bd7cd0688b3",
"idName": "name",
"name": "name",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "763c2c10-dee5-41c8-9f7e-ded741945e73",
"idName": "username",
"name": "username",
"type": "QString",
"index": 1,
"inputType": "TextLine"
},
{
"id": "c0d892d6-f359-4782-9d7d-8f74a3b53e3e",
"idName": "password",
"name": "password",
"type": "QString",
"index": 2,
"inputType": "Password"
}
],
"stateTypes": [
{
"id": "2f79bc1d-27ed-480a-b583-728363c83ea6",
"idName": "available",
"name": "available",
"eventTypeName": "available changed",
"index": 0,
"type": "bool",
"defaultValue": false
}
]
},
{
"id": "1c809049-04f2-4710-99f5-6ed379a2934f",
"idName": "indoor",
"name": "Indoor Station",
"deviceIcon": "Thermometer",
"basicTags": [
"Device",
"Weather",
"Sensor"
],
"primaryStateTypeId": "3cb25538-e463-40ae-92f9-8f34f0c06b92",
"createMethods": ["auto"],
"paramTypes": [
{
"id": "a97d256c-e159-4aa0-bc71-6bd7cd0688b3",
"idName": "name",
"name": "name",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "157d470a-e579-4d0e-b879-6b5bfa8e34ae",
"idName": "mac",
"name": "mac address",
"type": "QString",
"index": 1,
"inputType": "TextLine",
"readOnly": true
},
{
"id": "c15e5dea-10f2-4c96-afab-649872f43d5c",
"idName": "connection",
"name": "connection",
"type": "QString",
"index": 2,
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
{
"id": "50da9f6b-c350-401c-a72e-2e4036f3975d",
"idName": "updateTime",
"name": "last update",
"eventTypeName": "last update changed",
"index": 0,
"unit": "UnixTime",
"type": "int",
"ruleRelevant": false,
"eventRuleRelevant": false,
"defaultValue": 0
},
{
"id": "3cb25538-e463-40ae-92f9-8f34f0c06b92",
"idName": "temperature",
"name": "temperature",
"eventTypeName": "temperature changed",
"index": 1,
"unit": "DegreeCelsius",
"graphRelevant": true,
"type": "double",
"defaultValue": 0
},
{
"id": "ae8bb713-8805-4efd-89a1-bca44a1f1690",
"idName": "temperatureMin",
"name": "temperature minimum",
"eventTypeName": "temperature minimum changed",
"index": 2,
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
},
{
"id": "dd30507e-037b-4c74-bcca-e04b94c7c5fe",
"idName": "temperatureMax",
"name": "temperature maximum",
"eventTypeName": "temperature maximum changed",
"index": 3,
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
},
{
"id": "e2db5f01-196a-48d1-8874-6b8cbfe0d8c9",
"idName": "humidity",
"name": "humidity",
"eventTypeName": "humidity changed",
"index": 4,
"graphRelevant": true,
"unit": "Percentage",
"type": "int",
"defaultValue": 0
},
{
"id": "03b0a7b7-987d-4d3b-b3f0-21d9f92ad326",
"idName": "pressure",
"name": "pressure",
"eventTypeName": "pressure changed",
"index": 5,
"unit": "MilliBar",
"graphRelevant": true,
"type": "double",
"defaultValue": 0
},
{
"id": "906cea9d-1daf-4e9c-90b9-e40f43052a34",
"idName": "noise",
"name": "noise",
"eventTypeName": "noise changed",
"index": 6,
"graphRelevant": true,
"unit": "Dezibel",
"type": "int",
"defaultValue": 0
},
{
"id": "e5710bd1-79fa-4bd4-9052-8416aae909b9",
"idName": "co2",
"name": "co2",
"eventTypeName": "co2 changed",
"index": 7,
"graphRelevant": true,
"unit": "PartsPerMillion",
"type": "int",
"defaultValue": 0
},
{
"id": "6ea906d4-5740-454d-a730-6fdb9fa0d624",
"idName": "wifiStrength",
"name": "wifi signal strength",
"eventTypeName": "wifi signal strength changed",
"index": 8,
"ruleRelevant": false,
"eventRuleRelevant": false,
"unit": "Percentage",
"type": "int",
"defaultValue": 0
}
]
},
{
"id": "6cc01d62-7317-4ec4-8ac4-a4cab762c179",
"idName": "outdoor",
"name": "Outdoor Station",
"deviceIcon": "Thermometer",
"basicTags": [
"Device",
"Weather",
"Sensor"
],
"primaryStateTypeId": "3cb25538-e463-40ae-92f9-8f34f0c06b92",
"createMethods": ["auto"],
"paramTypes": [
{
"id": "a97d256c-e159-4aa0-bc71-6bd7cd0688b3",
"idName": "name",
"name": "name",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "157d470a-e579-4d0e-b879-6b5bfa8e34ae",
"idName": "mac",
"name": "mac address",
"type": "QString",
"index": 1,
"inputType": "TextLine",
"readOnly": true
},
{
"id": "c15e5dea-10f2-4c96-afab-649872f43d5c",
"idName": "connection",
"name": "connection",
"type": "QString",
"index": 2,
"inputType": "TextLine",
"readOnly": true
},
{
"id": "d7a0ec46-760c-4fdc-9753-fe10c86fe1b9",
"idName": "baseStation",
"name": "base station",
"type": "QString",
"index": 3,
"inputType": "TextLine",
"readOnly": true
}
],
"stateTypes": [
{
"id": "50da9f6b-c350-401c-a72e-2e4036f3975d",
"idName": "updateTime",
"name": "last update",
"eventTypeName": "last update changed",
"index": 0,
"unit": "UnixTime",
"ruleRelevant": false,
"eventRuleRelevant": false,
"type": "int",
"defaultValue": 0
},
{
"id": "3cb25538-e463-40ae-92f9-8f34f0c06b92",
"idName": "temperature",
"name": "temperature",
"eventTypeName": "temperature changed",
"graphRelevant": true,
"index": 1,
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
},
{
"id": "ae8bb713-8805-4efd-89a1-bca44a1f1690",
"idName": "temperatureMin",
"name": "temperature minimum",
"eventTypeName": "temperature minimum changed",
"index": 2,
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
},
{
"id": "dd30507e-037b-4c74-bcca-e04b94c7c5fe",
"idName": "temperatureMax",
"name": "temperature maximum",
"eventTypeName": "temperature maximum changed",
"index": 3,
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 0
},
{
"id": "e2db5f01-196a-48d1-8874-6b8cbfe0d8c9",
"idName": "humidity",
"name": "humidity",
"eventTypeName": "humidity changed",
"graphRelevant": true,
"index": 4,
"unit": "Percentage",
"type": "int",
"defaultValue": 0
},
{
"id": "0faa3d08-9004-46fb-a5aa-a59b75e454cc",
"idName": "signalStrength",
"name": "signal strength",
"eventTypeName": "signal strength changed",
"index": 5,
"unit": "Percentage",
"ruleRelevant": false,
"eventRuleRelevant": false,
"type": "int",
"defaultValue": 0
},
{
"id": "15d8fae1-ba47-42e1-994d-530e8017c965",
"idName": "battery",
"name": "battery",
"eventTypeName": "battery changed",
"index": 6,
"unit": "Percentage",
"type": "int",
"defaultValue": 0
}
]
}
]
}
]
}