292 lines
12 KiB
JSON
292 lines
12 KiB
JSON
{
|
|
"_comment": "Nouvelles ThingClasses à ajouter dans le plugin d'intégration (ex: integrationpluginetm.json)",
|
|
"_note": "UUIDs générés de façon standard — ne pas modifier après déploiement",
|
|
|
|
"newThingClasses": [
|
|
|
|
{
|
|
"_section": "═══════════════════════════════════════════════════",
|
|
"_section": "POMPE À CHALEUR (Heat Pump)",
|
|
"_section": "═══════════════════════════════════════════════════"
|
|
},
|
|
{
|
|
"name": "heatPump",
|
|
"displayName": "Pompe à chaleur",
|
|
"id": "b5a8f3d2-4c1e-4a9f-8b2d-3e6c0f1d5a7b",
|
|
"createMethods": ["user", "discovery"],
|
|
"interfaces": ["heatpump", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
|
|
"name": "ipAddress",
|
|
"displayName": "Adresse IP",
|
|
"type": "QString",
|
|
"inputType": "IPv4Address",
|
|
"defaultValue": "192.168.1.200"
|
|
},
|
|
{
|
|
"id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
|
|
"name": "port",
|
|
"displayName": "Port Modbus TCP",
|
|
"type": "uint",
|
|
"defaultValue": 502
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
|
|
"name": "connected",
|
|
"displayName": "Connecté",
|
|
"type": "bool",
|
|
"cached": false,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
|
"name": "power",
|
|
"displayName": "En marche",
|
|
"displayNameAction": "Allumer / Éteindre",
|
|
"type": "bool",
|
|
"writable": true,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
|
"name": "mode",
|
|
"displayName": "Mode de fonctionnement",
|
|
"displayNameAction": "Définir le mode",
|
|
"type": "QString",
|
|
"writable": true,
|
|
"possibleValues": ["heating", "cooling", "auto", "standby"],
|
|
"defaultValue": "heating"
|
|
},
|
|
{
|
|
"id": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c",
|
|
"name": "targetTemperature",
|
|
"displayName": "Température cible",
|
|
"displayNameAction": "Définir la température cible",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"writable": true,
|
|
"minValue": 15,
|
|
"maxValue": 65,
|
|
"defaultValue": 21.0
|
|
},
|
|
{
|
|
"id": "a7b8c9d0-e1f2-4a3b-4c5d-6e7f8a9b0c1d",
|
|
"name": "currentTemperature",
|
|
"displayName": "Température actuelle (sortie)",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"defaultValue": 20.0
|
|
},
|
|
{
|
|
"id": "b8c9d0e1-f2a3-4b4c-5d6e-7f8a9b0c1d2e",
|
|
"name": "outdoorTemperature",
|
|
"displayName": "Température extérieure",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"defaultValue": 10.0
|
|
},
|
|
{
|
|
"id": "c9d0e1f2-a3b4-4c5d-6e7f-8a9b0c1d2e3f",
|
|
"name": "currentPower",
|
|
"displayName": "Puissance électrique consommée",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "d0e1f2a3-b4c5-4d6e-7f8a-9b0c1d2e3f4a",
|
|
"name": "cop",
|
|
"displayName": "COP (Coefficient de performance)",
|
|
"type": "double",
|
|
"defaultValue": 3.0
|
|
},
|
|
{
|
|
"id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
|
|
"name": "defrostActive",
|
|
"displayName": "Dégivrage actif",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "f2a3b4c5-d6e7-4f8a-9b0c-1d2e3f4a5b6c",
|
|
"name": "errorCode",
|
|
"displayName": "Code d'erreur",
|
|
"type": "uint",
|
|
"defaultValue": 0
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "a3b4c5d6-e7f8-4a9b-0c1d-2e3f4a5b6c7d",
|
|
"name": "setMode",
|
|
"displayName": "Définir le mode",
|
|
"paramTypes": [
|
|
{
|
|
"id": "b4c5d6e7-f8a9-4b0c-1d2e-3f4a5b6c7d8e",
|
|
"name": "mode",
|
|
"displayName": "Mode",
|
|
"type": "QString",
|
|
"allowedValues": ["heating", "cooling", "auto", "standby"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "c5d6e7f8-a9b0-4c1d-2e3f-4a5b6c7d8e9f",
|
|
"name": "setTargetTemperature",
|
|
"displayName": "Définir la température cible",
|
|
"paramTypes": [
|
|
{
|
|
"id": "d6e7f8a9-b0c1-4d2e-3f4a-5b6c7d8e9f0a",
|
|
"name": "targetTemperature",
|
|
"displayName": "Température cible (°C)",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"minValue": 15,
|
|
"maxValue": 65
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "e7f8a9b0-c1d2-4e3f-4a5b-6c7d8e9f0a1b",
|
|
"name": "defrostStarted",
|
|
"displayName": "Dégivrage démarré"
|
|
},
|
|
{
|
|
"id": "f8a9b0c1-d2e3-4f4a-5b6c-7d8e9f0a1b2c",
|
|
"name": "errorOccurred",
|
|
"displayName": "Erreur détectée",
|
|
"paramTypes": [
|
|
{
|
|
"id": "a9b0c1d2-e3f4-4a5b-6c7d-8e9f0a1b2c3d",
|
|
"name": "errorCode",
|
|
"displayName": "Code d'erreur",
|
|
"type": "uint"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"_section": "═══════════════════════════════════════════════════",
|
|
"_section": "EAU CHAUDE SANITAIRE (DHW — Domestic Hot Water)",
|
|
"_section": "═══════════════════════════════════════════════════"
|
|
},
|
|
{
|
|
"name": "domesticHotWater",
|
|
"displayName": "Eau chaude sanitaire (ECS)",
|
|
"id": "c7d2e4f1-5b3a-4c0d-9e6f-2a4b7c1d3e5f",
|
|
"createMethods": ["user"],
|
|
"interfaces": ["heating", "connectable"],
|
|
"paramTypes": [
|
|
{
|
|
"id": "b0c1d2e3-f4a5-4b6c-7d8e-9f0a1b2c3d4e",
|
|
"name": "ipAddress",
|
|
"displayName": "Adresse IP",
|
|
"type": "QString",
|
|
"inputType": "IPv4Address",
|
|
"defaultValue": "192.168.1.201"
|
|
}
|
|
],
|
|
"stateTypes": [
|
|
{
|
|
"id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
|
|
"name": "connected",
|
|
"displayName": "Connecté",
|
|
"type": "bool",
|
|
"cached": false,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "d2e3f4a5-b6c7-4d8e-9f0a-1b2c3d4e5f6a",
|
|
"name": "power",
|
|
"displayName": "Actif",
|
|
"displayNameAction": "Activer / Désactiver",
|
|
"type": "bool",
|
|
"writable": true,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "e3f4a5b6-c7d8-4e9f-0a1b-2c3d4e5f6a7b",
|
|
"name": "targetTemperature",
|
|
"displayName": "Température cible",
|
|
"displayNameAction": "Définir la température cible",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"writable": true,
|
|
"minValue": 40,
|
|
"maxValue": 75,
|
|
"defaultValue": 55.0
|
|
},
|
|
{
|
|
"id": "f4a5b6c7-d8e9-4f0a-1b2c-3d4e5f6a7b8c",
|
|
"name": "currentTemperature",
|
|
"displayName": "Température actuelle",
|
|
"type": "double",
|
|
"unit": "DegreeCelsius",
|
|
"defaultValue": 45.0
|
|
},
|
|
{
|
|
"id": "a5b6c7d8-e9f0-4a1b-2c3d-4e5f6a7b8c9d",
|
|
"name": "boostMode",
|
|
"displayName": "Mode boost",
|
|
"displayNameAction": "Activer le mode boost",
|
|
"type": "bool",
|
|
"writable": true,
|
|
"defaultValue": false
|
|
},
|
|
{
|
|
"id": "b6c7d8e9-f0a1-4b2c-3d4e-5f6a7b8c9d0e",
|
|
"name": "currentPower",
|
|
"displayName": "Puissance électrique consommée",
|
|
"type": "double",
|
|
"unit": "Watt",
|
|
"defaultValue": 0
|
|
},
|
|
{
|
|
"id": "c7d8e9f0-a1b2-4c3d-4e5f-6a7b8c9d0e1f",
|
|
"name": "legionellaProtectionActive",
|
|
"displayName": "Protection légionellose active",
|
|
"type": "bool",
|
|
"defaultValue": false
|
|
}
|
|
],
|
|
"actionTypes": [
|
|
{
|
|
"id": "d8e9f0a1-b2c3-4d4e-5f6a-7b8c9d0e1f2a",
|
|
"name": "triggerBoost",
|
|
"displayName": "Déclencher mode boost",
|
|
"paramTypes": [
|
|
{
|
|
"id": "e9f0a1b2-c3d4-4e5f-6a7b-8c9d0e1f2a3b",
|
|
"name": "duration",
|
|
"displayName": "Durée (minutes)",
|
|
"type": "uint",
|
|
"minValue": 15,
|
|
"maxValue": 120,
|
|
"defaultValue": 30
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"eventTypes": [
|
|
{
|
|
"id": "f0a1b2c3-d4e5-4f6a-7b8c-9d0e1f2a3b4c",
|
|
"name": "targetTemperatureReached",
|
|
"displayName": "Température cible atteinte"
|
|
},
|
|
{
|
|
"id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
|
|
"name": "legionellaProtectionTriggered",
|
|
"displayName": "Cycle anti-légionellose déclenché"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|