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]: TS0601 - _TZE200_cirvgep4 -- Smart Life/TuYa Temp, Humidity sensor and Clock with Backlit LCD #17008

Closed
jmluxem opened this issue Mar 12, 2023 · 112 comments
Labels
new device support New device support request

Comments

@jmluxem
Copy link

jmluxem commented Mar 12, 2023

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 jmluxem added the new device support New device support request label Mar 12, 2023
@jmluxem
Copy link
Author

jmluxem commented Mar 21, 2023

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

@Koenkk
Copy link
Owner

Koenkk commented Mar 21, 2023

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

@jmluxem
Copy link
Author

jmluxem commented Apr 6, 2023

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.

@Koenkk
Copy link
Owner

Koenkk commented Apr 6, 2023

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?

@jmluxem
Copy link
Author

jmluxem commented Apr 6, 2023

TuYa_TS0601_TZE200_cirvgep4 - exposes page

@jmluxem
Copy link
Author

jmluxem commented Apr 6, 2023

Correction, LQI is reporting

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

@artist67
Copy link

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.

@Koenkk
Copy link
Owner

Koenkk commented Apr 13, 2023

I updated #17008 (comment), can you try to: force remove the device through z2m frontend, restart z2m and re-pair the device?

@niklasdoerfler
Copy link

Hi, I've got the same device (_TZE200_cirvgep4) at home. With the provided external converter (#17008 (comment)) 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!

@Koenkk
Copy link
Owner

Koenkk commented Apr 16, 2023

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

@niklasdoerfler
Copy link

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).

@Koenkk
Copy link
Owner

Koenkk commented Apr 17, 2023

@niklasdoerfler
Copy link

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}'

@Koenkk
Copy link
Owner

Koenkk commented Apr 18, 2023

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.

@niklasdoerfler
Copy link

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.

@Koenkk
Copy link
Owner

Koenkk commented Apr 19, 2023

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?

@artist67
Copy link

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.

@GiPe66
Copy link

GiPe66 commented May 9, 2023

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

@dimanik29
Copy link

same device and same problem here

@jmluxem
Copy link
Author

jmluxem commented Jun 2, 2023

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?

@lilithpro
Copy link

lilithpro commented Jun 2, 2023

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

@cracrama
Copy link

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.

@lilithpro
Copy link

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?

@GiPe66
Copy link

GiPe66 commented Jun 10, 2023

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

@jocamane
Copy link

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

image

@nckmml
Copy link

nckmml commented Jun 20, 2023

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

@jocamane
Copy link

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

@gbomacfly
Copy link

gbomacfly commented Jun 30, 2023

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? :)

@jocamane
Copy link

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

@jafreenas
Copy link

image

image

working on 1.33.1-1 . _TZE204_upagmta9is supported out-of-the-box in z2m 1.33.1 . but ...

I don't understand , anyone can help me please ?

@stefangries
Copy link

After removing my previously added external converter, everything is working fine, even after pressing the button.

@jafreenas
Copy link

Anyone have a problem with battery ? empty after 24hours , it's a third battery on 3 days

@grunthos503
Copy link

I had it working, but then I dropped it and the batteries came out. After I put them back in, it's no longer working. Z2M says it is getting updates from it, but the temperature and humidity reported by Z2M is not what is showing on screen, and the clock is not synced.

Restarting Z2M did not help.

@saper-2
Copy link

saper-2 commented Oct 7, 2023

After few days, I can confirm , that I have too no battery status reported.

zth08-e_no-batt

@eloo
Copy link

eloo commented Oct 7, 2023

also for me the battery status is not working

@paperle
Copy link

paperle commented Oct 22, 2023

hi,

in my case i only get link quality with external connector config posted above, see log (force remove + rejoined). Maybe anyone has some hints....
greets

debug 2023-10-22 12:59:20Received MQTT message on 'zigbee2mqtt/bridge/request/device/remove' with data '{"block":false,"force":true,"id":"0xa4c138919b254ad1","transaction":"y1pq6-1"}'
info 2023-10-22 12:59:20Removing device '0xa4c138919b254ad1' (block: false, force: true)
debug 2023-10-22 12:59:20Clearing Home Assistant discovery topic for '0xa4c138919b254ad1'
info 2023-10-22 12:59:20MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/temperature/config', payload 'null'
info 2023-10-22 12:59:20MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/humidity/config', payload 'null'
info 2023-10-22 12:59:20MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/battery/config', payload 'null'
info 2023-10-22 12:59:20MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/linkquality/config', payload 'null'
info 2023-10-22 12:59:20MQTT publish: topic 'zigbee2mqtt/0xa4c138919b254ad1', payload ''
info 2023-10-22 12:59:20Successfully removed device '0xa4c138919b254ad1' (block: false, force: true)
info 2023-10-22 12:59:20MQTT publish: topic 'zigbee2mqtt/bridge/response/device/remove', payload '{"data":{"block":false,"force":true,"id":"0xa4c138919b254ad1"},"status":"ok","transaction":"y1pq6-1"}'
debug 2023-10-22 12:59:20Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/temperature/config' with data ''
debug 2023-10-22 12:59:20Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/humidity/config' with data ''
debug 2023-10-22 12:59:20Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/battery/config' with data ''
debug 2023-10-22 12:59:20Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/linkquality/config' with data ''
debug 2023-10-22 12:59:20Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/linkquality/config' with data ''
warning 2023-10-22 13:00:30Device '0xa4c138919b254ad1' left the network
info 2023-10-22 13:00:30MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138919b254ad1","ieee_address":"0xa4c138919b254ad1"},"type":"device_leave"}'
info 2023-10-22 13:00:39Device '0xa4c138919b254ad1' joined
info 2023-10-22 13:00:40MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138919b254ad1","ieee_address":"0xa4c138919b254ad1"},"type":"device_joined"}'
info 2023-10-22 13:00:40MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"temperature","enabled_by_default":true,"object_id":"0xa4c138919b254ad1_temperature","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
info 2023-10-22 13:00:40MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/humidity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"humidity","enabled_by_default":true,"object_id":"0xa4c138919b254ad1_humidity","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
info 2023-10-22 13:00:40MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0xa4c138919b254ad1_battery","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
info 2023-10-22 13:00:40MQTT publish: topic 'homeassistant/sensor/0xa4c138919b254ad1/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0xa4c138919b254ad1_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2023-10-22 13:00:40Starting interview of '0xa4c138919b254ad1'
info 2023-10-22 13:00:40MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c138919b254ad1","ieee_address":"0xa4c138919b254ad1","status":"started"},"type":"device_interview"}'
debug 2023-10-22 13:00:40Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"temperature","enabled_by_default":true,"object_id":"0xa4c138919b254ad1_temperature","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}'
debug 2023-10-22 13:00:40Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/humidity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"humidity","enabled_by_default":true,"object_id":"0xa4c138919b254ad1_humidity","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}'
debug 2023-10-22 13:00:40Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0xa4c138919b254ad1_battery","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
debug 2023-10-22 13:00:40Received MQTT message on 'homeassistant/sensor/0xa4c138919b254ad1/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0xa4c138919b254ad1"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (TS0601_temperature_humidity_sensor)","name":"0xa4c138919b254ad1"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0xa4c138919b254ad1_linkquality","origin":{"name":"Zigbee2MQTT","sw":"1.33.1","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c138919b254ad1","unique_id":"0xa4c138919b254ad1_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
debug 2023-10-22 13:00:46Received Zigbee message from '0xa4c138919b254ad1', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":20480,"version":64}' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:46Received Zigbee message from '0xa4c138919b254ad1', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":0,"appVersion":72}' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:47Received Zigbee message from '0xa4c138919b254ad1', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:47Received Zigbee message from '0xa4c138919b254ad1', type 'attributeReport', cluster 'genBasic', data '{"65503":"J��,fK��,\u0012K��,e"}' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:50Received Zigbee message from '0xa4c138919b254ad1', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:50Received Zigbee message from '0xa4c138919b254ad1', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID 0
debug 2023-10-22 13:00:50Received Zigbee message from '0xa4c138919b254ad1', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
info 2023-10-22 13:00:50Successfully interviewed '0xa4c138919b254ad1', device has successfully been paired
info 2023-10-22 13:00:50Device '0xa4c138919b254ad1' is supported, identified as: TuYa Temperature & humidity sensor (TS0601_temperature_humidity_sensor)
info 2023-10-22 13:00:50MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature & humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"Remaining battery in %, can take up to 24 hours before reported.","label":"Battery","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","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":"0xa4c138919b254ad1","ieee_address":"0xa4c138919b254ad1","status":"successful","supported":true},"type":"device_interview"}'
info 2023-10-22 13:00:50Configuring '0xa4c138919b254ad1'
debug 2023-10-22 13:00:50Received Zigbee message from '0xa4c138919b254ad1', 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-10-22 13:00:50Successfully configured '0xa4c138919b254ad1'
debug 2023-10-22 13:04:29Received Zigbee message from '0xa4c138919b254ad1', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,201],"type":"Buffer"},"datatype":2,"dp":1}],"seq":20480}' from endpoint 1 with groupID 0
debug 2023-10-22 13:04:29Received Zigbee message from '0xa4c138919b254ad1', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,56],"type":"Buffer"},"datatype":2,"dp":2}],"seq":20736}' from endpoint 1 with groupID 0
debug 2023-10-22 13:04:29Received Zigbee message from '0xa4c138919b254ad1', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":82}' from endpoint 1 with groupID 0

@saper-2
Copy link

saper-2 commented Oct 22, 2023

with Z2M 1.33.1 you don't need external converter for cirvgep4 to work (only there is no batt status for now). Remove converter and let sensor for few min, it report T&RH every 5min.

@smekiii
Copy link

smekiii commented Oct 22, 2023

Battery status is working properly for me on Z2M 1.33.1. I force removed device then I paired it again.

@paperle
Copy link

paperle commented Oct 23, 2023

great, with 1.33.1 sensor is working, except battery status!! thanks

if anyone has a hint to get battery status working...pls let me know...already repaired the device....didnt help

greets

@Freestylerrr
Copy link

I have problem with this device as others, I can sucesfully pair it, sometimes I can even get data from it. But when it's paired and I click the top button to lid the screen, the data on screen stop updates. When I unpair it it starts to work till I pair it again. Any suggestions what I can do?

@Argentumbolo
Copy link

Similar problem with 1.34.0

Very first time device was connected, time on display was set and it seems to work for some time.

Logs from this time:

