Closed aldalen closed 1 year ago
Devices in zhaquirks.centralite.motion.CentraLiteMotionSensor
quirk are also defined on the zhaquirks.centralite.motion.CentraLite3305S
, but they have diferent device signature. This can mean that they are different devices or that they have a different firmware.
Devices with the CentraLiteMotionSensor
would have a IasZone
cluster, that could be a motion sensor, but doesn't have any OccupancySensing
cluster, so no occupancy for that devices.
If you are guessing if it is possible to add it, the answer is no, it is not possible to add the cluster if the device does not send the information.
It is true that the device signature is confussing because declares a occupancy device type, but not the cluster. Maybe is reporting some info trought the MANUFACTURER_SPECIFIC_CLUSTER_ID
but no one has implemented that functionality, so hard to know.
I was using this before with hubitat and it got motion/occupancy information just fine (using their "generic" driver too), so I doubt its an blocking issue with the device since software can workaround. So that leads me to believe this problem is the in the quirk.
I don't understand your last comment there... is there a way to modify the quirk to accept altered info?
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug The CentraLite 3325-S motion sensor quirk is not exposing motion/occupancy properly.
To Reproduce Steps to reproduce the behavior:
Expected behavior Occupancy is shown.
Screenshots If applicable, add screenshots to help explain your problem.
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.12.8", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.10.7", "docker": true, "arch": "x86_64", "timezone": "America/Los_Angeles", "os_name": "Linux", "os_version": "5.15.80", "supervisor": "2022.12.1", "host_os": "Home Assistant OS 9.4", "docker_version": "20.10.19", "chassis": "vm", "run_as_root": true }, "custom_components": { "fontawesome": { "version": "1.0.0", "requirements": [] }, "hacs": { "version": "1.29.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "mail_and_packages": { "version": "0.3.4-2", "requirements": [ "imageio>=2.9.0", "python-resize-image>=1.1.19" ] }, "hubitat": { "version": "0.8.3", "requirements": [ "hubitatmaker>=0.6.1,<0.7.0" ] }, "meross_cloud": { "version": "1.2.6", "requirements": [ "meross_iot==0.4.5.0" ] }, "unifiled_custom": { "version": "1.0.0", "requirements": [] }, "wyzeapi": { "version": "0.1.15", "requirements": [ "wyzeapy==0.5.14" ] }, "fordpass": { "version": "0.1.40", "requirements": [] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.34.5", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.89", "zigpy-deconz==0.19.2", "zigpy==0.52.3", "zigpy-xbee==0.16.2", "zigpy-zigate==0.10.3", "zigpy-znp==0.9.2" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "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": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" } ], "dependencies": [ "file_upload" ], "after_dependencies": [ "onboarding", "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": 4407, "manufacturer": "CentraLite", "model": "3325-S", "name": "CentraLite 3325-S", "quirk_applied": true, "quirk_class": "zhaquirks.centralite.motion.CentraLiteMotionSensor", "manufacturer_code": 4174, "power_source": "Battery or Unknown", "lqi": 248, "rssi": -38, "last_seen": "2022-12-31T15:44:43", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Additional logs
``` Initial Discovery: [0x1137] Discovered basic device information forAdditional context The big giveaway seems to be
unknown 263 device_type of 0xc2df profile id
. I noticed the 3305-S quirk has the 3325-S model listed, but uses a different MFG specific key. The 3325-S seems to be using the the base CentraLite "motion" quirk.Seems like some changes were made a while ago via https://github.com/zigpy/zha-device-handlers/issues/19 and https://github.com/zigpy/zha-device-handlers/issues/20.