1 pour que ce soit plus propre dans l’arbre je pense qu’il vaut mieux mettre un niveau en plus
Dans mon test sur mon objet tasmota qui est un esp mini et je l’ait placé sous le topic
Je pense que l’info est bonne et au bon endroit mais que ce n’est pas suffisant.
voilà faute de temps je n’ai pas été plus loin mais je pense qu’il soit nécessaire que la définition
d’un nouveau module soit inclue dans le json …
le json partie 1
{
"definition": null,
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"2": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"3": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"4": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"5": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"6": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"8": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"10": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"11": {
"bindings": [],
"clusters": {
"input": [
"ssIasAce"
],
"output": [
"ssIasZone",
"ssIasWd"
]
},
"configured_reportings": []
},
"12": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"13": {
"bindings": [],
"clusters": {
"input": [
"genOta"
],
"output": []
},
"configured_reportings": []
},
"47": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"110": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"242": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
}
},
"friendly_name": "Coordinator",
"ieee_address": "0x00124b001ccc4be0",
"interview_completed": true,
"interviewing": false,
"network_address": 0,
"supported": false,
"type": "Coordinator"
},
{
"date_code": "20200124",
"definition": {
"description": "Hue white and color ambiance E26/E27",
"exposes": [
{
"features": [
{
"access": 7,
"description": "On/off state of this light",
"name": "state",
"property": "state",
"type": "binary",
"value_off": "OFF",
"value_on": "ON",
"value_toggle": "TOGGLE"
},
{
"access": 7,
"description": "Brightness of this light",
"name": "brightness",
"property": "brightness",
"type": "numeric",
"value_max": 254,
"value_min": 0
},
{
"access": 7,
"description": "Color temperature of this light",
"name": "color_temp",
"presets": [
{
"description": "Coolest temperature supported",
"name": "coolest",
"value": 150
},
{
"description": "Cool temperature (250 mireds / 4000 Kelvin)",
"name": "cool",
"value": 250
},
{
"description": "Neutral temperature (370 mireds / 2700 Kelvin)",
"name": "neutral",
"value": 370
},
{
"description": "Warm temperature (454 mireds / 2200 Kelvin)",
"name": "warm",
"value": 454
},
{
"description": "Warmest temperature supported",
"name": "warmest",
"value": 500
}
],
"property": "color_temp",
"type": "numeric",
"unit": "mired",
"value_max": 500,
"value_min": 150
},
{
"access": 7,
"description": "Color temperature after cold power on of this light",
"name": "color_temp_startup",
"presets": [
{
"description": "Coolest temperature supported",
"name": "coolest",
"value": 150
},
{
"description": "Cool temperature (250 mireds / 4000 Kelvin)",
"name": "cool",
"value": 250
},
{
"description": "Neutral temperature (370 mireds / 2700 Kelvin)",
"name": "neutral",
"value": 370
},
{
"description": "Warm temperature (454 mireds / 2200 Kelvin)",
"name": "warm",
"value": 454
},
{
"description": "Warmest temperature supported",
"name": "warmest",
"value": 500
},
{
"description": "Restore previous color_temp on cold power on",
"name": "previous",
"value": 65535
}
],
"property": "color_temp_startup",
"type": "numeric",
"unit": "mired",
"value_max": 500,
"value_min": 150
},
{
"description": "Color of this light in the CIE 1931 color space (x/y)",
"features": [
{
"access": 7,
"name": "x",
"property": "x",
"type": "numeric"
},
{
"access": 7,
"name": "y",
"property": "y",
"type": "numeric"
}
],
"name": "color_xy",
"property": "color",
"type": "composite"
},
{
"description": "Color of this light expressed as hue/saturation",
"features": [
{
"access": 7,
"name": "hue",
"property": "hue",
"type": "numeric"
},
{
"access": 7,
"name": "saturation",
"property": "saturation",
"type": "numeric"
}
],
"name": "color_hs",
"property": "color",
"type": "composite"
}
],
"type": "light"
},
{
"access": 2,
"description": "Triggers an effect on the light (e.g. make light blink for a few seconds)",
"name": "effect",
"property": "effect",
"type": "enum",
"values": [
"blink",
"breathe",
"okay",
"channel_change",
"finish_effect",
"stop_effect"
]
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "9290022166",
"supports_ota": true,
"vendor": "Philips"
},
"endpoints": {
"11": {
"bindings": [],
"clusters": {
"input": [
"genBasic",
"genIdentify",
"genGroups",
"genScenes",
"genOnOff",
"genLevelCtrl",
"touchlink",
"manuSpecificSamsungAccelerometer",
"lightingColorCtrl",
"manuSpecificUbisysDimmerSetup"
],
"output": [
"genOta"
]
},
"configured_reportings": []
},
"242": {
"bindings": [],
"clusters": {
"input": [],
"output": [
"greenPower"
]
},
"configured_reportings": []
}
},
"friendly_name": "LAMPE_SALON",
"ieee_address": "0x00178801082c648d",
"interview_completed": true,
"interviewing": false,
"model_id": "LCA001",
"network_address": 8053,
"power_source": "Mains (single phase)",
"software_build_id": "1.65.9_hB3217DF4",
"supported": true,
"type": "Router"
},
{
"definition": {
"description": "Aqara vibration sensor",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Triggered action (e.g. a button click)",
"name": "action",
"property": "action",
"type": "enum",
"values": [
"vibration",
"tilt",
"drop"
]
},
{
"access": 1,
"name": "strength",
"property": "strength",
"type": "numeric"
},
{
"access": 3,
"name": "sensitivity",
"property": "sensitivity",
"type": "enum",
"values": [
"low",
"medium",
"high"
]
},
{
"access": 1,
"description": "Measured electrical potential value",
"name": "voltage",
"property": "voltage",
"type": "numeric",
"unit": "V"
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "DJT11LM",
"supports_ota": false,
"vendor": "Xiaomi"
},
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"2": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
}
},
"friendly_name": "VIBRATION",
"ieee_address": "0x00158d0003235253",
"interview_completed": true,
"interviewing": false,
"model_id": "lumi.vibration.aq1",
"network_address": 61554,
"power_source": "Battery",
"supported": true,
"type": "EndDevice"
},
{
"definition": {
"description": "Aqara door & window contact sensor",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Indicates if the contact is closed (= true) or open (= false)",
"name": "contact",
"property": "contact",
"type": "binary",
"value_off": true,
"value_on": false
},
{
"access": 1,
"description": "Measured temperature value",
"name": "temperature",
"property": "temperature",
"type": "numeric",
"unit": "°C"
},
{
"access": 1,
"description": "Measured electrical potential value",
"name": "voltage",
"property": "voltage",
"type": "numeric",
"unit": "V"
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "MCCGQ11LM",
"supports_ota": false,
"vendor": "Xiaomi"
},
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
}
},
"friendly_name": "PORTE 1",
"ieee_address": "0x00158d00057b42cd",
"interview_completed": true,
"interviewing": false,
"model_id": "lumi.sensor_magnet.aq2",
"network_address": 49354,
"power_source": "Battery",
"supported": true,
"type": "EndDevice"
},
{
"date_code": "",
"definition": {
"description": "Temperature & humidity sensor with display",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Measured temperature value",
"name": "temperature",
"property": "temperature",
"type": "numeric",
"unit": "°C"
},
{
"access": 1,
"description": "Measured relative humidity",
"name": "humidity",
"property": "humidity",
"type": "numeric",
"unit": "%"
},
{
"access": 1,
"description": "Measured electrical potential value",
"name": "voltage",
"property": "voltage",
"type": "numeric",
"unit": "V"
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "TS0201",
"supports_ota": false,
"vendor": "TuYa"
},
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [
"genBasic",
"genPowerCfg",
"msTemperatureMeasurement",
"msRelativeHumidity"
],
"output": [
"genOta"
]
},
"configured_reportings": []
}
},
"friendly_name": "TUYA TEMP HUM",
"ieee_address": "0xec1bbdfffee4da8f",
"interview_completed": true,
"interviewing": false,
"model_id": "TS0201",
"network_address": 56418,
"power_source": "Battery",
"supported": true,
"type": "EndDevice"
},
{
"definition": {
"description": "Aqara human body movement and illuminance sensor",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Indicates whether the device detected occupancy",
"name": "occupancy",
"property": "occupancy",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"description": "Measured temperature value",
"name": "temperature",
"property": "temperature",
"type": "numeric",
"unit": "°C"
},
{
"access": 1,
"description": "Measured electrical potential value",
"name": "voltage",
"property": "voltage",
"type": "numeric",
"unit": "V"
},
{
"access": 1,
"description": "Measured illuminance in lux",
"name": "illuminance_lux",
"property": "illuminance",
"type": "numeric",
"unit": "lx"
},
{
"access": 1,
"description": "Measured illuminance in lux",
"name": "illuminance",
"property": "illuminance",
"type": "numeric",
"unit": "lx"
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "RTCGQ11LM",
"supports_ota": false,
"vendor": "Xiaomi"
},
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
}
},
"friendly_name": "DETECTEUR 6",
"ieee_address": "0x00158d00046633c3",
"interview_completed": true,
"interviewing": false,
"model_id": "lumi.sensor_motion.aq2",
"network_address": 10976,
"power_source": "Battery",
"supported": true,
"type": "EndDevice"
},
{
"date_code": "20191128",
"definition": {
"description": "Hue smart button",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Triggered action (e.g. a button click)",
"name": "action",
"property": "action",
"type": "enum",
"values": [
"on",
"off",
"skip_backward",
"skip_forward",
"press",
"hold",
"release"
]
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "8718699693985",
"supports_ota": true,
"vendor": "Philips"
},
"endpoints": {
"1": {
"bindings": [
{
"cluster": "genOnOff",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
},
{
"cluster": "genLevelCtrl",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
},
{
"cluster": "manuSpecificPhilips",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
},
{
"cluster": "genPowerCfg",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic",
"genPowerCfg",
"genIdentify",
"manuSpecificPhilips",
"touchlink"
],
"output": [
"genOta",
"genBasic",
"genIdentify",
"genGroups",
"genOnOff",
"genLevelCtrl",
"genScenes",
"touchlink"
]
},
"configured_reportings": [
{
"attribute": "batteryPercentageRemaining",
"cluster": "genPowerCfg",
"maximum_report_interval": 62000,
"minimum_report_interval": 3600,
"reportable_change": 0
}
]
}
},
"friendly_name": "Bouton Philips",
"ieee_address": "0x0017880106076a4a",
"interview_completed": true,
"interviewing": false,
"model_id": "ROM001",
"network_address": 49066,
"power_source": "Battery",
"software_build_id": "2.30.0_r30777",
"supported": true,
"type": "EndDevice"
},
{
"date_code": "20160302",
"definition": {
"description": "Hue dimmer switch",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Triggered action (e.g. a button click)",
"name": "action",
"property": "action",
"type": "enum",
"values": [
"on-press",
"on-hold",
"on-hold-release",
"up-press",
"up-hold",
"up-hold-release",
"down-press",
"down-hold",
"down-hold-release",
"off-press",
"off-hold",
"off-hold-release"
]
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "324131092621",
"supports_ota": true,
"vendor": "Philips"
},
"endpoints": {
"1": {
"bindings": [
{
"cluster": "genOnOff",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
},
{
"cluster": "genLevelCtrl",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic"
],
"output": [
"genBasic",
"genIdentify",
"genGroups",
"genOnOff",
"genLevelCtrl",
"genScenes"
]
},
"configured_reportings": []
},
"2": {
"bindings": [
{
"cluster": "manuSpecificPhilips",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
},
{
"cluster": "genPowerCfg",
"target": {
"endpoint": 1,
"ieee_address": "0x00124b001ccc4be0",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic",
"genPowerCfg",
"genIdentify",
"genBinaryInput",
"manuSpecificPhilips"
],
"output": [
"genOta"
]
},
"configured_reportings": [
{
"attribute": "batteryPercentageRemaining",
"cluster": "genPowerCfg",
"maximum_report_interval": 62000,
"minimum_report_interval": 3600,
"reportable_change": 0
}
]
}
},
"friendly_name": "TELECOMMANDE 4B 1",
"ieee_address": "0x001788010636827a",
"interview_completed": true,
"interviewing": false,
"model_id": "RWL021",
"network_address": 20954,
"power_source": "Battery",
"software_build_id": "5.45.1.17846",
"supported": true,
"type": "EndDevice"
},
{
"definition": {
"description": "Mi/Aqara smart home cube",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Measured electrical potential value",
"name": "voltage",
"property": "voltage",
"type": "numeric",
"unit": "V"
},
{
"access": 1,
"description": "Triggered action (e.g. a button click)",
"name": "action",
"property": "action",
"type": "enum",
"values": [
"shake",
"wakeup",
"fall",
"tap",
"slide",
"flip180",
"flip90",
"rotate_left",
"rotate_right"
]
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "MFKZQ01LM",
"supports_ota": false,
"vendor": "Xiaomi"
},
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [
"genBasic",
"genIdentify",
"genOta",
"genMultistateInput"
],
"output": [
"genBasic",
"genGroups",
"genIdentify",
"genScenes",
"genOta",
"genMultistateInput"
]
},
"configured_reportings": []
},
"2": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
},
"3": {
"bindings": [],
"clusters": {
"input": [],
"output": []
},
"configured_reportings": []
}
},
"friendly_name": "CUBE Z2M",
"ieee_address": "0x00158d0005304829",
"interview_completed": true,
"interviewing": false,
"model_id": "lumi.sensor_cube.aqgl01",
"network_address": 41676,
"power_source": "Battery",
"software_build_id": "3000-0001",
"supported": true,
"type": "EndDevice"
},
{
"definition": {
"description": "MiJia wireless switch",
"exposes": [
{
"access": 1,
"description": "Remaining battery in %",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Triggered action (e.g. a button click)",
"name": "action",
"property": "action",
"type": "enum",
"values": [
"single",
"double",
"triple",
"quadruple",
"hold",
"release",
"many"
]
},