zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: TS0601 - _TZE200_cirvgep4 -- Smart Life/TuYa Temp, Humidity sensor and Clock with Backlit LCD

Open jmluxem opened this issue 1 year ago • 107 comments

Link

https://www.aliexpress.us/item/3256805012073037.html?srcSns=sns_Copy&spreadType=socialShare&bizType=ProductDetail&social_params=20860570604&aff_fcid=f197f56d14424505a1711d26f8b5cab3-1678614555564-09999-_mPN4oRU&tt=MG&aff_fsk=_mPN4oRU&aff_platform=default&sk=_mPN4oRU&aff_trace_key=f197f56d14424505a1711d26f8b5cab3-1678614555564-09999-_mPN4oRU&shareId=20860570604&businessType=ProductDetail&platform=AE&terminal_id=bab527b0baa3498a868b1d3db53245c7&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US

Database entry

{"id":79,"type":"EndDevice","ieeeAddr":"0xa4c1380178ab4857","nwkAddr":25022,"manufId":4417,"manufName":"_TZE200_cirvgep4","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":"\u0000\u0000\u0000\u0000\u0011","65506":56,"65508":1,"stackVersion":0,"dateCode":"","appVersion":72}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1678581068121,"defaultSendRequestWhen":"immediate"}

Comments

I tried setting up a TuYa converter for this item but haven't gotten anywhere. No real progress was made and I've edited it too many times, so I'm not including it below - pointless. I found this appears to be very similar, if not exactly the same device as the following link from Z2M's database of supported devices, but haven't been able to mask it as the same or get any usable output from the device. Any way to make my device report as the one below, if not just to test if the same datapoints report correctly?

https://www.zigbee2mqtt.io/devices/JM-TRH-ZGB-V1.html

External converter

No response

Supported color modes

No response

Color temperature range

No response

jmluxem avatar Mar 12 '23 09:03 jmluxem

Bump? any help would be much appreciated. I've still been trying to setup the converter for this but haven't had any success

jmluxem avatar Mar 21 '23 08:03 jmluxem

Could you check if the issue is fixed with the following external converter:

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_bq5c8xfe'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_bjawzodf'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_qyflbnbj'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_cirvgep4'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_zl1kmjqx'}
    ],
    model: 'TS0601_temperature_humidity_sensor',
    vendor: 'TuYa',
    description: 'Temperature & humidity sensor',
    fromZigbee: [fz.tuya_temperature_humidity_sensor],
        configure: tuya.configureMagicPacket,
    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(exposes.enum('battery_level', ea.STATE, ['low', 'middle', 'high']).withDescription('Battery level state'));
        }
        exps.push(e.linkquality());
        return exps;
    },
};

module.exports = definition;
  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m, check if issue is fixed

Koenkk avatar Mar 21 '23 19:03 Koenkk

Sorry for delay on this. Yes, your converter did properly apply to the device, I think my main issue was I was adding my converter to my root directory, while not realizing that it needed to be within the zigbee2mqtt directory. Although the converter is now applying correctly, it still isn't exposing any options and I haven't been able to figure out how to discover those values.

jmluxem avatar Apr 06 '23 02:04 jmluxem

it still isn't exposing any options and I haven't been able to figure out how to discover those values.

can you make a screenshot of the exposes tab?

Koenkk avatar Apr 06 '23 18:04 Koenkk

TuYa_TS0601_TZE200_cirvgep4 - exposes page

jmluxem avatar Apr 06 '23 19:04 jmluxem

Correction, LQI is reporting

Screenshot_2023-04-06-19-28-35-106.png

jmluxem avatar Apr 06 '23 23:04 jmluxem

Mine exposes most of the data: image

I just wonder, if it is possible to set the time as this rectangular version ( _TZE200_cirvgep4) has a time display.

artist67 avatar Apr 12 '23 10:04 artist67

I updated https://github.com/Koenkk/zigbee2mqtt/issues/17008#issuecomment-1478495974, can you try to: force remove the device through z2m frontend, restart z2m and re-pair the device?

Koenkk avatar Apr 13 '23 16:04 Koenkk

Hi, I've got the same device (_TZE200_cirvgep4) at home. With the provided external converter (https://github.com/Koenkk/zigbee2mqtt/issues/17008#issuecomment-1478495974) I'm able to pair the device and also get some values from it (temperature, humidity and linkquality). Unfortunately only the linkquality value changes. Temperature and humidity always showing 17.4 °C and 55 % over hours while the device shows different values on its display.

image

