etm-powersync-plugins/plantcare/devicepluginplantcare.json
2017-07-11 14:14:07 +02:00

119 lines
4.7 KiB
JSON

{
"name": "Plant Care",
"idName": "PlantCare",
"id": "80ea115f-2a9f-49b3-9575-9e36d137c8d6",
"paramTypes": [
{
"id": "138e19bd-a8db-472a-b3a4-f6497ef2e50c",
"idName": "rpl",
"name": "RPL address",
"type": "QString",
"index": 0,
"inputType": "TextLine",
"defaultValue": "fdaa:e9b8:d03a::ff:fe00:1"
}
],
"vendors": [
{
"name": "guh",
"idName": "guh",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"deviceClasses": [
{
"id": "3245db46-5c6f-42d6-9001-753150763385",
"name": "Plant Care",
"idName": "plantCare",
"createMethods": ["discovery"],
"interfaces": ["gateway"],
"basicTags": [
"Device",
"Gateway"
],
"criticalStateTypeId": "8384e07b-8b91-492a-b6c8-e72b325ba0b4",
"paramTypes": [
{
"id": "7ab5f794-459f-45f5-855e-40a76f494e20",
"idName": "host",
"name": "host",
"type": "QString",
"index": 0,
"inputType": "TextLine"
}
],
"stateTypes": [
{
"id": "2b4b5123-14b7-4aa1-9c83-27cef333395d",
"idName": "battery",
"name": "battery voltage",
"eventTypeName": "battery voltage changed",
"index": 0,
"type": "double",
"unit": "Volt",
"defaultValue": 0
},
{
"id": "8a7efda1-b6b7-41c8-ad07-4d892a532d1c",
"idName": "moisture",
"name": "moisture",
"eventTypeName": "moisture changed",
"index": 1,
"type": "int",
"graphRelevant": true,
"unit": "Percentage",
"defaultValue": 0
},
{
"id": "26deeba1-487a-4dee-940a-a3bd48344f33",
"idName": "water",
"name": "water empty",
"eventTypeName": "water empty changed",
"index": 2,
"type": "bool",
"defaultValue": false
},
{
"id": "819aca98-25e5-4733-81e0-5921478b3e89",
"idName": "ledPower",
"name": "led power",
"eventTypeName": "led power changed",
"actionTypeName": "Set reachable",
"index": 3,
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "6c65ae32-18ce-400f-afd6-47fb5b805ccd",
"idName": "waterPump",
"name": "water pump power",
"eventTypeName": "water pump power changed",
"actionTypeName": "Set water pump power",
"index": 4,
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "8384e07b-8b91-492a-b6c8-e72b325ba0b4",
"idName": "reachable",
"name": "reachable",
"eventTypeName": "reachable changed",
"index": 5,
"type": "bool",
"defaultValue": false
}
],
"actionTypes": [
{
"id": "9afbcc80-1c97-4c18-bc08-5209d6297f2e",
"idName": "toggleLed",
"index": 0,
"name": "toggle led"
}
]
}
]
}
]
}