zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

GLEDOPTO GL-C-008 is killing my mesh (not responding)

Open david-kracht opened this issue 7 years ago • 6 comments

I can reproduce the strange behavior:

When switching the GL-C-008 on my sensor-actor communication seems to be blocked (buffered) somehow: for example, if I press one of my HUE dimmer switches, the flow (node-red) to control a HUE light is not working anymore.

After taking out the GL-C-008 (power off), all the button presses, seems to be processes (like queued) and the light is controlled. After a few seconds the mesh is fully functional again.

Can someone give me a hint, what is going wrong? Or how I can proceed to find the fault?

My logs says I am on

~~zigbee2mqtt version 0.2.0 (commit #753e8c3)~~ zigbee2mqtt version 1.0.1 (commit #5718cd0)

Here is the json block (database.db) for the specific device:

{
  "id": 48,
  "type": "Router",
  "ieeeAddr": "0x00124b001a00321e",
  "nwkAddr": 54540,
  "manufId": 0,
  "epList": [
    11,
    13
  ],
  "status": "offline",
  "joinTime": null,
  "endpoints": {
    "11": {
      "profId": 49246,
      "epId": 11,
      "devId": 528,
      "inClusterList": [
        0,
        3,
        4,
        5,
        6,
        8,
        768
      ],
      "outClusterList": [],
      "clusters": {
        "genBasic": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genIdentify": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genGroups": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genScenes": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genOnOff": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "genLevelCtrl": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        },
        "lightingColorCtrl": {
          "dir": {
            "value": 1
          },
          "attrs": {}
        }
      }
    },
    "13": {
      "profId": 49246,
      "epId": 13,
      "devId": 528,
      "inClusterList": [
        4096
      ],
      "outClusterList": [
        4096
      ],
      "clusters": {
        "lightLink": {
          "dir": {
            "value": 3
          },
          "attrs": {}
        }
      }
    }
  },
  "_id": "MKAYr4RGYsVPuTzr",
  "manufName": "GLEDOPTO",
  "powerSource": "Mains (single phase)",
  "modelId": "GL-C-008",
}

david-kracht avatar Jan 23 '19 19:01 david-kracht

Here the some logs, having the GL-C-008, on, off and on again, controlling (blocking) the actors (ids,friendly_names):

  '0x00178801034444cc':
    friendly_name: HUE_bulb_sofa_up_1
  '0x00178801036b9739':
    friendly_name: HUE_bulb_sofa_down_2

Here the log:

ON

2019-1-23 21:11:51 - error: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":255,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:11:56 - error: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":205,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:11:58 - error: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:11:58 - error: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:12:09 - info: MQTT publish: topic 'home/zigbee/0x00158d0002b43a3e', payload '{"illuminance":0,"linkquality":5,"occupancy":false,"battery":100,"voltage":3035}'
2019-1-23 21:12:09 - info: MQTT publish: topic 'home/zigbee/0x00158d0002b43a3e', payload '{"illuminance":0,"linkquality":5,"occupancy":true,"battery":100,"voltage":3035}'
2019-1-23 21:12:15 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":26,"action":"off"}'
2019-1-23 21:12:15 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:15 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:15 - info: MQTT publish: topic 'home/zigbee/0x00158d0002b433af', payload '{"battery":100,"voltage":3055,"linkquality":26,"illuminance":0,"occupancy":false}'
2019-1-23 21:12:15 - info: MQTT publish: topic 'home/zigbee/0x00158d0002b433af', payload '{"battery":100,"voltage":3055,"linkquality":26,"illuminance":0,"occupancy":true}'
2019-1-23 21:12:19 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":31,"action":"off"}'
2019-1-23 21:12:19 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:19 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:27 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":7,"action":"off"}'
2019-1-23 21:12:28 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:28 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:31 - info: MQTT publish: topic 'home/zigbee/0x00158d000253120e', payload '{"contact":false,"linkquality":2,"battery":100,"voltage":3015}'
2019-1-23 21:12:31 - error: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 205. No network route. Please confirm that the device has (re)joined the network.
2019-1-23 21:12:32 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"OFF","brightness":205}'
2019-1-23 21:12:33 - error: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:12:33 - error: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:12:34 - error: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 205. No network route. Please confirm that the device has (re)joined the network.

OFF

2019-1-23 21:12:34 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"OFF","brightness":205}'
2019-1-23 21:12:34 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":23,"action":"off"}'
2019-1-23 21:12:34 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:34 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"OFF","brightness":155}'
2019-1-23 21:12:34 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:34 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"OFF","brightness":205}'
2019-1-23 21:12:34 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"OFF","brightness":155}'
2019-1-23 21:12:39 - info: MQTT publish: topic 'home/zigbee/HUE_switch_1', payload '{"battery":100,"linkquality":55}'
2019-1-23 21:12:40 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":23,"action":"on"}'
2019-1-23 21:12:40 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:41 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"ON","brightness":155}'
2019-1-23 21:12:41 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:12:41 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"ON","brightness":205}'
2019-1-23 21:12:41 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"ON","brightness":155}'
2019-1-23 21:12:41 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"ON","brightness":205}'
2019-1-23 21:13:01 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":7,"action":"off"}'
2019-1-23 21:13:01 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:01 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:02 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"OFF","brightness":155}'
2019-1-23 21:13:02 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"OFF","brightness":205}'
2019-1-23 21:13:02 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"OFF","brightness":205}'
2019-1-23 21:13:02 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"OFF","brightness":155}'
2019-1-23 21:13:04 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":21,"action":"on"}'
2019-1-23 21:13:04 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:04 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:04 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"ON","brightness":205}'
2019-1-23 21:13:04 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"ON","brightness":205}'
2019-1-23 21:13:04 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"ON","brightness":155}'
2019-1-23 21:13:04 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_up_1', payload '{"state":"ON","brightness":155}'
2019-1-23 21:13:18 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":23,"action":"off"}'
2019-1-23 21:13:18 - info: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:18 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:23 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":26,"action":"up-press","brightness":255}'
2019-1-23 21:13:23 - info: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":255,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:23 - info: Zigbee publish to device '0x00178801036b9739', genLevelCtrl - moveToLevelWithOnOff - {"level":255,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:25 - info: MQTT publish: topic 'home/zigbee/HUE_switch_2', payload '{"battery":100,"linkquality":23,"action":"down-press","brightness":205}'
2019-1-23 21:13:25 - info: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":205,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-23 21:13:26 - info: Zigbee publish to device '0x00178801036b9739', genLevelCtrl - moveToLevelWithOnOff - {"level":205,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null