info  2023-12-18 15:08:39: Zigbee: allowing new devices to join.
info  2023-12-18 15:08:40: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"1fei8-3"}'
info  2023-12-18 15:08:53: Device '0xa4c13836362246e2' joined
info  2023-12-18 15:08:53: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2"},"type":"device_joined"}'
info  2023-12-18 15:08:53: Starting interview of '0xa4c13836362246e2'
info  2023-12-18 15:08:53: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"started"},"type":"device_interview"}'
info  2023-12-18 15:09:04: Successfully interviewed '0xa4c13836362246e2', device has successfully been paired
info  2023-12-18 15:09:04: Device '0xa4c13836362246e2' is supported, identified as: TuYa Temperature and humidity sensor (ZTH08-E)
info  2023-12-18 15:09:04: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature and humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"State of the battery","label":"Battery state","name":"battery_state","property":"battery_state","type":"enum","values":["low","medium","high"]},{"access":3,"description":"Temperature unit","label":"Temperature unit","name":"temperature_unit","property":"temperature_unit","type":"enum","values":["celsius","fahrenheit"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZTH08-E","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","label":"Temperature precision","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","label":"Temperature calibration","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for humidity, takes into effect on next report of device.","label":"Humidity precision","name":"humidity_precision","property":"humidity_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the humidity value (absolute offset), takes into effect on next report of device.","label":"Humidity calibration","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"successful","supported":true},"type":"device_interview"}'
info  2023-12-18 15:09:04: Configuring '0xa4c13836362246e2'
info  2023-12-18 15:09:04: Successfully configured '0xa4c13836362246e2'
info  2023-12-18 15:09:47: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload ''
info  2023-12-18 15:09:47: MQTT publish: topic 'zigbee2mqtt/Watch', payload '{"linkquality":192}'
info  2023-12-18 15:09:47: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/rename', payload '{"data":{"from":"0xa4c13836362246e2","homeassistant_rename":false,"to":"Watch"},"status":"ok","transaction":"1fei8-4"}'
...
info  2023-12-18 17:42:39: MQTT publish: topic 'zigbee2mqtt/Watch', payload ''
info  2023-12-18 17:42:39: MQTT publish: topic 'zigbee2mqtt/Watch', payload '{"battery_state":"high","humidity":72,"linkquality":132,"temperature":22.5,"temperature_unit":"celsius"}'

Then it ceased to work.
Sequence Forced remove then Reboot of the Z2M then Add again is not helping.

Logs from this attempt:

Zigbee2MQTT:info  2023-12-19 08:30:46: Removing device '0xa4c13836362246e2' (block: false, force: true)
Zigbee2MQTT:info  2023-12-19 08:30:46: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload ''
Zigbee2MQTT:info  2023-12-19 08:30:46: Successfully removed device '0xa4c13836362246e2' (block: false, force: true)
Zigbee2MQTT:info  2023-12-19 08:30:46: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/remove', payload '{"data":{"block":false,"force":true,"id":"0xa4c13836362246e2"},"status":"ok","transaction":"1oxr4-3"}'
Zigbee2MQTT:info  2023-12-19 08:30:59: Restarting Zigbee2MQTT
Zigbee2MQTT:info  2023-12-19 08:30:59: MQTT publish: topic 'zigbee2mqtt/bridge/response/restart', payload '{"data":{},"status":"ok","transaction":"bwnas-1"}'
Zigbee2MQTT:info  2023-12-19 08:31:04: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
Zigbee2MQTT:info  2023-12-19 08:31:04: Disconnecting from MQTT server
Zigbee2MQTT:info  2023-12-19 08:31:04: Stopping zigbee-herdsman...
Zigbee2MQTT:info  2023-12-19 08:31:04: Stopped zigbee-herdsman
Zigbee2MQTT:info  2023-12-19 08:31:04: Stopped Zigbee2MQTT
Zigbee2MQTT:info  2023-12-19 08:31:05: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-12-19.08-31-05' filename: log.txt
Zigbee2MQTT:info  2023-12-19 08:31:05: Starting Zigbee2MQTT version 1.34.0 (commit #56589dcc)
Zigbee2MQTT:info  2023-12-19 08:31:05: Starting zigbee-herdsman (0.21.0)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Zigbee2MQTT:info  2023-12-19 08:31:07: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-12-19 08:31:07: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}'
Zigbee2MQTT:info  2023-12-19 08:31:07: Set transmit power to '20'
Zigbee2MQTT:info  2023-12-19 08:31:07: Currently 8 devices are joined:
...
Zigbee2MQTT:info  2023-12-19 08:31:07: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-12-19 08:31:08: Connecting to MQTT server at mqtt://localhost
Zigbee2MQTT:info  2023-12-19 08:31:08: Connected to MQTT server
Zigbee2MQTT:info  2023-12-19 08:31:08: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2023-12-19 08:31:08: Started frontend on port 8080
...
Zigbee2MQTT:info  2023-12-19 08:31:08: Zigbee2MQTT started!
...
Zigbee2MQTT:info  2023-12-19 08:31:24: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-12-19 08:31:25: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"bwnas-2"}'
Zigbee2MQTT:info  2023-12-19 08:31:29: Device '0xa4c13836362246e2' joined
Zigbee2MQTT:info  2023-12-19 08:31:29: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2"},"type":"device_joined"}'
Zigbee2MQTT:info  2023-12-19 08:31:29: Starting interview of '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-19 08:31:29: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-19 08:31:30: Successfully interviewed '0xa4c13836362246e2', device has successfully been paired
Zigbee2MQTT:info  2023-12-19 08:31:30: Device '0xa4c13836362246e2' is supported, identified as: TuYa Temperature and humidity sensor (ZTH08-E)
Zigbee2MQTT:info  2023-12-19 08:31:30: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature and humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"State of the battery","label":"Battery state","name":"battery_state","property":"battery_state","type":"enum","values":["low","medium","high"]},{"access":3,"description":"Temperature unit","label":"Temperature unit","name":"temperature_unit","property":"temperature_unit","type":"enum","values":["celsius","fahrenheit"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZTH08-E","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","label":"Temperature precision","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","label":"Temperature calibration","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for humidity, takes into effect on next report of device.","label":"Humidity precision","name":"humidity_precision","property":"humidity_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the humidity value (absolute offset), takes into effect on next report of device.","label":"Humidity calibration","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"successful","supported":true},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-19 08:31:30: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-19 08:31:34: Successfully configured '0xa4c13836362246e2'

Time on display is not set and updates are not provided.

Network icon flicking showing attempts to connect.
At the same time temperature and humidity on display seems correct and react on changes.
Time counting from 00:00.

@saper-2
Copy link

saper-2 commented Dec 19, 2023

Do you have coordinator firmware up-to-date?

I've updated my coordinator fw at that time too (to the latest).

@Argentumbolo
Copy link

It's EFR32 FW:20231030. I believe it's latest one for coordinator.

@Argentumbolo
Copy link

Update:

Switched to dev branch (because of problems with _TZE204_upagmta9) and tried to add device again:

> zigbee2mqtt@1.34.0 start
> node index.js

Zigbee2MQTT:info  2023-12-20 20:55:11: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-12-20.20-55-11' filename: log.txt
Zigbee2MQTT:info  2023-12-20 20:55:11: Starting Zigbee2MQTT version 1.34.0 (commit #56589dcc)
Zigbee2MQTT:info  2023-12-20 20:55:11: Starting zigbee-herdsman (0.25.0)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Zigbee2MQTT:info  2023-12-20 20:55:13: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-12-20 20:55:13: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}'
Zigbee2MQTT:info  2023-12-20 20:55:13: Set transmit power to '20'
Zigbee2MQTT:info  2023-12-20 20:55:13: Currently 9 devices are joined:
...
Zigbee2MQTT:info  2023-12-20 20:55:13: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-12-20 20:55:14: Connecting to MQTT server at mqtt://localhost
Zigbee2MQTT:info  2023-12-20 20:55:14: Connected to MQTT server
Zigbee2MQTT:info  2023-12-20 20:55:14: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2023-12-20 20:55:14: Started frontend on port 8080
...
Zigbee2MQTT:info  2023-12-20 20:55:14: Zigbee2MQTT started!
...
Zigbee2MQTT:info  2023-12-20 20:55:56: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-12-20 20:55:56: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"x2tmi-1"}'
Zigbee2MQTT:info  2023-12-20 20:55:59: Device '0xa4c13836362246e2' joined
Zigbee2MQTT:info  2023-12-20 20:55:59: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2"},"type":"device_joined"}'
Zigbee2MQTT:info  2023-12-20 20:55:59: Starting interview of '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 20:55:59: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-20 20:56:23: Configuring 'OfficeLow'
Zigbee2MQTT:info  2023-12-20 20:56:23: MQTT publish: topic 'zigbee2mqtt/OfficeLow', payload '{"battery":100,"humidity":45.79,"linkquality":120,"temperature":21.82,"voltage":3000}'
Zigbee2MQTT:info  2023-12-20 20:56:23: Successfully configured 'OfficeLow'
Zigbee2MQTT:info  2023-12-20 20:56:23: MQTT publish: topic 'zigbee2mqtt/OfficeLow', payload '{"battery":100,"humidity":46.28,"linkquality":124,"temperature":21.82,"voltage":3000}'
Zigbee2MQTT:info  2023-12-20 20:56:25: Successfully interviewed '0xa4c13836362246e2', device has successfully been paired
Zigbee2MQTT:info  2023-12-20 20:56:25: Device '0xa4c13836362246e2' is supported, identified as: TuYa Temperature and humidity sensor (ZTH08-E)
Zigbee2MQTT:info  2023-12-20 20:56:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature and humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"State of the battery","label":"Battery state","name":"battery_state","property":"battery_state","type":"enum","values":["low","medium","high"]},{"access":3,"description":"Temperature unit","label":"Temperature unit","name":"temperature_unit","property":"temperature_unit","type":"enum","values":["celsius","fahrenheit"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZTH08-E","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","label":"Temperature precision","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","label":"Temperature calibration","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for humidity, takes into effect on next report of device.","label":"Humidity precision","name":"humidity_precision","property":"humidity_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the humidity value (absolute offset), takes into effect on next report of device.","label":"Humidity calibration","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"successful","supported":true},"type":"device_interview"}'

And then it failed to be configured:

Zigbee2MQTT:info  2023-12-20 20:56:25: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:error 2023-12-20 20:56:46: Failed to configure '0xa4c13836362246e2', attempt 1 (Error: Read 0xa4c13836362246e2/1 genBasic(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 54741 - 1 - 17 - 0 - 1 after 10000ms)
    at Timeout._onTimeout (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7))

