question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Device Support Request] - URC4460BC0-X-R by Universal Electronics Inc or 4460 Comcast Xfinity Home Contact Sensor or UEI XHS2-UE Door/Window Sensor.

See original GitHub issue

Is your feature request related to a problem? Please describe. The devices have a power entity (in Home Assistant), but it is unknown. I’d like to have the battery information available. This is my first device request, so if there’s anything I’ve missed, I’d be glad to provide it.

Device signature - this can be acquired by clicking on the "Zigbee Device Signature" button in the device settings
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4335, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=0, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0402",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0020",
        "0x0402",
        "0x0500",
        "0x0b05"
      ],
      "out_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "Universal Electronics Inc",
  "model": "URC4460BC0-X-R",
  "class": "zigpy.device.Device"
}
Diagnostic information - this can be acquired by clicking on the "Download Diagnostics" button in the device settings
{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2022.5.0",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.9",
    "docker": true,
    "arch": "x86_64",
    "timezone": "America/New_York",
    "os_name": "Linux",
    "os_version": "5.10.0-13-amd64",
    "supervisor": "2022.05.0",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "20.10.15",
    "chassis": "laptop",
    "run_as_root": true
  },
  "custom_components": {
    "blitzortung": {
      "version": "1.0.1",
      "requirements": [
        "paho-mqtt>=1.5.0"
      ]
    },
    "nodered": {
      "version": "1.0.8",
      "requirements": []
    },
    "fullykiosk": {
      "version": "1.0.1",
      "requirements": [
        "python-fullykiosk==0.0.11"
      ]
    },
    "powercalc": {
      "version": "v0.19.15",
      "requirements": [
        "numpy>=1.21.1"
      ]
    },
    "adaptive_lighting": {
      "version": "1.0.14",
      "requirements": []
    },
    "hacs": {
      "version": "1.24.5",
      "requirements": [
        "aiogithubapi>=21.11.0"
      ]
    },
    "deebot": {
      "version": "1.3.0",
      "requirements": [
        "deebot-client==1.3.0",
        "numpy>=1.21.2"
      ]
    },
    "nws_alerts": {
      "version": "2.4",
      "requirements": []
    },
    "alexa_media": {
      "version": "3.11.3",
      "requirements": [
        "alexapy==1.25.5",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "alarmo": {
      "version": "v1.9.0",
      "requirements": []
    },
    "tryfi": {
      "version": "0.0.12",
      "requirements": [
        "pytryfi>=0.0.14.1"
      ]
    },
    "samsungtv_encrypted": {
      "version": "2022.3.1",
      "requirements": [
        "wakeonlan>=1.1.6",
        "beautifulsoup4>=4.6.0",
        "netdisco>=2.8.3"
      ]
    },
    "garbage_collection": {
      "version": "4.7.3",
      "requirements": [
        "python-dateutil>=2.8.2"
      ]
    },
    "dreamscreen": {
      "version": "2020.8.5",
      "requirements": [
        "PyDreamScreen>=0.0.14"
      ]
    },
    "emscrss": {
      "version": "1.1",
      "requirements": [
        "georss_emsc_csem_earthquakes_client==0.3"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.29.0",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.73",
      "zigpy-deconz==0.16.0",
      "zigpy==0.45.1",
      "zigpy-xbee==0.14.0",
      "zigpy-zigate==0.7.4",
      "zigpy-znp==0.7.0"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*sonoff*plus*",
        "known_devices": [
          "sonoff zigbee dongle plus"
        ]
      },
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*tubeszb*",
        "known_devices": [
          "TubesZB Coordinator"
        ]
      },
      {
        "vid": "1A86",
        "pid": "7523",
        "description": "*zigstar*",
        "known_devices": [
          "ZigStar Coordinators"
        ]
      },
      {
        "vid": "1CF1",
        "pid": "0030",
        "description": "*conbee*",
        "known_devices": [
          "Conbee II"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8A2A",
        "description": "*zigbee*",
        "known_devices": [
          "Nortek HUSBZB-1"
        ]
      },
      {
        "vid": "10C4",
        "pid": "8B34",
        "description": "*bv 2010/10*",
        "known_devices": [
          "Bitron Video AV2010/10"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      }
    ],
    "after_dependencies": [
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": 30150,
    "manufacturer": "Universal Electronics Inc",
    "model": "URC4460BC0-X-R",
    "name": "Universal Electronics Inc URC4460BC0-X-R",
    "quirk_applied": false,
    "quirk_class": "zigpy.device.Device",
    "manufacturer_code": 4335,
    "power_source": "Battery or Unknown",
    "lqi": 255,
    "rssi": -15,
    "last_seen": "2022-05-05T19:20:39",
    "available": true,
    "device_type": "EndDevice",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4335, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=0, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0402",
          "in_clusters": [
            "0x0000",
            "0x0001",
            "0x0003",
            "0x0020",
            "0x0402",
            "0x0500",
            "0x0b05"
          ],
          "out_clusters": [
            "0x0019"
          ]
        }
      }
    },
    "entities": [
      {
        "entity_id": "button.door_bathroom_kids_identify",
        "name": "Universal Electronics Inc URC4460BC0-X-R"
      },
      {
        "entity_id": "sensor.door_bathroom_kids_power",
        "name": "Universal Electronics Inc URC4460BC0-X-R"
      },
      {
        "entity_id": "sensor.door_bathroom_kids_temperature",
        "name": "Universal Electronics Inc URC4460BC0-X-R"
      },
      {
        "entity_id": "binary_sensor.door_bathroom_contact",
        "name": "Universal Electronics Inc URC4460BC0-X-R"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "IAS_ZONE"
      }
    ],
    "user_given_name": "Door - Bathroom - Kids",
    "device_reg_id": "9e3b1d0c9094f6596a515ea63b721a17",
    "area_id": null
  }
}

Additional context Add any other context or screenshots about the feature request here. HA_Screenshot

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
HVR88commented, Jun 5, 2022

So, I just checked and battery percentage is working now. Go figure. I just left the system since I posted above (about two hours ago) and now it’s reporting a value. Weird.

While previously testing, there were no errors that I’ve found. And to get this sensor working I had to add it a couple of times before it was stable and open/close worked reliably. Restarted a few times over a period of some 20 minutes after adding the quirk and no joy.

0reactions
MattWestbcommented, Jun 6, 2022

Some device is not getting the reporting configured OK then paring and need being reconfigured from the device card (wake up sleepers then doing it) like all IKEA controllers. If it working OK letting it and if problem try reconfig.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UEI XHS2-UE Door/Window Sensor Battery Installation - Xfinity
Learn how to install or replace a battery in the UEI XHS2-UE Door/Window Sensor. Did You Know? This Door/Window Sensor may display as...
Read more >
UEI Comcast Xfinity Door/Window Sensor XHS2-UE Zigbee ...
If the device is following Zigbee standards it is possible it will work with other gateway solutions, it is just not confirmed as...
Read more >
Comcast Xfinity Home Contact Sensor - CSA-IOT
Comcast Xfinity Home Contact Sensor. By Universal Electronics, Inc. ZigBee Home Automation 1.2 Door/Window security sensor designed for use with iControl ...
Read more >
Zigbee Door Window Sensors XHS2-TY , XHS2-UE Home ...
Amazon.com : Zigbee Door Window Sensors XHS2-TY , XHS2-UE Home Comcast Xfinity Security MCT-350 : Electronics.
Read more >
4460 Comcast Xfinity Home Contact Sensor 2015 User ...
Door/Window Sensor Installation Guide Introduction Door/Window sensors are designed to secure the perimeter of the residential premise, and provide the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found