plugin-ZIGBEE Beta

C’est expliqué au début du sujet. Et tu peux juste regarder comment font les autres…

Un message a été scindé en un nouveau sujet : Problème Sonoff ZBMINI plugin beta Zigbee Beta

Re-bonjour, Loïc.

Concernant mon deuxième module :
« name »: « ASLED Swing »,
« ref » : « _TZ3000_40zcsvfv TS0502A »,
Qui est décrit dans le fichier …/config/devices/tuya/_TZ3000_40zcsvfv.TS0502A.json
Il ne s’intègre pas.
Je t’avais envoyé les données brutes dans un post précédent, je les rappelle tout en bas.

Ce module gère des spots ASLED Swing

  • luminosité
  • température de blanc (pas couleur RGB)

Je te joins ci-dessous la log de son intégration, cela étant, je ne retrouve pas dans le fichier _TZ3000_40zcsvfv.TS0502A.json la descriptions des fonctionnalités attendues, ce n’est donc peut-être pas surprenant.

Merci d’avance,
JM

Log d’intégration :

[2021-02-08 11:49:56][INFO] : 200 PUT /application/include (127.0.0.1) 16.27ms
[2021-02-08 11:50:30][INFO] : [00:12:4b:00:22:6b:29:7c][listener.general_command] Cluster: <zigpy.zcl.clusters.measurement.RelativeHumidity object at 0xb44dbb50> ClusterId: 0x0405 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=187 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=6681>)]],)
[2021-02-08 11:50:30][INFO] : [00:12:4b:00:22:6b:29:7c][listener.attribute_updated] Received an attribute update 0=6681 on cluster 1029
[2021-02-08 11:50:30][INFO] : [00:12:4b:00:22:6b:29:7c][listener.general_command] Cluster: <zigpy.zcl.clusters.measurement.RelativeHumidity object at 0xb44dbb50> ClusterId: 0x0405 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=187 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=6681>)]],)
[2021-02-08 11:50:30][INFO] : [00:12:4b:00:22:6b:29:7c][listener.attribute_updated] Received an attribute update 0=6681 on cluster 1029
[2021-02-08 11:50:33][INFO] : Device 0x42dd (ec:1b:bd:ff:fe:8a:19:7d) joined the network
[2021-02-08 11:50:33][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.device_joined]
[2021-02-08 11:50:33][INFO] : [0x42dd] Requesting 'Node Descriptor'
[2021-02-08 11:50:33][INFO] : [0x42dd] Node Descriptor: NodeDescriptor(byte1=1, byte2=64, mac_capability_flags=142, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=0)
[2021-02-08 11:50:33][INFO] : [0x42dd] Discovering endpoints
[2021-02-08 11:50:33][INFO] : [0x42dd] Discovered endpoints: [1]
[2021-02-08 11:50:33][INFO] : [0x42dd:1] Discovering endpoint information
[2021-02-08 11:50:33][INFO] : [0x42dd:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=257, device_version=0, input_clusters=[0, 10, 4, 5, 6, 8, 768], output_clusters=[25])
[2021-02-08 11:50:33][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.device_initialized] new=True
[2021-02-08 11:50:34][WARNING] : [ec:1b:bd:ff:fe:8a:19:7d][zdevices.get_basic_info] Begin get basic info from device
[2021-02-08 11:50:34][WARNING] : [ec:1b:bd:ff:fe:8a:19:7d][zdevices.get_basic_info] End point found
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 0=3 on cluster 0
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=65 on cluster 0
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 2=0 on cluster 0
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 3=1 on cluster 0
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0xb44fb730> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=0 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0xb44fb730> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=0 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.lighting.Color object at 0xb44fb390> ClusterId: 0x0300 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=1 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=61440, value=<TypeValue type=uint8_t, value=0>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 61440=0 on cluster 768
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.lighting.Color object at 0xb44fb390> ClusterId: 0x0300 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=1 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=61440, value=<TypeValue type=uint8_t, value=0>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 61440=0 on cluster 768
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0xb44fb730> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=2 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=16386, value=<TypeValue type=uint16_t, value=0>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 16386=0 on cluster 6
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0xb44fb730> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=2 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=16386, value=<TypeValue type=uint16_t, value=0>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 16386=0 on cluster 6
[2021-02-08 11:50:35][INFO] : [00:0d:6f:00:0f:95:12:d9][listener.general_command] Cluster: <zigpy.zcl.clusters.general.LevelControl object at 0xb44dbdf0> ClusterId: 0x0008 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=44>)]],)
[2021-02-08 11:50:35][INFO] : [00:0d:6f:00:0f:95:12:d9][listener.attribute_updated] Received an attribute update 0=44 on cluster 8
[2021-02-08 11:50:35][INFO] : [00:0d:6f:00:0f:95:12:d9][listener.general_command] Cluster: <zigpy.zcl.clusters.general.LevelControl object at 0xb44dbdf0> ClusterId: 0x0008 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=44>)]],)
[2021-02-08 11:50:35][INFO] : [00:0d:6f:00:0f:95:12:d9][listener.attribute_updated] Received an attribute update 0=44 on cluster 8
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.LevelControl object at 0xb44fb410> ClusterId: 0x0008 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=255>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 0=255 on cluster 8
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.LevelControl object at 0xb44fb410> ClusterId: 0x0008 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint8_t, value=255>)]],)
[2021-02-08 11:50:35][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 0=255 on cluster 8
[2021-02-08 11:50:36][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.lighting.Color object at 0xb44fb390> ClusterId: 0x0300 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=4 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=7, value=<TypeValue type=uint16_t, value=255>)]],)
[2021-02-08 11:50:36][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 7=255 on cluster 768
[2021-02-08 11:50:36][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.lighting.Color object at 0xb44fb390> ClusterId: 0x0300 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=4 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=7, value=<TypeValue type=uint16_t, value=255>)]],)
[2021-02-08 11:50:36][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 7=255 on cluster 768
[2021-02-08 11:50:36][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 7=PowerSource.Mains_single_phase on cluster 0
[2021-02-08 11:50:37][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 6= on cluster 0
[2021-02-08 11:50:37][WARNING] : [ec:1b:bd:ff:fe:8a:19:7d][zdevices.get_basic_info] End get basic info from device
[2021-02-08 11:50:41][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Time object at 0xb44fb9b0> ClusterId: 0x000a command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=5 command_id=Command.Read_Attributes> args: ([[7]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=6 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=255>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=255 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=6 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=255>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=255 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=6 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=255>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=255 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=7 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=65>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=65 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=7 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=65>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=65 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=7 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=65>), Attribute(attrid=65506, value=<TypeValue type=uint8_t, value=21>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 1=65 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65506=21 on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=8 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=65503, value=<TypeValue type=CharacterString, value=>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65503= on cluster 0
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0xb44fb710> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=8 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=65503, value=<TypeValue type=CharacterString, value=>)]],)
[2021-02-08 11:50:47][INFO] : [ec:1b:bd:ff:fe:8a:19:7d][listener.attribute_updated] Received an attribute update 65503= on cluster 0
[2021-02-08 11:51:03][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 20.15ms
[2021-02-08 11:51:03][INFO] : 200 GET /group/all (127.0.0.1) 1.75ms

Données brutes :

{
    "ieee": "ec:1b:bd:ff:fe:8a:19:7d",
    "nwk": 17117,
    "status": 2,
    "lqi": "180",
    "rssi": "0",
    "last_seen": "1612781447.5150867",
    "node_descriptor": "01:40:8e:02:10:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 257,
            "profile_id": 260,
            "manufacturer": "_TZ3000_40zcsvfv",
            "model": "TS0502A",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 65
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_40zcsvfv"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0502A"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": ""
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 1
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 8,
                    "name": "Level control",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_level",
                            "value": 255
                        }
                    ]
                },
                {
                    "id": 768,
                    "name": "Color Control",
                    "attributes": [
                        {
                            "id": 7,
                            "name": "color_temperature",
                            "value": 255
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TZ3000_40zcsvfv",
        "model": "TS0502A",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4098,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 82,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 82,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 257,
                "input_clusters": [
                    0,
                    10,
                    4,
                    5,
                    6,
                    8,
                    768
                ],
                "output_clusters": [
                    25
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Ci joint les infos pour la création:

  • Appareil : OnOff Controller Model SA-003-Zigbee manufactured by eWeLink
  • les données brutes
{
    "ieee": "00:12:4b:00:1f:52:1d:b7",
    "nwk": 54255,
    "status": 2,
    "lqi": "255",
    "rssi": "-40",
    "last_seen": "1612780903.8096945",
    "node_descriptor": "01:40:8e:00:00:50:a0:00:00:00:a0:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 9,
            "profile_id": 260,
            "manufacturer": "eWeLink",
            "model": "SA-003-Zigbee",
            "output_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 1
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "eWeLink"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "SA-003-Zigbee"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "20190907-V102"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "eWeLink",
        "model": "SA-003-Zigbee",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 0,
            "maximum_buffer_size": 80,
            "maximum_incoming_transfer_size": 160,
            "server_mask": 0,
            "maximum_outgoing_transfer_size": 160,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 9,
                "input_clusters": [
                    0,
                    3,
                    4,
                    5,
                    6
                ],
                "output_clusters": [
                    0
                ]
            }
        }
    },
    "class": "zigpy.device"
}
  • les logs
[2021-02-08 11:41:38][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7fd6301d7e10> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=5 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]],)
[2021-02-08 11:41:38][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 11:41:38][INFO] : 200 PUT /device/command (127.0.0.1) 57.51ms
[2021-02-08 11:41:39][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7fd6301d7e10> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=6 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]],)
[2021-02-08 11:41:39][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.attribute_updated] Received an attribute update 0=Bool.false on cluster 6
[2021-02-08 11:41:39][INFO] : 200 PUT /device/command (127.0.0.1) 58.39ms
[2021-02-08 11:41:42][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7fd6301d7e10> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=7 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]],)
[2021-02-08 11:41:42][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 11:41:42][INFO] : 200 PUT /device/command (127.0.0.1) 59.95ms
[2021-02-08 11:41:43][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7fd6301d7e10> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=8 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]],)
[2021-02-08 11:41:43][INFO] : [00:12:4b:00:1f:52:1d:b7][listener.attribute_updated] Received an attribute update 0=Bool.false on cluster 6
[2021-02-08 11:41:43][INFO] : 200 PUT /device/command (127.0.0.1) 56.01ms
[2021-02-08 11:41:55][INFO] : [00:12:4b:00:1c:4b:1c:99][listener.general_command] Cluster: <zigpy.zcl.clusters.measurement.RelativeHumidity object at 0x7fd6301f9cf8> ClusterId: 0x0405 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=188 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=5839>)]],)
[2021-02-08 11:41:55][INFO] : [00:12:4b:00:1c:4b:1c:99][listener.attribute_updated] Received an attribute update 0=5839 on cluster 1029
  • La photo de l’appareil
    Module SA_003

Pouvez-vous me dire si cela correspond à la méthode pour une nouvelle création, n’hésitez pas à me dire s’il manque des informations ou si ce n’est pas cela que vous attendez.
Merci de votre compréhension et de votre indulgence.
Dominique

Loic (le big boss :slight_smile:) va te dire si c’est ok pour lui. C’est lui qui prépare les profils d’équipements dans le plugin. Pour ma part, ça me parait pas mal à première vue :slight_smile: et bravo pour l’image avec transparence !

Merci du retour, je vais attendre la réponse du Big Boss.

Bonjour,
Nickel ca sera dans la beta de demain

Super, merci beaucoup pour votre travail et votre réactivité.
Dominique

Non c’était sur 2 box différentes. Dés que je reçois la seconde clés je vais faire des test
Merci

Bonjour Loïc,
Merci, je regarderai.
Pour les batteries et les transmissions (RSSI, LQI), c’est vu et compris.
Est-ce que les commandes (simulation d’appui sur les boutons) seront également disponibles (appui court, long, double) ?
Manque-t’il des informations pour cela et comment les trouver ?

Bonjour,

@Loic > mon capteur de vibration Xiaomi n’a pas été détecté commme tel lors de l’inclusion. Je l’ai passé en vibration.aq1 manuellement et tout marche mais c’était pas automatique.

