Bonjour Loic,
JE viens d’integrer un detecteur de chaleur Frient, il y a une commande alarme qui remonte en info sur le plug in alors que sur Z2m C’est une action pour déclencher l’alarme et l’arreter.

Les infios dans Z2m
{
"battery": 80,
"battery_low": false,
"enrolled": true,
"fault": false,
"ias_cie_address": "0xdc8e95fffe00b0a0",
"last_seen": "2023-03-15T14:10:50.704Z",
"linkquality": 164,
"max_duration": 240,
"reliability": "no_fault_detected",
"restore_reports": true,
"smoke": false,
"supervision_reports": true,
"temperature": 21.12,
"test": false,
"voltage": 2900,
"zone_id": 23,
"device": {
"dateCode": "2021-01-26 02:49",
"friendlyName": "Detecteur Fumée MQTT",
"hardwareVersion": "5.0.2",
"ieeeAddr": "0x0015bc0034000c90",
"manufacturerID": 4117,
"manufacturerName": "frient A/S",
"model": "HESZB-120",
"networkAddress": 50261,
"powerSource": "Battery",
"softwareBuildID": "3.4.25",
"type": "EndDevice",
"zclVersion": 1
}
}
voici les informations brutes dans jeedom
{
"date_code": "2021-01-26 02:49",
"definition": {
"description": "Fire detector with siren",
"exposes": [
{
"access": 1,
"description": "Measured temperature value",
"name": "temperature",
"property": "temperature",
"type": "numeric",
"unit": "\u00b0C"
},
{
"access": 1,
"description": "Remaining battery in %, can take up to 24 hours before reported.",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 1,
"description": "Indicates whether the device detected smoke",
"name": "smoke",
"property": "smoke",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"description": "Indicates if the battery of this device is almost empty",
"name": "battery_low",
"property": "battery_low",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"description": "Indicates whether the device is being tested",
"name": "test",
"property": "test",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 7,
"description": "Duration of Siren",
"name": "max_duration",
"property": "max_duration",
"type": "numeric",
"unit": "s",
"value_max": 600,
"value_min": 0
},
{
"access": 2,
"description": "Manual Start of Siren",
"name": "alarm",
"property": "alarm",
"type": "binary",
"value_off": "OFF",
"value_on": "START"
},
{
"access": 1,
"description": "Indicates reason if any fault",
"name": "reliability",
"property": "reliability",
"type": "enum",
"values": [
"no_fault_detected",
"unreliable_other",
"process_error"
]
},
{
"access": 1,
"description": "Indicates whether the device are in fault state",
"name": "fault",
"property": "fault",
"type": "binary",
"value_off": false,
"value_on": true
},
{
"access": 1,
"description": "Link quality (signal strength)",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "HESZB-120",
"options": [
{
"access": 2,
"description": "Number of digits after decimal point for temperature, takes into effect on next report of device.",
"name": "temperature_precision",
"property": "temperature_precision",
"type": "numeric",
"value_max": 3,
"value_min": 0
},
{
"access": 2,
"description": "Calibrates the temperature value (absolute offset), takes into effect on next report of device.",
"name": "temperature_calibration",
"property": "temperature_calibration",
"type": "numeric"
}
],
"supports_ota": false,
"vendor": "Develco"
},
"disabled": false,
"endpoints": {
"1": {
"bindings": [],
"clusters": {
"input": [
"genIdentify",
"genScenes",
"genOnOff"
],
"output": []
},
"configured_reportings": [],
"scenes": []
},
"35": {
"bindings": [
{
"cluster": "genPollCtrl",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
},
{
"cluster": "genPowerCfg",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
},
{
"cluster": "ssIasZone",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
},
{
"cluster": "ssIasWd",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
},
{
"cluster": "genBasic",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
},
{
"cluster": "genBinaryInput",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic",
"genPowerCfg",
"genIdentify",
"genBinaryInput",
"genPollCtrl",
"ssIasZone",
"ssIasWd"
],
"output": [
"genTime",
"genOta"
]
},
"configured_reportings": [
{
"attribute": "batteryVoltage",
"cluster": "genPowerCfg",
"maximum_report_interval": 62000,
"minimum_report_interval": 3600,
"reportable_change": 0
}
],
"scenes": []
},
"38": {
"bindings": [
{
"cluster": "msTemperatureMeasurement",
"target": {
"endpoint": 1,
"ieee_address": "0xdc8e95fffe00b0a0",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic",
"genIdentify",
"msTemperatureMeasurement"
],
"output": [
"genIdentify"
]
},
"configured_reportings": [
{
"attribute": "measuredValue",
"cluster": "msTemperatureMeasurement",
"maximum_report_interval": 600,
"minimum_report_interval": 60,
"reportable_change": 10
}
],
"scenes": []
}
},
"friendly_name": "Detecteur Fum\u00e9e MQTT",
"ieee_address": "0x0015bc0034000c90",
"interview_completed": true,
"interviewing": false,
"manufacturer": "frient A\/S",
"model_id": "HESZB-120",
"network_address": 50261,
"power_source": "Battery",
"software_build_id": "3.4.25",
"supported": true,
"type": "EndDevice"
}
Je peux transformer la commande info en action mais du coup il me manque la commande OFF