powersync-plugins/simulation/integrationpluginsimulation...

1225 lines
56 KiB
JSON

{
"name": "Simulation",
"displayName": "Simulation",
"id": "b7368429-e312-4c82-9eab-e1cd996e43d6",
"vendors": [
{
"name": "simulation",
"displayName": "Simulation",
"id": "fd2ae067-2c3d-4332-9c4b-ee0af653bcaf",
"thingClasses": [
{
"id": "73bb670b-e7a3-40da-bd6f-3260f017ec80",
"name": "simpleButton",
"displayName": "Simple Button",
"createMethods": ["user"],
"interfaces": ["simplebutton", "outputtrigger"],
"paramTypes": [ ],
"actionTypes": [
{
"id": "64c4ced5-9a1a-4858-81dd-1b5c94dba495",
"name": "trigger",
"displayName": "Press the button"
}
],
"eventTypes": [
{
"id": "f9652210-9aed-4f38-8c19-2fd54f703fbe",
"name": "pressed",
"displayName": "Button pressed"
}
]
},
{
"id": "910b2f58-70dc-4da3-89ae-9e7393290ccb",
"name": "alternativeButton",
"displayName": "Power Button",
"createMethods": ["user"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "fa63c0b9-10e5-4280-9cc2-243bf27c05ad",
"name": "power",
"displayName": "Power",
"type": "bool",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"defaultValue": false,
"writable": true
}
]
},
{
"id": "77c6ccff-84e8-4983-b69e-5e1a3f4723f2",
"name": "temperatureSensor",
"displayName": "Temperature sensor",
"createMethods": ["user"],
"interfaces": ["temperaturesensor", "humiditysensor", "batterylevel", "connectable"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "169d7a2a-d1c9-4578-bb30-fc7d25690e59",
"name": "temperature",
"displayName": "Temperature",
"displayNameEvent": "Temperature changed",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 0,
"minValue": -20,
"maxValue": 50,
"ioType": "analogInput"
},
{
"id": "10c735fd-7b81-484a-a148-76ea0da840f0",
"name": "humidity",
"displayName": "Humidity",
"displayNameEvent": "Humidity changed",
"type": "double",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 0,
"ioType": "analogInput"
},
{
"id": "45c0de32-b519-47d7-9f82-e5f09d1542d4",
"name": "batteryLevel",
"displayName": "Battery",
"displayNameEvent": "Battery level changed",
"type": "int",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 0
},
{
"id": "295b9a17-a4b1-4cc9-8ebb-2309b72c75f6",
"name": "batteryCritical",
"displayName": "Battery critical",
"displayNameEvent": "Battery critical changed",
"type": "bool",
"defaultValue": false
},
{
"id": "e66aba37-2647-4b6b-8740-d59eb98d846c",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": true
}
]
},
{
"id": "990fc2ba-260a-4648-9a93-e803e219da4f",
"name": "motionDetector",
"displayName": "Motion Detector",
"createMethods": ["user"],
"interfaces": ["presencesensor", "battery", "connectable"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "5ab00bfc-7345-44a2-90d4-852c810e59ec",
"name": "isPresent",
"displayName": "Active",
"displayNameEvent": "Motion detected",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
},
{
"id": "4d66c81e-6293-4997-9685-8b44d7e5c1bd",
"name": "batteryLevel",
"displayName": "Battery",
"displayNameEvent": "Battery level changed",
"type": "int",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 95
},
{
"id": "1c621a6f-86fe-4351-bf9e-03c3deaef6ad",
"name": "batteryCritical",
"displayName": "Battery critical",
"displayNameEvent": "Battery critical changed",
"type": "bool",
"defaultValue": false
},
{
"id": "b481b6e7-77c1-40b0-859a-286876b05959",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": true
},
{
"id": "17874952-a1ab-467f-9786-29ffe3196a8c",
"name": "lastSeenTime",
"displayName": "Last seen",
"displayNameEvent": "Last seen changed",
"type": "int",
"unit": "UnixTime",
"defaultValue": 0
}
]
},
{
"id": "62e302f4-b92a-4b55-bd18-a1e0cc56362a",
"name": "heating",
"displayName": "Heating",
"createMethods": ["user"],
"interfaces": ["heating"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "e1910c53-a6bc-434b-9caa-0d08e214c122",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "1302cb53-ccdc-49eb-88b6-85659c7d11b8",
"name": "percentage",
"displayName": "Percentage",
"displayNameEvent": "Percentage changed",
"displayNameAction": "Set percentage",
"type": "int",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 100,
"writable": true,
"unit": "Percentage"
}
]
},
{
"id": "1fa40afa-6a07-4a97-918b-76e3944ea0fb",
"name": "evCharger",
"displayName": "EV Charging Station",
"createMethods": ["user"],
"interfaces": ["evcharger"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "b786029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": 0,
"writable": true
},
{
"id": "87600986-da37-4032-af37-015995910368",
"name": "maxChargingCurrent",
"displayName": "Maximum charging current",
"displayNameEvent": "MAximum charging current changed",
"displayNameAction": "Set maximum charging current",
"type": "double",
"unit": "Ampere",
"defaultValue": 6,
"minValue": 6,
"maxValue": 80,
"writable": true
}
]
},
{
"id": "227da953-e476-4c31-b3f6-fdd389bb1b7c",
"name": "thermostat",
"displayName": "Thermostat",
"createMethods": ["user"],
"interfaces": ["thermostat"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "edc0ccb6-3a78-44b9-8c7d-638142c27e10",
"name": "targetTemperature",
"displayName": "Target temperature",
"displayNameEvent": "Target temperature changed",
"displayNameAction": "Set target temperature",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 21,
"minValue": 5,
"maxValue": 35,
"writable": true
},
{
"id": "f3df52f0-ee1d-4163-a7b5-95d8f22b8841",
"name": "temperature",
"displayName": "Current temperature",
"displayNameEvent": "Current temperature changed",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 18
},
{
"id": "94a7d50c-df3b-4590-a89e-9dae40ad84fa",
"name": "heatingOn",
"displayName": "Heating on",
"displayNameEvent": "Heating turned on/off",
"type": "bool",
"defaultValue": false
},
{
"id": "4c696205-392a-45ed-aab5-3b7f97ddf286",
"name": "coolingOn",
"displayName": "Cooling on",
"displayNameEvent": "Cooling turned on/off",
"type": "bool",
"defaultValue": false
},
{
"id": "f892f660-87ff-458a-bfa0-5af08591233e",
"name": "boost",
"displayName": "Boost",
"displayNameEvent": "Boost enabled changed",
"displayNameAction": "Enable/disable boost",
"type": "bool",
"defaultValue": false,
"writable": true
}
]
},
{
"id": "cfb44bcf-b4b9-4bef-89f7-3a55baf35668",
"name": "garageGate",
"displayName": "Garage gate",
"createMethods": ["user"],
"interfaces": [ "garagegate", "light" ],
"paramTypes": [ ],
"stateTypes": [
{
"id": "f786029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "state",
"displayName": "Garage gate state",
"displayNameEvent": "Garage gate state changed",
"type": "QString",
"possibleValues": ["open", "closed", "opening", "closing"],
"defaultValue": "open"
},
{
"id": "324150cc-0357-4797-a746-37b554d82c44",
"name": "intermediatePosition",
"displayName": "Intermediate position",
"displayNameEvent": "Intermediate position changed",
"type": "bool",
"defaultValue": false
},
{
"id": "46543561-2690-4072-a6a3-795e1c4f49a8",
"name": "power",
"displayName": "Light power",
"displayNameEvent": "Light power changed",
"displayNameAction": "Set light power",
"type": "bool",
"defaultValue": false,
"writable": true
}
],
"actionTypes": [
{
"id": "1786029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "open",
"displayName": "Open"
},
{
"id": "2786029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "stop",
"displayName": "Stop"
},
{
"id": "3786029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "close",
"displayName": "Close"
}
]
},
{
"id": "a13c14f1-361e-4aad-8785-c04b094fb19a",
"name": "simpleBlind",
"displayName": "Simple blind",
"createMethods": ["user"],
"interfaces": ["blind"],
"actionTypes": [
{
"id": "06b99eb1-c3b6-4bea-95cf-690078297206",
"name": "open",
"displayName": "Open"
},
{
"id": "7f1bdeef-a57c-4b82-80ad-e3e31f16027f",
"name": "stop",
"displayName": "stop"
},
{
"id": "0c55d32d-c916-472b-a03e-66fe7115e85d",
"name": "close",
"displayName": "close"
}
]
},
{
"id": "1d7aaa1d-fc50-4d7b-9657-1449322e40d8",
"name": "extendedBlind",
"displayName": "Extended blind",
"createMethods": ["user"],
"interfaces": ["extendedblind"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "18fc257c-6b7b-472c-b52a-acd4ba405bf2",
"name": "percentage",
"displayName": "percentage",
"type": "int",
"unit": "Percentage",
"displayNameEvent": "percentage changed",
"writable": true,
"displayNameAction": "set percentage",
"defaultValue": 0
},
{
"id": "83559182-f3db-4a4a-8c70-d5fb3ceb57de",
"name": "moving",
"type": "bool",
"defaultValue": false,
"displayName": "moving",
"displayNameEvent": "moving changed"
}
],
"actionTypes": [
{
"id": "b4379ab7-5fc2-45b6-8214-5855b040ee1a",
"name": "open",
"displayName": "Open"
},
{
"id": "fd63d8bf-ffde-4343-bbdc-1645c94017dc",
"name": "stop",
"displayName": "stop"
},
{
"id": "316c17e6-01a8-45c4-921d-7773b2d441a4",
"name": "close",
"displayName": "close"
}
]
},
{
"id": "38757fee-ac55-403e-be53-bad5b97364c1",
"name": "venetianBlind",
"displayName": "Venetian blind",
"createMethods": ["user"],
"interfaces": ["venetianblind"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "16453cde-15c9-4133-a4fd-7da76735778c",
"name": "percentage",
"displayName": "percentage",
"type": "int",
"unit": "Percentage",
"displayNameEvent": "percentage changed",
"writable": true,
"displayNameAction": "set percentage",
"defaultValue": 0
},
{
"id": "9dedaf04-3570-403e-b083-ec59dd08981a",
"name": "moving",
"type": "bool",
"defaultValue": false,
"displayName": "moving",
"displayNameEvent": "moving changed"
},
{
"id": "fe3c802d-253f-4594-b64c-14a8870d9828",
"name": "angle",
"type": "int",
"displayName": "Angle",
"displayNameEvent": "Angle changed",
"displayNameAction": "Set angle",
"minValue": -90,
"maxValue": 90,
"defaultValue": 0,
"unit": "Degree",
"writable": true
}
],
"actionTypes": [
{
"id": "4347b46b-4048-4f3a-b45d-71d99c15c30d",
"name": "open",
"displayName": "Open"
},
{
"id": "06be8ad4-24e5-4c03-9502-cda165a01bc4",
"name": "stop",
"displayName": "stop"
},
{
"id": "61cadeae-810e-43f5-a6b5-e85fcaefde9c",
"name": "close",
"displayName": "close"
}
]
},
{
"id": "d302630b-f331-4bb0-88e4-4078f16aba7f",
"name": "extendedAwning",
"displayName": "Extended awning",
"createMethods": ["user"],
"interfaces": ["extendedawning"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "e4c92da3-da3e-40ea-907f-a93283426789",
"name": "percentage",
"type": "int",
"unit": "Percentage",
"writable": true,
"displayName": "percentage",
"displayNameEvent": "percentage changed",
"displayNameAction": "set percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
},
{
"id": "b2a888b3-c526-410f-bafc-9d6dc459dbf8",
"name": "moving",
"type": "bool",
"defaultValue": false,
"displayName": "mooving",
"displayNameEvent": "moving changed"
}
],
"actionTypes": [
{
"id": "508c8f1b-aa1d-43d8-badb-0c9d219025b3",
"name": "open",
"displayName": "Open"
},
{
"id": "41fdeba2-8d2f-46ce-8f2d-b8c31bdf90ff",
"name": "stop",
"displayName": "stop"
},
{
"id": "79ec0271-5361-4f0f-a458-bf22e570c9ac",
"name": "close",
"displayName": "close"
}
]
},
{
"id": "5f4e3fc9-afb1-45d0-86a2-8713d5894aee",
"name": "simpleShutter",
"displayName": "Simple roller shutter",
"createMethods": ["user"],
"interfaces": ["shutter"],
"actionTypes": [
{
"id": "20259935-c39b-42d3-888b-ffdb98800a8d",
"name": "open",
"displayName": "Open"
},
{
"id": "b1f9b62a-1987-4d2b-af88-e64710cbf626",
"name": "close",
"displayName": "Close"
},
{
"id": "7c310908-75ee-47b2-b2c1-90b85eed4694",
"name": "stop",
"displayName": "Stop"
}
]
},
{
"id": "1039b7ee-5351-400b-a477-5b8fc1447138",
"name": "rollerShutter",
"displayName": "Roller Shutter",
"createMethods": ["user"],
"interfaces": ["extendedshutter"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "1386029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "percentage",
"type": "int",
"unit": "Percentage",
"writable": true,
"displayName": "percentage",
"displayNameEvent": "percentage changed",
"displayNameAction": "set percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
},
{
"id": "fd94b07d-4631-450d-9f99-9e9221cc3602",
"name": "moving",
"type": "bool",
"defaultValue": false,
"displayName": "mooving",
"displayNameEvent": "moving changed"
}
],
"actionTypes": [
{
"id": "17860291-f3a6-4b47-978a-ac1a581aac0f",
"name": "open",
"displayName": "Open"
},
{
"id": "27860292-f3a6-4b47-978a-ac1a581aac0f",
"name": "stop",
"displayName": "stop"
},
{
"id": "37860293-f3a6-4b47-978a-ac1a581aac0f",
"name": "close",
"displayName": "close"
}
]
},
{
"id": "1039b7ee-5121-400b-a477-5b8fc14471ff",
"name": "colorBulb",
"displayName": "Color Bulb",
"createMethods": ["user"],
"interfaces": ["colorlight"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "9faaffe5-6a76-47d2-a14a-550f60390245",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "cff4206f-f219-4f06-93c4-4ca515a56f79",
"name": "colorTemperature",
"displayName": "Color temperature",
"displayNameEvent": "Color temperature changed",
"displayNameAction": "Set color temperature",
"type": "int",
"unit": "Mired",
"defaultValue": 170,
"minValue": 153,
"maxValue": 500,
"writable": true
},
{
"id": "df5423f1-b924-4b20-80b6-77eecc65d089",
"name": "color",
"displayName": "Color",
"displayNameEvent": "Color changed",
"displayNameAction": "Set color",
"type": "QColor",
"defaultValue": "#000000",
"writable": true
},
{
"id": "90e91f11-a208-468c-a5a2-7f47e08229e2",
"name": "brightness",
"displayName": "Brightness",
"displayNameEvent": "Brightness changed",
"displayNameAction": "Set brigtness",
"type": "int",
"unit": "Percentage",
"defaultValue": 0,
"minValue": 0,
"maxValue": 100,
"writable": true
}
]
},
{
"id": "1039b7ee-5351-400b-a477-5b8fc14471ff",
"name": "socket",
"displayName": "Socket",
"createMethods": ["user"],
"interfaces": ["powersocket"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "b7ff029d-f3a6-4b47-978a-ac1a581aac0f",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true,
"ioType": "digitalOutput"
}
]
},
{
"id": "45906fb3-9bf5-4331-9b69-0a0407b8511e",
"name": "fingerPrintSensor",
"displayName": "Finger Print Sensor",
"createMethods": ["user"],
"interfaces": ["fingerprintreader", "connectable"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "2e51cb1b-9f6a-4a45-b23e-ab44e8ab28e9",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": true
},
{
"id": "02482093-3b82-4918-a3ce-2a2f4831aae0",
"name": "users",
"displayName": "Users",
"displayNameEvent": "Users changed",
"type": "QStringList",
"defaultValue": []
}
],
"actionTypes": [
{
"id": "c3805253-a09b-4657-b86c-97936f390672",
"name": "addUser",
"displayName": "Add user",
"paramTypes": [
{
"id": "d9e0c68f-8b61-4f5a-9909-b27a4ac562a3",
"displayName": "User ID",
"name": "userId",
"type": "QString"
},
{
"id": "2a97de6c-5ffb-4ca8-b4c7-41ad6790668d",
"displayName": "Finger",
"name": "finger",
"type": "QString",
"allowedValues": [
"ThumbLeft",
"IndexFingerLeft",
"MiddleFingerLeft",
"RingFingerLeft",
"PinkyLeft",
"ThumbRight",
"IndexFingerRight",
"MiddleFingerRight",
"RingFingerRight",
"PinkyRight"
],
"defaultValue": "IndexFingerRight"
}
]
},
{
"id": "28bf4cd1-bb1c-442b-8ba3-ed019f34abbd",
"name": "removeUser",
"displayName": "Remove user",
"paramTypes": [
{
"id": "ca2ffce8-ee71-47ff-8247-f17fca14fd87",
"displayName": "User ID",
"name": "userId",
"type": "QString"
}
]
}
],
"eventTypes": [
{
"id": "1d2dde79-7121-4f8c-b7c1-904ced66a79e",
"name": "accessGranted",
"displayName": "Access granted",
"paramTypes": [
{
"id": "84addd61-15e9-4e98-aa80-6b0bf5d82a15",
"name": "userId",
"displayName": "User ID",
"type": "QString"
},
{
"id": "3611bfc0-be3c-4ddb-8184-b64fc38c7256",
"displayName": "Finger",
"name": "finger",
"type": "QString",
"allowedValues": [
"ThumbLeft",
"IndexFingerLeft",
"MiddleFingerLeft",
"RingFingerLeft",
"PinkyLeft",
"ThumbRight",
"IndexFingerRight",
"MiddleFingerRight",
"RingFingerRight",
"PinkyRight"
]
}
]
},
{
"id": "992b7742-af0c-447c-bd94-9ec70b872268",
"name": "accessDenied",
"displayName": "Access denied"
}
]
},
{
"id": "c242f229-d3f4-4d3d-854c-817b52aa18ab",
"name": "smartMeter",
"displayName": "Smart Meter",
"createMethods": ["user"],
"interfaces": ["extendedsmartmeterconsumer", "extendedsmartmeterproducer", "connectable" ],
"paramTypes": [ ],
"stateTypes": [
{
"id": "be0291ff-6041-433b-9121-a30ca4426b22",
"name": "connected",
"displayName": "Reachable",
"displayNameEvent": "Reachable changed",
"type": "bool",
"defaultValue": true
},
{
"id": "d57f4d9c-759e-40eb-999e-a1acbc8df2b1",
"name": "currentPower",
"displayName": "Current power flow",
"displayNameEvent": "Power power flow changed",
"type": "double",
"unit": "Watt",
"defaultValue": 0
},
{
"id": "5ac91819-c855-441c-a734-ee5cc0514822",
"name": "totalEnergyConsumed",
"displayName": "Total energy consumption",
"displayNameEvent": "Total energy consumption changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
},
{
"id": "7437d92a-ef1a-4e59-979d-1c7a2611b359",
"name": "totalEnergyProduced",
"displayName": "Total energy production",
"displayNameEvent": "Total energy production changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
}
]
},
{
"id": "eae9c1b2-a6b2-4c0d-9af3-867c900899f1",
"name": "solarPanel",
"displayName": "Solar panel",
"createMethods": ["user"],
"interfaces": ["extendedsmartmeterproducer"],
"paramTypes": [],
"stateTypes": [
{
"id": "08f4f53d-b62d-4c2e-913f-87b1c4737d71",
"name": "currentPower",
"displayName": "Current power production",
"displayNameEvent": "Current power production changed",
"type": "double",
"unit": "Watt",
"defaultValue": 0
},
{
"id": "b60948ca-cee9-447a-ba1c-f908c6db58fb",
"name": "totalEnergyProduced",
"displayName": "Total produced energy",
"displayNameEvent": "Total produced energy changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0
}
]
},
{
"id": "280c481e-757a-4af7-b1d3-dc9cfc1d46a5",
"name": "battery",
"displayName": "Battery",
"createMethods": ["user"],
"interfaces": ["battery", "connectable"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "0f108052-4a5a-49d2-ab02-d404b1f2e17a",
"name": "connected",
"displayName": "Reachable",
"displayNameEvent": "Reachable changed",
"type": "bool",
"defaultValue": true
},
{
"id": "30fd9fd9-1a6b-4698-93ac-6b2a1ba18500",
"name": "batteryLevel",
"displayName": "Battery level",
"displayNameEvent": "Battery level changed",
"type": "int",
"unit": "Percentage",
"defaultValue": 91,
"minValue": 0,
"maxValue": 100
},
{
"id": "c977e60a-e820-4647-addb-cf0b39732ffb",
"name": "charging",
"displayName": "Charging",
"displayNameEvent": "Charging amount changed",
"type": "double",
"unit": "KiloWatt",
"defaultValue": 0.70
},
{
"id": "bdf328a6-eebc-4b67-8165-551bc21e9be6",
"name": "maxCharging",
"displayName": "Max charging power",
"displayNameEvent": "Max charging power changed",
"displayNameAction": "Set max charging power",
"type": "int",
"unit": "Watt",
"defaultValue": 700,
"minValue": 200,
"maxValue": 2000,
"writable": true
},
{
"id": "4857f2b4-0840-4c7e-82ff-bd881ae32cf9",
"name": "batteryCritical",
"displayName": "Battery critical",
"displayNameEvent": "Battery critical changed",
"type": "bool",
"defaultValue": false
}
]
},
{
"id": "b2565887-443a-45ae-a2e7-67fb1b1003d8",
"name": "heatingRod",
"displayName": "Heating Rod",
"createMethods": ["user"],
"interfaces": ["connectable", "heating", "temperaturesensor"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "5fa28715-f5ea-4db5-99fe-5eceb8721c4a",
"name": "connected",
"displayName": "Reachable",
"displayNameEvent": "Reachable changed",
"type": "bool",
"defaultValue": true
},
{
"id": "1a47ba44-bbd8-4766-a648-5df49394b812",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Power",
"type": "bool",
"defaultValue": false,
"writable": true
},
{
"id": "2ab2a0fa-ea66-426c-ba22-d23b42c80883",
"name": "percentage",
"displayName": "Percentage",
"displayNameEvent": "Maximum power percentage changed",
"displayNameAction": "Set maximum power percentage",
"type": "int",
"defaultValue": 100,
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"writable": true
},
{
"id": "49388b11-8076-4698-8091-5c5f5762fd08",
"name": "temperature",
"displayName": "Water temperature",
"displayNameEvent": "Water temperature changed",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 0
},
{
"id": "47a16375-1027-42cc-82d3-56cbfdb1193c",
"name": "heatingActive",
"displayName": "Active",
"displayNameEvent": "Active status changed",
"type": "bool",
"defaultValue": false
}
]
},
{
"id": "7f1696e3-3145-421e-9a42-5bd3b2fd0e2c",
"name": "netatmoIndoor",
"displayName": "Netatmo Indoor Station",
"interfaces": ["temperaturesensor", "humiditysensor", "pressuresensor"],
"createMethods": ["user"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "29a95a72-f897-4027-99a8-ab1aee1ebe2b",
"name": "updateTime",
"displayName": "Last update",
"displayNameEvent": "Last update changed",
"unit": "UnixTime",
"type": "int",
"defaultValue": 0
},
{
"id": "b5244e65-0811-4dc2-afd2-6bf3092d44c7",
"name": "temperature",
"displayName": "Temperature",
"displayNameEvent": "Temperature changed",
"unit": "DegreeCelsius",
"type": "double",
"defaultValue": 22.7
},
{
"id": "b2225720-dfdc-40f8-a24a-20247e69e575",
"name": "humidity",
"displayName": "Humidity",
"displayNameEvent": "Humidity changed",
"unit": "Percentage",
"type": "double",
"defaultValue": 37,
"minValue": 0,
"maxValue": 100
},
{
"id": "b13fa34e-b63d-4fa4-a786-e82776ee9cbe",
"name": "pressure",
"displayName": "Pressure",
"displayNameEvent": "Pressure changed",
"unit": "MilliBar",
"type": "double",
"defaultValue": 1006
},
{
"id": "b16ea43e-75ef-4bee-ade6-839682ec3068",
"name": "noise",
"displayName": "Noise",
"displayNameEvent": "Noise changed",
"unit": "Dezibel",
"type": "int",
"defaultValue": 68
},
{
"id": "c5ebe5c0-b030-4eb6-a3f8-3a400061d09c",
"name": "co2",
"displayName": "CO2",
"displayNameEvent": "CO2 changed",
"unit": "PartsPerMillion",
"type": "int",
"defaultValue": 350
},
{
"id": "3b8fb712-ff4c-4c0f-83bc-2edac54fede7",
"name": "wifiStrength",
"displayName": "Wifi signal strength",
"displayNameEvent": "Wifi signal strength changed",
"unit": "Percentage",
"type": "int",
"defaultValue": 87
}
]
},
{
"id": "b759f558-b484-45b6-9132-218d135c27d6",
"name": "gardenSensor",
"displayName": "Garden sensor",
"createMethods": ["user"],
"interfaces": ["temperaturesensor", "battery", "connectable"],
"paramTypes": [ ],
"stateTypes": [
{
"id": "63eb7cdd-d16e-4baf-820b-7ad9f0a2b2a8",
"name": "soilMoisture",
"displayName": "Soil moisture",
"displayNameEvent": "Soil moisture changed",
"type": "double",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 0
},
{
"id": "e75207e8-10a9-4bdc-974e-1e44e119ee23",
"name": "temperature",
"displayName": "Temperature",
"displayNameEvent": "Temperature changed",
"type": "double",
"unit": "DegreeCelsius",
"defaultValue": 0
},
{
"id": "9781f0a5-3478-4291-ab51-9daa1ba0e44e",
"name": "illuminance",
"displayName": "Illuminance",
"displayNameEvent": "Illuminance changed",
"type": "double",
"unit": "Lux",
"defaultValue": 20
},
{
"id": "6a7ecb09-135c-4be2-8c36-f2a71711ea05",
"name": "batteryLevel",
"displayName": "Battery",
"displayNameEvent": "Battery level changed",
"type": "int",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 0
},
{
"id": "68d818fd-ad8a-411d-95b1-811991535fe2",
"name": "batteryCritical",
"displayName": "Battery critical",
"displayNameEvent": "Battery critical changed",
"type": "bool",
"defaultValue": false
},
{
"id": "b5e8ace1-983c-4bff-90ef-3af30257b158",
"name": "connected",
"displayName": "Connected",
"displayNameEvent": "Connected changed",
"type": "bool",
"defaultValue": true
}
]
},
{
"id": "8fc2e79b-1770-4b18-bf01-78ed15893a81",
"name": "waterValve",
"displayName": "Water valve",
"createMethods": ["user"],
"interfaces": ["irrigation"],
"stateTypes": [
{
"id": "194f05a9-2c54-466c-a2a9-3d278fb41a2a",
"name": "power",
"displayName": "Power",
"displayNameEvent": "Power changed",
"displayNameAction": "Set power",
"type": "bool",
"defaultValue": false,
"writable": true
}
]
},
{
"id": "672d68ac-c19b-46b0-be01-4468c36dd3da",
"name": "barcodeScanner",
"displayName": "Barcode Scanner",
"createMethods": ["user"],
"interfaces": ["barcodescanner"],
"eventTypes": [
{
"id": "20910fac-93ff-4679-bec9-786defcd1875",
"name": "codeScanned",
"displayName": "Code scanned",
"paramTypes": [
{
"id": "d76c1a34-ee9a-4363-80bb-2042639311c7",
"name": "content",
"displayName": "Cotent",
"type": "QString"
}
]
}
]
},
{
"name": "contactSensor",
"displayName": "Door/window sensor",
"id": "14f6c41c-b1ba-4d83-b1b2-d764a62c8eed",
"setupMethod": "JustAdd",
"createMethods": [ "user" ],
"interfaces": [ "closablesensor", "connectable", "battery"],
"stateTypes": [
{
"id": "47789719-e300-4d0d-b861-42f24af38103",
"name": "connected",
"displayName": "Available",
"displayNameEvent": "Available changed",
"type": "bool",
"cached": false,
"defaultValue": true
},
{
"id": "bb02bb10-a933-4833-8a1d-40dda41691b2",
"name": "closed",
"displayName": "Closed",
"displayNameEvent": "Closed changed",
"type": "bool",
"defaultValue": false,
"ioType": "digitalInput"
},
{
"id": "4979b1a8-7f1e-4b65-9c35-187045c42a8f",
"name": "batteryLevel",
"displayName": "Battery",
"displayNameEvent": "Battery level changed",
"type": "int",
"minValue": 0,
"maxValue": 100,
"unit": "Percentage",
"defaultValue": 80
},
{
"id": "8d87413f-b625-4b77-aa95-2029b4bfb741",
"name": "batteryCritical",
"displayName": "Battery critical",
"displayNameEvent": "Battery critical changed",
"type": "bool",
"defaultValue": false
}
]
},
{
"id": "088aa0cb-61e8-46b6-b99d-699a29fd79c7",
"name": "waterSensor",
"displayName": "Water sensor",
"createMethods": ["user"],
"interfaces": ["watersensor"],
"stateTypes": [
{
"id": "764cbbbf-6a5c-4265-9424-fc9e6dd86fda",
"name": "waterDetected",
"displayName": "Wet",
"displayNameEvent": "Water detected",
"type": "bool",
"defaultValue": false
}
]
}
]
}
]
}