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

TS0601 PIR Sensor (_TZE200_gjldowol) #8661

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

omerfaruk-aran
Copy link

This PR adds support for the TS0601 PIR Sensor (_TZE200_gjldowol).

  • Includes luminance, occupancy, battery, and sensitivity settings.

},
],
zigbeeModel: ['TS0601'],
model: 'TS0601_pir_sensor',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any other model number written on the device or product page?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your follow-up. During the Zigbee2MQTT detection process, the following information is returned:

const definition = {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: '_TZE200_gjldowol',
    description: 'Automatically generated definition',
    extend: [],
    meta: {},
};

module.exports = definition;

However, the model information printed on the device packaging and user manual differs:

  1. On the packaging: The model is listed as IH012-RT01.
  2. In the user manual: The model is listed as ZM-35ZH-Q.

This discrepancy makes it difficult to ensure accurate integration with Zigbee2MQTT. Could this be due to vendor-specific modifications to the firmware or a generic implementation for TS0601-based devices?

IMG_5176
IMG_5177

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use ZM-35ZH-Q then, _TZE200_gjldowol is the internal model of the device.

@@ -0,0 +1,57 @@
import * as exposes from '../lib/exposes';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this into tuya.ts and remove this file.

@omerfaruk-aran omerfaruk-aran marked this pull request as draft January 23, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants