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

[New device support]: _TZE200_44af8vyi #18057

Closed
ghost opened this issue Jun 18, 2023 · 1 comment
Closed

[New device support]: _TZE200_44af8vyi #18057

ghost opened this issue Jun 18, 2023 · 1 comment
Labels
new device support New device support request

Comments

@ghost
Copy link

ghost commented Jun 18, 2023

Link

https://www.zigbee2mqtt.io/devices/TS0601_temperature_humidity_sensor_1.html

Database entry

{"id":19,"type":"EndDevice","ieeeAddr":"0x9035eafffe2d6b67","nwkAddr":24269,"manufId":4098,"manufName":"_TZE200_44af8vyi","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,4,5,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0601","manufacturerName":"_TZE200_44af8vyi","stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1687098942688,"defaultSendRequestWhen":"immediate"}

Comments

Zigbee Model
TS0601
Zigbee Manufacturer
_TZE200_44af8vyi

I added _TZE200_44af8vyi to tuya.js:

    {
        fingerprint: [{ modelID: 'TS0601', manufacturerName: '_TZE200_bq5c8xfe' },
            { modelID: 'TS0601', manufacturerName: '_TZE200_bjawzodf' },
            { modelID: 'TS0601', manufacturerName: '_TZE200_qyflbnbj' },
            { modelID: 'TS0601', manufacturerName: '_TZE200_44af8vyi' },
            { modelID: 'TS0601', manufacturerName: '_TZE200_vs0skpuc' },
            { modelID: 'TS0601', manufacturerName: '_TZE200_zl1kmjqx' }],
        model: 'TS0601_temperature_humidity_sensor_1',
        vendor: 'TuYa',
        description: 'Temperature & humidity sensor',
        fromZigbee: [legacy.fromZigbee.tuya_temperature_humidity_sensor],
        toZigbee: [],
        exposes: (device, options) => {
            const exps = [e.temperature(), e.humidity(), e.battery()];
            if (!device || device.manufacturerName === '_TZE200_qyflbnbj') {
                exps.push(e.battery_low());
                exps.push(e.enum('battery_level', ea.STATE, ['low', 'middle', 'high']).withDescription('Battery level state'));
            }
            exps.push(e.linkquality());
            return exps;
        },
    }

The device works exactly as it should, it looks exactly the same as the picture of "TuYa TS0601_temperature_humidity_sensor_1" on the z2m website.

image

External converter

No response

Supported color modes

No response

Color temperature range

No response

@ghost ghost added the new device support New device support request label Jun 18, 2023
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Jun 19, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jun 19, 2023

Added, thanks!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

1 participant