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

Tuya Smoke Sensor support _TZE200_uebojraa #8893

Closed
ramelito opened this issue Sep 27, 2021 · 14 comments
Closed

Tuya Smoke Sensor support _TZE200_uebojraa #8893

ramelito opened this issue Sep 27, 2021 · 14 comments
Labels
new device support New device support request stale Stale issues

Comments

@ramelito
Copy link

Information about the device + link

https://aliexpress.ru/item/1005002842149725.html

data/database.db entry of the device

..
{"id":37,"type":"EndDevice","ieeeAddr":"0xa4c1381da61e2aa1","nwkAddr":43326,"manufId":4417,"manufName":"_TZE200_uebojraa","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"]3�(\u00135\u0000\u0000\u0000e5\u0000\u0000\u0000\u0012","65506":34,"65508":0,"modelId":"TS0601","manufacturerName":"_TZE200_uebojraa","powerSource":3,"zclVersion":3,"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1632734709594}

@ramelito ramelito added the new device support New device support request label Sep 27, 2021
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Oct 28, 2021
@ramelito
Copy link
Author

Any chance to get support for this sensor?

@github-actions github-actions bot removed the stale Stale issues label Oct 29, 2021
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Nov 28, 2021
@ramelito
Copy link
Author

Any chance to get support for this sensor?

@github-actions github-actions bot removed the stale Stale issues label Nov 29, 2021
@jrusi
Copy link

jrusi commented Dec 6, 2021

It looks the same as _TZE200_t5p1vj8r which is supported. Is there a way to tell Z2M to use the settings of TZE200_t5p1vj8r when connecting TZE200_uebojraa?

@Koenkk
Copy link
Owner

Koenkk commented Dec 6, 2021

_TZE200_uebojraa should be supported in z2m 1.22.1

@jrusi
Copy link

jrusi commented Dec 6, 2021

_TZE200_uebojraa should be supported in z2m 1.22.1

Yup, it is :) thx. Unfortunately it is reading only the signal strength. No battery level, no smoke sensor state. The module inside is Tuya ZTU (https://solution.tuya.com/hardware/detail/61005) P/N: 2.01.03.00300

When I connect it to z2m I can see this info in the debug log:
debug Device '0xa4c138a01769b474' announced itself info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138a01769b474","ieee_address":"0xa4c138a01769b474"},"type":"device_announce"}' info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"0xa4c138a01769b474"},"type":"device_announced"}' debug Retrieving state of '0xa4c138a01769b474' after reconnect debug Received Zigbee message from '0xa4c138a01769b474', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null debug Received Zigbee message from '0xa4c138a01769b474', type 'attributeReport', cluster 'genBasic', data '{"65506":49,"65508":1,"appVersion":67}' from endpoint 1 with groupID null debug Received Zigbee message from '0xa4c138a01769b474', type 'raw', cluster 'manuSpecificTuya', data '{"data":[9,35,17,0,3,64],"type":"Buffer"}' from endpoint 1 with groupID null debug Received Zigbee message from '0xa4c138a01769b474', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1,"fn":0,"status":0,"transid":4}' from endpoint 1 with groupID null debug Received Zigbee message from '0xa4c138a01769b474', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[2],"type":"Buffer"},"datatype":4,"dp":14,"fn":0,"status":0,"transid":5}' from endpoint 1 with groupID null

When I press the test button I get this:
debug Received Zigbee message from '0xa4c138a01769b474', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":1,"fn":0,"status":0,"transid":6}' from endpoint 1 with groupID null debug Received Zigbee message from '0xa4c138a01769b474', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1,"fn":0,"status":0,"transid":7}' from endpoint 1 with groupID null

@Koenkk
Copy link
Owner

Koenkk commented Dec 6, 2021

@morphygee you added this device in #9555 , could you help?

@morphygee
Copy link

morphygee commented Dec 7, 2021

indeed... I do not see the battery level.
but smoke detection works without problems.

this is the part of my tuya.js:

   {
        zigbeeModel: ['5p1vj8r'],
        fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_t5p1vj8r'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_uebojraa'}],
        model: 'TS0601_smoke',
        vendor: 'TuYa',
        description: 'Smoke sensor',
        fromZigbee: [fz.tuya_smoke],
        toZigbee: [],
        configure: async (device, coordinatorEndpoint, logger) => {
            const endpoint = device.getEndpoint(1);
            await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
        },
        exposes: [e.smoke(), e.battery_low()],
    },
    `

@Koenkk
Copy link
Owner

Koenkk commented Dec 7, 2021

@morphygee it doesn't seem to support a battery level (for that 1 should be in the inClusterList in database.db), it only supports battery_low.

@jrusi
Copy link

jrusi commented Dec 8, 2021

I have exactly the same settings in tuya.js
When I connect new smoke sensor I can see this message:
debug Device 'Czujka_dymu_sypialnia' announced itself info MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Czujka_dymu_sypialnia","ieee_address":"0xa4c138547b33c612"},"type":"device_announce"}' info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"Czujka_dymu_sypialnia"},"type":"device_announced"}' debug Retrieving state of 'Czujka_dymu_sypialnia' after reconnect debug Received Zigbee message from 'Czujka_dymu_sypialnia', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null debug Received Zigbee message from 'Czujka_dymu_sypialnia', type 'attributeReport', cluster 'genBasic', data '{"65506":49,"65508":1,"appVersion":67}' from endpoint 1 with groupID null debug Received Zigbee message from 'Czujka_dymu_sypialnia', type 'raw', cluster 'manuSpecificTuya', data '{"data":[9,184,17,0,3,64],"type":"Buffer"}' from endpoint 1 with groupID null debug Received Zigbee message from 'Czujka_dymu_sypialnia', type 'commandSetDataResponse', cluster 'manuSpecificTuya', data '{"data":{"data":[1],"type":"Buffer"},"datatype":4,"dp":1,"fn":0,"status":0,"transid":4}' from endpoint 1 with groupID null

and in the exposed tab:
smoke Indicates whether the device detected smoke N/A battery_low Indicates if the battery of this device is almost empty N/A linkquality Connection quality (signal strength) 231lqi

State tab:
{ "linkquality": 231 }

For some unknown reason it is not updating the smoke alarm status

When I remove the device and connect it again I get this error:
Failed to configure '0xa4c138547b33c612', attempt 1 (Error: Bind 0xa4c138547b33c612/1 genBasic from '0x00212effff07badb/1' failed (waiting for response TIMEOUT) at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:753:19) at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:517:13) at Object.bind (/app/node_modules/zigbee-herdsman-converters/lib/reporting.js:33:9) at Object.configure (/app/dist/util/externally-loaded.js:31:9) at Configure.configure (/app/lib/extension/configure.ts:115:13))

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Jan 8, 2022
@ramelito
Copy link
Author

ramelito commented Jan 8, 2022

uebojraa

Hi, thanks.
However i do not see it supported in 1.22.1. Later release?

@github-actions github-actions bot removed the stale Stale issues label Jan 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

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 stale Stale issues
Projects
None yet
Development

No branches or pull requests

4 participants