core/tests/components/qbus/fixtures/payload_config.json

525 lines
13 KiB
JSON

{
"app": "abc",
"devices": [
{
"id": "UL1",
"ip": "192.168.1.123",
"mac": "001122334455",
"name": "",
"serialNr": "000001",
"type": "Qbus",
"version": "3.14.0",
"properties": {
"connectable": {
"read": true,
"type": "boolean",
"write": false
},
"connected": {
"read": true,
"type": "boolean",
"write": false
}
},
"functionBlocks": [
{
"id": "UL10",
"location": "Living",
"locationId": 0,
"name": "LIVING",
"originalName": "LIVING",
"refId": "000001/10",
"type": "onoff",
"variant": [null],
"actions": {
"off": null,
"on": null
},
"properties": {
"value": {
"read": true,
"type": "boolean",
"write": true
}
}
},
{
"id": "UL15",
"location": "Media room",
"locationId": 1,
"name": "MEDIA ROOM",
"originalName": "MEDIA ROOM",
"refId": "000001/28",
"type": "analog",
"actions": {
"off": null,
"on": null
},
"properties": {
"value": {
"max": 100,
"min": 5,
"read": true,
"step": 0.1,
"type": "number",
"write": true
}
}
},
{
"id": "UL20",
"location": "Living",
"locationId": 0,
"name": "LIVING TH",
"originalName": "LIVING TH",
"refId": "000001/120",
"type": "thermo",
"actions": {},
"properties": {
"currRegime": {
"enumValues": ["MANUEEL", "VORST", "ECONOMY", "COMFORT", "NACHT"],
"read": true,
"type": "enumString",
"write": true
},
"currTemp": {
"max": 35,
"min": 0,
"read": true,
"step": 0.5,
"type": "number",
"write": false
},
"setTemp": {
"max": 35,
"min": 0,
"read": true,
"step": 0.5,
"type": "number",
"write": true
}
}
},
{
"id": "UL25",
"location": "Living",
"locationId": 0,
"name": "Watching TV",
"originalName": "Watching TV",
"refId": "000001/105/3",
"type": "scene",
"actions": {
"active": null
},
"properties": {}
},
{
"id": "UL30",
"location": "Guest bedroom",
"locationId": 3,
"name": "CURTAINS",
"originalName": "CURTAINS",
"refId": "000001/108",
"type": "shutter",
"actions": {
"shutterDown": null,
"shutterStop": null,
"shutterUp": null
},
"properties": {
"state": {
"enumValues": ["up", "stop", "down"],
"read": true,
"type": "enumString",
"write": false
}
}
},
{
"actions": {
"shutterDown": null,
"shutterUp": null,
"slatDown": null,
"slatUp": null
},
"id": "UL31",
"location": "Living",
"locationId": 0,
"name": "SLATS",
"originalName": "SLATS",
"properties": {
"shutterPosition": {
"read": true,
"step": 0.10000000000000001,
"type": "percent",
"write": true
},
"slatPosition": {
"read": true,
"step": 0.10000000000000001,
"type": "percent",
"write": true
}
},
"refId": "000001/8",
"type": "shutter"
},
{
"actions": {
"shutterDown": null,
"shutterUp": null
},
"id": "UL32",
"location": "Kitchen",
"locationId": 8,
"name": "BLINDS",
"originalName": "BLINDS",
"properties": {
"shutterPosition": {
"read": true,
"type": "percent",
"write": true
}
},
"refId": "000001/4",
"type": "shutter"
},
{
"id": "UL40",
"location": "Tuin",
"locationId": 12,
"name": "Luchtdruk",
"originalName": "Luchtdruk",
"refId": "000001/81",
"type": "gauge",
"variant": "AirPressure",
"actions": {},
"properties": {
"currentValue": {
"max": 1500,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "mbar",
"write": false
}
}
},
{
"id": "UL41",
"location": "Tuin",
"locationId": 12,
"name": "Luchtkwaliteit",
"originalName": "Luchtkwaliteit",
"refId": "000001/82",
"type": "gauge",
"variant": "AirQuality",
"actions": {},
"properties": {
"currentValue": {
"max": 1500,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "ppm",
"write": false
}
}
},
{
"id": "UL42",
"location": "Garage",
"locationId": 27,
"name": "Stroom",
"originalName": "Stroom",
"refId": "000001/83",
"type": "gauge",
"variant": "Current",
"actions": {},
"properties": {
"currentValue": {
"max": 100,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "kWh",
"write": false
}
}
},
{
"id": "UL43",
"location": "Garage",
"locationId": 27,
"name": "Energie",
"originalName": "Energie",
"refId": "000001/84",
"type": "gauge",
"variant": "Energy",
"actions": {},
"properties": {
"currentValue": {
"read": true,
"step": 0.1,
"type": "number",
"unit": "A",
"write": false
}
}
},
{
"id": "UL44",
"location": "Garage",
"locationId": 27,
"name": "Gas",
"originalName": "Gas",
"refId": "000001/85",
"type": "gauge",
"variant": "Gas",
"actions": {},
"properties": {
"currentValue": {
"max": 5,
"min": 0,
"read": true,
"step": 0.001,
"type": "number",
"unit": "m³/h",
"write": false
}
}
},
{
"id": "UL45",
"location": "Garage",
"locationId": 27,
"name": "Gas flow",
"originalName": "Gas flow",
"refId": "000001/86",
"type": "gauge",
"variant": "GasFlow",
"actions": {},
"properties": {
"currentValue": {
"max": 10,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "m³/h",
"write": false
}
}
},
{
"id": "UL46",
"location": "Living",
"locationId": 0,
"name": "Vochtigheid living",
"originalName": "Vochtigheid living",
"refId": "000001/87",
"type": "gauge",
"variant": "Humidity",
"actions": {},
"properties": {
"currentValue": {
"max": 100,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "%",
"write": false
}
}
},
{
"id": "UL47",
"location": "Tuin",
"locationId": 12,
"name": "Lichtsterkte tuin",
"originalName": "Lichtsterkte tuin",
"refId": "000001/88",
"type": "gauge",
"variant": "Light",
"actions": {},
"properties": {
"currentValue": {
"max": 100000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "lx",
"write": false
}
}
},
{
"id": "UL40",
"location": "Tuin",
"locationId": 12,
"name": "Regenput",
"originalName": "Regenput",
"refId": "000001/40",
"type": "gauge",
"variant": "WaterLevel",
"actions": {},
"properties": {
"currentValue": {
"max": 100,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"unit": "m",
"write": false
}
}
},
{
"id": "UL60",
"location": "Tuin",
"locationId": 12,
"name": "Weersensor",
"originalName": "Weersensor",
"refId": "000001/21007",
"type": "weatherstation",
"variant": [null],
"actions": {},
"properties": {
"dayLight": {
"max": 1000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"light": {
"max": 100000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"lightEast": {
"max": 100000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"lightSouth": {
"max": 100000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"lightWest": {
"max": 100000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"raining": {
"read": true,
"type": "boolean",
"write": false
},
"temperature": {
"max": 100,
"min": -100,
"read": true,
"step": 0.1,
"type": "number",
"write": false
},
"twilight": {
"read": true,
"type": "boolean",
"write": false
},
"wind": {
"max": 1000,
"min": 0,
"read": true,
"step": 0.1,
"type": "number",
"write": false
}
}
},
{
"id": "UL70",
"location": "",
"locationId": 0,
"name": "Luchtsensor",
"originalName": "Luchtsensor",
"refId": "000001/224",
"type": "ventilation",
"variant": [null],
"actions": {},
"properties": {
"co2": {
"max": 5000,
"min": 0,
"read": true,
"step": 16,
"type": "number",
"unit": "ppm",
"write": false
},
"currRegime": {
"enumValues": ["Manueel", "Nacht", "Boost", "Uit", "Auto"],
"read": true,
"type": "enumString",
"write": true
},
"refresh": {
"max": 100,
"min": 0,
"read": true,
"step": 1,
"type": "number",
"write": true
}
}
},
{
"id": "UL80",
"location": "Kitchen",
"locationId": 8,
"name": "Vochtigheid keuken",
"originalName": "Vochtigheid keuken",
"properties": {
"currRegime": {
"enumValues": ["Manual", "Cook", "Boost", "Off", "Auto"],
"read": true,
"type": "enumString",
"write": true
},
"value": {
"read": true,
"step": 1,
"type": "percent",
"write": false
}
},
"refId": "000001/94/1",
"type": "humidity"
}
]
}
]
}