Do you have any idea, how to fix this? And in addition, would it be possible to set the clock of the devices display via z2m? Thanks!

niklasdoerfler avatar Apr 15 '23 17:04 niklasdoerfler

With the following external converter can you do the following.

  • Enable debug logging, see https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.
  • force remove device through z2 frontend
  • restart z2m
  • pair the device
  • blow into the sensor (to change humidity)
  • provide the logging of everything after "restart z2m" here

Note: no values will change, this is expected

Koenkk avatar Apr 16 '23 07:04 Koenkk

Thank you for the instructions. Sadly z2m does not start anymore, after adding the provided external converter, crashing with following error message:

2023-04-16T19:22:42.455624123Z /app/node_modules/zigbee-herdsman-converters/lib/tuya.js:1808
2023-04-16T19:22:42.455952663Z             for (const datapoint of definition.meta.tuyaDatapoints) {
2023-04-16T19:22:42.456000892Z                                                     ^
2023-04-16T19:22:42.456362974Z TypeError: Cannot read properties of undefined (reading 'tuyaDatapoints')
2023-04-16T19:22:42.456501567Z     at Object.options (/app/node_modules/zigbee-herdsman-converters/lib/tuya.js:1808:53)
2023-04-16T19:22:42.456550213Z     at Object.addDefinition [as addDeviceDefinition] (/app/node_modules/zigbee-herdsman-converters/index.js:92:81)
2023-04-16T19:22:42.456586879Z     at new ExternalConverters (/app/lib/extension/externalConverters.ts:15:17)
2023-04-16T19:22:42.456619171Z     at new Controller (/app/lib/controller.ts:84:58)
2023-04-16T19:22:42.456653702Z     at start (/app/index.js:106:18)

I'm running z2m via docker on the latest version (v1.30.3).

niklasdoerfler avatar Apr 16 '23 19:04 niklasdoerfler

Whoops, updated https://gist.github.com/Koenkk/d6203adca293f76b03687ce3254f3a1e

Koenkk avatar Apr 17 '23 16:04 Koenkk

Thanks for the updated script. Now I was able to start z2m in debug mode and dump the following log:

Debug 2023-04-17 21:05:10Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"pbhu5-1","value":true}'
Info 2023-04-17 21:05:10Zigbee: allowing new devices to join.
Info 2023-04-17 21:05:11MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"pbhu5-1"}'
Info 2023-04-17 21:05:26Device '0xa4c138fa7d89e069' joined
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069"},"type":"device_joined"}'
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069/availability', payload '{"state":"online"}'
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:27+02:00"}'
Info 2023-04-17 21:05:27Starting interview of '0xa4c138fa7d89e069'
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069","status":"started"},"type":"device_interview"}'
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:27+02:00"}'
Debug 2023-04-17 21:05:27Device '0xa4c138fa7d89e069' announced itself
Info 2023-04-17 21:05:27MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069"},"type":"device_announce"}'
Debug 2023-04-17 21:05:28Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"modelId":"TS0601"}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:28Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:28MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:28+02:00","linkquality":78}'
Debug 2023-04-17 21:05:29Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_cirvgep4"}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:29Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:29MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:29+02:00","linkquality":78}'
Debug 2023-04-17 21:05:29Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:29Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:29MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:29+02:00","linkquality":81}'
Debug 2023-04-17 21:05:29Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:29Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:29MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:29+02:00","linkquality":81}'
Debug 2023-04-17 21:05:29Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"appVersion":72}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:29Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:29MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:29+02:00","linkquality":81}'
Debug 2023-04-17 21:05:30Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:30Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:30+02:00","linkquality":81}'
Debug 2023-04-17 21:05:30Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"hwVersion":1}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:30Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:30+02:00","linkquality":81}'
Debug 2023-04-17 21:05:30Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:30Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:30+02:00","linkquality":81}'
Debug 2023-04-17 21:05:30Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:05:30Skipping message, definition is undefined and still interviewing
Info 2023-04-17 21:05:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"last_seen":"2023-04-17T21:05:30+02:00","linkquality":81}'
Info 2023-04-17 21:05:30Successfully interviewed '0xa4c138fa7d89e069', device has successfully been paired
Info 2023-04-17 21:05:31Device '0xa4c138fa7d89e069' is supported, identified as: TuYa Temperature & humidity sensor (TS0601_temperature_humidity_sensor)
Info 2023-04-17 21:05:31MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature & humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"Remaining battery in %, can take up to 24 hours before reported.","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TS0601_temperature_humidity_sensor","options":[],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069","status":"successful","supported":true},"type":"device_interview"}'
Info 2023-04-17 21:05:31Configuring '0xa4c138fa7d89e069'
Info 2023-04-17 21:05:31MQTT publish: topic 'homeassistant/sensor/0xa4c138fa7d89e069/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"temperature","enabled_by_default":true,"name":"0xa4c138fa7d89e069 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
Info 2023-04-17 21:05:31MQTT publish: topic 'homeassistant/sensor/0xa4c138fa7d89e069/humidity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"humidity","enabled_by_default":true,"name":"0xa4c138fa7d89e069 humidity","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
Info 2023-04-17 21:05:31MQTT publish: topic 'homeassistant/sensor/0xa4c138fa7d89e069/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"0xa4c138fa7d89e069 battery","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
Info 2023-04-17 21:05:31MQTT publish: topic 'homeassistant/sensor/0xa4c138fa7d89e069/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"0xa4c138fa7d89e069 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Info 2023-04-17 21:05:31MQTT publish: topic 'homeassistant/sensor/0xa4c138fa7d89e069/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"0xa4c138fa7d89e069 last seen","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
Debug 2023-04-17 21:05:31Received MQTT message on 'homeassistant/sensor/0xa4c138fa7d89e069/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"temperature","enabled_by_default":true,"name":"0xa4c138fa7d89e069 temperature","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
Debug 2023-04-17 21:05:31Received MQTT message on 'homeassistant/sensor/0xa4c138fa7d89e069/humidity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"humidity","enabled_by_default":true,"name":"0xa4c138fa7d89e069 humidity","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
Debug 2023-04-17 21:05:31Received MQTT message on 'homeassistant/sensor/0xa4c138fa7d89e069/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","name":"0xa4c138fa7d89e069 battery","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
Debug 2023-04-17 21:05:31Received MQTT message on 'homeassistant/sensor/0xa4c138fa7d89e069/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"0xa4c138fa7d89e069 linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
Debug 2023-04-17 21:05:31Received MQTT message on 'homeassistant/sensor/0xa4c138fa7d89e069/last_seen/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c138fa7d89e069/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c138fa7d89e069"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138fa7d89e069"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"0xa4c138fa7d89e069 last seen","state_topic":"zigbee2mqtt/0xa4c138fa7d89e069","unique_id":"0xa4c138fa7d89e069_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
Debug 2023-04-17 21:05:31Received Zigbee message from '0xa4c138fa7d89e069', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":72,"manufacturerName":"_TZE200_cirvgep4","modelId":"TS0601","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID 0
Info 2023-04-17 21:05:31MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:05:31+02:00","linkquality":81,"temperature":null}'
Info 2023-04-17 21:05:31Successfully configured '0xa4c138fa7d89e069'
Info 2023-04-17 21:05:34MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:05:34+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:05:34Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Info 2023-04-17 21:05:34MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:05:34+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:05:35Received Zigbee message from '0xa4c138fa7d89e069', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Info 2023-04-17 21:05:35MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:05:35+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:06:24Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,177]}}
Info 2023-04-17 21:06:24MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:24+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:06:24Received Zigbee message from '0xa4c138fa7d89e069', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,62],"type":"Buffer"},"datatype":2,"dp":2}],"seq":1024}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:06:24Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,62]}}
Info 2023-04-17 21:06:24MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:24+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:06:24Received Zigbee message from '0xa4c138fa7d89e069', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[2],"type":"Buffer"},"datatype":4,"dp":3}],"seq":1280}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:06:24Datapoint 3 not defined for '_TZE200_cirvgep4' with data {"dp":3,"datatype":4,"data":{"type":"Buffer","data":[2]}}
Info 2023-04-17 21:06:24MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:24+02:00","linkquality":78,"temperature":null}'
Debug 2023-04-17 21:06:25Received Zigbee message from '0xa4c138fa7d89e069', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":9}],"seq":1536}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:06:25Datapoint 9 not defined for '_TZE200_cirvgep4' with data {"dp":9,"datatype":4,"data":{"type":"Buffer","data":[0]}}
Info 2023-04-17 21:06:25MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:25+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:06:25Received Zigbee message from '0xa4c138fa7d89e069', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":7}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:06:25No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":7}'
Info 2023-04-17 21:06:25MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:25+02:00","linkquality":81,"temperature":null}'
Info 2023-04-17 21:06:32MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:32+02:00","linkquality":81,"temperature":null}'
Info 2023-04-17 21:06:32MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:32+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:06:32Device '0xa4c138fa7d89e069' announced itself
Info 2023-04-17 21:06:32MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069"},"type":"device_announce"}'
Debug 2023-04-17 21:06:34Retrieving state of '0xa4c138fa7d89e069' after reconnect
Debug 2023-04-17 21:06:36Received Zigbee message from '0xa4c138fa7d89e069', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Info 2023-04-17 21:06:36MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:36+02:00","linkquality":48,"temperature":null}'
Debug 2023-04-17 21:06:37Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Info 2023-04-17 21:06:37MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:37+02:00","linkquality":48,"temperature":null}'
Info 2023-04-17 21:06:38MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:06:38+02:00","linkquality":51,"temperature":null}'
Debug 2023-04-17 21:08:22Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65503":"�\u001f�+\u0019�\u001f�+\u0007\u0006\u0000\u0000\u0000\u0012,\u0000\u0000\u0000f-\u0000\u0000\u0000\u0012-\u0000\u0000\u0000e\u0000\u0000\u0000\u0000\u0011\u0006\u0000\u0000\u0000\u0012�\u0000\u0000\u0000e�\u0000\u0000\u0000\u0012k\u0001\u0000\u0000el\u0001\u0000\u0000\u0012"}' from endpoint 1 with groupID 0
Info 2023-04-17 21:08:22MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:08:22+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:08:27Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u001e\u0002\u0000\u0000e\u001f\u0002\u0000\u0000\u0012�\u0002\u0000\u0000e�\u0002\u0000\u0000\u0012�\u0003\u0000\u0000e�\u0003\u0000\u0000\u00128\u0004\u0000\u0000e9\u0004\u0000\u0000\u0012"}' from endpoint 1 with groupID 0
Info 2023-04-17 21:08:27MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:08:27+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:08:49Saving state to file /app/data/state.json
Debug 2023-04-17 21:13:30Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,212]}}
Info 2023-04-17 21:13:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:30+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:13:30Received Zigbee message from '0xa4c138fa7d89e069', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,212],"type":"Buffer"},"datatype":2,"dp":1}],"seq":2304}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:13:30Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,212]}}
Info 2023-04-17 21:13:30MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:30+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:13:31Received Zigbee message from '0xa4c138fa7d89e069', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,65],"type":"Buffer"},"datatype":2,"dp":2}],"seq":2560}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:13:31Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,65]}}
Info 2023-04-17 21:13:31MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:31+02:00","linkquality":81,"temperature":null}'
Debug 2023-04-17 21:13:31Received Zigbee message from '0xa4c138fa7d89e069', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":11}' from endpoint 1 with groupID 0
Debug 2023-04-17 21:13:31No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":11}'
Info 2023-04-17 21:13:31MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:31+02:00","linkquality":78,"temperature":null}'
Info 2023-04-17 21:13:38MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:37+02:00","linkquality":78,"temperature":null}'
Info 2023-04-17 21:13:38MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:38+02:00","linkquality":78,"temperature":null}'
Debug 2023-04-17 21:13:38Device '0xa4c138fa7d89e069' announced itself
Info 2023-04-17 21:13:38MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069"},"type":"device_announce"}'
Debug 2023-04-17 21:13:40Retrieving state of '0xa4c138fa7d89e069' after reconnect
Debug 2023-04-17 21:13:42Received Zigbee message from '0xa4c138fa7d89e069', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Info 2023-04-17 21:13:42MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:42+02:00","linkquality":78,"temperature":null}'
Debug 2023-04-17 21:13:43Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Info 2023-04-17 21:13:43MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:43+02:00","linkquality":81,"temperature":null}'
Info 2023-04-17 21:13:44MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-17T21:13:44+02:00","linkquality":81,"temperature":null}'

