{
    "name": "TCPCommander",
    "displayName": "Tcp Commander",
    "id": "741b7b0a-0c9c-4c93-be99-0d0bcf5a4643",
    "vendors": [
        {
            "name": "nymea",
            "displayName": "nymea",
            "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
            "thingClasses": [
                {
                    "id": "c67d059f-694f-47cb-8e1d-9e3e6d014c1a",
                    "name": "tcpClient",
                    "displayName": "TCP Client",
                    "createMethods": ["user"],
                    "interfaces": ["outputtrigger", "inputtrigger", "connectable"],
                    "paramTypes": [
                        {
                            "id": "2a3fcb23-931b-4ba1-b134-c49b656c76f7",
                            "name": "ipv4address",
                            "displayName": "IPv4 Address",
                            "type": "QString",
                            "inputType": "IPv4Address",
                            "defaultValue": "127.0.0.1"
                        },
                        {
                            "id": "bee8b151-815a-4159-9d8a-42b76e99b42c",
                            "name": "port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": "22"
                        }
                    ],
                    "stateTypes":[
                        {
                            "id": "725b541a-9e0c-4634-81eb-e415c0b8f025",
                            "name": "connected",
                            "displayName": "Connected",
                            "type": "bool",
                            "defaultValue": false,
                            "displayNameEvent": "Connection status changed"
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "6bc52462-b192-46a4-a6df-92cc5a479c89",
                            "name": "trigger",
                            "displayName": "Send Data",
                            "paramTypes": [
                                {
                                    "id": "6604c852-6b24-4707-b8e5-1ddd8032efcc",
                                    "name": "data",
                                    "displayName": "Data",
                                    "type": "QString",
                                    "inputType": "TextArea",
                                    "defaultValue": ""
                                }
                            ]
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "d4cab21d-5877-465f-be3d-8fb20df0e087",
                            "name": "triggered",
                            "displayName": "Data received",
                            "paramTypes": [
                                {
                                    "id": "9b1ae5d2-aeee-4cee-9695-e770e6f50a2c",
                                    "name": "data",
                                    "displayName": "Data",
                                    "type": "QString"
                                }
                            ]
                        }
                    ]
                },
                {
                    "id": "bc40e84a-69c4-4fd2-beb0-bd65f19aa8ff",
                    "name": "tcpServer",
                    "displayName": "TCP Server",
                    "createMethods": ["user"],
                    "interfaces": ["inputtrigger", "outputtrigger", "connectable"],
                    "paramTypes": [
                        {
                            "id": "88eb227d-13f7-451c-babf-1b141c219fd4",
                            "name": "port",
                            "displayName": "Port",
                            "type": "int",
                            "defaultValue": "22"
                        }
                    ],
                    "stateTypes": [
                        {
                            "id": "a2eb1619-261c-45ee-9587-6b5994633ad0",
                            "name": "connected",
                            "displayName": "Connected",
                            "type": "bool",
                            "defaultValue": false,
                            "cached": false,
                            "displayNameEvent": "Connection status changed"
                        },
                        {
                            "id": "e959417f-55d4-4316-88f4-d3fa29976841",
                            "name": "connectionCount",
                            "displayName": "Connection count",
                            "type": "int",
                            "defaultValue": 0,
                            "cached": false,
                            "displayNameEvent": "Connection count changed"
                        }
                    ],
                    "eventTypes": [
                        {
                            "id": "6d7c6df6-cb61-4d9e-b0d7-37c43911ca4b",
                            "name": "triggered",
                            "displayName": "Data received",
                            "paramTypes": [
                                {
                                    "id": "97d7ee8c-d9db-40b4-9855-4ceecd64c411",
                                    "name": "data",
                                    "displayName": "Data",
                                    "type": "QString"
                                },
                                {
                                    "id": "1f92bde3-4250-431c-abf4-1b3de8c23b27",
                                    "name": "clientIp",
                                    "displayName": "Client IP",
                                    "type": "QString"
                                }
                            ]
                        }
                    ],
                    "actionTypes": [
                        {
                            "id": "be495c14-61a7-4292-b16f-0734b006d10f",
                            "name": "trigger",
                            "displayName": "Send Data",
                            "paramTypes": [
                                {
                                    "id": "ae624855-0356-4859-a42b-1657543c0a5d",
                                    "name": "data",
                                    "displayName": "Data",
                                    "type": "QString",
                                    "inputType": "TextArea",
                                    "defaultValue": ""
                                },
                                {
                                    "id": "31182d99-26f1-48e1-8b47-38fe01822125",
                                    "name": "clientIp",
                                    "displayName": "Client IP",
                                    "type": "QString",
                                    "defaultValue": "0.0.0.0"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}
