Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 in 1 sensor pir and lux #425

Closed
avanderwulp opened this issue Sep 23, 2023 · 6 comments
Closed

2 in 1 sensor pir and lux #425

avanderwulp opened this issue Sep 23, 2023 · 6 comments

Comments

@avanderwulp
Copy link

Prerequisites:

  • Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
  • Make sure your Homey is upgraded to firmware v5 or higher.
  • You need a physical example of the device

Device Name: motion sensor
Device Model: zg-204zl
Device Description: motion sensor with light srnsor
Link to device image: Ik heb net dit geweldige item op AliExpress gevonden. Bekijk het nu! €5,76 | Tuya 2 In 1 Zigbee Mini Pir Bewegingsmelder + Heldere Lux Licht Passieve Infrarood Beveiliging Inbraakalarm Sensor
https://a.aliexpress.com/_EQ0EWb5

Device Interview:

"ids": {
"modelId": "TS0601",
"manufacturerName": "_TZE200_3towulqd"
},
"endpoints": {
"endpointDescriptors": [
{
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 1026,
"applicationDeviceVersion": 0,
"_reserved1": 1,
"inputClusters": [
0,
3,
1280,
57346,
61184,
60928,
57344,
1,
1024
],
"outputClusters": []
}
],
"endpoints": {
"1": {
"clusters": {
"basic": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "zclVersion"
},
{
"acl": [
"readable"
],
"id": 1,
"name": "appVersion"
},
{
"acl": [
"readable"
],
"id": 2,
"name": "stackVersion"
},
{
"acl": [
"readable"
],
"id": 3,
"name": "hwVersion"
},
{
"acl": [
"readable"
],
"id": 4,
"name": "manufacturerName"
},
{
"acl": [
"readable"
],
"id": 5,
"name": "modelId"
},
{
"acl": [
"readable"
],
"id": 7,
"name": "powerSource"
},
{
"acl": [
"readable",
"writable"
],
"id": 18,
"name": "deviceEnabled"
},
{
"acl": [
"readable"
],
"id": 16384,
"name": "swBuildId"
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision"
}
]
},
"identify": {
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"iasZone": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "zoneState",
"value": "notEnrolled"
},
{
"acl": [
"readable"
],
"id": 1,
"name": "zoneType",
"value": "motionSensor"
},
{
"acl": [
"readable"
],
"id": 2,
"name": "zoneStatus",
"value": {
"type": "Buffer",
"data": [
0,
0
]
}
},
{
"acl": [
"readable",
"writable"
],
"id": 16,
"name": "iasCIEAddress",
"value": "00:12:4b:00:18:dd:6a:73"
},
{
"acl": [
"readable"
],
"id": 17,
"name": "zoneId",
"value": 0
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"powerConfiguration": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0
},
{
"acl": [
"readable"
],
"id": 32,
"name": "batteryVoltage",
"value": 33
},
{
"acl": [
"readable"
],
"id": 33,
"name": "batteryPercentageRemaining",
"value": 200
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"illuminanceMeasurement": {
"attributes": [
{
"acl": [
"readable"
],
"id": 0,
"name": "measuredValue",
"value": 1000
},
{
"acl": [
"readable"
],
"id": 1,
"name": "minMeasuredValue",
"value": 0
},
{
"acl": [
"readable"
],
"id": 2,
"name": "maxMeasuredValue",
"value": 4000
},
{
"acl": [
"readable"
],
"id": 65533,
"name": "clusterRevision",
"value": 1
}
],
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {}
}
}
}
Additional Comments:
[Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help]

How to interview a device:

  • Add the device as a generic Zigbee device in Homey
  • Navigate to https://developer.athom.com/tools/zigbee.
  • Interview the device, the button for this is to the right of the device in the list of Zigbee units.
  • Click the copy button/icon to capture the device information.
  • Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want added. Thank you for your contribution!

@maccyber
Copy link

maccyber commented Oct 15, 2023

Related (i think): #208 #368 #380 #519 #527 #605 #654

@JohanBendz
Copy link
Owner

Added to next release, thanks to @demyvdj 😎

@maccyber
Copy link

maccyber commented Feb 4, 2024

Thats awesome!

@maccyber
Copy link

maccyber commented Feb 4, 2024

Is it possible to test in 0.2.18, @JohanBendz?

@avanderwulp
Copy link
Author

Screenshot_20240205-125639
This is what i get after i added my sensor to Homey. I tryd several times.

@maccyber
Copy link

maccyber commented Feb 5, 2024

@avanderwulp: There is an issue on it at #715

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants