AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.45k stars 342 forks source link

All Zigbee devices got offline with Integration v3+ #961

Closed ilkanaev closed 1 year ago

ilkanaev commented 1 year ago

Gateway Model: ZNDMWG03LM Gateway Version: 1.5.0_0102 Home Assistant 2023.1.7 Supervisor 2023.01.1

Almost all Zigbee devices connected directly to the gateway got offline ( even in the MiHome application). Bluotuth devices Ok. All Zigbee devices connected via Aqara Smart Wall Switch D1 (zigbee QBKG26LM (lumi.switch.n3acn3)) are OK No any change after multiple reebots and powering off/on.

The Aqara Smart Wall Switch D1 getting offline sometimes as well, and the only option to reenable it is powering it Off/On

{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2023.1.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Asia/Jerusalem",
    "os_name": "Linux",
    "os_version": "5.15.84-v8+",
    "supervisor": "2023.01.1",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "20.10.23",
    "chassis": "",
    "run_as_root": true
  },
  "custom_components": {
    "sonoff": {
      "version": "3.3.1",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    },
    "localtuya": {
      "version": "5.0.0",
      "requirements": []
    },
    "hacs": {
      "version": "1.30.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "xiaomi_gateway3": {
      "version": "3.0.1",
      "requirements": [
        "zigpy>=0.42.0"
      ]
    }
  },
  "integration_manifest": {
    "domain": "xiaomi_gateway3",
    "name": "Xiaomi Gateway 3",
    "config_flow": true,
    "documentation": "https://github.com/AlexxIT/XiaomiGateway3",
    "issue_tracker": "https://github.com/AlexxIT/XiaomiGateway3/issues",
    "codeowners": [
      "@AlexxIT"
    ],
    "dependencies": [
      "http"
    ],
    "requirements": [
      "zigpy>=0.42.0"
    ],
    "version": "3.0.1",
    "iot_class": "local_push",
    "is_built_in": false
  },
  "data": {
    "version": "41fa3b1",
    "options": {
      "host": "***",
      "token": "***",
      "telnet_cmd": "{\"method\":\"set_ip_info\",\"params\":{\"ssid\":\"\\\"\\\"\",\"pswd\":\"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd\"}}",
      "ble": true,
      "stats": true,
      "debug": [],
      "buzzer": false,
      "memory": false,
      "zha": false
    },
    "errors": [],
    "devices": {
      "54ef442267c6": {
        "type": "gateway",
        "model": "lumi.gateway.mgl03",
        "fw_ver": "1.5.0_0102",
        "available": true,
        "decode_time": 23,
        "encode_time": 2437,
        "entities": {
          "alarm": "disarmed",
          "command": {
            "state": "unknown",
            "value": null
          },
          "data": {
            "state": "unknown",
            "value": null
          },
          "cloud_link": "on",
          "led": "off",
          "gateway": "on"
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "bluetooth_tx": 370,
          "bluetooth_rx": 570514,
          "bluetooth_oe": 1032,
          "zigbee_tx": 808018,
          "zigbee_rx": 1124393,
          "zigbee_oe": 941,
          "network_pan_id": "0x05A1",
          "radio_tx_power": 7,
          "radio_channel": 20,
          "free_mem": 5104,
          "load_avg": "2.24|2.34|2.51|3/87|26583",
          "rssi": -48,
          "uptime": "0 days, 03:21:17"
        }
      },
      "0x4cf8cdf3c7d156f": {
        "type": "zigbee",
        "model": "lumi.sen_ill.mgl01",
        "fw_ver": 21,
        "available": true,
        "decode_time": 430,
        "entities": {
          "illuminance": {
            "state": "1",
            "value": 1
          },
          "battery": {
            "state": "20",
            "value": 20
          },
          "zigbee": {
            "state": "2023-01-30T19:02:08+00:00",
            "value": "2023-01-30T19:02:08.357832+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x04cf8cdf3c7d156f",
          "nwk": "0xc6bf",
          "available": true,
          "type": "device",
          "parent": "0x8a5c",
          "msg_received": 46,
          "msg_missed": 0,
          "linkquality": 124,
          "rssi": -69,
          "last_msg": "Illuminance"
        }
      },
      "0x4cf8cdf3c7cf77d": {
        "type": "zigbee",
        "model": "lumi.sen_ill.mgl01",
        "fw_ver": 21,
        "available": true,
        "decode_time": 400,
        "entities": {
          "illuminance": {
            "state": "3",
            "value": 3
          },
          "battery": {
            "state": "60",
            "value": 60
          },
          "zigbee": {
            "state": "2023-01-30T19:02:38+00:00",
            "value": "2023-01-30T19:02:38.489331+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x04cf8cdf3c7cf77d",
          "nwk": "0x52fc",
          "available": true,
          "type": "device",
          "parent": "0x8a5c",
          "msg_received": 35,
          "msg_missed": 0,
          "linkquality": 84,
          "rssi": -79,
          "last_msg": "Illuminance"
        }
      },
      "0x158d0006a0b14c": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": true,
        "decode_time": 442,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "16",
            "value": 16
          },
          "battery": {
            "state": "69",
            "value": 69
          },
          "zigbee": {
            "state": "2023-01-30T19:01:56+00:00",
            "value": "2023-01-30T19:01:56.828129+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d0006a0b14c",
          "nwk": "0xb017",
          "available": true,
          "type": "device",
          "parent": "0x8a5c",
          "msg_received": 37,
          "msg_missed": 0,
          "linkquality": 104,
          "rssi": -74,
          "last_msg": "Occupancy",
          "new_resets": 0
        }
      },
      "0x158d00068b2c85": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": true,
        "decode_time": 223,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "0",
            "value": 0
          },
          "battery": {
            "state": "67",
            "value": 67
          },
          "zigbee": {
            "state": "2023-01-30T19:05:36+00:00",
            "value": "2023-01-30T19:05:36.003196+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d00068b2c85",
          "nwk": "0x65cc",
          "available": true,
          "msg_received": 9,
          "msg_missed": 0,
          "linkquality": 80,
          "rssi": -80,
          "last_msg": "Basic",
          "new_resets": 0,
          "parent": "0x8a5c"
        }
      },
      "0x158d0006444dc3": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": true,
        "decode_time": 715,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "7",
            "value": 7
          },
          "battery": {
            "state": "69",
            "value": 69
          },
          "zigbee": {
            "state": "2023-01-30T18:57:23+00:00",
            "value": "2023-01-30T18:57:23.295775+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d0006444dc3",
          "nwk": "0x4d82",
          "available": true,
          "msg_received": 3,
          "msg_missed": 0,
          "linkquality": 128,
          "rssi": -68,
          "last_msg": "Basic",
          "new_resets": 0,
          "parent": "0x8a5c"
        }
      },
      "0x158d00065141b7": {
        "type": "zigbee",
        "model": "lumi.remote.b286acn02",
        "fw_ver": 9,
        "available": true,
        "decode_time": 1720,
        "entities": {
          "action": "",
          "battery": {
            "state": "57",
            "value": 57
          },
          "battery_low": {
            "state": "DISABLED",
            "value": null
          },
          "chip_temperature": {
            "state": "DISABLED",
            "value": 29
          },
          "zigbee": {
            "state": "2023-01-30T18:40:38+00:00",
            "value": "2023-01-30T18:40:38.366615+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d00065141b7",
          "nwk": "0x485d",
          "available": true,
          "type": "device",
          "parent": "-",
          "msg_received": 3,
          "msg_missed": 0,
          "linkquality": 232,
          "rssi": -42,
          "last_msg": "PowerCfg",
          "new_resets": 0
        }
      },
      "0x158d0001e4ada2": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": true,
        "decode_time": 1024,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "13",
            "value": 13
          },
          "battery": {
            "state": "69",
            "value": 69
          },
          "zigbee": {
            "state": "2023-01-30T18:52:14+00:00",
            "value": "2023-01-30T18:52:14.512736+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d0001e4ada2",
          "nwk": "0xb1b0",
          "available": true,
          "msg_received": 5,
          "msg_missed": 0,
          "linkquality": 128,
          "rssi": -68,
          "last_msg": "Occupancy",
          "new_resets": 0,
          "parent": "0x8a5c"
        }
      },
      "0x158d00068afbcb": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 0,
        "available": true,
        "decode_time": 786,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "7",
            "value": 7
          },
          "battery": {
            "state": "73",
            "value": 73
          },
          "zigbee": {
            "state": "2023-01-30T18:56:12+00:00",
            "value": "2023-01-30T18:56:12.541034+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d00068afbcb",
          "nwk": "0xf4f5",
          "available": true,
          "msg_received": 10,
          "msg_missed": 0,
          "linkquality": 88,
          "rssi": -78,
          "last_msg": "PowerCfg",
          "new_resets": 0,
          "parent": "-"
        }
      },
      "0x54ef4410000436f2": {
        "type": "zigbee",
        "model": "lumi.switch.n3acn3",
        "fw_ver": 32,
        "available": true,
        "decode_time": 6,
        "entities": {
          "channel_1": "off",
          "channel_2": "on",
          "channel_3": "off",
          "power": {
            "state": "14.99",
            "value": 14.99
          },
          "voltage": {
            "state": "235.97",
            "value": 235.97
          },
          "energy": {
            "state": "0.35",
            "value": 0.35
          },
          "action": "",
          "wireless_1": {
            "state": "DISABLED",
            "value": null
          },
          "wireless_2": {
            "state": "DISABLED",
            "value": null
          },
          "wireless_3": {
            "state": "DISABLED",
            "value": null
          },
          "power_on_state": {
            "state": "DISABLED",
            "value": null
          },
          "led": "off",
          "zigbee": {
            "state": "2023-01-30T19:09:13+00:00",
            "value": "2023-01-30T19:09:13.183772+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x54ef4410000436f2",
          "nwk": "0x8a5c",
          "available": true,
          "msg_received": 964,
          "msg_missed": 86,
          "linkquality": 100,
          "rssi": -75,
          "last_msg": "OnOff",
          "type": "router",
          "parent": "?",
          "new_resets": 0
        }
      },
      "0x158d0006692c89": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": true,
        "decode_time": 824,
        "entities": {
          "motion": "off",
          "illuminance": {
            "state": "32",
            "value": 32
          },
          "battery": {
            "state": "67",
            "value": 67
          },
          "zigbee": {
            "state": "2023-01-30T18:55:34+00:00",
            "value": "2023-01-30T18:55:34.896049+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d0006692c89",
          "nwk": "0x4dfd",
          "available": true,
          "msg_received": 36,
          "msg_missed": 0,
          "linkquality": 84,
          "rssi": -79,
          "last_msg": "Occupancy"
        }
      },
      "0x00158d00088fb710": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": false,
        "decode_time": 22936,
        "entities": {
          "motion": {
            "state": "unavailable",
            "value": "off"
          },
          "illuminance": "unavailable",
          "battery": "unavailable",
          "zigbee": {
            "state": "2023-01-30T12:47:02+00:00",
            "value": "2023-01-30T12:47:02.379473+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d00088fb710",
          "nwk": "0x56cc",
          "available": true,
          "type": "?",
          "parent": "?"
        }
      },
      "0x158d000658634c": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": false,
        "decode_time": 22936,
        "entities": {
          "motion": {
            "state": "unavailable",
            "value": "off"
          },
          "illuminance": "unavailable",
          "battery": "unavailable",
          "zigbee": {
            "state": "2023-01-30T12:47:02+00:00",
            "value": "2023-01-30T12:47:02.380538+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d000658634c",
          "nwk": "0x2c46",
          "available": true
        }
      },
      "0x158d00069c62aa": {
        "type": "zigbee",
        "model": "lumi.sensor_motion.aq2",
        "fw_ver": 2,
        "available": false,
        "decode_time": 22936,
        "entities": {
          "motion": {
            "state": "unavailable",
            "value": "off"
          },
          "illuminance": "unavailable",
          "battery": "unavailable",
          "zigbee": {
            "state": "2023-01-30T12:47:02+00:00",
            "value": "2023-01-30T12:47:02.381464+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "ieee": "0x00158d00069c62aa",
          "nwk": "0x3c2f",
          "available": true,
          "type": "?",
          "parent": "?"
        }
      },
      "e4aaec35b4d0": {
        "type": "ble",
        "model": 2443,
        "fw_ver": null,
        "available": true,
        "decode_time": 5,
        "entities": {
          "contact": "off",
          "light": "off",
          "battery": {
            "state": "25",
            "value": 25
          },
          "ble": {
            "state": "2023-01-30T19:09:14+00:00",
            "value": "2023-01-30T19:09:14.113842+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "mac": "e4aaec35b4d0",
          "available": true,
          "msg_received": 1,
          "last_msg": "Battery"
        }
      },
      "a4c1383fa668": {
        "type": "ble",
        "model": 1371,
        "fw_ver": null,
        "available": true,
        "decode_time": 153,
        "entities": {
          "temperature": {
            "state": "22.1",
            "value": 22.1
          },
          "humidity": {
            "state": "54",
            "value": 54
          },
          "battery": {
            "state": "100",
            "value": 100
          },
          "ble": {
            "state": "2023-01-30T19:06:45+00:00",
            "value": "2023-01-30T19:06:45.663769+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "mac": "a4c1383fa668",
          "available": true,
          "msg_received": 7,
          "last_msg": "Temperature"
        }
      },
      "a4c13854b20b": {
        "type": "ble",
        "model": 1371,
        "fw_ver": null,
        "available": true,
        "decode_time": 552,
        "entities": {
          "temperature": {
            "state": "22.5",
            "value": 22.5
          },
          "humidity": {
            "state": "52",
            "value": 52
          },
          "battery": {
            "state": "100",
            "value": 100
          },
          "ble": {
            "state": "2023-01-30T19:00:07+00:00",
            "value": "2023-01-30T19:00:07.157378+00:00"
          }
        },
        "gateways": [
          "54ef442267c6"
        ],
        "stats": {
          "mac": "a4c13854b20b",
          "msg_received": 7,
          "last_msg": "Temperature"
        }
      }
    }
  }
}
AlexxIT commented 1 year ago

You need telnet to gateway and run ps.

wangzhu83 commented 1 year ago

Home Assistant 2023.1.2 + 1.5.0_0102 Same problem and happens everal time a week 。 I plan to downgrade Gateway3 to V2.1.2 or upgrade firmware to 1.5.4

======================================================
FIRMWARE........: 1.5.0_0102 #20210816
IP..............: xxx
MAC.............: xxx
TOKEN...........: xxx
DID.............: xxx
KEY.............: xxx
======================================================
# ps
  PID USER       VSZ STAT COMMAND
    1 admin     1584 S    init
    2 admin        0 SW   [kthreadd]
    3 admin        0 SW<  [ksoftirqd/0]
    5 admin        0 SW<  [kworker/0:0H]
    6 admin        0 SW   [kworker/u2:0]
    7 admin        0 SW<  [khelper]
    8 admin        0 SW   [kworker/u2:1]
  103 admin        0 SW<  [writeback]
  106 admin        0 SW<  [bioset]
  107 admin        0 SW<  [crypto]
  109 admin        0 SW<  [kblockd]
  115 admin        0 SW   [spi0]
  130 admin        0 SW<  [cfg80211]
  144 admin        0 SW<  [rpciod]
  149 admin        0 SW   [kswapd0]
  205 admin        0 SW   [ecryptfs-kthrea]
  206 admin        0 SW<  [nfsiod]
  756 admin        0 SW   [mtdblock0]
  761 admin        0 SW   [mtdblock1]
  766 admin        0 SW   [mtdblock2]
  771 admin        0 SW   [mtdblock3]
  776 admin        0 SW   [mtdblock4]
  781 admin        0 SW   [mtdblock5]
  786 admin        0 SW   [mtdblock6]
  791 admin        0 SW   [mtdblock7]
  796 admin        0 SW   [mtdblock8]
  801 admin        0 SW   [mtdblock9]
  806 admin        0 SW   [mtdblock10]
  876 admin        0 SW<  [deferwq]
  891 admin     1584 S    {kick_wdog_timer} /bin/sh /bin/kick_wdog_timer
  893 admin     1584 S    syslogd
  932 admin        0 SW   [ubi_bgt0d]
  938 admin        0 SW   [ubifs_bgt0_0]
  967 admin     1584 R    telnetd
  968 admin     1696 S    mosquitto -c /etc/mosquitto/mosquitto.conf
 1052 admin     1584 S    {daemon_miio.sh} /bin/sh /bin/daemon_miio.sh
 1096 admin     1616 S    {daemon_app.sh} /bin/sh /bin/daemon_app.sh
 1115 admin     1488 S    mdnsd
 1117 admin     5536 S    wpa_supplicant -Dnl80211 -bbr0 -iwlan0 -c /data/conf/wpa-wpa2.conf -B
 1138 admin     4816 S    zigbee_agent -f /etc/zigbee_agent.conf
 1143 admin        0 SW<  [kworker/0:1H]
 1153 admin     1632 S    {miio_client_hel} /bin/sh /bin/miio_client_helper_nomqtt.sh
 1159 admin     5968 S    basic_gw
 1224 admin     1584 S    sh -c mosquitto_sub -t "gw/+/MessageReceived"
 1225 admin     1408 S    mosquitto_sub -t gw/+/MessageReceived
 1278 admin     1584 S    udhcpc -i br0 -s /etc/udhcp/simple.script -t50 -b
 1325 admin    11312 S    zigbee_gw -d -b
 1390 app       8944 S    basic_app 332581137
 1395 admin     6416 S    mijia_automation -d /data/mijia_automation/
 1396 admin     1584 S    logger -t <AT>
 1402 admin     8208 S    homekitserver
 1403 admin     1584 S    logger -t <HK>
 1474 admin     1584 S    ntpd -l
 1501 admin     649m S    /data/openmiio_agent miio mqtt cache z3 --zigbee.tcp=8888
 1510 admin     1584 S    tail Lumi_Z3GatewayHost_MQTT -f /dev/null
 1526 admin    14832 S    silabs_ncp_bt /dev/ttyS1 1
 1527 admin     1584 S    logger -t <BT>
 1546 admin        0 Z    [Lumi_Z3GatewayH]
 2493 admin        0 SW   [kworker/0:2]
11417 admin    12384 S    miio_client -l4 -o FILE_STORE -d /data/miio -n 128 -L/var/log/miio_client.log -D
11629 admin      848 S    /bin/miio_recv_line
12399 admin     1600 S    -sh
12469 admin     1584 S    -/bin/login
12574 admin     1568 S    sleep 5
12575 admin     1568 S    sleep 5
12596 admin     1568 S    sleep 5
12597 admin     1584 R    ps
13141 admin        0 SW   [kworker/0:1]
AlexxIT commented 1 year ago

@wangzhu83 thanks! I think I broke the automatic restart of the Zigbee app when it crashes. Will be fixed

ilkanaev commented 1 year ago

Hello' i've just upgraded to the latest v3.1.0. Unfortunately no change. all Zigbee devices connected via gateway stay offline (also in MiHome).

Would appreciate your help.

Thanks,

AlexxIT commented 1 year ago

You need to reboot gateway

ilkanaev commented 1 year ago

i did reboot, powered it off and on, restarted HA, nothing help :-(

Sircoco2 commented 1 year ago

@AlexxIT,Thank you very much. The problem has been solved. #952

AlexxIT commented 1 year ago

@ilkanaev you don't show ps from gateway

ilkanaev commented 1 year ago

Hi, What exactly command i need to execute on terminal?

Thanks,

чт, 2 февр. 2023 г., 6:09 Alex X @.***>:

@ilkanaev https://github.com/ilkanaev you don't show ps from gateway

— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/XiaomiGateway3/issues/961#issuecomment-1413125612, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPAHAQTBQ6LDEEFIH3Q35TWVMXPJANCNFSM6AAAAAAULRC54E . You are receiving this because you were mentioned.Message ID: @.***>

AlexxIT commented 1 year ago

ps

ilkanaev commented 1 year ago

rlxlinux login: admin Lumi Linux version 3.0


| | || | ||| | | | | ____ | || || || | | | || | | | | |\ \/ / | || || || | | || | | || | | | | || |/ \ ||\||||||| ||||| ||___|_/\/

For further information check: https://www.aqara.com

BusyBox v1.22.1 (2021-08-03 12:30:01 CST) built-in shell (ash) Enter 'help' for a list of built-in commands.

ps

PID USER VSZ STAT COMMAND 1 admin 1584 S init 2 admin 0 SW [kthreadd] 3 admin 0 SW< [ksoftirqd/0] 4 admin 0 SW [kworker/0:0] 5 admin 0 SW< [kworker/0:0H] 7 admin 0 SW< [khelper] 103 admin 0 SW< [writeback] 106 admin 0 SW< [bioset] 107 admin 0 SW< [crypto] 109 admin 0 SW< [kblockd] 115 admin 0 SW [spi0] 130 admin 0 SW< [cfg80211] 131 admin 0 SW [kworker/0:1] 144 admin 0 SW< [rpciod] 149 admin 0 SW [kswapd0] 205 admin 0 SW [ecryptfs-kthrea] 206 admin 0 SW< [nfsiod] 756 admin 0 SW [mtdblock0] 761 admin 0 SW [mtdblock1] 766 admin 0 SW [mtdblock2] 771 admin 0 SW [mtdblock3] 776 admin 0 SW [mtdblock4] 781 admin 0 SW [mtdblock5] 786 admin 0 SW [mtdblock6] 791 admin 0 SW [mtdblock7] 796 admin 0 SW [mtdblock8] 801 admin 0 SW [mtdblock9] 806 admin 0 SW [mtdblock10] 876 admin 0 SW< [deferwq] 891 admin 1584 S {kick_wdog_timer} /bin/sh /bin/kick_wdog_timer 893 admin 1584 S syslogd 932 admin 0 SW [ubi_bgt0d] 938 admin 0 SW [ubifs_bgt0_0] 1070 admin 1584 S {daemon_miio.sh} /bin/sh /bin/daemon_miio.sh 1113 admin 2320 S {daemon_app.sh} /bin/sh /bin/daemon_app.sh 1133 admin 1472 S mdnsd 1136 admin 5536 S wpa_supplicant -Dnl80211 -bbr0 -iwlan0 -c /data/conf/wpa-wpa2.conf -B 1157 admin 9744 S zigbee_agent -f /etc/zigbee_agent.conf 1162 admin 0 SW< [kworker/0:1H] 1173 admin 1632 S {miio_client_hel} /bin/sh /bin/miio_client_helper_nomqtt.sh 1181 admin 5968 S basic_gw 1252 admin 1584 S sh -c mosquitto_sub -t "gw/+/MessageReceived" 1253 admin 1408 S mosquitto_sub -t gw/+/MessageReceived 1270 admin 14928 S silabs_ncp_bt /dev/ttyS1 1 1271 admin 1584 S logger -t 1355 app 4848 S basic_app 408554879 1360 admin 6368 S mijia_automation -d /data/mijia_automation/ 1361 admin 1584 S logger -t 1370 admin 1584 S udhcpc -i br0 -s /etc/udhcp/simple.script -t50 -b 1485 admin 1584 S telnetd 1571 admin 1584 S ntpd -l 1575 admin 650m S /data/openmiio_agent miio mqtt cache z3 --zigbee.tcp=8888 1583 admin 1584 S tail Lumi_Z3GatewayHost_MQTT -f /dev/null 1637 admin 6848 S Lumi_Z3GatewayHost_MQTT -n 1 -b 115200 -p /dev/ttyS2 -d /data/silicon_zigbee_host/ -r c 1654 admin 1696 S mosquitto -d 1798 admin 11264 S zigbee_gw -d -b 7095 admin 848 S /bin/miio_recv_line 10437 admin 0 SW [kworker/u2:1] 18136 admin 0 SW [kworker/u2:2] 18318 admin 1584 S -/bin/login 18963 admin 1600 S -sh 19029 admin 1568 S sleep 5 19032 admin 1568 S sleep 5 19053 admin 1568 S sleep 5 19054 admin 1584 R ps 25193 admin 12384 S miio_client -l4 -o FILE_STORE -d /data/miio -n 128 -L/var/log/miio_client.log -D #

чт, 2 февр. 2023 г. в 14:30, Alex X @.***>:

ps

— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/XiaomiGateway3/issues/961#issuecomment-1413665327, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASPAHAROMFFNLZ6J7TU3P7DWVOSIFANCNFSM6AAAAAAULRC54E . You are receiving this because you were mentioned.Message ID: @.***>

ilkanaev commented 1 year ago

Hi Alex,

Is there anything i can do to get the ofline zigbee devices back?

Thank you for your help!

AlexxIT commented 1 year ago

Is I can see, all looks fine. Zigbee app up and running. You can enable debug logs (all 3 checkbox) and send it here. You can collect logs for ~10 minutes after integration starts

ilkanaev commented 1 year ago

please find enclosed zip with the log f1fb9b57-3c80-407d-826a-34ff534eb385.zip

AlexxIT commented 1 year ago

I have never saw this error

2023-02-03 20:15:33 [D] 192.168.1.100 [MQTT] log/z3 b'#######ezspIncomingRouteErrorHandler target=f4f5 status=42#######'
2023-02-03 20:15:33 [D] 192.168.1.100 [MQTT] log/z3 b'0: 0x8A5C 156  1   1    4    Handler target=485d status=42#######'

Maybe that's the cause of your problems.

I can suggest you delete all the devices, reset the gateway to factory settings and add them again.

ilkanaev commented 1 year ago

i removed and readded the problematic zigbee devices. looks OK for now.

Thank you very much for your work and help!!!

shhxcz commented 1 year ago

I have the same problem.

Gateway Model: DMWG03LM Gateway Version: 1.0.5_0008 Home Assistant 2023.1.1

/ # ps PID USER TIME COMMAND 1 root 0:01 {linuxrc} init 2 root 0:00 [kthreadd] 3 root 0:00 [ksoftirqd/0] 5 root 0:00 [kworker/0:0H] 6 root 0:08 [kworker/u4:0] 7 root 0:00 [rcu_preempt] 8 root 0:00 [rcu_sched] 9 root 0:00 [rcu_bh] 10 root 0:00 [migration/0] 11 root 0:00 [lru-add-drain] 12 root 0:00 [watchdog/0] 13 root 0:00 [cpuhp/0] 14 root 0:00 [cpuhp/1] 15 root 0:00 [watchdog/1] 16 root 0:00 [migration/1] 17 root 0:00 [ksoftirqd/1] 19 root 0:00 [kworker/1:0H] 20 root 0:00 [kdevtmpfs] 21 root 0:00 [netns] 213 root 0:00 [oom_reaper] 214 root 0:00 [writeback] 216 root 0:00 [kcompactd0] 217 root 0:00 [crypto] 218 root 0:00 [bioset] 220 root 0:00 [kblockd] 227 root 0:00 [ata_sff] 250 root 0:00 [watchdogd] 344 root 0:00 [kswapd0] 345 root 0:00 [vmstat] 431 root 0:00 [kapmd] 448 root 0:00 [irq/62-lumi_gpi] 451 root 0:02 [kworker/0:1] 478 root 0:00 [monitor_temp] 482 root 0:00 [bioset] 487 root 0:00 [bioset] 492 root 0:00 [bioset] 497 root 0:00 [bioset] 502 root 0:00 [bioset] 507 root 0:00 [bioset] 510 root 0:01 [kworker/1:1] 513 root 0:00 [bioset] 518 root 0:00 [bioset] 523 root 0:00 [bioset] 528 root 0:00 [bioset] 533 root 0:00 [bioset] 538 root 0:00 [bioset] 554 root 0:00 [ipv6_addrconf] 568 root 0:00 [kworker/1:1H] 569 root 0:00 [kworker/0:1H] 592 root 0:00 [ehci_monitor] 606 root 0:00 [cfg80211] 626 root 0:00 [sstar1xxx_hci_w] 627 root 0:00 [sstar1xxx_hci_t] 628 root 0:00 [sstar1xxxcong] 629 root 0:00 [sstar1xxx_rx_ta] 630 root 0:00 [sstar1xxx_house] 631 root 0:00 [sstar1xxx_tx_do] 632 root 0:00 [sstar1xxxscan] 634 root 0:00 [IspDriverThread] 638 root 0:00 [IspMidThreadWq] 652 root 0:00 [SensorIfThreadW] 666 root 0:00 [mi_wq] 669 root 0:00 [mi_log] 704 root 0:00 [ubi_bgt0d] 708 root 0:00 [ubifs_bgt0_0] 730 root 0:00 [ubi_bgt1d] 734 root 0:00 [ubifs_bgt1_0] 735 root 0:00 watchdog_30S 738 root 0:00 property_service -i /etc/build.prop -p /data/storage/prop.dat -b 780 root 0:00 mdnsd 784 root 0:00 syslogd -s 10240 -b0 796 root 0:00 mha_basis 800 root 0:02 mzigbee_agent -f /etc/mzigbeeAgent.conf 801 root 0:00 logger -t zigbee_agent 810 root 0:03 miio_client -l1 -d /data/miio/ -n128 -D 814 root 12:34 mha_master --log-level 6 --background 822 root 0:00 mijia_automation -d /data/miio 823 root 0:00 logger -t mijia_automation 825 root 0:39 miio_bt -l3 -p 5338 -b 828 root 0:00 [kworker/0:2] 947 root 0:00 udhcpc -i eth0 -s /etc/udhcp/simple.script -x hostname Mijia_Hub_V2-950C -t 10 1028 root 0:01 idmruntime 1065 root 0:00 [kworker/1:3] 1147 root 0:00 central_service_lite 1150 root 0:03 {app_monitor.sh} /bin/sh /bin/app_monitor.sh 1151 root 0:00 {log_monitor.sh} /bin/sh /bin/log_monitor.sh 1153 root 0:00 {miio_client_hel} /bin/sh /bin/miio_client_helper_nomqtt.sh 1366 root 0:00 /bin/miio_recv_line 1497 root 0:09 [kworker/u4:3] 1623 root 0:00 telnetd 1636 root 0:00 /data/openmiio_agent miio mqtt cache z3 --zigbee.tcp=8888 1642 root 0:00 tail mZ3GatewayHostMQTT -f /dev/null 1651 root 0:02 [mZ3GatewayHost] 1657 root 0:00 /tmp/mosquitto -d 1854 root 0:06 [kworker/u4:5] 2392 root 0:03 [kworker/u4:1] 2752 root 0:00 -sh 2856 root 0:00 [kworker/u4:2] 2874 root 0:00 -/bin/login 2876 root 0:00 sleep 60 2908 root 0:00 sleep 1 2910 root 0:00 ps / #

Hope you fix it. Thanks!

AlexxIT commented 1 year ago

@shhxcz are you sure you using latest integration version? Try to reboot gateway.

shhxcz commented 1 year ago

Xiaomi Gateway 3: v3.1.0 I power gateway off and on. All zigbee devices are good at the beginning, but they won't work in a few minutes (both HA and MiHome).

AlexxIT commented 1 year ago

Are you sure you not setup ZHA or z2m with out Gateway?

shhxcz commented 1 year ago

I didn't install ZHA or z2m integration. I have tried to reset the gateway to factory settings and readded the zigbee devices, but still not good.

AlexxIT commented 1 year ago

You have problems on you hub. I can see it. Zigbee app not running. It should be only if some app tries to connect to gateways 8888 port.

rleongcs commented 1 year ago

@AlexxIT Could you help me look at what is wrong with mine. All the zigbee devices went offline few months back while I was in ZHA. I have now removed ZHA and also upgraded the firmware via telnet (Could not upgrade from Mi Home App). I did reset to factory settings but still not able to add. Thanks.

Gateway Model: ZNDMWG03LM Gateway Version: 1.5.4_0090 Home Assistant 2023.3.5

# ps
  PID USER       VSZ STAT COMMAND
    1 admin     1584 S    init
    2 admin        0 SW   [kthreadd]
    3 admin        0 SW<  [ksoftirqd/0]
    4 admin        0 SW   [kworker/0:0]
    5 admin        0 SW<  [kworker/0:0H]
    6 admin        0 SW   [kworker/u2:0]
    7 admin        0 SW<  [khelper]
    8 admin        0 SW   [kworker/u2:1]
  103 admin        0 SW<  [writeback]
  106 admin        0 SW<  [bioset]
  107 admin        0 SW<  [crypto]
  109 admin        0 SW<  [kblockd]
  115 admin        0 SW   [spi0]
  130 admin        0 SW<  [cfg80211]
  131 admin        0 SW   [kworker/0:1]
  144 admin        0 SW<  [rpciod]
  149 admin        0 SW   [kswapd0]
  205 admin        0 SW   [ecryptfs-kthrea]
  206 admin        0 SW<  [nfsiod]
  756 admin        0 SW   [mtdblock0]
  761 admin        0 SW   [mtdblock1]
  766 admin        0 SW   [mtdblock2]
  771 admin        0 SW   [mtdblock3]
  776 admin        0 SW   [mtdblock4]
  781 admin        0 SW   [mtdblock5]
  786 admin        0 SW   [mtdblock6]
  791 admin        0 SW   [mtdblock7]
  796 admin        0 SW   [mtdblock8]
  801 admin        0 SW   [mtdblock9]
  806 admin        0 SW   [mtdblock10]
  878 admin        0 SW<  [deferwq]
  893 admin     1584 S    {kick_wdog_timer} /bin/sh /bin/kick_wdog_timer
  895 admin     1584 S    syslogd
  929 admin        0 SW   [ubi_bgt0d]
  935 admin        0 SW   [ubifs_bgt0_0]
 1026 admin     2304 S    mdnsd
 1043 admin     1632 S    {miio_client_hel} /bin/sh /bin/miio_client_helper_nomqtt.sh
 1047 admin     5952 S    basic_gw
 1049 admin     2816 S    zigbee_agent -f /etc/zigbee_agent.conf
 1051 admin        0 SW<  [kworker/0:1H]
 1082 admin     6416 S    mijia_automation -d /data/mijia_automation/
 1087 admin     4832 S    basic_app 374264347
 1099 admin     1680 S    {app_monitor.sh} /bin/sh /bin/app_monitor.sh
 1307 admin     6496 S    wpa_supplicant -Dnl80211 -iwlan0 -c /tmp/wpa_supplicant.conf -B
 1438 admin     1584 S    udhcpc -i wlan0 -t 20 -T 2 -n -S -x hostname lumi_gateway_mgl03 -s /etc/udhcp/simple.script
 1504 admin     8224 S    homekitserver
 1561 admin    21232 S    silabs_ncp_bt -p /dev/ttyS1 -n
 1564 admin    35360 S    idmruntime
 1639 admin     9376 S    central_service_lite
 1659 admin     1584 S    {idmipd.sh} /bin/sh /bin/idmipd.sh
 1790 admin     1584 R    telnetd
 1997 admin     1584 S    ntpd -l
 2010 admin     649m S    /data/openmiio_agent miio mqtt cache z3 --zigbee.tcp=8888
 2017 admin     1584 S    tail Lumi_Z3GatewayHost_MQTT -f /dev/null
 2026 admin        0 Z    [Lumi_Z3GatewayH]
 2041 admin     1696 S    mosquitto -d
 2073 admin    11376 S    zigbee_gw
 2300 admin        0 Z    [Lumi_Z3GatewayH]
 2348 admin        0 Z    [Lumi_Z3GatewayH]
 2404 admin        0 Z    [Lumi_Z3GatewayH]
 2618 admin        0 Z    [Lumi_Z3GatewayH]
 2742 admin        0 Z    [Lumi_Z3GatewayH]
 2797 admin        0 Z    [Lumi_Z3GatewayH]
 2848 admin        0 Z    [Lumi_Z3GatewayH]
 2902 admin        0 Z    [Lumi_Z3GatewayH]
 2979 admin        0 Z    [Lumi_Z3GatewayH]
 3034 admin        0 Z    [Lumi_Z3GatewayH]
 3084 admin        0 Z    [Lumi_Z3GatewayH]
 3152 admin        0 Z    [Lumi_Z3GatewayH]
 3229 admin        0 Z    [Lumi_Z3GatewayH]
 3285 admin        0 Z    [Lumi_Z3GatewayH]
 3341 admin        0 Z    [Lumi_Z3GatewayH]
 3389 admin        0 Z    [Lumi_Z3GatewayH]
 3470 admin        0 Z    [Lumi_Z3GatewayH]
 3525 admin        0 Z    [Lumi_Z3GatewayH]
 3581 admin        0 Z    [Lumi_Z3GatewayH]
 3640 admin        0 Z    [Lumi_Z3GatewayH]
 3690 admin        0 Z    [Lumi_Z3GatewayH]
 3763 admin        0 Z    [Lumi_Z3GatewayH]
 3820 admin        0 Z    [Lumi_Z3GatewayH]
 3875 admin        0 Z    [Lumi_Z3GatewayH]
 3925 admin        0 Z    [Lumi_Z3GatewayH]
 3998 admin        0 Z    [Lumi_Z3GatewayH]
 4056 admin        0 Z    [Lumi_Z3GatewayH]
 4111 admin        0 Z    [Lumi_Z3GatewayH]
 4180 admin        0 Z    [Lumi_Z3GatewayH]
 4249 admin        0 Z    [Lumi_Z3GatewayH]
 4305 admin        0 Z    [Lumi_Z3GatewayH]
 4360 admin        0 Z    [Lumi_Z3GatewayH]
 4417 admin        0 Z    [Lumi_Z3GatewayH]
 4489 admin        0 Z    [Lumi_Z3GatewayH]
 4546 admin        0 Z    [Lumi_Z3GatewayH]
 4601 admin        0 Z    [Lumi_Z3GatewayH]
 4661 admin        0 Z    [Lumi_Z3GatewayH]
 4736 admin        0 Z    [Lumi_Z3GatewayH]
 4784 admin        0 Z    [Lumi_Z3GatewayH]
 4842 admin        0 Z    [Lumi_Z3GatewayH]
 4896 admin        0 Z    [Lumi_Z3GatewayH]
 4953 admin        0 Z    [Lumi_Z3GatewayH]
 5026 admin        0 Z    [Lumi_Z3GatewayH]
 5077 admin        0 Z    [Lumi_Z3GatewayH]
 5131 admin        0 Z    [Lumi_Z3GatewayH]
 5201 admin        0 Z    [Lumi_Z3GatewayH]
 5277 admin        0 Z    [Lumi_Z3GatewayH]
 5325 admin        0 Z    [Lumi_Z3GatewayH]
 5381 admin        0 Z    [Lumi_Z3GatewayH]
 5437 admin        0 Z    [Lumi_Z3GatewayH]
 5517 admin        0 Z    [Lumi_Z3GatewayH]
 5572 admin        0 Z    [Lumi_Z3GatewayH]
 5621 admin        0 Z    [Lumi_Z3GatewayH]
 5680 admin        0 Z    [Lumi_Z3GatewayH]
 5755 admin        0 Z    [Lumi_Z3GatewayH]
 5810 admin        0 Z    [Lumi_Z3GatewayH]
 5867 admin        0 Z    [Lumi_Z3GatewayH]
 5915 admin        0 Z    [Lumi_Z3GatewayH]
 5990 admin        0 Z    [Lumi_Z3GatewayH]
 6045 admin        0 Z    [Lumi_Z3GatewayH]
 6103 admin        0 Z    [Lumi_Z3GatewayH]
 6150 admin        0 Z    [Lumi_Z3GatewayH]
 6348 admin        0 Z    [Lumi_Z3GatewayH]
 6472 admin        0 Z    [Lumi_Z3GatewayH]
 6529 admin        0 Z    [Lumi_Z3GatewayH]
 6583 admin        0 Z    [Lumi_Z3GatewayH]
 6634 admin        0 Z    [Lumi_Z3GatewayH]
 6713 admin        0 Z    [Lumi_Z3GatewayH]
 6769 admin        0 Z    [Lumi_Z3GatewayH]
 6824 admin        0 Z    [Lumi_Z3GatewayH]
 6874 admin        0 Z    [Lumi_Z3GatewayH]
 6948 admin        0 Z    [Lumi_Z3GatewayH]
 7004 admin        0 Z    [Lumi_Z3GatewayH]
 7060 admin        0 Z    [Lumi_Z3GatewayH]
 7117 admin        0 Z    [Lumi_Z3GatewayH]
 7183 admin        0 Z    [Lumi_Z3GatewayH]
 7241 admin        0 Z    [Lumi_Z3GatewayH]
 7295 admin        0 Z    [Lumi_Z3GatewayH]
 7352 admin        0 Z    [Lumi_Z3GatewayH]
 7428 admin        0 Z    [Lumi_Z3GatewayH]
 7493 admin        0 Z    [Lumi_Z3GatewayH]
 7548 admin        0 Z    [Lumi_Z3GatewayH]
 7682 admin        0 Z    [Lumi_Z3GatewayH]
 7752 admin        0 Z    [Lumi_Z3GatewayH]
 7810 admin        0 Z    [Lumi_Z3GatewayH]
 7867 admin        0 Z    [Lumi_Z3GatewayH]
 7922 admin        0 Z    [Lumi_Z3GatewayH]
 7979 admin        0 Z    [Lumi_Z3GatewayH]
 8053 admin        0 Z    [Lumi_Z3GatewayH]
 8102 admin        0 Z    [Lumi_Z3GatewayH]
 8158 admin        0 Z    [Lumi_Z3GatewayH]
 8214 admin        0 Z    [Lumi_Z3GatewayH]
 8288 admin        0 Z    [Lumi_Z3GatewayH]
 8338 admin        0 Z    [Lumi_Z3GatewayH]
 8393 admin        0 Z    [Lumi_Z3GatewayH]
 8480 admin        0 Z    [Lumi_Z3GatewayH]
 8557 admin        0 Z    [Lumi_Z3GatewayH]
 8647 admin        0 Z    [Lumi_Z3GatewayH]
 8694 admin        0 Z    [Lumi_Z3GatewayH]
 8751 admin        0 Z    [Lumi_Z3GatewayH]
 8831 admin        0 Z    [Lumi_Z3GatewayH]
 8885 admin        0 Z    [Lumi_Z3GatewayH]
 8942 admin        0 Z    [Lumi_Z3GatewayH]
 8990 admin        0 Z    [Lumi_Z3GatewayH]
 9066 admin        0 Z    [Lumi_Z3GatewayH]
 9120 admin        0 Z    [Lumi_Z3GatewayH]
 9178 admin        0 Z    [Lumi_Z3GatewayH]
 9226 admin        0 Z    [Lumi_Z3GatewayH]
 9282 admin        0 Z    [Lumi_Z3GatewayH]
 9356 admin        0 Z    [Lumi_Z3GatewayH]
 9413 admin        0 Z    [Lumi_Z3GatewayH]
 9468 admin        0 Z    [Lumi_Z3GatewayH]
 9517 admin        0 Z    [Lumi_Z3GatewayH]
 9595 admin        0 Z    [Lumi_Z3GatewayH]
 9665 admin        0 Z    [Lumi_Z3GatewayH]
 9720 admin        0 Z    [Lumi_Z3GatewayH]
 9776 admin        0 Z    [Lumi_Z3GatewayH]
 9849 admin        0 Z    [Lumi_Z3GatewayH]
 9904 admin        0 Z    [Lumi_Z3GatewayH]
 9960 admin        0 Z    [Lumi_Z3GatewayH]
10016 admin        0 Z    [Lumi_Z3GatewayH]
10085 admin        0 Z    [Lumi_Z3GatewayH]
10139 admin        0 Z    [Lumi_Z3GatewayH]
10197 admin        0 Z    [Lumi_Z3GatewayH]
10251 admin        0 Z    [Lumi_Z3GatewayH]
10327 admin        0 Z    [Lumi_Z3GatewayH]
10375 admin        0 Z    [Lumi_Z3GatewayH]
10432 admin        0 Z    [Lumi_Z3GatewayH]
10487 admin        0 Z    [Lumi_Z3GatewayH]
10544 admin        0 Z    [Lumi_Z3GatewayH]
10621 admin        0 Z    [Lumi_Z3GatewayH]
10668 admin        0 Z    [Lumi_Z3GatewayH]
10740 admin        0 Z    [Lumi_Z3GatewayH]
10800 admin        0 Z    [Lumi_Z3GatewayH]
10876 admin        0 Z    [Lumi_Z3GatewayH]
10924 admin        0 Z    [Lumi_Z3GatewayH]
10981 admin        0 Z    [Lumi_Z3GatewayH]
11036 admin        0 Z    [Lumi_Z3GatewayH]
11109 admin        0 Z    [Lumi_Z3GatewayH]
11166 admin        0 Z    [Lumi_Z3GatewayH]
11214 admin        0 Z    [Lumi_Z3GatewayH]
11271 admin        0 Z    [Lumi_Z3GatewayH]
11345 admin        0 Z    [Lumi_Z3GatewayH]
11402 admin        0 Z    [Lumi_Z3GatewayH]
11457 admin        0 Z    [Lumi_Z3GatewayH]
11506 admin        0 Z    [Lumi_Z3GatewayH]
11583 admin        0 Z    [Lumi_Z3GatewayH]
11640 admin        0 Z    [Lumi_Z3GatewayH]
11695 admin        0 Z    [Lumi_Z3GatewayH]
11754 admin    12608 S    miio_client -l 4 -d /data/miio/ -L /var/log/miio_client.log -D
11890 admin        0 Z    [Lumi_Z3GatewayH]
11945 admin      848 S    /bin/miio_recv_line
12001 admin        0 Z    [Lumi_Z3GatewayH]
12075 admin        0 Z    [Lumi_Z3GatewayH]
12131 admin        0 Z    [Lumi_Z3GatewayH]
12187 admin        0 Z    [Lumi_Z3GatewayH]
12236 admin        0 Z    [Lumi_Z3GatewayH]
12310 admin        0 Z    [Lumi_Z3GatewayH]
12365 admin        0 Z    [Lumi_Z3GatewayH]
12422 admin        0 Z    [Lumi_Z3GatewayH]
12470 admin        0 Z    [Lumi_Z3GatewayH]
12545 admin        0 Z    [Lumi_Z3GatewayH]
12601 admin        0 Z    [Lumi_Z3GatewayH]
12657 admin        0 Z    [Lumi_Z3GatewayH]
12712 admin        0 Z    [Lumi_Z3GatewayH]
12780 admin        0 Z    [Lumi_Z3GatewayH]
12836 admin        0 Z    [Lumi_Z3GatewayH]
12891 admin        0 Z    [Lumi_Z3GatewayH]
12964 admin        0 Z    [Lumi_Z3GatewayH]
13045 admin        0 Z    [Lumi_Z3GatewayH]
13094 admin        0 Z    [Lumi_Z3GatewayH]
13149 admin        0 Z    [Lumi_Z3GatewayH]
13205 admin        0 Z    [Lumi_Z3GatewayH]
13280 admin        0 Z    [Lumi_Z3GatewayH]
13328 admin        0 Z    [Lumi_Z3GatewayH]
13385 admin        0 Z    [Lumi_Z3GatewayH]
13440 admin        0 Z    [Lumi_Z3GatewayH]
13496 admin        0 Z    [Lumi_Z3GatewayH]
13570 admin        0 Z    [Lumi_Z3GatewayH]
13619 admin        0 Z    [Lumi_Z3GatewayH]
13675 admin        0 Z    [Lumi_Z3GatewayH]
13730 admin        0 Z    [Lumi_Z3GatewayH]
13806 admin        0 Z    [Lumi_Z3GatewayH]
13861 admin        0 Z    [Lumi_Z3GatewayH]
13913 admin        0 Z    [Lumi_Z3GatewayH]
13969 admin        0 Z    [Lumi_Z3GatewayH]
14062 admin        0 Z    [Lumi_Z3GatewayH]
14118 admin        0 Z    [Lumi_Z3GatewayH]
14166 admin        0 Z    [Lumi_Z3GatewayH]
14223 admin        0 Z    [Lumi_Z3GatewayH]
14297 admin        0 Z    [Lumi_Z3GatewayH]
14351 admin        0 Z    [Lumi_Z3GatewayH]
14409 admin        0 Z    [Lumi_Z3GatewayH]
14457 admin        0 Z    [Lumi_Z3GatewayH]
14532 admin        0 Z    [Lumi_Z3GatewayH]
14588 admin        0 Z    [Lumi_Z3GatewayH]
14644 admin        0 Z    [Lumi_Z3GatewayH]
14699 admin        0 Z    [Lumi_Z3GatewayH]
14776 admin        0 Z    [Lumi_Z3GatewayH]
14871 admin        0 Z    [Lumi_Z3GatewayH]
14926 admin        0 Z    [Lumi_Z3GatewayH]
14985 admin        0 Z    [Lumi_Z3GatewayH]
15039 admin        0 Z    [Lumi_Z3GatewayH]
15112 admin        0 Z    [Lumi_Z3GatewayH]
15183 admin        0 Z    [Lumi_Z3GatewayH]
15238 admin        0 Z    [Lumi_Z3GatewayH]
15295 admin        0 Z    [Lumi_Z3GatewayH]
15362 admin        0 Z    [Lumi_Z3GatewayH]
15416 admin        0 Z    [Lumi_Z3GatewayH]
15474 admin        0 Z    [Lumi_Z3GatewayH]
15528 admin        0 Z    [Lumi_Z3GatewayH]
15597 admin        0 Z    [Lumi_Z3GatewayH]
15652 admin        0 Z    [Lumi_Z3GatewayH]
15707 admin        0 Z    [Lumi_Z3GatewayH]
15764 admin        0 Z    [Lumi_Z3GatewayH]
15838 admin        0 Z    [Lumi_Z3GatewayH]
15888 admin        0 Z    [Lumi_Z3GatewayH]
15942 admin        0 Z    [Lumi_Z3GatewayH]
16001 admin        0 Z    [Lumi_Z3GatewayH]
16062 admin        0 Z    [Lumi_Z3GatewayH]
16136 admin        0 Z    [Lumi_Z3GatewayH]
16199 admin        0 Z    [Lumi_Z3GatewayH]
16255 admin        0 Z    [Lumi_Z3GatewayH]
16310 admin        0 Z    [Lumi_Z3GatewayH]
16385 admin        0 Z    [Lumi_Z3GatewayH]
16434 admin        0 Z    [Lumi_Z3GatewayH]
16490 admin        0 Z    [Lumi_Z3GatewayH]
16545 admin        0 Z    [Lumi_Z3GatewayH]
16619 admin        0 Z    [Lumi_Z3GatewayH]
16676 admin        0 Z    [Lumi_Z3GatewayH]
16724 admin        0 Z    [Lumi_Z3GatewayH]
16780 admin        0 Z    [Lumi_Z3GatewayH]
16855 admin        0 Z    [Lumi_Z3GatewayH]
16909 admin        0 Z    [Lumi_Z3GatewayH]
16966 admin        0 Z    [Lumi_Z3GatewayH]
17017 admin        0 Z    [Lumi_Z3GatewayH]
17098 admin        0 Z    [Lumi_Z3GatewayH]
17153 admin        0 Z    [Lumi_Z3GatewayH]
17207 admin        0 Z    [Lumi_Z3GatewayH]
17272 admin        0 Z    [Lumi_Z3GatewayH]
17326 admin        0 Z    [Lumi_Z3GatewayH]
17400 admin        0 Z    [Lumi_Z3GatewayH]
17458 admin        0 Z    [Lumi_Z3GatewayH]
17512 admin        0 Z    [Lumi_Z3GatewayH]
17562 admin        0 Z    [Lumi_Z3GatewayH]
17635 admin        0 Z    [Lumi_Z3GatewayH]
17691 admin        0 Z    [Lumi_Z3GatewayH]
17747 admin        0 Z    [Lumi_Z3GatewayH]
17795 admin        0 Z    [Lumi_Z3GatewayH]
17871 admin        0 Z    [Lumi_Z3GatewayH]
17926 admin        0 Z    [Lumi_Z3GatewayH]
17984 admin        0 Z    [Lumi_Z3GatewayH]
18041 admin        0 Z    [Lumi_Z3GatewayH]
18113 admin        0 Z    [Lumi_Z3GatewayH]
18167 admin        0 Z    [Lumi_Z3GatewayH]
18224 admin        0 Z    [Lumi_Z3GatewayH]
18280 admin        0 Z    [Lumi_Z3GatewayH]
18368 admin        0 Z    [Lumi_Z3GatewayH]
18417 admin        0 Z    [Lumi_Z3GatewayH]
18472 admin        0 Z    [Lumi_Z3GatewayH]
18529 admin        0 Z    [Lumi_Z3GatewayH]
18583 admin        0 Z    [Lumi_Z3GatewayH]
18651 admin        0 Z    [Lumi_Z3GatewayH]
18708 admin        0 Z    [Lumi_Z3GatewayH]
18762 admin        0 Z    [Lumi_Z3GatewayH]
18817 admin        0 Z    [Lumi_Z3GatewayH]
18893 admin        0 Z    [Lumi_Z3GatewayH]
18941 admin        0 Z    [Lumi_Z3GatewayH]
19000 admin        0 Z    [Lumi_Z3GatewayH]
19061 admin        0 Z    [Lumi_Z3GatewayH]
19135 admin        0 Z    [Lumi_Z3GatewayH]
19184 admin        0 Z    [Lumi_Z3GatewayH]
19240 admin        0 Z    [Lumi_Z3GatewayH]
19294 admin        0 Z    [Lumi_Z3GatewayH]
19383 admin        0 Z    [Lumi_Z3GatewayH]
19439 admin        0 Z    [Lumi_Z3GatewayH]
19487 admin        0 Z    [Lumi_Z3GatewayH]
19544 admin        0 Z    [Lumi_Z3GatewayH]
19617 admin        0 Z    [Lumi_Z3GatewayH]
19673 admin        0 Z    [Lumi_Z3GatewayH]
19729 admin        0 Z    [Lumi_Z3GatewayH]
19777 admin        0 Z    [Lumi_Z3GatewayH]
19833 admin        0 Z    [Lumi_Z3GatewayH]
19908 admin        0 Z    [Lumi_Z3GatewayH]
19963 admin        0 Z    [Lumi_Z3GatewayH]
20013 admin        0 Z    [Lumi_Z3GatewayH]
20076 admin        0 Z    [Lumi_Z3GatewayH]
20149 admin        0 Z    [Lumi_Z3GatewayH]
20206 admin        0 Z    [Lumi_Z3GatewayH]
20262 admin        0 Z    [Lumi_Z3GatewayH]
20309 admin        0 Z    [Lumi_Z3GatewayH]
20385 admin        0 Z    [Lumi_Z3GatewayH]
20453 admin        0 Z    [Lumi_Z3GatewayH]
20509 admin        0 Z    [Lumi_Z3GatewayH]
20565 admin        0 Z    [Lumi_Z3GatewayH]
20632 admin        0 Z    [Lumi_Z3GatewayH]
20688 admin        0 Z    [Lumi_Z3GatewayH]
20744 admin        0 Z    [Lumi_Z3GatewayH]
20829 admin        0 Z    [Lumi_Z3GatewayH]
20896 admin        0 Z    [Lumi_Z3GatewayH]
20971 admin        0 Z    [Lumi_Z3GatewayH]
21025 admin        0 Z    [Lumi_Z3GatewayH]
21084 admin        0 Z    [Lumi_Z3GatewayH]
21146 admin        0 Z    [Lumi_Z3GatewayH]
21212 admin        0 Z    [Lumi_Z3GatewayH]
21267 admin        0 Z    [Lumi_Z3GatewayH]
21324 admin        0 Z    [Lumi_Z3GatewayH]
21379 admin        0 Z    [Lumi_Z3GatewayH]
21445 admin        0 Z    [Lumi_Z3GatewayH]
21503 admin        0 Z    [Lumi_Z3GatewayH]
21571 admin        0 Z    [Lumi_Z3GatewayH]
21626 admin        0 Z    [Lumi_Z3GatewayH]
21703 admin        0 Z    [Lumi_Z3GatewayH]
21750 admin        0 Z    [Lumi_Z3GatewayH]
21805 admin        0 Z    [Lumi_Z3GatewayH]
21861 admin        0 Z    [Lumi_Z3GatewayH]
21885 admin     1584 S    -/bin/login
21936 admin        0 Z    [Lumi_Z3GatewayH]
21968 admin     1600 S    -sh
21991 admin     1568 S    sleep 10
21992 admin     2624 R    Lumi_Z3GatewayHost_MQTT -n 1 -b 115200 -p /dev/ttyS2 -d /data/silicon_zigbee_host/ -r c
22007 admin     1568 S    sleep 5
22009 admin     1568 S    sleep 5
22016 admin     1584 R    ps

Update: Checked today and saw the bluetooth sensors also not updating. It updated for a while after the restart. image image

AlexxIT commented 1 year ago

@rleongcs you have custom zigbee firmware on your gateway

rleongcs commented 1 year ago

@rleongcs you have custom zigbee firmware on your gateway

@AlexxIT Is the custom zigbee firmware installed when I set the gateway to use ZHA long time back in the older version of this integration? Or is it from the recent firmware update through the method below when nothing is detected and also I could not update the firmware also from the Xiaomi Home App?

How can I revert everything to factory default?

image

AlexxIT commented 1 year ago

https://github.com/AlexxIT/XiaomiGateway3#zigbee-custom-firmware