Closed wryandginger closed 1 year ago
I was thinking this was going to be similar to the NEO NAS-PD07, so I looked there to see if I could just add this device to the model info, but that didn't work.
I'm not sure if this is any help, but looking at the clusters and some other quirks, I think this might be using class ZemismartTempHumidity(CustomDevice) for the temp and humidity since the clusters seem to line up.
I tried to make a custom quirk using just the ts0201_zemismart.py, replacing the model info -- nothing happened. I then tried my best to mash up the NAS-PD07 and Zemismart quirks, but that crashed ZHA because I clearly don't know what I'm doing.
Following. I have the same issue and when I use the automation from https://community.home-assistant.io/t/tuya-zigbee-multi-sensor-4-in-1-smart-pir-motion-humidity-light-temperature-sensor/409780/7 it ends up randomly triggering the motion detection to be detected eventho nothing has triggered it.
Following. Same issue using ZHA.
I checked my sensors and I'm not seeing any false triggers. Does that happen when only you're using my automation?
Are you on battery or USB? In one forum post somewhere -- zigbee2mqtt, probably? -- I read that certain battery voltages can cause false motion events. If you're using batteries, make sure they're new regular lithium batteries and not a rechargeable. Test with mains power (no batteries) to see if that does anything different.
Have you tried adjusting the sensitivity of the sensor? Go to Device Information --> Manage Zigbee Device --> IasZone (Endpoint 1m 0x0500 in) --> current_zone_sensitivity_level. Then you can read/write the value --1, 2, or 3. Level 2 seems to be what all mine are set to. Keep in mind, some electronic devices, heating devices, and other stuff in your house can be causing the motion to trigger.
It may be worthwhile testing the sensors by connecting them to a USB battery bank and putting in a closed cabinet. If they're still randomly tripping with no light/motion/automation then it may be a defective sensor.
Following. Same issue using ZHA.
Just to add, this is a supported device in Z2M
I'm happy to test, but I don't have the skills to write a quirk from scratch.
I think I was close with looking at NAS-PD07, but I know the endpoints don't match up.
Sensor work really well with Z2M, support for ZHA would be awesome, I'd like to simplify my setup with ZHA, but no support for this sensors keeps me from doing that atm.
Additional info for developing a quirk -- I'll try to take a look at these more closely this weekend to tinker.
Here are some drivers that are written for other platforms:
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.
Is your feature request related to a problem? Please describe. This is a motion sensor that exposes motion, temperature, humidity, and illuminance. Device pairs and 4 entities show, but temperature and humidity do not update unless you manually read the cluster. (See: Discussion Here )
Item link on AliExpress
Describe the solution you'd like I'd like the temperature and humidity to update automatically.
Device signature
```yaml { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
```yaml { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2022.6.6", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.9.12", "docker": true, "arch": "x86_64", "timezone": "America/Los_Angeles", "os_name": "Linux", "os_version": "5.15.45", "supervisor": "2022.05.3", "host_os": "Home Assistant OS 8.2", "docker_version": "20.10.14", "chassis": "embedded", "run_as_root": true }, "custom_components": { "watchman": { "version": "0.5.1", "requirements": [ "prettytable==3.0.0" ] }, "smartthinq_sensors": { "version": "0.23.0", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "chardet>=4.0.0" ] }, "dyson_local": { "version": "0.16.4-4", "requirements": [ "libdyson==0.8.11" ] }, "frigate": { "version": "2.3", "requirements": [] }, "zha_toolkit": { "version": "v0.8.11", "requirements": [] }, "dyson_cloud": { "version": "0.15.0", "requirements": [ "libdyson==0.8.7" ] }, "alexa_media": { "version": "4.0.2", "requirements": [ "alexapy==1.26.0", "packaging>=20.3", "wrapt>=1.12.1" ] }, "hacs": { "version": "1.25.5", "requirements": [ "aiogithubapi>=22.2.4" ] }, "govee": { "version": "0.2.2", "requirements": [ "govee-api-laggat==0.2.2", "dacite==1.6.0" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zha", "requirements": [ "bellows==0.30.0", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.75", "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": "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" ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" } ], "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": 19199, "manufacturer": "_TZ3210_zmy9hjay", "model": "TS0202", "name": "_TZ3210_zmy9hjay TS0202", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4098, "power_source": "Battery or Unknown", "lqi": 255, "rssi": -42, "last_seen": "2022-06-15T13:57:08", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=When you manually update the sensors this error shows up in logs
``` [0xFB44:1:0xef00] Unknown cluster command 6 b'\x00\x00k\x02\x00\x04\x00\x00\x00\xd5' [0xFB44:1:0xef00] Unknown cluster command 6 b'\x00\x00l\x02\x00\x04\x00\x00\x00?' [0x05A7:1:0xef00] Unknown cluster command 6 b'\x00\x00n\x02\x00\x04\x00\x00\x00d' [0x05A7:1:0xef00] Unknown cluster command 6 b'\x00\x00k\x02\x00\x04\x00\x00\x00\xdf' [0x05A7:1:0xef00] Unknown cluster command 6 b'\x00\x00l\x02\x00\x04\x00\x00\x00=' ```Additional context
Motion Event from home-assistant.log
``` 2022-06-15 14:00:18 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [