plugin-ZIGBEE Beta

Non trop risqué avec les modules ayant un nom court

Merci, j’attendrai le mode stable pour récupérer les infos manquantes.

Merci pour le retour

Bonjour Loic,
Si tu peux ajouter :
sirene
Marque Neo Coolcam ( mais sa semble marcher comme les Tuya ? )
Model Sirene LCA001

{
    "ieee": "00:17:88:01:08:30:29:5b",
    "nwk": 31262,
    "status": 2,
    "lqi": "223",
    "rssi": "-66",
    "last_seen": "1612812541.4662",
    "node_descriptor": "01:40:8e:0b:10:52:80:00:00:2c:80:00:00",
    "endpoints": [
        {
            "id": 11,
            "status": 1,
            "device_type": 269,
            "profile_id": 260,
            "manufacturer": "Signify Netherlands B.V.",
            "model": "LCA001",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 2
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 2
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 1
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 5
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "Signify Netherlands B.V."
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "LCA001"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "20201012"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        },
                        {
                            "id": 16384,
                            "name": "sw_build_id",
                            "value": "1.76.10"
                        }
                    ]
                },
                {
                    "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": 1
                        }
                    ]
                },
                {
                    "id": 8,
                    "name": "Level control",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_level",
                            "value": 254
                        }
                    ]
                },
                {
                    "id": 4096,
                    "name": "LightLink",
                    "attributes": []
                },
                {
                    "id": 64514,
                    "name": "Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 768,
                    "name": "Color Control",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_hue",
                            "value": 32
                        },
                        {
                            "id": 1,
                            "name": "current_saturation",
                            "value": 140
                        },
                        {
                            "id": 3,
                            "name": "current_x",
                            "value": 29973
                        },
                        {
                            "id": 4,
                            "name": "current_y",
                            "value": 26871
                        },
                        {
                            "id": 7,
                            "name": "color_temperature",
                            "value": 366
                        }
                    ]
                },
                {
                    "id": 64513,
                    "name": "Manufacturer Specific",
                    "attributes": []
                }
            ]
        },
        {
            "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": "Signify Netherlands B.V.",
        "model": "LCA001",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4107,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 128,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 128,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "11": {
                "profile_id": 260,
                "device_type": 269,
                "input_clusters": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    8,
                    4096,
                    64514,
                    768,
                    64513
                ],
                "output_clusters": [
                    25
                ]
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zhaquirks.philips.zhaextendedcolorlight"
}

Merci pour ton aide

Max 110 dis-tu !
J’ai une CC2531 (TI donc) et :


Je suis à moins d’un mètre…
Je crois avoir eu 117… mais pas certain
:slight_smile:

Premiers tests

  • Nouvelle clé USB/coordinateur CC2652RB
  • Flash avec succès en Z-Stack
  • Désactivation et déconnexion CC2531 en position 1
  • Connexion et config CC2652RB en position 2

  • Désactivation du plugin
  • Activation
  • Mise à jour des dépendances
  • Vidage des logs
  • Démarrage du démon

Log Zigbeed_2

[2021-02-09 00:08:28][INFO] : Start zigbeed
[2021-02-09 00:08:28][INFO] : Log level : debug
[2021-02-09 00:08:28][INFO] : PID file : /tmp/jeedom/zigbee/deamon_2.pid
[2021-02-09 00:08:28][INFO] : Device : /dev/ttyUSB0
[2021-02-09 00:08:28][INFO] : Apikey : xxxx
[2021-02-09 00:08:28][INFO] : Callback : http://127.0.0.1:80/plugins/zigbee/core/php/jeeZigbee.php
[2021-02-09 00:08:28][INFO] : Cycle : 0.3
[2021-02-09 00:08:28][INFO] : Controller : cc
[2021-02-09 00:08:28][INFO] : Channel : 15
[2021-02-09 00:08:28][INFO] : Data folder : /var/www/html/plugins/zigbee/data/2
[2021-02-09 00:08:30][INFO] : Find device : /dev/ttyUSB0
[2021-02-09 00:08:30][INFO] : LOADER------Import de la configuration specifics.danfoss
[2021-02-09 00:08:30][INFO] : LOADER------Import de la configuration specifics.danfoss.details
[2021-02-09 00:08:30][INFO] : LOADER------Import de la configuration specifics.develco
[2021-02-09 00:08:30][INFO] : LOADER------Import de la configuration specifics.develco.details
[2021-02-09 00:08:30][DEBUG] : Writing PID 30457 to /tmp/jeedom/zigbee/deamon_2.pid
[2021-02-09 00:08:30][DEBUG] : Init request module v2.21.0
[2021-02-09 00:08:30][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-02-09 00:08:30][DEBUG] : http://127.0.0.1:80 "GET /plugins/zigbee/core/php/jeeZigbee.php?apikey=xxxx HTTP/1.1" 200 0
[2021-02-09 00:08:30][DEBUG] : Using selector: EpollSelector
[2021-02-09 00:08:30][DEBUG] : [start_zigbee] Init zigbee network with config : {'database_path': '/var/www/html/plugins/zigbee/data/2/network_cc.db', 'device': {'path': '/dev/ttyUSB0'}, 'network': {'channel': 15}}
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<function connect.<locals>.connector at 0x74e11780>)
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Connection object at 0x74ef1820>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA foreign_keys = ON', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS devices (ieee ieee, nwk, status)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS ieee_idx ON devices(ieee)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS endpoints (ieee ieee, endpoint_id, profile_id, device_type device_type, status, FOREIGN KEY(ieee) REFERENCES devices(ieee) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS endpoint_idx ON endpoints(ieee, endpoint_id)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS clusters (ieee ieee, endpoint_id, cluster, FOREIGN KEY(ieee, endpoint_id) REFERENCES endpoints(ieee, endpoint_id) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS cluster_idx ON clusters(ieee, endpoint_id, cluster)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS neighbors (device_ieee ieee NOT NULL, extended_pan_id ieee NOT NULL,ieee ieee NOT NULL, nwk INTEGER NOT NULL, struct INTEGER NOT NULL, permit_joining INTEGER NOT NULL, depth INTEGER NOT NULL, lqi INTEGER NOT NULL, FOREIGN KEY(device_ieee) REFERENCES devices(ieee) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE INDEX IF NOT EXISTS neighbors_idx ON neighbors(device_ieee)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS node_descriptors (ieee ieee, value, FOREIGN KEY(ieee) REFERENCES devices(ieee) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS node_descriptors_idx ON node_descriptors(ieee)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS output_clusters (ieee ieee, endpoint_id, cluster, FOREIGN KEY(ieee, endpoint_id) REFERENCES endpoints(ieee, endpoint_id) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS output_cluster_idx ON output_clusters(ieee, endpoint_id, cluster)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS attributes (ieee ieee, endpoint_id, cluster, attrid, value, FOREIGN KEY(ieee) REFERENCES devices(ieee) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS attribute_idx ON attributes(ieee, endpoint_id, cluster, attrid)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS groups (group_id, name)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS group_idx ON groups(group_id)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS group_members (group_id, ieee ieee, endpoint_id,
FOREIGN KEY(group_id) REFERENCES groups(group_id) ON DELETE CASCADE,
FOREIGN KEY(ieee, endpoint_id)
REFERENCES endpoints(ieee, endpoint_id) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS group_members_idx ON group_members(group_id, ieee, endpoint_id)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE TABLE IF NOT EXISTS relays (ieee ieee, relays,
FOREIGN KEY(ieee) REFERENCES devices(ieee) ON DELETE CASCADE)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'PRAGMA user_version = 3', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'CREATE UNIQUE INDEX IF NOT EXISTS relays_idx ON relays(ieee)', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x74ef1820>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : Loading application state from %s
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM devices', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d3a0>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d3a0>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d3a0>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM node_descriptors', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d520>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d520>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM endpoints', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d520>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d520>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM clusters', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d520>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d520>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d520>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM output_clusters', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM attributes WHERE attrid=4 OR attrid=5', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM attributes', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM groups', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM group_members', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM relays', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x74ef1820>, 'SELECT * FROM neighbors', [])
[2021-02-09 00:08:30][DEBUG] : returning <sqlite3.Cursor object at 0x74e7d720>
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method fetchmany of sqlite3.Cursor object at 0x74e7d720>, 64)
[2021-02-09 00:08:30][DEBUG] : returning []
[2021-02-09 00:08:30][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Cursor object at 0x74e7d720>)
[2021-02-09 00:08:30][DEBUG] : returning None
[2021-02-09 00:08:30][INFO] : Starting zigpy-cc version: 0.5.2
[2021-02-09 00:08:30][DEBUG] : Connecting on port /dev/ttyUSB0 with boudrate 115200
[2021-02-09 00:08:30][DEBUG] : Connection made
[2021-02-09 00:08:31][DEBUG] : --> SREQ SYS ping tsn: None {'capabilities': 1}
[2021-02-09 00:08:31][DEBUG] : Send: b'\xfe\x00!\x01 '
[2021-02-09 00:08:37][ERROR] : Couldn't start application
[2021-02-09 00:08:37][DEBUG] : executing functools.partial(<built-in method close of sqlite3.Connection object at 0x74ef1820>)
[2021-02-09 00:08:37][DEBUG] : returning None
[2021-02-09 00:08:37][ERROR] : [start_zigbee] Fatal error :
[2021-02-09 00:08:37][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/zigbeed.py", line 71, in start_zigbee
start_radio=True,
File "/usr/local/lib/python3.7/dist-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.7/dist-packages/zigpy_cc/zigbee/application.py", line 95, in startup
await self._api.request(Subsystem.SYS, "ping", {"capabilities": 1})
File "/usr/local/lib/python3.7/dist-packages/zigpy_cc/api.py", line 117, in request
return await self.request_raw(obj, waiter_id, expected_status)
File "/usr/local/lib/python3.7/dist-packages/zigpy_cc/api.py", line 121, in request_raw
return await self._request_raw(obj, waiter_id, expected_status)
File "/usr/local/lib/python3.7/dist-packages/zigpy_cc/api.py", line 141, in _request_raw
result = await waiter.wait()
File "/usr/local/lib/python3.7/dist-packages/zigpy_cc/api.py", line 47, in wait
return await asyncio.wait_for(self.future, self.timeout / 1000)
File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[2021-02-09 00:08:37][DEBUG] : Shutdown
[2021-02-09 00:08:37][DEBUG] : Removing PID file /tmp/jeedom/zigbee/deamon_2.pid
[2021-02-09 00:08:37][DEBUG] : Exit 0
  • Je connecte et réactive la clé 1 CC2531 => Idem
  • Je désactive la clé 2 (et reste branché) => Démarrage OK du démon. Test bouton Zig Sonoff OK.
  • Je réactive la clé 2

  • Démon dit NOK néanmoins :
    ** La clé 1 continue de fonctionner
    ** La clé 2 ne fonctionne pas

Le log Zigbeed_2 est tj le même.

Modif à 01h10 :

En regardant le code et l’aide… j’ai compris mon erreur :

EUREKA ça marche

Prochain épisode dans un sujet annexe plugin-ZIGBEE Beta - CC2652RB - Plugins / Protocole domotique - Communauté Jeedom

1 « J'aime »

Salut,

Subtilité de la doc, non relevé avant ton message « ~ » dans la doc donc environ :

https://www.waveshare.com/w/upload/2/24/CC2530.pdf#page=203&zoom=100,0,0

19.10.4 Link Quality Indication

The link quality indication (LQI) is a measurement of the strength and/or quality of the received frame as
defined by the IEEE 802.15.4 standard [1]. The LQI value is required by the IEEE 802.15.4 standard [1] to
be limited to the range 0 through 255, with at least eight unique values. The radio does not provide an LQI
value directly, but reports several measurements that can be used by the microcontroller to calculate an
LQI value.
The RSSI value can be used by the MAC software to calculate the LQI value. This approach has the
disadvantage that, e.g., a narrowband interferer inside the channel bandwidth can increase the RSSI and
thus the LQI value, although the true link quality actually decreases. The radio therefore also provides an
average correlation value for each incoming frame, based on the first eight symbols following the SFD.
This unsigned 7-bit value can be looked on as a measurement of the chip error rate, although the radio
does not do chip decision.
As described in Section 19.9.7, the average correlation value for the first eight symbols is appended to
each received frame, together with the RSSI and CRC OK/not OK, when MDMCTRL0.AUTOCRC is set. A
correlation value of ~110 indicates a maximum-quality frame, whereas a value of ~50 is typically the
lowest-quality frame detectable by the radio.
Software must convert the correlation value to the range 0–255 as defined by [1], for instance by
calculating:
LQI = (CORR – a)b
limited to the range 0–255, where a and b are found empirically based on PER measurements as a
function of the correlation value.
A combination of RSSI and correlation values may also be used to generate the LQI value.

Nb : J’avais trouvé aussi (mais je ne sais plus où) certaine puce qui code le LQI en 6 ou 7 bits, ce qui influence les valeurs.

Pour activer le RSSI visiblement il faut activer le « FRMCTRL0.AUTOCRC », je ne sais pas si a quel niveau c’est activable, @loic activable dans le plugin ? a mon avis non …

A explorer du coté de Zigpy ?

Pour ma part je vais me suffir de cela, j’ai tellement d’autres choses à faire…

Je t’avoue que tant que ca fonctionne je m’en fou perso, mais bon si c’est facile a activer autant pas s’en priver. Après j’ai essayer de me renseigner, mais mes limitation technique et linguistique m’ont vite arrêté ^^

Bonjour, Loïc
Bravo et merci, cela fonctionne maintenant. :wave: :muscle: :+1:
Je peux contrôler la dalle en luminosité et en température de couleur.

J’ai cependant remarqué que les valeurs max et min de couleur sont 0 et 500 après l’inclusion.
Mais quand le tente de les atteindre, le module va au minimum à 155 et au minimum (lumière froide) et 450 au maximum (lumière chaude).
J’ai mis à jour les commandes du module à la main, ça fonctionne bien avec ces valeurs.
Je te suggère si c’est possible de les fixer dans le plugin.

Autre point, quand je change les valeurs de couleur de température, le module peut mettre jusqu’à 30s pour renvoyer la nouvelle valeur en retour, parfois même en passant pas une ou deux valeurs intermédiaires. Le changement visuel est par contre immédiat.
J’imagine que cela est lié au module lui-même.

Bonjour,
Tu es sur de toi on dirait une ampoule philips hue la…

Bonjour,

je sollicite votre aide car j’ai un soucis avec le ZBmini, le retour d etat est correct avec appui physique mais par contre on ou off par jeedom j’ai le message suivant:

Erreur lors de la requete : http://127.0.0.1:8089/device/command(PUT), data :

{"ieee":"80:4b:50:ff:fe:ab:66:4b","cmd":[{"endpoint":1,"cluster":"on_off","command":"on","await":1,"args":null}],"allowQueue":false} erreur : {"state":"error","result":"functools.partial object argument after * must be an iterable, not NoneType","code":0}

Ai je loupé quelque chose ?

merci et très bonne journée

Bonjour, Loïc,

J’ai aussi tenté de ré-inclure ce module.
Pas de changement, il apparaît toujours comme module basique, sans commande.

J’ai cependant un peu progressé :
Le module n’ayant pas été reconnu, il n’y avait pas de fabricant ni d’équipement.
J’ai donc appliqué les valeurs :
Fabricant : Tuya
Equipement : [_TZ3000_40zcsvfv TS0502A] ASLED Swing

Puis, j’ai demandé la regénération des commandes qui a produit ON, OFF et Etat.

Quand j’applique la commande OFF, j’obtiens le message suivant :

[2021-02-09 10:17:01][ERROR] : Erreur exécution de la commande [Atelier][TZ3000_40zcsvfv.TS0502A ec:1b:bd:ff:fe:8a:19:7d][Off] : Erreur lors de la requete : http://127.0.0.1:8089/device/command(PUT), data :

{"ieee":"ec:1b:bd:ff:fe:8a:19:7d","cmd":[{"endpoint":1,"cluster":"on_off","command":"off","args":null}],"allowQueue":false} erreur : {"state":"error","result":"functools.partial object argument after * must be an iterable, not NoneType","code":0}

Dis moi quand tu auras le temps de t’y pencher et si tu as besoin d’autres infos.
Merci d’avance.

Oups, petit souci quand même :

La commande OFF ne marche plus, elle fonctionnait pourtant jusqu’ici :

[2021-02-09 10:32:25][ERROR] : Erreur exécution de la commande [Atelier][Sunricher.CCT_Lighting 00:0d:6f:00:0f:95:12:d9][Off] : Erreur lors de la requete : http://127.0.0.1:8089/device/command(PUT), data :

{"ieee":"00:0d:6f:00:0f:95:12:d9","cmd":[{"endpoint":1,"cluster":"on_off","command":"off","args":null}],"allowQueue":false} erreur : {"state":"error","result":"functools.partial object argument after * must be an iterable, not NoneType","code":0}

Dis-moi si tu veux d’autres informations.

Tu as mis a jour ce matin ?

Je rencontre le même problème que toi …
Alors que ca fonctionnait très bien il y a qq jours

Ha Ok merci de ton retour, car je viens d’en acheter 8… et au 1er ca me fait ca, jme suis grrrrrrrrr j’ai pas fini en démontant tout !!

Mais bon Ok c’est en béta et si ca a deja marché avant je continue a installer les autres.

Petite question, est ce que ce modele avec ec plugin marche comme un répéteur genre pour des capteurs éloignées de ma conbeeII ?

merci de ton retour

oui, il fonctionne comme repeteur

Ok cool, donc j installe mes ZB mini, et ensuite je laisse genre mes capteurs aqara a leur place finale pour faire l inclusion et ainsi ca passera par le zbmini c’est tout ?

malheuresement non, les capteurs aquara ne font pas de maillage il me smeble que le sujet a été évoqué plus haut …
En tout cas avec une combee II …

@Loic, quelque chose aurait changé dernièrement dans le plugin pour qu’on ait ce type d’erreur sur les ZBMINI de SONOFF : error","result":"functools.partial object argument after * must be an iterable, not NoneType","code":0}
?