niklasdoerfler avatar Apr 17 '23 19:04 niklasdoerfler

Thanks, can you provide the debug log when leaving the device connected for some time and then blowing into it (provide the log of just this), I want to see wether it reports a new temperature. I also updated https://gist.github.com/Koenkk/d6203adca293f76b03687ce3254f3a1e for the time sync.

Koenkk avatar Apr 18 '23 17:04 Koenkk

I tried the updated converter and waited some time before dumping the logs as suggested. Following I got:

Debug 2023-04-18 21:58:21Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0
Info 2023-04-18 21:58:21MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:21+02:00","linkquality":87,"temperature":null}'
Info 2023-04-18 21:58:46MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:46+02:00","linkquality":87,"temperature":null}'
Info 2023-04-18 21:58:46MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:46+02:00","linkquality":87,"temperature":null}'
Debug 2023-04-18 21:58:46Device '0xa4c138fa7d89e069' announced itself
Info 2023-04-18 21:58:46MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138fa7d89e069","ieee_address":"0xa4c138fa7d89e069"},"type":"device_announce"}'
Debug 2023-04-18 21:58:48Retrieving state of '0xa4c138fa7d89e069' after reconnect
Debug 2023-04-18 21:58:50Received Zigbee message from '0xa4c138fa7d89e069', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Info 2023-04-18 21:58:50MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:50+02:00","linkquality":87,"temperature":null}'
Debug 2023-04-18 21:58:51Received Zigbee message from '0xa4c138fa7d89e069', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Info 2023-04-18 21:58:51MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:51+02:00","linkquality":87,"temperature":null}'
Info 2023-04-18 21:58:52MQTT publish: topic 'zigbee2mqtt/0xa4c138fa7d89e069', payload '{"battery":null,"humidity":null,"last_seen":"2023-04-18T21:58:52+02:00","linkquality":87,"temperature":null}'

Unfortunately the time sync does not seem to work...

Also I noticed, that the display now doesnt show a temperature or humidity change if i blow into it. Only after restarting the device by removing and reinstalling the batteries it shows different values.

niklasdoerfler avatar Apr 18 '23 20:04 niklasdoerfler

Also I noticed, that the display now doesnt show a temperature or humidity change if i blow into it.

That's strange, I guess that explains why I don't see any temperature/humidity updates in your log. Does it also do this when not being connected to zigbee2mqtt?

Koenkk avatar Apr 19 '23 17:04 Koenkk

I can confirm the behavior. When the device is not connected to z2m (WiFi symbol flashing quickly), the display gets updated. As soon as connected to z2m (WiFi symbol scrolling) the display is frozen.

artist67 avatar Apr 19 '23 20:04 artist67

I also confirm this behavior. Temperature and humidity are not updated.

GiPe66 avatar May 09 '23 13:05 GiPe66

same device and same problem here

dimanik29 avatar May 18 '23 16:05 dimanik29

Wondering if this is a lost cause? I really like the possibilities for this device - I was able to solder a USB cable to forego its need for batteries - very easy since it's a 3xAAA setup - just solder USB cable leads to each battery post and power with a 1A supply - good to go.

But currently I am seeing the same - no updates on display and no updates in HA from the device. Anyone able to get further?

jmluxem avatar Jun 02 '23 03:06 jmluxem

Unfortunately the time sync does not seem to work...

Maybe this is the reason the device stops updating. If it expects to receive the time sync after pairing and this fails it locks up. Can we diagnose this any further?

PCB for reference, serial runs on 2.8v, i'm unsure if i can safely connect a 3.3v uart? IMG_6379 2023-06-02 07_47_30

lilithpro avatar Jun 02 '23 07:06 lilithpro

Hi Same here - after connection, values on the screen and reporting are stuck. Only one thing which seems to work is link quality. Please advise.

cracrama avatar Jun 10 '23 12:06 cracrama

I have two of these and would happily send one of them to you @Koenkk or someone else who would be able to progress this issue. Would that be helpful?

lilithpro avatar Jun 10 '23 16:06 lilithpro

Yes, the time does not sync, but changes. Temperature and humidity does not change at all untill restarting.

GiPe66 avatar Jun 10 '23 18:06 GiPe66

Hi, I have one TS0601 _TZE200_9yapgbuv (MODEL: ZTH02) and the values change after 2 minutes but don't have battery precentage

image

jocamane avatar Jun 19 '23 19:06 jocamane

Hello, I'm also sitting in the same boat. I get N/A values for anything but linkquality with any of the provided scripts.

nckmml avatar Jun 20 '23 16:06 nckmml

Hello, I'm also sitting in the same boat. I get N/A values for anything but linkquality with any of the provided scripts.

I started like this, but after a few minutes it was like I sent earlier

jocamane avatar Jun 20 '23 18:06 jocamane

Hi there,

I have the same module and I fail :(

I have implemented the ext_converter.js from the gist, and I receive only the LQI. Bildschirmfoto 2023-06-30 um 21 22 10

ext_converter.js

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_bq5c8xfe'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_bjawzodf'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_qyflbnbj'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_cirvgep4'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_zl1kmjqx'}
    ],
    model: 'TS0601_temperature_humidity_sensor',
    vendor: 'TuYa',
    description: 'Temperature & humidity sensor',
    fromZigbee: [tuya.fz.datapoints],
    configure: tuya.configureMagicPacket,
    toZigbee: [],
    onEvent: tuya.onEventSetTime,
    exposes: (device, options) => {
        const exps = [e.temperature(), e.humidity(), e.battery()];
        if (!device || device.manufacturerName === '_TZE200_qyflbnbj') {
            exps.push(e.battery_low());
            exps.push(exposes.enum('battery_level', ea.STATE, ['low', 'middle', 'high']).withDescription('Battery level state'));
        }
        exps.push(e.linkquality());
        return exps;
    },
        meta: {
            tuyaDatapoints: [
            ],
        },
};

module.exports = definition;

Here are some filtered logs:

Zigbee2MQTT:info  2023-06-30 17:04:26: Zigbee2MQTT started!
Zigbee2MQTT:info  2023-06-30 17:04:44: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-06-30 17:04:49: Device '0xa4c138ade6f7ae72' joined
Zigbee2MQTT:info  2023-06-30 17:04:49: Starting interview of '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"modelId":"TS0601"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_cirvgep4"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"hwVersion":1}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Error: APS TIMEOUT
    at Driver.processApsBusyQueue (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:721:28)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:161:56)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:info  2023-06-30 17:04:51: Successfully interviewed '0xa4c138ade6f7ae72', device has successfully been paired
Zigbee2MQTT:info  2023-06-30 17:04:51: Device '0xa4c138ade6f7ae72' is supported, identified as: TuYa Temperature & humidity sensor (TS0601_temperature_humidity_sensor)
Zigbee2MQTT:info  2023-06-30 17:04:51: Configuring '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":72,"manufacturerName":"_TZE200_cirvgep4","modelId":"TS0601","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID null
Zigbee2MQTT:info  2023-06-30 17:04:51: Successfully configured '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:05:08: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
    at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:766:19)
    at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:645:13)
    at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.js:40:9)
    at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.js:3118:13)
    at Configure.configure (/app/lib/extension/configure.ts:117:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:69:17))
    at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:656:23)
    at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:81:20)
    at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:560:28)
    at Object.configureMagicPacket (/app/node_modules/zigbee-herdsman-converters/src/lib/tuya.js:928:9)
    at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.js:3208:13)
    at Configure.configure (/app/lib/extension/configure.ts:117:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:69:17))
Zigbee2MQTT:debug 2023-06-30 17:06:22: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65503":"'�1,\u0019'�1,\u0007\u0000\u0000\u0000\u0000\u0011{\u0000\u0000\u0000\u0019{\u0000\u0000\u0000\u0007\u0000\u0000\u0000\u0000\u0011��1,f��1,\u0012��1,e|�1,e}�1,\u0012\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:06:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:00: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:27: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:41: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:42: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:14: Check if update available for '0x7cb03eaa00b11c2d' (CLA60 TW OSRAM)
Zigbee2MQTT:debug 2023-06-30 17:08:18: Is new image available for '0x7cb03eaa00b11c2d', current '{"fieldControl":0,"manufacturerCode":4364,"imageType":99,"fileVersion":16909584}', latest meta '{"fileVersion":16909584,"fileSize":132672,"url":"https://api.update.ledvance.com/v1/zigbee/firmwares/download?company=4364&product=99&version=1.2.5.16","sha256":"6f10f07c341eac14e0791c17ffef453182fe3a5fff81933b8387579388375195"}'
Zigbee2MQTT:debug 2023-06-30 17:08:18: Update available for '0x7cb03eaa00b11c2d': NO
Zigbee2MQTT:debug 2023-06-30 17:08:19: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":0,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:19: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011^�1,f_�1,\u0012_�1,e"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:21: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null

Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,240],"type":"Buffer"},"datatype":2,"dp":1}],"seq":33536}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,240]}}
Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,86],"type":"Buffer"},"datatype":2,"dp":2}],"seq":33792}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,86]}}
Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":133}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":133}'
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,237],"type":"Buffer"},"datatype":2,"dp":1}],"seq":34304}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,237]}}
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,78],"type":"Buffer"},"datatype":2,"dp":2}],"seq":34560}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,78]}}
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":136}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":136}'
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,236],"type":"Buffer"},"datatype":2,"dp":1}],"seq":35072}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,236]}}
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,73],"type":"Buffer"},"datatype":2,"dp":2}],"seq":35328}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,73]}}
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":139}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":139}'
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,235],"type":"Buffer"},"datatype":2,"dp":1}],"seq":35840}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,235]}}
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,68],"type":"Buffer"},"datatype":2,"dp":2}],"seq":36096}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,68]}}
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":142}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":142}'
Zigbee2MQTT:debug 2023-06-30 18:24:33: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,232],"type":"Buffer"},"datatype":2,"dp":1}],"seq":36608}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:33: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,232]}}
Zigbee2MQTT:debug 2023-06-30 18:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,65],"type":"Buffer"},"datatype":2,"dp":2}],"seq":36864}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:34: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,65]}}
Zigbee2MQTT:debug 2023-06-30 18:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":145}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:34: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":145}'
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,233],"type":"Buffer"},"datatype":2,"dp":1}],"seq":37376}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,233]}}
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,60],"type":"Buffer"},"datatype":2,"dp":2}],"seq":37632}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,60]}}
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":148}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":148}'
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,230],"type":"Buffer"},"datatype":2,"dp":1}],"seq":38144}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,230]}}
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,65],"type":"Buffer"},"datatype":2,"dp":2}],"seq":38400}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,65]}}
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":151}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":151}'

