powersync-plugins/tplink/integrationplugintplink.json

144 lines
6.3 KiB
JSON

{
"name": "tplink",
"displayName": "tp-link",
"id": "024ff2e3-30df-44a1-9c8d-63cc416f1fb8",
"vendors": [
{
"name": "tplink",
"displayName": "tp-link",
"id": "8603b6cf-52ec-4481-aca2-f29ebd6cd8a8",
"thingClasses": [
{
"id": "48f981ba-3836-4810-9744-a349088f4545",
"name": "kasaPlug100",
"displayName": "Kasa Smart Wi-Fi Plug (HS100/HS103/HS105/KP100)",
"createMethods": ["discovery"],
"interfaces": [ "powersocket", "connectable" ],
"paramTypes": [
{
"id": "7c7a4d88-6c7e-4981-b4f2-090976c0c9bb",
"name": "id",
"displayName": "ID",
"type": "QString",
"defaultValue": ""
}
],
"stateTypes": [
{
"id": "79bcdd81-2e9d-4312-a4a7-85f808d046ef",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": false,
"cached": false
},
{
"id": "a8991ea0-89f0-477b-97fb-414dd7d185b3",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Turned on or off",
"displayNameAction": "Turn on or off",
"type": "bool",
"defaultValue": false,
"writable": true
}
]
},
{
"id": "32830124-9efb-4614-8227-ee269b1889b0",
"name": "kasaPlug110",
"displayName": "Kasa Smart Wi-Fi Plug With Energy Monitoring (HS110)",
"createMethods": ["discovery"],
"interfaces": [ "powersocket", "extendedsmartmeterconsumer", "connectable" ],
"paramTypes": [
{
"id": "de3238f7-fe94-440d-b212-61cd4e221b50",
"name": "id",
"displayName": "ID",
"type": "QString",
"defaultValue": ""
}
],
"stateTypes": [
{
"id": "b66825ec-9f1b-48da-af18-f36913291c0e",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": false,
"cached": false
},
{
"id": "f1a5fda4-87a6-46f6-9499-16811a5f4f4d",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Turned on or off",
"displayNameAction": "Turn on or off",
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "a3533121-69ee-44fd-8394-13373e8f960e",
"name": "totalEnergyConsumed",
"displayName": "Total energy consumed",
"displayNameEvent": "Total energy consumed changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
},
{
"id": "ccb52b57-5800-4f03-b7fa-f36dcebe1d4e",
"name": "currentPower",
"displayName": "Current power consumption",
"displayNameEvent": "Current power consumption changed",
"type": "double",
"unit": "Watt",
"defaultValue": 0
}
]
},
{
"id": "d527e576-d65e-4ae6-ae43-c89b594fb4c1",
"name": "kasaSwitch200",
"displayName": "Kasa Smart Wi-Fi Light Switch (HS200)",
"createMethods": ["discovery"],
"interfaces": [ "light", "connectable" ],
"paramTypes": [
{
"id": "fe989b2f-034e-4615-8a47-4a8aa775ed99",
"name": "id",
"displayName": "ID",
"type": "QString",
"defaultValue": ""
}
],
"stateTypes": [
{
"id": "8792b3d1-f83d-44c3-b649-249a935d1eb4",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": false,
"cached": false
},
{
"id": "3b0daf6c-ba04-4ff1-a381-685c869665b1",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Turned on or off",
"displayNameAction": "Turn on or off",
"type": "bool",
"defaultValue": false,
"writable": true
}
]
}
]
}
]
}