{
    "name": "NetworkDetector",
    "displayName": "Network Detector",
    "id": "8e0f791e-b273-4267-8605-b7c2f55a68ab",
    "vendors": [
        {
            "name": "nymea",
            "displayName": "nymea",
            "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
            "thingClasses": [
                {
                    "id": "bd216356-f1ec-4324-9785-6982d2174e17",
                    "name": "networkDevice",
                    "displayName": "Network Device",
                    "interfaces": [ "presencesensor" ],
                    "createMethods": ["user", "discovery"],
                    "paramTypes": [
                        {
                            "id": "18fd3b05-478a-49cf-b8ae-3c6a98675ccc",
                            "name": "macAddress",
                            "displayName": "MAC address",
                            "type": "QString",
                            "inputType": "MacAddress"
                        }
                    ],
                    "settingsTypes": [
                        {
                            "id": "6c1ec0c8-6a02-4b3c-9064-ee33cfd61fbe",
                            "name": "gracePeriod",
                            "displayName": "Grace period (Minutes)",
                            "type": "uint",
                            "defaultValue": 5
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "acee9260-4d01-471a-85c5-4d6116b35ff1",
                            "name": "address",
                            "displayName": "IP address",
                            "displayNameEvent": "IP address changed",
                            "type": "QString",
                            "defaultValue": "127.0.0.1",
                            "cached": true
                        },
                        {
                            "id": "29c65dcf-090e-4316-8554-68f038a8416f",
                            "name": "hostName",
                            "displayName": "Host name",
                            "displayNameEvent": "Host name changed",
                            "type": "QString",
                            "defaultValue": "",
                            "cached": true
                        },
                        {
                            "id": "395623b2-5b25-4582-803e-61cd6d40844c",
                            "name": "macManufacturerName",
                            "displayName": "MAC manufacturer name",
                            "displayNameEvent": "MAC manufacturer name changed",
                            "type": "QString",
                            "defaultValue": "",
                            "cached": true
                        },
                        {
                            "id": "412f0e24-26e7-450b-8e60-bfaf938ea23e",
                            "name": "networkInterface",
                            "displayName": "Network interface",
                            "displayNameEvent": "Network interface changed",
                            "type": "QString",
                            "defaultValue": "",
                            "cached": true
                        },
                        {
                            "id": "cb43e1b5-4f61-4538-bfa2-c33055c542cf",
                            "name": "isPresent",
                            "displayName": "Device is present",
                            "displayNameEvent": "Device is present changed",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": true
                        },
                        {
                            "id": "b51d54c9-cce1-43f0-a35d-52fc2d8d302c",
                            "name": "lastSeenTime",
                            "displayName": "Last seen time",
                            "displayNameEvent": "Last seen time changed",
                            "type": "int",
                            "unit": "UnixTime",
                            "defaultValue": 0,
                            "cached": true
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "e98793b6-2dad-4090-91db-77f8493b4e45",
                            "name": "ping",
                            "displayName": "Ping device"
                        },
                        {
                            "id": "2ca3f99f-7315-4f17-b48d-99f0c151a62c",
                            "name": "arpRequest",
                            "displayName": "Send ARP request"
                        },
                        {
                            "id": "9797dac5-d99a-4bcf-a99a-5b9356bbce76",
                            "name": "lookupHost",
                            "displayName": "Lookup host name"
                        }
                    ]
                }
            ]
        }
    ]
}