edit: time is still not set either.

Can somebody please help me? :)

gbomacfly avatar Jun 30 '23 19:06 gbomacfly

Hi there,

I have the same module and I fail :(

I have implemented the ext_converter.js from the gist, and I receive only the LQI. Bildschirmfoto 2023-06-30 um 21 22 10

ext_converter.js

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;

const definition = {
    fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_bq5c8xfe'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_bjawzodf'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_qyflbnbj'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_cirvgep4'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'},
        {modelID: 'TS0601', manufacturerName: '_TZE200_zl1kmjqx'}
    ],
    model: 'TS0601_temperature_humidity_sensor',
    vendor: 'TuYa',
    description: 'Temperature & humidity sensor',
    fromZigbee: [tuya.fz.datapoints],
    configure: tuya.configureMagicPacket,
    toZigbee: [],
    onEvent: tuya.onEventSetTime,
    exposes: (device, options) => {
        const exps = [e.temperature(), e.humidity(), e.battery()];
        if (!device || device.manufacturerName === '_TZE200_qyflbnbj') {
            exps.push(e.battery_low());
            exps.push(exposes.enum('battery_level', ea.STATE, ['low', 'middle', 'high']).withDescription('Battery level state'));
        }
        exps.push(e.linkquality());
        return exps;
    },
        meta: {
            tuyaDatapoints: [
            ],
        },
};

module.exports = definition;

Here are some filtered logs:

Zigbee2MQTT:info  2023-06-30 17:04:26: Zigbee2MQTT started!
Zigbee2MQTT:info  2023-06-30 17:04:44: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-06-30 17:04:49: Device '0xa4c138ade6f7ae72' joined
Zigbee2MQTT:info  2023-06-30 17:04:49: Starting interview of '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"modelId":"TS0601"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_cirvgep4"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:50: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"hwVersion":1}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Error: APS TIMEOUT
    at Driver.processApsBusyQueue (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:721:28)
    at Timeout._onTimeout (/app/node_modules/zigbee-herdsman/src/adapter/deconz/driver/driver.ts:161:56)
    at listOnTimeout (node:internal/timers:569:17)
    at processTimers (node:internal/timers:512:7)
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:04:51: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:info  2023-06-30 17:04:51: Successfully interviewed '0xa4c138ade6f7ae72', device has successfully been paired
Zigbee2MQTT:info  2023-06-30 17:04:51: Device '0xa4c138ade6f7ae72' is supported, identified as: TuYa Temperature & humidity sensor (TS0601_temperature_humidity_sensor)
Zigbee2MQTT:info  2023-06-30 17:04:51: Configuring '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:04:51: Received Zigbee message from '0xa4c138ade6f7ae72', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":72,"manufacturerName":"_TZE200_cirvgep4","modelId":"TS0601","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID null
Zigbee2MQTT:info  2023-06-30 17:04:51: Successfully configured '0xa4c138ade6f7ae72'
Zigbee2MQTT:debug 2023-06-30 17:05:08: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
    at DeconzAdapter.bind (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:766:19)
    at Endpoint.bind (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:645:13)
    at Object.bind (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.js:40:9)
    at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.js:3118:13)
    at Configure.configure (/app/lib/extension/configure.ts:117:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:69:17))
    at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:656:23)
    at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:81:20)
    at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:560:28)
    at Object.configureMagicPacket (/app/node_modules/zigbee-herdsman-converters/src/lib/tuya.js:928:9)
    at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.js:3208:13)
    at Configure.configure (/app/lib/extension/configure.ts:117:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:69:17))
