homebridge-prometheus-exporter/tests/fixtures/dyson.json

301 lines
13 KiB
JSON
Raw Permalink Normal View History

2022-11-06 13:50:39 +01:00
{
"ipAddress": "192.168.0.1",
"instance": {
"host": "192.168.0.1",
"port": 38333,
"url": "http://192.168.0.1:38333",
"deviceID": "AA:AA:AA:AA:AA:AA",
"txt": {
"c#": "5",
"ff": "0",
"id": "AA:AA:AA:AA:AA:AA",
"md": "homebridge",
"pv": "1.1",
"s#": "1",
"sf": "0",
"ci": "2",
"sh": "VOLG3g=="
},
"name": "Dyson bridge"
},
"accessories": {
"accessories": [
{
"aid": 1,
"services": [
{
"type": "0000003E-0000-1000-8000-0026BB765291",
"iid": 1,
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 2,
"perms": ["pw"],
"description": "Identify",
"format": "bool"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 3,
"value": "homebridge.io",
"perms": ["pr"],
"description": "Manufacturer",
"format": "string",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 4,
"value": "homebridge",
"perms": ["pr"],
"description": "Model",
"format": "string",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 5,
"value": "Dyson Ventilator Bridge 2437",
"perms": ["pr"],
"description": "Name",
"format": "string",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 6,
"value": "AA:AA:AA:AA:AA:AA",
"perms": ["pr"],
"description": "Serial Number",
"format": "string",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 7,
"value": "1.5.1",
"perms": ["pr"],
"description": "Firmware Revision",
"format": "string"
}
]
},
{
"type": "000000A2-0000-1000-8000-0026BB765291",
"iid": 2000000008,
"characteristics": [
{
"type": "00000037-0000-1000-8000-0026BB765291",
"iid": 9,
"value": "1.1.0",
"perms": ["pr"],
"description": "Version",
"format": "string",
"maxLen": 64
}
]
}
]
},
{
"aid": 2,
"services": [
{
"type": "0000003E-0000-1000-8000-0026BB765291",
"iid": 1,
"characteristics": [
{
"type": "00000014-0000-1000-8000-0026BB765291",
"iid": 2,
"perms": ["pw"],
"description": "Identify",
"format": "bool"
},
{
"type": "00000020-0000-1000-8000-0026BB765291",
"iid": 3,
"value": "Dyson",
"perms": ["pr"],
"description": "Manufacturer",
"format": "string",
"maxLen": 64
},
{
"type": "00000021-0000-1000-8000-0026BB765291",
"iid": 4,
"value": "Dyson Pure Cool Link Tower",
"perms": ["pr"],
"description": "Model",
"format": "string",
"maxLen": 64
},
{
"type": "00000023-0000-1000-8000-0026BB765291",
"iid": 5,
"value": "Office",
"perms": ["pr"],
"description": "Name",
"format": "string",
"maxLen": 64
},
{
"type": "00000030-0000-1000-8000-0026BB765291",
"iid": 6,
"value": "NN2-EU-KKA0717A",
"perms": ["pr"],
"description": "Serial Number",
"format": "string",
"maxLen": 64
},
{
"type": "00000052-0000-1000-8000-0026BB765291",
"iid": 7,
"value": "21.04.03",
"perms": ["pr"],
"description": "Firmware Revision",
"format": "string"
},
{
"type": "00000053-0000-1000-8000-0026BB765291",
"iid": 8,
"value": "TP02",
"perms": ["pr"],
"description": "Hardware Revision",
"format": "string"
}
]
},
{
"type": "000000BB-0000-1000-8000-0026BB765291",
"iid": 9,
"characteristics": [
{
"type": "000000B0-0000-1000-8000-0026BB765291",
"iid": 10,
"value": 0,
"perms": ["ev", "pr", "pw"],
"description": "Active",
"format": "uint8",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [0, 1]
},
{
"type": "000000A9-0000-1000-8000-0026BB765291",
"iid": 11,
"value": 0,
"perms": ["ev", "pr"],
"description": "Current Air Purifier State",
"format": "uint8",
"minValue": 0,
"maxValue": 2,
"minStep": 1,
"valid-values": [0, 1, 2]
},
{
"type": "000000A8-0000-1000-8000-0026BB765291",
"iid": 12,
"value": 0,
"perms": ["ev", "pr", "pw"],
"description": "Target Air Purifier State",
"format": "uint8",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [0, 1]
},
{
"type": "000000AB-0000-1000-8000-0026BB765291",
"iid": 13,
"value": 85,
"perms": ["ev", "pr"],
"description": "Filter Life Level",
"format": "float",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "00000029-0000-1000-8000-0026BB765291",
"iid": 14,
"value": 100,
"perms": ["ev", "pr", "pw"],
"description": "Rotation Speed",
"format": "float",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 10
},
{
"type": "00000011-0000-1000-8000-0026BB765291",
"iid": 15,
"value": 22.8,
"perms": ["ev", "pr"],
"description": "Current Temperature",
"format": "float",
"unit": "celsius",
"minValue": -50,
"maxValue": 100,
"minStep": 0.1
},
{
"type": "000000B6-0000-1000-8000-0026BB765291",
"iid": 16,
"value": 0,
"perms": ["ev", "pr", "pw"],
"description": "Swing Mode",
"format": "uint8",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [0, 1]
},
{
"type": "000000AC-0000-1000-8000-0026BB765291",
"iid": 17,
"value": 0,
"perms": ["ev", "pr"],
"description": "Filter Change Indication",
"format": "uint8",
"minValue": 0,
"maxValue": 1,
"minStep": 1,
"valid-values": [0, 1]
},
{
"type": "00000010-0000-1000-8000-0026BB765291",
"iid": 18,
"value": 52,
"perms": ["ev", "pr"],
"description": "Current Relative Humidity",
"format": "float",
"unit": "percentage",
"minValue": 0,
"maxValue": 100,
"minStep": 1
},
{
"type": "00000095-0000-1000-8000-0026BB765291",
"iid": 19,
"value": 2,
"perms": ["ev", "pr"],
"description": "Air Quality",
"format": "uint8",
"minValue": 0,
"maxValue": 5,
"minStep": 1,
"valid-values": [0, 1, 2, 3, 4, 5]
}
]
}
]
}
]
},
"deviceID": "AA:AA:AA:AA:AA:AA",
"name": "homebridge"
}