{
    "ieee": "xxx",
    "nwk": 36044,
    "status": 2,
    "lqi": "175",
    "rssi": "-53",
    "last_seen": "1612795689.0293717",
    "node_descriptor": "02:40:80:37:10:7f:64:00:00:00:64:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 10,
            "profile_id": 260,
            "manufacturer": null,
            "model": "lumi.vibration.aq1",
            "output_clusters": [
                {
                    "id": 0,
                    "name": "VibrationBasicCluster",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "VibrationBasicCluster",
                    "attributes": [
                        {
                            "id": 5,
                            "name": "model",
                            "value": "lumi.vibration.aq1"
                        }
                    ]
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": [
                        {
                            "id": 32,
                            "name": "battery_voltage",
                            "value": 32
                        },
                        {
                            "id": 33,
                            "name": "battery_percentage_remaining",
                            "value": 200
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 1280,
                    "name": "IAS Zone",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zone_state",
                            "value": 0
                        },
                        {
                            "id": 16,
                            "name": "cie_addr",
                            "value": [
                                174,
                                240,
                                165,
                                254,
                                255,
                                204,
                                204,
                                204
                            ]
                        }
                    ]
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 257,
                    "name": "MultistateInputCluster",
                    "attributes": [
                        {
                            "id": 85,
                            "name": "present_value",
                            "value": 1
                        }
                    ]
                }
            ]
        },
        {
            "id": 2,
            "status": 1,
            "device_type": 24322,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInput",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.vibration.aq1",
        "node_desc": {
            "byte1": 2,
            "byte2": 64,
            "mac_capability_flags": 128,
            "manufacturer_code": 4151,
            "maximum_buffer_size": 127,
            "maximum_incoming_transfer_size": 100,
            "server_mask": 0,
            "maximum_outgoing_transfer_size": 100,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 10,
                "input_clusters": [
                    0,
                    1,
                    3,
                    1280,
                    25,
                    257
                ],
                "output_clusters": [
                    0,
                    3,
                    4,
                    5,
                    25
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 24322,
                "input_clusters": [
                    3
                ],
                "output_clusters": [
                    3,
                    4,
                    5,
                    18
                ]
            }
        }
    },
    "class": "zhaquirks.xiaomi.aqara.vibration_aq1"
}

Bonjour, si ce n’est pas trop abusé j’ai un nouveau matériel à créer:

  • prise Xiaomi ZNCZ04LM :
  • caractéristiques
Switch #

The current state of this switch is in the published state under the state property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state": "ON"}, {"state": "OFF"} or {"state": "TOGGLE"}. To read the current state of this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"state": ""}.
Power (numeric) #

Instantaneous measured power. Value can be found in the published state on the power property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power": ""}. It’s not possible to write (/set) this value. The unit of this value is W.
Energy (numeric) #

Sum of consumed energy. Value can be found in the published state on the energy property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is kWh.
Temperature (numeric) #

Measured temperature value. Value can be found in the published state on the temperature property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is °C.
Voltage (numeric) #

Measured electrical potential value. Value can be found in the published state on the voltage property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is V.
Current (numeric) #

Instantaneous measured electrical current. Value can be found in the published state on the current property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is A.
Consumer_connected (binary) #

Indicates whether device is physically attached. Device does not have to pull power or even be connected electrically (switch can be ON even if switch is OFF).. Value can be found in the published state on the consumer_connected property. It’s not possible to read (/get) or write (/set) this value. If value equals true consumer_connected is ON, if false OFF.
Consumer_overload (numeric) #

Indicates with how many Watts the maximum possible power consumption is exceeded. Value can be found in the published state on the consumer_overload property. It’s not possible to read (/get) or write (/set) this value. The unit of this value is W.
Led_disabled_night (binary) #

Enable/disable the LED at night. Value can be found in the published state on the led_disabled_night 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 {"led_disabled_night": NEW_VALUE}. If value equals true led_disabled_night is ON, if false OFF.
Power_outage_memory (binary) #

Enable/disable the power outage memory, this recovers the on/off mode after power failure. Value can be found in the published state on the power_outage_memory 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 {"power_outage_memory": NEW_VALUE}. If value equals true power_outage_memory is ON, if false OFF.
Auto_off (binary) #

Turn the device automatically off when attached device consumes less than 2W for 20 minutes. Value can be found in the published state on the auto_off 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 {"auto_off": NEW_VALUE}. If value equals true auto_off is ON, if false OFF.
Linkquality (numeric) #
  • données brutes:
{
    "ieee": "04:cf:8c:df:3c:7e:54:cb",
    "nwk": 23874,
    "status": 2,
    "lqi": "255",
    "rssi": "-49",
    "last_seen": "1612794940.5824192",
    "node_descriptor": "01:40:8e:5f:11:7f:64:00:00:2c:64:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 81,
            "profile_id": 260,
            "manufacturer": "LUMI",
            "model": "lumi.plug.mmeu01",
            "output_clusters": [
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "BasicCluster",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 22
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 2
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "LUMI"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "lumi.plug.mmeu01"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "09-06-2019"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 2,
                    "name": "Device Temperature",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 9,
                    "name": "Alarms",
                    "attributes": []
                },
                {
                    "id": 1794,
                    "name": "Metering",
                    "attributes": []
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": [
                        {
                            "id": 1291,
                            "name": "active_power",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "id": 21,
            "status": 1,
            "device_type": 9,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 12,
                    "name": "AnalogInput",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 12,
                    "name": "AnalogInputCluster",
                    "attributes": [
                        {
                            "id": 85,
                            "name": "present_value",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "id": 242,
            "status": 1,
            "device_type": 97,
            "profile_id": 41440,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 33,
                    "name": "GreenPowerProxy",
                    "attributes": []
                }
            ],
            "input_clusters": []
        }
    ],
    "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.plug.mmeu01",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4447,
            "maximum_buffer_size": 127,
            "maximum_incoming_transfer_size": 100,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 100,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 81,
                "input_clusters": [
                    0,
                    2,
                    3,
                    4,
                    5,
                    6,
                    9,
                    1794,
                    2820
                ],
                "output_clusters": [
                    10,
                    25
                ]
            },
            "21": {
                "profile_id": 260,
                "device_type": 9,
                "input_clusters": [
                    12
                ],
                "output_clusters": [
                    12,
                    4
                ]
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zhaquirks.xiaomi.aqara.plug_mmeu01"
}

- les logs :

[2021-02-08 15:58:34][INFO] : 200 PUT /device/command (127.0.0.1) 23.60ms
[2021-02-08 15:58:34][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7f4f01ac3b38> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=23 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=117440542>)]],)
[2021-02-08 15:58:34][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 15:58:34][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 245=117440542 on cluster 6
[2021-02-08 15:58:36][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zhaquirks.xiaomi.AnalogInputCluster object at 0x7f4f01ac3da0> ClusterId: 0x000c command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=24 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=Single, value=152.52000427246094>)]],)
[2021-02-08 15:58:36][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 85=152.52000427246094 on cluster 12
[2021-02-08 15:58:36][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 1291=152.52000427246094 on cluster 2820
[2021-02-08 15:58:43][INFO] : 200 PUT /device/command (127.0.0.1) 28.80ms
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zhaquirks.xiaomi.AnalogInputCluster object at 0x7f4f01ac3da0> ClusterId: 0x000c command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=25 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=Single, value=0.0>)]],)
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 85=0.0 on cluster 12
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 1291=0.0 on cluster 2820
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7f4f01ac3b38> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=26 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=117440544>)]],)
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 0=Bool.false on cluster 6
[2021-02-08 15:58:43][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 245=117440544 on cluster 6
[2021-02-08 15:58:46][INFO] : 200 PUT /device/command (127.0.0.1) 28.69ms
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7f4f01ac3b38> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=27 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=117440546>)]],)
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 245=117440546 on cluster 6
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zhaquirks.xiaomi.AnalogInputCluster object at 0x7f4f01ac3da0> ClusterId: 0x000c command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=Single, value=78.22799682617188>)]],)
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 85=78.22799682617188 on cluster 12
[2021-02-08 15:58:46][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 1291=78.22799682617188 on cluster 2820
[2021-02-08 15:58:50][INFO] : 200 PUT /device/command (127.0.0.1) 22.53ms
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zigpy.zcl.clusters.general.OnOff object at 0x7f4f01ac3b38> ClusterId: 0x0006 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=117440548>)]],)
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 0=Bool.false on cluster 6
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 245=117440548 on cluster 6
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.general_command] Cluster: <zhaquirks.xiaomi.AnalogInputCluster object at 0x7f4f01ac3da0> ClusterId: 0x000c command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=Single, value=0.0>)]],)
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 85=0.0 on cluster 12
[2021-02-08 15:58:50][INFO] : [04:cf:8c:df:3c:7e:54:cb][listener.attribute_updated] Received an attribute update 1291=0.0 on cluster 2820

- La photo de la prise :

MI smart plug

Merci d’avance
Dominique

Bonjour,
Pour moi cet équipement est deja dans jeedom.

Bonjour,
C’est du au nom que donne xiaomi, j’ai l’impression qu’un meme device peut avoir 3 nom…

C’est bizarre, si tu compares aux autres json… ?

Notamment le mien:
https://community.jeedom.com/t/plugin-zigbee-beta/40301/406?u=ericrac

J’ai effectivement fait l’essai avec les prises présentes dans « XIAOMI », mais je ne retrouve pas certaines informations, comme la température, la tension, …
Je peux peut-être les rajouter en commande ?

Quels champs Json utilises-tu pour matcher avec le bon profil :

 "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.plug.mmeu01",

Ces 2 la?

oui ces 2 la sauf que manufacturer est un coup vide un coup à LUMI ou meme desfois a XIAOMI

Pouvez-vous me dire si je peux rajouter les informations manquantes dans l’onglet « commande » « ajouter des commandes » ? Et si oui quelle est la procédure ?
J’ai essayé de rajouter la température, sans résultat …

Tu peux pas faire des regex du coup ? Genre: (.*)xiaomi.aqara.vibration_aq1 ? Ou alors te faut un nom complet et fixe ?