tube0013 / tube_gateways

Information and Documentation on Tube's Zigbee Gateways
270 stars 51 forks source link

Home Assistant zha Unable to connect to Tubeszb-Efr32-Mgm210-Poe-2023 #165

Closed ckbisek closed 1 year ago

ckbisek commented 1 year ago

For whatever reason, magically, my Home Assistant zha integration is no longer able to connect to the Tubeszb-Efr32-Mgm210-Poe-2023 controller. It has been working for the past few weeks, however as of yesterday, it is no longer connecting. I've attempted all the basic troubleshooting, powercycling (HASS/VM/Hypervisor/Tubeszb-Efr32-Mgm210-Poe-2023), etc... We are able to reach the Tubeszb-Efr32-Mgm210-Poe-2023 gateway, I've updated the firmware, shook my fist, and no luck.

Below is my esphome diagnostics

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.11.1",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.6",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/Chicago",
    "os_name": "Linux",
    "os_version": "6.1.59",
    "supervisor": "2023.11.0",
    "host_os": "Home Assistant OS 11.1",
    "docker_version": "24.0.6",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "ge_home": {
      "version": "0.6.8",
      "requirements": [
        "gehomesdk==0.5.23",
        "magicattr==0.1.6",
        "slixmpp==1.8.3"
      ]
    },
    "webrtc": {
      "version": "v3.5.0",
      "requirements": []
    },
    "pura": {
      "version": "0.1.15",
      "requirements": [
        "pypura==0.1.11",
        "deepdiff"
      ]
    },
    "hacs": {
      "version": "1.33.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "eufy_security": {
      "version": "7.7.3",
      "requirements": [
        "websocket-client==1.4.2",
        "aiortsp==1.3.7"
      ]
    },
    "subaru": {
      "version": "0.7.11",
      "requirements": [
        "subarulink==0.7.8"
      ]
    }
  },
  "integration_manifest": {
    "domain": "esphome",
    "name": "ESPHome",
    "after_dependencies": [
      "zeroconf",
      "tag"
    ],
    "codeowners": [
      "@OttoWinter",
      "@jesserockz",
      "@kbx81",
      "@bdraco"
    ],
    "config_flow": true,
    "dependencies": [
      "assist_pipeline",
      "bluetooth"
    ],
    "dhcp": [
      {
        "registered_devices": true
      }
    ],
    "documentation": "https://www.home-assistant.io/integrations/esphome",
    "integration_type": "device",
    "iot_class": "local_push",
    "loggers": [
      "aioesphomeapi",
      "noiseprotocol"
    ],
    "requirements": [
      "async-interrupt==1.1.1",
      "aioesphomeapi==18.1.0",
      "bluetooth-data-tools==1.13.0",
      "esphome-dashboard-api==1.2.3"
    ],
    "zeroconf": [
      "_esphomelib._tcp.local."
    ],
    "is_built_in": true
  },
  "data": {
    "config": {
      "entry_id": "5e392ef4173f15fde3b585f273e5838d",
      "version": 1,
      "domain": "esphome",
      "title": "tubeszb-efr32-mgm210-poe-2023",
      "data": {
        "host": "192.168.1.30",
        "port": 6053,
        "password": "",
        "noise_psk": "",
        "device_name": "tubeszb-efr32-mgm210-poe-2023"
      },
      "options": {
        "allow_service_calls": false
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "zeroconf",
      "unique_id": "a0:b7:65:ef:4f:6c",
      "disabled_by": null
    },
    "storage_data": {
      "device_info": {
        "uses_password": false,
        "name": "tubeszb-efr32-mgm210-poe-2023",
        "friendly_name": "",
        "mac_address": "**REDACTED**",
        "compilation_time": "Jul 21 2023, 12:35:41",
        "model": "esp-wrover-kit",
        "manufacturer": "Espressif",
        "has_deep_sleep": false,
        "esphome_version": "2023.7.0",
        "project_name": "tubeszb.efr32_mgm210_poe_2023",
        "project_version": "3.0",
        "webserver_port": 80,
        "voice_assistant_version": 0,
        "legacy_bluetooth_proxy_version": 0,
        "bluetooth_proxy_feature_flags": 0
      },
      "services": [],
      "api_version": {
        "major": 1,
        "minor": 9
      },
      "button": [
        {
          "object_id": "restart_the_gateway",
          "key": 85168177,
          "name": "Restart the Gateway",
          "unique_id": "tubeszb-efr32-mgm210-poe-2023buttonrestart_the_gateway",
          "disabled_by_default": true,
          "icon": "",
          "entity_category": 1,
          "device_class": "restart"
        },
        {
          "object_id": "efr32_reset",
          "key": 507812133,
          "name": "EFR32 Reset",
          "unique_id": "tubeszb-efr32-mgm210-poe-2023buttonefr32_reset",
          "disabled_by_default": true,
          "icon": "",
          "entity_category": 0,
          "device_class": ""
        }
      ],
      "switch": [
        {
          "object_id": "pull_bootloader_pin_pa0_to_low",
          "key": 3501226519,
          "name": "Pull Bootloader pin (PA0) to Low",
          "unique_id": "tubeszb-efr32-mgm210-poe-2023switchpull_bootloader_pin_pa0_to_low",
          "disabled_by_default": true,
          "icon": "",
          "entity_category": 0,
          "assumed_state": false,
          "device_class": ""
        }
      ],
      "binary_sensor": [
        {
          "object_id": "tubeszb_serial_connected",
          "key": 1546663229,
          "name": "TubesZB Serial Connected",
          "unique_id": "tubeszb-efr32-mgm210-poe-2023binary_sensortubeszb_serial_connected",
          "disabled_by_default": false,
          "icon": "",
          "entity_category": 2,
          "device_class": "connectivity",
          "is_status_binary_sensor": false
        }
      ]
    }
  }
}
ckbisek commented 1 year ago

image

image

ckbisek commented 1 year ago

Looked at https://github.com/tube0013/tube_gateways/issues/160

The 2022 vs 2023 is a bit misleading for a dumdum like me, but I used the HASS addon to perform a firmware upgrade and I'm seeing what happens.