But then was configured at which point correctly time was set on screen and it started to report parameters:

Zigbee2MQTT:info  2023-12-20 20:57:34: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 20:57:34: Successfully configured '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 20:57:34: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"linkquality":232,"temperature":23.3}'
Zigbee2MQTT:info  2023-12-20 20:57:34: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"humidity":42,"linkquality":224,"temperature":23.3}'
Zigbee2MQTT:info  2023-12-20 20:57:34: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":42,"linkquality":220,"temperature":23.3}'
Zigbee2MQTT:info  2023-12-20 20:57:34: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":42,"linkquality":224,"temperature":23.3,"temperature_unit":"celsius"}'
...
Zigbee2MQTT:info  2023-12-20 21:00:11: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":42,"linkquality":224,"temperature":23.5,"temperature_unit":"celsius"}'
Zigbee2MQTT:info  2023-12-20 21:00:11: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":224,"temperature":23.5,"temperature_unit":"celsius"}'

Then I pressed on light button which caused network icon to flicker and device never reported anything again.
But time on screen updates and device react on temperature and humidity changes just don't report them to coordinator.

Then I restarted z2m without deleting of the device:

Zigbee2MQTT:info  2023-12-20 21:26:35: Stopped Zigbee2MQTT
Zigbee2MQTT:info  2023-12-20 21:26:35: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-12-20.21-26-35' filename: log.txt
Zigbee2MQTT:info  2023-12-20 21:26:35: Starting Zigbee2MQTT version 1.34.0 (commit #56589dcc)
Zigbee2MQTT:info  2023-12-20 21:26:35: Starting zigbee-herdsman (0.25.0)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Zigbee2MQTT:info  2023-12-20 21:26:38: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-12-20 21:26:38: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}'
Zigbee2MQTT:info  2023-12-20 21:26:38: Set transmit power to '20'
Zigbee2MQTT:info  2023-12-20 21:26:38: Currently 10 devices are joined:
...
Zigbee2MQTT:info  2023-12-20 21:26:38: 0xa4c13836362246e2 (0xa4c13836362246e2): ZTH08-E - TuYa Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-12-20 21:26:38: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-12-20 21:26:38: Connecting to MQTT server at mqtt://localhost
Zigbee2MQTT:info  2023-12-20 21:26:38: Connected to MQTT server
Zigbee2MQTT:info  2023-12-20 21:26:38: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2023-12-20 21:26:38: Started frontend on port 8080
...
Zigbee2MQTT:info  2023-12-20 21:26:38: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":196,"temperature":23.5,"temperature_unit":"celsius"}'

Nothing changed but published data contains temperature and humidity from the last report at 21:00:11 (which don't match current values on screen) but different linkquality.

And then again - remove, reboot:

Zigbee2MQTT:info  2023-12-20 21:33:10: Stopped Zigbee2MQTT
Zigbee2MQTT:info  2023-12-20 21:33:10: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-12-20.21-33-10' filename: log.txt
Zigbee2MQTT:info  2023-12-20 21:33:10: Starting Zigbee2MQTT version 1.34.0 (commit #56589dcc)
Zigbee2MQTT:info  2023-12-20 21:33:10: Starting zigbee-herdsman (0.25.0)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Zigbee2MQTT:info  2023-12-20 21:33:13: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-12-20 21:33:13: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}'
Zigbee2MQTT:info  2023-12-20 21:33:13: Set transmit power to '20'
Zigbee2MQTT:info  2023-12-20 21:33:13: Currently 9 devices are joined:
...
Zigbee2MQTT:info  2023-12-20 21:33:13: Zigbee: disabling joining new devices.
Zigbee2MQTT:info  2023-12-20 21:33:13: Connecting to MQTT server at mqtt://localhost
Zigbee2MQTT:info  2023-12-20 21:33:13: Connected to MQTT server
Zigbee2MQTT:info  2023-12-20 21:33:13: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info  2023-12-20 21:33:13: Started frontend on port 8080
...
Zigbee2MQTT:info  2023-12-20 21:33:13: Zigbee2MQTT started!
Zigbee2MQTT:info  2023-12-20 21:33:41: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-12-20 21:33:42: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"rqcp4-1"}'
Zigbee2MQTT:info  2023-12-20 21:33:44: Device '0xa4c13836362246e2' joined
Zigbee2MQTT:info  2023-12-20 21:33:44: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2"},"type":"device_joined"}'
Zigbee2MQTT:info  2023-12-20 21:33:44: Starting interview of '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 21:33:44: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-20 21:33:45: Successfully interviewed '0xa4c13836362246e2', device has successfully been paired
Zigbee2MQTT:info  2023-12-20 21:33:45: Device '0xa4c13836362246e2' is supported, identified as: TuYa Temperature and humidity sensor (ZTH08-E)
Zigbee2MQTT:info  2023-12-20 21:33:45: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature and humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"State of the battery","label":"Battery state","name":"battery_state","property":"battery_state","type":"enum","values":["low","medium","high"]},{"access":3,"description":"Temperature unit","label":"Temperature unit","name":"temperature_unit","property":"temperature_unit","type":"enum","values":["celsius","fahrenheit"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZTH08-E","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","label":"Temperature precision","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","label":"Temperature calibration","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for humidity, takes into effect on next report of device.","label":"Humidity precision","name":"humidity_precision","property":"humidity_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the humidity value (absolute offset), takes into effect on next report of device.","label":"Humidity calibration","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"successful","supported":true},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-20 21:33:45: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 21:33:48: Successfully configured '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 21:33:48: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"linkquality":156,"temperature":24.3}'
Zigbee2MQTT:info  2023-12-20 21:33:48: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"humidity":44,"linkquality":152,"temperature":24.3}'
Zigbee2MQTT:info  2023-12-20 21:33:48: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":44,"linkquality":188,"temperature":24.3}'
Zigbee2MQTT:info  2023-12-20 21:33:48: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":44,"linkquality":200,"temperature":24.3,"temperature_unit":"celsius"}'
Zigbee2MQTT:info  2023-12-20 21:34:22: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":44,"linkquality":136,"temperature":26,"temperature_unit":"celsius"}'
Zigbee2MQTT:info  2023-12-20 21:34:22: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":55,"linkquality":136,"temperature":26,"temperature_unit":"celsius"}'
...
Zigbee2MQTT:info  2023-12-20 21:36:22: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":55,"linkquality":148,"temperature":25.4,"temperature_unit":"celsius"}'
Zigbee2MQTT:info  2023-12-20 21:36:22: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":46,"linkquality":148,"temperature":25.4,"temperature_unit":"celsius"}'

Device added, time was set, changes in temperature and humidity were reported correctly as they was presented on screen.
But after pressing light button it stoped to report changes.
Everything on the screen is Ok.

@Argentumbolo
Copy link

Argentumbolo commented Dec 20, 2023

And then with debug logging.
I (force-) removed device and reloaded z2m but at the moment I connected buttery device automatically connected without my interactions with Permit to join button.

Zigbee2MQTT:info  2023-12-20 22:02:08: Zigbee2MQTT started!
Zigbee2MQTT:info  2023-12-20 22:02:14: Device '0xa4c13836362246e2' joined
Zigbee2MQTT:info  2023-12-20 22:02:14: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2"},"type":"device_joined"}'
Zigbee2MQTT:info  2023-12-20 22:02:14: Starting interview of '0xa4c13836362246e2'
Zigbee2MQTT:info  2023-12-20 22:02:14: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:debug 2023-12-20 22:02:15: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"modelId":"TS0601"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:15: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:15: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_cirvgep4"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:15: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:18: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZE200_cirvgep4"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:18: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:19: Received Zigbee message from '0xa4c13836362246e2', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:19: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:19: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:19: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:19: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:19: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:19: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:19: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:22: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:22: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:25: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:25: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:28: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:28: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:30: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":768,"version":64}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:30: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:30: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:30: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:30: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:30: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:33: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:33: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:34: Received Zigbee message from 'LivingRoom', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:36: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:36: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:02:38: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:02:38: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:03:00: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:03:00: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:03:00: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:03:00: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:debug 2023-12-20 22:03:00: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:03:00: Skipping message, definition is undefined and still interviewing
Zigbee2MQTT:info  2023-12-20 22:03:00: Successfully interviewed '0xa4c13836362246e2', device has successfully been paired
Zigbee2MQTT:info  2023-12-20 22:03:00: Device '0xa4c13836362246e2' is supported, identified as: TuYa Temperature and humidity sensor (ZTH08-E)
Zigbee2MQTT:info  2023-12-20 22:03:00: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature and humidity sensor","exposes":[{"access":1,"description":"Measured temperature value","label":"Temperature","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":1,"description":"Measured relative humidity","label":"Humidity","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":1,"description":"State of the battery","label":"Battery state","name":"battery_state","property":"battery_state","type":"enum","values":["low","medium","high"]},{"access":3,"description":"Temperature unit","label":"Temperature unit","name":"temperature_unit","property":"temperature_unit","type":"enum","values":["celsius","fahrenheit"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"ZTH08-E","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","label":"Temperature precision","name":"temperature_precision","property":"temperature_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the temperature value (absolute offset), takes into effect on next report of device.","label":"Temperature calibration","name":"temperature_calibration","property":"temperature_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for humidity, takes into effect on next report of device.","label":"Humidity precision","name":"humidity_precision","property":"humidity_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"Calibrates the humidity value (absolute offset), takes into effect on next report of device.","label":"Humidity calibration","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c13836362246e2","ieee_address":"0xa4c13836362246e2","status":"successful","supported":true},"type":"device_interview"}'
Zigbee2MQTT:info  2023-12-20 22:03:00: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:debug 2023-12-20 22:03:03: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:03:06: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:03:09: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:error 2023-12-20 22:03:20: Failed to configure '0xa4c13836362246e2', attempt 1 (Error: Read 0xa4c13836362246e2/1 genBasic(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 54741 - 1 - 12 - 0 - 1 after 10000ms)
    at Timeout._onTimeout (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/utils/waitress.ts:64:35)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7))
Zigbee2MQTT:debug 2023-12-20 22:04:12: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65503":"0\u001c\u0016-\u00190\u001c\u0016-\u0007\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:12: Configuring '0xa4c13836362246e2'
Zigbee2MQTT:debug 2023-12-20 22:04:12: Received Zigbee message from '0xa4c13836362246e2', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":72,"manufacturerName":"_TZE200_cirvgep4","modelId":"TS0601","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:12: Successfully configured '0xa4c13836362246e2'
Zigbee2MQTT:debug 2023-12-20 22:04:12: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,252],"type":"Buffer"},"datatype":2,"dp":1}],"seq":512}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:12: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"linkquality":192,"temperature":25.2}'
Zigbee2MQTT:debug 2023-12-20 22:04:12: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,37],"type":"Buffer"},"datatype":2,"dp":2}],"seq":768}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:12: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"humidity":37,"linkquality":188,"temperature":25.2}'
Zigbee2MQTT:debug 2023-12-20 22:04:12: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[2],"type":"Buffer"},"datatype":4,"dp":3}],"seq":1024}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:12: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":192,"temperature":25.2}'
Zigbee2MQTT:debug 2023-12-20 22:04:13: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":4,"dp":9}],"seq":1280}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:04:13: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":192,"temperature":25.2,"temperature_unit":"celsius"}'
Zigbee2MQTT:debug 2023-12-20 22:04:13: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":6}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:04:13: No converter available for 'ZTH08-E' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":6}'
...
Zigbee2MQTT:debug 2023-12-20 22:07:05: Saving state to file /opt/zigbee2mqtt/data/state.json
Zigbee2MQTT:debug 2023-12-20 22:08:20: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,247],"type":"Buffer"},"datatype":2,"dp":1}],"seq":1792}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:08:20: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":216,"temperature":24.7,"temperature_unit":"celsius"}'
Zigbee2MQTT:debug 2023-12-20 22:08:20: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,36],"type":"Buffer"},"datatype":2,"dp":2}],"seq":2048}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:08:20: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":36,"linkquality":216,"temperature":24.7,"temperature_unit":"celsius"}'
Zigbee2MQTT:debug 2023-12-20 22:08:21: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":9}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:08:21: No converter available for 'ZTH08-E' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":9}'

Then I pressed backlight button, connection icon started to flicker again, and in logs:

Zigbee2MQTT:debug 2023-12-20 22:08:20: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,247],"type":"Buffer"},"datatype":2,"dp":1}],"seq":1792}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:08:20: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":37,"linkquality":216,"temperature":24.7,"temperature_unit":"celsius"}'
Zigbee2MQTT:debug 2023-12-20 22:08:20: Received Zigbee message from '0xa4c13836362246e2', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,36],"type":"Buffer"},"datatype":2,"dp":2}],"seq":2048}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-12-20 22:08:20: MQTT publish: topic 'zigbee2mqtt/0xa4c13836362246e2', payload '{"battery_state":"high","humidity":36,"linkquality":216,"temperature":24.7,"temperature_unit":"celsius"}'
Zigbee2MQTT:debug 2023-12-20 22:08:21: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuSyncTime', cluster 'manuSpecificTuya', data '{"payloadSize":9}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:08:21: No converter available for 'ZTH08-E' with cluster 'manuSpecificTuya' and type 'commandMcuSyncTime' and data '{"payloadSize":9}'
Zigbee2MQTT:debug 2023-12-20 22:12:05: Saving state to file /opt/zigbee2mqtt/data/state.json
Zigbee2MQTT:debug 2023-12-20 22:12:15: Received Zigbee message from '0xa4c13836362246e2', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:12:15: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:12:16: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":768,"version":64}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:12:16: No converter available for 'ZTH08-E' with cluster 'manuSpecificTuya' and type 'commandMcuVersionResponse' and data '{"seq":768,"version":64}'
...
Zigbee2MQTT:debug 2023-12-20 22:13:54: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65503":"\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:14:19: Received Zigbee message from '0xa4c13836362246e2', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:14:20: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:14:21: Received Zigbee message from '0xa4c13836362246e2', type 'commandMcuVersionResponse', cluster 'manuSpecificTuya', data '{"seq":768,"version":64}' from endpoint 1 with groupID 0
Zigbee2MQTT:debug 2023-12-20 22:14:21: No converter available for 'ZTH08-E' with cluster 'manuSpecificTuya' and type 'commandMcuVersionResponse' and data '{"seq":768,"version":64}'

Last messages were repeated after each next press of the backlight button.

And this one after some time:

Zigbee2MQTT:debug 2023-12-20 22:18:38: Received Zigbee message from '0xa4c13836362246e2', type 'attributeReport', cluster 'genBasic', data '{"65503":"�#\u0016-\u0019�#\u0016-\u0007\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0011"}' from endpoint 1 with groupID 0

@rablatbenjamin
Copy link

Hi, i'm on Z2M 1.35.1 and i still don't have time sync working. Any solution ?

@dft601
Copy link

dft601 commented Jan 31, 2024

I also bought this device because I thought it is supported.... But I do not get any data except link quality.
Device is recognized quite fast and time is synced.

Did several restarts , several force delete, several new pairing.

Did NOT press the light button...

I am on [1.35.1] commit: [9eaaa0f]

Every help welcome.

UPDATE: After another to restarts I got the temperature and humidity... It´s seems as difficult as my Aqara motion sensors P1

Mike

@grericht
Copy link

grericht commented May 7, 2024

