nymea-plugins/powerfox/integrationpluginpowerfox.json

117 lines
5.1 KiB
JSON

{
"name": "powerfox",
"displayName": "powerfox",
"id": "21cd8abd-1ff0-4156-87c5-7611153c3658",
"vendors": [
{
"name": "powerfox",
"displayName": "powerfox",
"id": "eb764f51-caff-481e-b008-56911f9f8446",
"thingClasses": [
{
"id": "20d0fe05-ae1d-46c0-b34a-f00a121177f7",
"name": "account",
"displayName": "powerfox account",
"createMethods": ["user"],
"setupMethod": "userandpassword",
"interfaces": [ "account" ],
"stateTypes": [
{
"id": "9cde6321-2abf-4a58-a1d6-c7418edb9747",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": false,
"cached": false
},
{
"id": "634a43c1-e989-4bb2-b438-ea9aa0c2c33b",
"name": "loggedIn",
"displayName": "Logged in",
"displayNameEvent": "Logged in changed",
"type": "bool",
"defaultValue": false
}
]
},
{
"id": "b62c4e71-9e6e-4e7c-ae3c-79c96e4f8e27",
"name": "powerMeter",
"displayName": "powerfox smart meter",
"createMethods": ["auto"],
"interfaces": ["energymeter", "connectable"],
"paramTypes": [
{
"id": "b58b5abd-c878-4c6a-be6e-58e08da76ba2",
"name": "id",
"displayName": "ID",
"type": "QString",
"defaultValue": ""
}
],
"stateTypes": [
{
"id": "3d674ba8-76ff-4025-a7ff-c64b5ffdc08a",
"name": "connected",
"displayName": "Reachable",
"displayNameEvent": "Reachable changed",
"type": "bool",
"defaultValue": false,
"cached": false
},
{
"id": "50c0ac31-edc4-4374-b763-1cdebdc84ef2",
"name": "currentPower",
"displayName": "Current power consumption",
"displayNameEvent": "Currant power consumption changed",
"type": "double",
"unit": "Watt",
"defaultValue": 0,
"cached": false
},
{
"id": "3c82dd4e-9485-4c57-87dd-a82f98d4d5ab",
"name": "totalEnergyConsumed",
"displayName": "Total energy consumption",
"displayNameEvent": "Total consumed energy changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
},
{
"id": "2c10f3e5-bc9f-4d65-b8d9-b1ff8db54751",
"name": "totalEnergyProduced",
"displayName": "Total energy production",
"displayNameEvent": "Total produced energy changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
},
{
"id": "6b62d3f8-6b91-48fd-9bf0-4eca6fb06efb",
"name": "currentPhaseA",
"displayName": "Current",
"displayNameEvent": "Current changed",
"type": "double",
"unit": "Ampere",
"defaultValue": 0,
"cached": false
},
{
"id": "dd8aeb79-606d-409a-9432-79a2fa7bad5c",
"name": "voltagePhaseA",
"displayName": "Voltage (Phase A)",
"displayNameEvent": "Voltage (Phase A) changed",
"type": "double",
"unit": "Volt",
"defaultValue": 0,
"cached": false
}
]
}
]
}
]
}