Zigbee2MQTT:debug 2023-06-30 17:06:22: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65503":"'�1,\u0019'�1,\u0007\u0000\u0000\u0000\u0000\u0011{\u0000\u0000\u0000\u0019{\u0000\u0000\u0000\u0007\u0000\u0000\u0000\u0000\u0011��1,f��1,\u0012��1,e|�1,e}�1,\u0012\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:06:50: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:00: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:27: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:41: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:07:42: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:14: Check if update available for '0x7cb03eaa00b11c2d' (CLA60 TW OSRAM)
Zigbee2MQTT:debug 2023-06-30 17:08:18: Is new image available for '0x7cb03eaa00b11c2d', current '{"fieldControl":0,"manufacturerCode":4364,"imageType":99,"fileVersion":16909584}', latest meta '{"fileVersion":16909584,"fileSize":132672,"url":"https://api.update.ledvance.com/v1/zigbee/firmwares/download?company=4364&product=99&version=1.2.5.16","sha256":"6f10f07c341eac14e0791c17ffef453182fe3a5fff81933b8387579388375195"}'
Zigbee2MQTT:debug 2023-06-30 17:08:18: Update available for '0x7cb03eaa00b11c2d': NO
Zigbee2MQTT:debug 2023-06-30 17:08:19: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":0,"appVersion":72}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:19: Received Zigbee message from '0xa4c138ade6f7ae72', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011^�1,f_�1,\u0012_�1,e"}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:08:21: Received Zigbee message from '0xa4c138ade6f7ae72', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID null

Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,240],"type":"Buffer"},"datatype":2,"dp":1}],"seq":33536}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,240]}}
Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,86],"type":"Buffer"},"datatype":2,"dp":2}],"seq":33792}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,86]}}
Zigbee2MQTT:debug 2023-06-30 17:12:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":133}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:12:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":133}'
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,237],"type":"Buffer"},"datatype":2,"dp":1}],"seq":34304}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,237]}}
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,78],"type":"Buffer"},"datatype":2,"dp":2}],"seq":34560}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,78]}}
Zigbee2MQTT:debug 2023-06-30 17:14:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":136}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:14:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":136}'
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,236],"type":"Buffer"},"datatype":2,"dp":1}],"seq":35072}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,236]}}
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,73],"type":"Buffer"},"datatype":2,"dp":2}],"seq":35328}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,73]}}
Zigbee2MQTT:debug 2023-06-30 17:16:52: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":139}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:16:52: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":139}'
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,235],"type":"Buffer"},"datatype":2,"dp":1}],"seq":35840}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,235]}}
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,68],"type":"Buffer"},"datatype":2,"dp":2}],"seq":36096}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,68]}}
Zigbee2MQTT:debug 2023-06-30 17:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":142}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 17:24:34: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":142}'
Zigbee2MQTT:debug 2023-06-30 18:24:33: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,232],"type":"Buffer"},"datatype":2,"dp":1}],"seq":36608}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:33: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,232]}}
Zigbee2MQTT:debug 2023-06-30 18:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,65],"type":"Buffer"},"datatype":2,"dp":2}],"seq":36864}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:34: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,65]}}
Zigbee2MQTT:debug 2023-06-30 18:24:34: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":145}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 18:24:34: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":145}'
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,233],"type":"Buffer"},"datatype":2,"dp":1}],"seq":37376}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,233]}}
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,60],"type":"Buffer"},"datatype":2,"dp":2}],"seq":37632}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,60]}}
Zigbee2MQTT:debug 2023-06-30 19:11:01: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":148}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:11:01: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":148}'
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,230],"type":"Buffer"},"datatype":2,"dp":1}],"seq":38144}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: Datapoint 1 not defined for '_TZE200_cirvgep4' with data {"dp":1,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,230]}}
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,65],"type":"Buffer"},"datatype":2,"dp":2}],"seq":38400}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: Datapoint 2 not defined for '_TZE200_cirvgep4' with data {"dp":2,"datatype":2,"data":{"type":"Buffer","data":[0,0,0,65]}}
Zigbee2MQTT:debug 2023-06-30 19:59:43: Received Zigbee message from '0xa4c138ade6f7ae72', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":151}' from endpoint 1 with groupID null
Zigbee2MQTT:debug 2023-06-30 19:59:43: No converter available for 'TS0601_temperature_humidity_sensor' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":151}'

edit: time is still not set either.

Can somebody please help me? :)

After pair wait +- 20/30 minutes and look again the values

jocamane avatar Jun 30 '23 21:06 jocamane

6h later, still no results

gbomacfly avatar Jun 30 '23 21:06 gbomacfly