Mapping Zigbee2MQTT → Gladys pour la sirène extérieure NEO NAS-AB06B2

Bonjour,

Suite à la discussion sur le mapping Zigbee2MQTT → Gladys pour les alarmes, je crée un sujet spécifique pour la sirène extérieure NEO NAS-AB06B2.

J’utilise cette sirène avec Zigbee2MQTT. Elle est bien reconnue et remonte dans Gladys, mais certaines fonctionnalités exposées par Zigbee2MQTT ne semblent pas actuellement mappées vers des fonctionnalités Gladys.

L’objectif serait de pouvoir exploiter directement dans Gladys les différentes fonctions de la sirène, notamment depuis les scènes, sans devoir envoyer manuellement des commandes MQTT.

Matériel :

  • Marque : NEO
  • Modèle : NAS-AB06B2
  • Type : sirène extérieure
  • Intégration : Zigbee2MQTT

Documentation Zigbee2MQTT :

Sujet d’origine :

doc zigbee:

Model NAS-AB06B2
Vendor NEO
Description Outdoor solar alarm
Exposes alarm_state, alarm_switch, tamper_alarm_switch, tamper_alarm, alarm_melody, alarm_mode, alarm_time, charging, battery
Picture NEO NAS-AB06B2

Exposes

Alarm state (enum)

Alarm status.

Value can be found in the published state on the alarm_state property.

It’s not possible to read (/get) or write (/set) this value.

The possible values are: alarm_sound, alarm_light, alarm_sound_light, normal.

Alarm switch (binary)

Enable alarm.

Value can be found in the published state on the alarm_switch property.

It’s not possible to read (/get) this value.

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_switch": NEW_VALUE}.

If value equals ON alarm switch is ON, if OFF OFF.

Tamper alarm switch (binary)

Enable tamper alarm.

Value can be found in the published state on the tamper_alarm_switch property.

It’s not possible to read (/get) this value.

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"tamper_alarm_switch": NEW_VALUE}.

If value equals ON tamper alarm switch is ON, if OFF OFF.

Tamper alarm (binary)

Indicates whether the device is tampered.

Value can be found in the published state on the tamper_alarm property.

It’s not possible to read (/get) or write (/set) this value.

If value equals ON tamper alarm is ON, if OFF OFF.

Alarm melody (enum)

Alarm sound effect.

Value can be found in the published state on the alarm_melody property.

It’s not possible to read (/get) this value.

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_melody": NEW_VALUE}.

The possible values are: melody_1, melody_2, melody_3.

Alarm mode (enum)

Alarm mode.

Value can be found in the published state on the alarm_mode property.

It’s not possible to read (/get) this value.

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_mode": NEW_VALUE}.

The possible values are: alarm_sound, alarm_light, alarm_sound_light.

Alarm time (numeric)

Alarm duration in minutes.

Value can be found in the published state on the alarm_time property.

It’s not possible to read (/get) this value.

To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_time": NEW_VALUE}.

The minimal value is 1 and the maximum value is 60.

The unit of this value is min.

Charging (binary)

Charging status.

Value can be found in the published state on the charging property.

It’s not possible to read (/get) or write (/set) this value.

If value equals true charging is ON, if false OFF.

Battery (numeric)

Remaining battery in %, can take up to 24 hours before reported.

Value can be found in the published state on the battery property.

It’s not possible to read (/get) or write (/set) this value.

The minimal value is 0 and the maximum value is 100.

The unit of this value is %.

Merci :slightly_smiling_face: