Images:

Interrupteur mural simple/double touche

Nom : Interrupteur mural simple/double touche
Marque : Xiaomi
  panier-acheter-ecommerce-shopping-icone-8314-48
Description:

Appairage

Pour mettre cet objet en mode inclusion, il faut :

Appuyer 10 sec sur les boutons de l’interrupteur. La (les)  LEDs bleus vont clignoter.

Clusters disponibles

EndPoint: 0x01
Profile ID: 0x0104 (ZigBee HA)
Device ID: 0x0051 (Generic – Smart Plug)
Input Cluster Count: 9
Cluster 0: Cluster ID: 0x0000 (General: Basic)
Cluster 1: Cluster ID: 0x0004 (General: Groups)
Cluster 2: Cluster ID: 0x0003 (General: Identify)
Cluster 3: Cluster ID: 0x0006 (General: On/Off)
Cluster 4: Cluster ID: 0x0010 (Unknown)
Cluster 5: Cluster ID: 0x0005 (General: Scenes)
Cluster 6: Cluster ID: 0x000A (General: Time)
Cluster 7: Cluster ID: 0x0001 (General: Power Config)
Cluster 8: Cluster ID: 0x0002 (General: Temperature Config)
Output Cluster Count: 2
Cluster 0: Cluster ID: 0x0000 (General: Basic)
Cluster 1: Cluster ID: 0x0004 (General: Groups)

EndPoint: 0x02
Profile ID: 0x0104 (ZigBee HA)
Device ID: 0x0009 (Generic – Mains Power Outlet)
Input Cluster Count: 1
Cluster 0: Cluster ID: 0x000C (Unknown)
Output Cluster Count: 2
Cluster 0: Cluster ID: 0x000C (Unknown)
Cluster 1: Cluster ID: 0xDE00 (Unknown)

EndPoint: 0x03
Profile ID: 0x0104 (ZigBee HA)
Device ID: 0x0053 (Unknown)
Input Cluster Count: 1
Cluster 0: Cluster ID: 0x000C (Unknown)
Output Cluster Count: 1
Cluster 0: Cluster ID: 0x000C (Unknown)

Suivre la procédure pour mettre la ZiGate en mode « écoute » :

Puis appuyer sur l’interrupteur pendant 5 secondes. Les 2 LEDs bleues du bas se mettent à clignoter puis envoie les données suivantes :

Device announce

Le message est traitée deux fois :

ZiGate ← 01 00 4D 00 0C 24 19 9B 00 15 8D 00 01 9C FF 7E 8E ED 03

Header

01 = Start
00 4D = Message type (device announce)
00 0C = Taille message
24 = Checksum

Message (Device announce):

19 9B   = Short address ( adresse utilisé dans le réseau)
00 15 8D 00 01 9C FF 7E= Adresse MAC IEEE
8E = Mac capability

Footer

ED = Qualité du signal
03 = End

Décodage :

Type: 0x004D (End Device Announce)
Short Address: 0x199B
Extended Address: 0x158D00019CFF7E
MAC Capability: 0x8E
Alternate PAN Coordinator: False
Device Type: Router
Power Source: AC
Receiver On When Idle: True
Security Capability: Standard
Allocate Address: True

Route Discovery Confirm

ZiGate ← 01 87 01 00 03 68 00 00 ED 03

Décodage :

Type: 0x8701 (Route Discovery Confirm)
  SQN: 0x00
  Status: 0x00
  Network Status: 0xED

 

Démarrage après appairage

ZiGate ← 01 81 02 00 1A D5 3E 19 9B 01 00 00 00 05 00 42 00 0D 6C 75 6D 69 2E 63 74 72 6C 5F 6C 6E 31 ED 03

Décodage :

Type: 0x8102 (Attribute Report)
SQN: 0x3E
Src Addr: 0x199B
Src Ep: 0x01
Cluster ID: 0x0000 (General: Basic)
Attribute ID: 0x0005
Attribute Size: 0x000D
Attribute Type: 0x42 (Character String)
Attribute Data (Len – 13): lumi.ctrl_ln1
Status: 0x00

ZiGate ←  01 81 02 00 0E FC 3E 19 9B 01 00 00 00 01 00 20 00 01 01 ED 03

Décodage :

Type: 0x8102 (Attribute Report)
  SQN: 0x3E
  Src Addr: 0x199B
  Src Ep: 0x01
  Cluster ID: 0x0000 (General: Basic)
  Attribute ID: 0x0001
  Attribute Size: 0x0001
  Attribute Type: 0x20 (UINT8)
  Attribute Data: 0x01
  Status: 0x00

Commandes

L’interrupteur mural Xiaomi destiné au pilotage d’ampoules permet de faire des commandes TOGGLE

Toggle press

ZiGate <- 01 81 02 00 0E 3C F1 19 9B 01 00 06 00 00 00 10 00 01 01 D5 03

Décodage :

Type: 0x8102 (Attribute Report)
SQN: 0xF1
Src Addr: 0x199B
Src Ep: 0x01
Cluster ID: 0x0006 (General: On/Off)
Attribute ID: 0x0000
Attribute Size: 0x0001
Attribute Type: 0x10 (Boolean)
Attribute Data: 0x01 (ON) ou 0x00 (OFF)
Status: 0x00

Retour Consommation

Back

Translate »