ON

2019-1-23 21:13:31 - info: Device incoming...
2019-1-23 21:13:31 - info: MQTT publish: topic 'home/zigbee/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
2019-1-23 21:13:36 - error: Zigbee publish to device '0x00178801036b9739', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:13:36 - error: Zigbee publish to device '0x00178801034444cc', genOnOff - off - {} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:13:39 - info: MQTT publish: topic 'home/zigbee/0x00158d0002b43a3e', payload '{"illuminance":0,"linkquality":5,"occupancy":false,"battery":100,"voltage":3035}'
2019-1-23 21:13:41 - error: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":255,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:13:41 - error: Zigbee publish to device '0x00178801036b9739', genLevelCtrl - moveToLevelWithOnOff - {"level":255,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:13:43 - error: Zigbee publish to device '0x00178801034444cc', genLevelCtrl - moveToLevelWithOnOff - {"level":205,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.
2019-1-23 21:13:44 - error: Zigbee publish to device '0x00178801036b9739', genLevelCtrl - moveToLevelWithOnOff - {"level":205,"transtime":0} - {"manufSpec":0,"disDefaultRsp":0} - null failed with error Error: AF data request fails, status code: 183. APS no ack.

Seems like the "router" is cutting the route of the HUE lamps. What is wrong here ?

david-kracht avatar Jan 23 '19 20:01 david-kracht

These clogging issues should be fixed in the latest dev branch, can you check?

Koenkk avatar Jan 24 '19 07:01 Koenkk

I upgraded to the latest and greatest dev commit. Still the same. Even after removing the GLEDOPTO from the mesh (still powered on) it disturbs my remaining mesh, see:

2019-1-24 22:10:10 - info: Zigbee publish to device '0x00178801036b9739', genOnOff - on - {} - {"manufSpec":0,"disDefaultRsp":0} - null
2019-1-24 22:10:11 - info: MQTT publish: topic 'home/zigbee/HUE_bulb_sofa_down_2', payload '{"state":"ON","brightness":254}'
2019-1-24 22:10:11 - info: Succesfully configured 0x7cb03eaa00ad2d23 (0x7cb03eaa00ad2d23)
2019-1-24 22:10:12 - info: Succesfully configured 0x84182600000ed63f (0x84182600000ed63f)
2019-1-24 22:10:13 - info: MQTT publish: topic 'home/zigbee/0x7cb03eaa00ad2d23', payload '{"state":"OFF","linkquality":0}'
2019-1-24 22:10:18 - info: Succesfully configured 0x84182600001030dd (0x84182600001030dd)
2019-1-24 22:10:18 - info: MQTT publish: topic 'home/zigbee/0x84182600001030dd', payload '{"state":"OFF","linkquality":55}'
2019-1-24 22:10:19 - info: MQTT publish: topic 'home/zigbee/0x84182600000ed63f', payload '{"state":"OFF","linkquality":23}'
2019-1-24 22:10:31 - info: Succesfully configured 0x84182600000fa9af (0x84182600000fa9af)
2019-1-24 22:10:32 - info: MQTT publish: topic 'home/zigbee/0x84182600000fa9af', payload '{"state":"OFF","linkquality":23}'
2019-1-24 22:10:41 - error: Failed to configure 0x7cb03eaa00ad2a55 (0x7cb03eaa00ad2a55) ('Error: Timed out after 10000 ms')
2019-1-24 22:10:50 - error: Failed to configure HUE_switch_2 (0x0017880103cb4dc4) ('undefined')
2019-1-24 22:11:00 - error: Failed to configure 0x84182600000f0c49 (0x84182600000f0c49) ('Error: Timed out after 10000 ms')
2019-1-24 22:11:00 - error: Failed to configure HUE_switch_1 (0x0017880103e5ee4a) ('undefined')

It somehow takes over some control. Strange. Try to reset the device.

david-kracht avatar Jan 24 '19 21:01 david-kracht

After resetting and joining the network again, I see the communication still being disturbed. Btw: I have a relative stable mesh with 5 routers (in every corner of out flat). Have never seen any errors and very rarly I see an sensor-actor relation not working or with a notable delay.

david-kracht avatar Jan 24 '19 21:01 david-kracht

This is indeed really strange, could you do some zigbee sniffing, perhaps this could give us a pointer. https://github.com/Koenkk/zigbee2mqtt/blob/dev/docs/how_tos/how_to_sniff_zigbee_traffic.md

Koenkk avatar Jan 26 '19 19:01 Koenkk

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 27 '19 19:03 stale[bot]