I have these thermometers with WiFi for all my rooms. Since I now want to get away from the cloud completely and can't flash the thermometers to open beken, I'm currently in the process of switching them all to Zigbee. I've already bought 3 and just bought 10 that aren't here yet. I had initially integrated the thermometers with ZHA. But as soon as I pressed the button, nothing worked anymore and some things didn't work well anyway. That's why I switched to Z2M. Everything works great. It's just these thermometers that are giving me a headache.

  1. If they lose power (because I change the battery, for example), they don't reconnect on their own. But that should actually work, right? the wifi symbol "refills itself again and again" (the symbol can be on, flashing, or constantly rebuild itself (and possibly also be off)
  2. when I press the button because I want to use the light, the light comes on, but the "wifi" symbol also starts to rebuild itself. From that moment on, the z2m shows in home assistant that it is regularly in contact but no more data is being received. I then always have to put z2m into reception mode again and press the button on all thermometers for a long time
  3. 2 of the 3 thermometers show the battery level and the 3rd shows "None". I integrated them all at the same time.

@vivalton
Copy link

vivalton commented May 8, 2024

@Koenkk I think you can add _TZE200_s1xgth2u as a variant of this sensor. I used this and just added this new variant
and it worked https://gist.github.com/sakulisko/d6c21dacf1f0e5ed303901519b3abeb4

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 8, 2024
@Koenkk
Copy link
Owner

Koenkk commented May 8, 2024

@vivalton done!

@grericht
Copy link

grericht commented May 13, 2024

I have these thermometers with WiFi for all my rooms. Since I now want to get away from the cloud completely and can't flash the thermometers to open beken, I'm currently in the process of switching them all to Zigbee. I've already bought 3 and just bought 10 that aren't here yet. I had initially integrated the thermometers with ZHA. But as soon as I pressed the button, nothing worked anymore and some things didn't work well anyway. That's why I switched to Z2M. Everything works great. It's just these thermometers that are giving me a headache.

1. If they lose power (because I change the battery, for example), they don't reconnect on their own. But that should actually work, right? the wifi symbol "refills itself again and again" (the symbol can be on, flashing, or constantly rebuild itself (and possibly also be off)

2. when I press the button because I want to use the light, the light comes on, but the "wifi" symbol also starts to rebuild itself. From that moment on, the z2m shows in home assistant that it is regularly in contact but no more data is being received. I then always have to put z2m into reception mode again and press the button on all thermometers for a long time

3. 2 of the 3 thermometers show the battery level and the 3rd shows "None". I integrated them all at the same time.

i'am the only one with this problem now?

short: did i have to do extra work for implement TS0601 - _TZE200_cirvgep4? Backlight Button permanently ends connection and short PowerLoss dont finds reconection

@calispac
Copy link

I have these thermometers with WiFi for all my rooms. Since I now want to get away from the cloud completely and can't flash the thermometers to open beken, I'm currently in the process of switching them all to Zigbee. I've already bought 3 and just bought 10 that aren't here yet. I had initially integrated the thermometers with ZHA. But as soon as I pressed the button, nothing worked anymore and some things didn't work well anyway. That's why I switched to Z2M. Everything works great. It's just these thermometers that are giving me a headache.

1. If they lose power (because I change the battery, for example), they don't reconnect on their own. But that should actually work, right? the wifi symbol "refills itself again and again" (the symbol can be on, flashing, or constantly rebuild itself (and possibly also be off)

2. when I press the button because I want to use the light, the light comes on, but the "wifi" symbol also starts to rebuild itself. From that moment on, the z2m shows in home assistant that it is regularly in contact but no more data is being received. I then always have to put z2m into reception mode again and press the button on all thermometers for a long time

3. 2 of the 3 thermometers show the battery level and the 3rd shows "None". I integrated them all at the same time.

i'am the only one with this problem now?

short: did i have to do extra work for implement TS0601 - _TZE200_cirvgep4? Backlight Button permanently ends connection and short PowerLoss dont finds reconection

@grericht I also have the same issue. I have read the comments of this issue with great attention and it seems that some people managed to get everything working : time, temp., humidity, link quality and even the problem you describe is fixed.

It is quiet annoying to have this problem because I cannot tell people not to press this button especially with kids...

I am willing to help but please guide me. I am not an expert it z2m, zigbee or tuya.

@calispac
Copy link

Some update : I have added in my zigbee network two zigbee light bulbs (they act as routers). Before adding the light bulbs, I had all my temp. / humidity sensors "disconnected" (wifi symbol going up, not blinking). Now that I added the bulbs, it seems that the temp/hum. sensors connected to it auto-magically.

@grericht
Copy link

That's exciting. For me it seems to be the other way around at the moment. The 4 sensors in the basement that are directly connected to the stick seem to be connecting themselves. All the others that are partially connected to repeaters are not connecting themselves. Or rather, most of them are connecting themselves but are not sending any data. z2m says he had contact a few seconds ago but no new data is coming into the Home Assistant.

@jmluxem
Copy link
Author

jmluxem commented Aug 13, 2024

All,
please realize the initial purpose of this thread has been thoroughly resolved. Comments should only be related directly to the LCD temp-humidity sensor, and even then, only with its possible issues properly connecting/reporting to Z2M.
I’ve since unsubscribed, but to see this thread still ongoing brings me… pain. This is no longer an issue, and if it actually is - it makes me think you may have a different model of device or should start a new thread for other issues.
Let’s lay this poor thread to rest.

The most recent replies seem to suggest poor Zigbee networks or impatience in the reporting-period of said devices. Please do further research before adding to this fixed-issue.

@jmluxem jmluxem closed this as completed Aug 13, 2024
@jmluxem
Copy link
Author

jmluxem commented Aug 13, 2024

Original issue fully resolved

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