Bonjour @Loic,
{
"ieee": "00:15:bc:00:31:00:ba:77",
"nwk": 17855,
"status": 2,
"lqi": "152",
"rssi": "-62",
"last_seen": "1637861329.8474033",
"node_descriptor": "02:40:00:15:10:50:50:00:00:2a:50:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 1,
"profile_id": 49353,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
}
]
},
{
"id": 35,
"status": 1,
"device_type": 1026,
"profile_id": 260,
"manufacturer": "frient A\/S",
"model": "SMSZB-120",
"output_clusters": [
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "frient A\/S"
},
{
"id": 5,
"name": "model",
"value": "SMSZB-120"
},
{
"id": 6,
"name": "date_code",
"value": "20210820 00:14"
},
{
"id": 7,
"name": "power_source",
"value": 3
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 32,
"name": "battery_voltage",
"value": 31
},
{
"id": 62,
"name": "battery_alarm_state",
"value": 0
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 15,
"name": "Binary Input (Basic)",
"attributes": [
{
"id": 85,
"name": "present_value",
"value": 0
},
{
"id": 111,
"name": "status_flags",
"value": 0
}
]
},
{
"id": 32,
"name": "Poll Control",
"attributes": []
},
{
"id": 1280,
"name": "IAS Zone",
"attributes": [
{
"id": 0,
"name": "zone_state",
"value": 1
},
{
"id": 1,
"name": "zone_type",
"value": 40
},
{
"id": 2,
"name": "zone_status",
"value": 48
},
{
"id": 17,
"name": "zone_id",
"value": 0
}
]
},
{
"id": 1282,
"name": "IAS Warning Device",
"attributes": []
}
]
},
{
"id": 38,
"status": 1,
"device_type": 770,
"profile_id": 260,
"manufacturer": "frient A\/S",
"model": "SMSZB-120",
"output_clusters": [
{
"id": 3,
"name": "Identify",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "frient A\/S"
},
{
"id": 5,
"name": "model",
"value": "SMSZB-120"
},
{
"id": 6,
"name": "date_code",
"value": "20210820 00:14"
},
{
"id": 7,
"name": "power_source",
"value": 3
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 1026,
"name": "Temperature Measurement",
"attributes": [
{
"id": 0,
"name": "measured_value",
"value": 2075
}
]
}
]
}
],
"signature": {
"manufacturer": "frient A\/S",
"model": "SMSZB-120",
"node_desc": {
"logical_type": 2,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 0,
"manufacturer_code": 4117,
"maximum_buffer_size": 80,
"maximum_incoming_transfer_size": 80,
"server_mask": 10752,
"maximum_outgoing_transfer_size": 80,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 49353,
"device_type": 1,
"input_clusters": [
3,
5,
6
],
"output_clusters": []
},
"35": {
"profile_id": 260,
"device_type": 1026,
"input_clusters": [
0,
1,
3,
15,
32,
1280,
1282
],
"output_clusters": [
10,
25
]
},
"38": {
"profile_id": 260,
"device_type": 770,
"input_clusters": [
0,
3,
1026
],
"output_clusters": [
3
]
}
}
},
"class": "zigpy.device"
}
Les commandes:
SirenOn: 35::ias_wd::start_warning::1::0::3::10::0::0 (10 correspond au délai en seconde ou la sirène sonnera max 240s)
SirenOff: 35::ias_wd::start_warning::0::0::0::0::0::0
As tu possibilité d’augmenter le timeout à 10s pour cet équipement? Car je pense comme il est sur batterie, il n’est pas toujours en écoute et pendant mes tests de temps en temps j’avais ce message d’erreur.
Erreur exécution de la commande [Cuisine][Détcteur Fumée][Alarme on] : Erreur lors de la requete : http://127.0.0.1:8089/device/command(PUT), data : {"ieee":"00:15:bc:00:31:00:c5:60","cmd":[{"endpoint":35,"cluster":"ias_wd","command":"start_warning","await":1,"args":[1,0,0,10,0,0]}],"allowQueue":false} erreur : {"state":"error","result":"[0xbedf:35:0x0502]: Message send failure","code":0}
Autre chose comme je l’indique plus haut Frient - détecteur de fumée – commande sirene absente - Plugins / Protocole domotique - Communauté Jeedom. Est ce que tu pourrais gérer le « zone status » pour ces évènements?
- Test du détecteur: ZoneStatus.Test|Restore_reports|Supervision_reports
- Alarme feu: ZoneStatus.Restore_reports|Supervision_reports|Alarm_1
- La pile est neuve mais logiquement pour la batterie (j’ai pas de log): Battery|ZoneStatus.Restore_reports|Supervision_reports
[2021-11-21 14:58:54][DEBUG] : {"devices":{"00:15:bc:00:31:00:ba:77":{"35":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Test|Restore_reports|Supervision_reports","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-11-21 14:58:54][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1 => ZoneStatus.Test|Restore_reports|Supervision_reports convert to ZoneStatus.Test|Restore_reports|Supervision_reports
[2021-11-21 14:58:54][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-11-21 14:58:54][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.2 => 0 convert to 0
[2021-11-21 14:58:54][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.3 => 0 convert to 0
Actuellement, il me semble que tu gères uniquement Alarm_1 seul.
Aussi pour info le détecteur envoie tout les 10 min
[2021-11-21 14:58:59][DEBUG] : {"devices":{"00:15:bc:00:31:00:ba:77":{"35":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Restore_reports|Supervision_reports","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-11-21 14:58:59][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1 => ZoneStatus.Restore_reports|Supervision_reports convert to ZoneStatus.Restore_reports|Supervision_reports
[2021-11-21 14:58:59][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-11-21 14:58:59][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.2 => 0 convert to 0
[2021-11-21 14:58:59][DEBUG] : Search command for 00:15:bc:00:31:00:ba:77 logicalId : 35::1280::cmd::1.3 => 0 convert to 0
Merci