Closed its-fr4nki closed 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Hello его-fr4nki Can you rezolved this problem?
my all 4 sensors report N/A on all 4 values, tried repairing, hitting the reset button etc they all say they are supported and finished configuring, havent looked into it yet (i simply lack the time)
any chance we can get them working?
Zigbee2MQTT:debug 2022-12-18 19:47:15: Device 'temp sensor in my hand' announced itself Zigbee2MQTT:info 2022-12-18 19:47:15: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"temp sensor in my hand","ieee_address":"0xa4c138623059523b"},"type":"device_announce"}' Zigbee2MQTT:debug 2022-12-18 19:47:17: Retrieving state of 'temp sensor in my hand' after reconnect Zigbee2MQTT:debug 2022-12-18 19:47:20: Received Zigbee message from 'temp sensor in my hand', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0 Zigbee2MQTT:debug 2022-12-18 19:47:20: Received Zigbee message from 'temp sensor in my hand', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":1,"appVersion":72}' from endpoint 1 with groupID 0
here is a log i managed to get, default config (automatic)
I've just bought one of these and I have the same problem. Tried installing edge and no joy. Thanks
Same issue here. No temperature or moisture readings.
2023-01-06 12:29:36Accepting joining not in blocklist device '0xa4c1386febd735ef' Info 2023-01-06 12:29:36Device '0xa4c1386febd735ef' joined Info 2023-01-06 12:29:36MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386febd735ef","ieee_address":"0xa4c1386febd735ef"},"type":"device_joined"}' Info 2023-01-06 12:29:36MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0xa4c1386febd735ef"},"type":"device_connected"}' Info 2023-01-06 12:29:36MQTT publish: topic 'zigbee2mqtt/0xa4c1386febd735ef/availability', payload 'online' Info 2023-01-06 12:29:36Starting interview of '0xa4c1386febd735ef' Info 2023-01-06 12:29:36MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386febd735ef","ieee_address":"0xa4c1386febd735ef","status":"started"},"type":"device_interview"}' Info 2023-01-06 12:29:36MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"0xa4c1386febd735ef"},"type":"pairing"}' Debug 2023-01-06 12:29:47Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"modelId":"TS0201"}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:47Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"_TZ3000_fllyghyj"}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:48Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"powerSource":3}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:48Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"zclVersion":3}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:48Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"appVersion":70}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:48Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"stackVersion":0}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:49Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"hwVersion":1}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:49Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"dateCode":""}' from endpoint 1 with groupID null Debug 2023-01-06 12:29:49Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID null Info 2023-01-06 12:29:49Successfully interviewed '0xa4c1386febd735ef', device has successfully been paired Info 2023-01-06 12:29:49Device '0xa4c1386febd735ef' is supported, identified as: TuYa Temperature & humidity sensor (WSD500A) Info 2023-01-06 12:29:49MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Temperature & humidity sensor","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"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":"Voltage of the battery in millivolts","name":"voltage","property":"voltage","type":"numeric","unit":"mV"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WSD500A","options":[{"access":2,"description":"Number of digits after decimal point for temperature, takes into effect on next report of device.","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.","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.","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.","name":"humidity_calibration","property":"humidity_calibration","type":"numeric"}],"supports_ota":false,"vendor":"TuYa"},"friendly_name":"0xa4c1386febd735ef","ieee_address":"0xa4c1386febd735ef","status":"successful","supported":true},"type":"device_interview"}' Info 2023-01-06 12:29:49Configuring '0xa4c1386febd735ef' Info 2023-01-06 12:29:49MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Temperature & humidity sensor","friendly_name":"0xa4c1386febd735ef","model":"WSD500A","supported":true,"vendor":"TuYa"},"type":"pairing"}' Info 2023-01-06 12:29:49MQTT publish: topic 'homeassistant/sensor/0xa4c1386febd735ef/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef battery","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' Info 2023-01-06 12:29:49MQTT publish: topic 'homeassistant/sensor/0xa4c1386febd735ef/temperature/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"temperature","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef temperature","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' Info 2023-01-06 12:29:49MQTT publish: topic 'homeassistant/sensor/0xa4c1386febd735ef/humidity/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"humidity","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef humidity","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}' Info 2023-01-06 12:29:49MQTT publish: topic 'homeassistant/sensor/0xa4c1386febd735ef/voltage/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef voltage","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}' Info 2023-01-06 12:29:49MQTT publish: topic 'homeassistant/sensor/0xa4c1386febd735ef/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' Debug 2023-01-06 12:29:49Received MQTT message on 'homeassistant/sensor/0xa4c1386febd735ef/battery/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef battery","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}' Debug 2023-01-06 12:29:49Received MQTT message on 'homeassistant/sensor/0xa4c1386febd735ef/temperature/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"temperature","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef temperature","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_temperature_zigbee2mqtt","unit_of_measurement":"°C","value_template":"{{ value_json.temperature }}"}' Debug 2023-01-06 12:29:49Received MQTT message on 'homeassistant/sensor/0xa4c1386febd735ef/humidity/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"humidity","enabled_by_default":true,"json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef humidity","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_humidity_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.humidity }}"}' Debug 2023-01-06 12:29:49Received MQTT message on 'homeassistant/sensor/0xa4c1386febd735ef/voltage/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"device_class":"voltage","enabled_by_default":false,"entity_category":"diagnostic","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef voltage","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_voltage_zigbee2mqtt","unit_of_measurement":"mV","value_template":"{{ value_json.voltage }}"}' Debug 2023-01-06 12:29:49Received MQTT message on 'homeassistant/sensor/0xa4c1386febd735ef/linkquality/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/0xa4c1386febd735ef/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xa4c1386febd735ef"],"manufacturer":"TuYa","model":"Temperature & humidity sensor (WSD500A)","name":"0xa4c1386febd735ef"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/0xa4c1386febd735ef","name":"0xa4c1386febd735ef linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386febd735ef","unique_id":"0xa4c1386febd735ef_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}' Debug 2023-01-06 12:29:49Received Zigbee message from '0xa4c1386febd735ef', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":70,"manufacturerName":"_TZ3000_fllyghyj","modelId":"TS0201","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID null Info 2023-01-06 12:29:49Successfully configured '0xa4c1386febd735ef'
Additional info:
My devices have the following model and manufacturer: Zigbee Model TS0201 Zigbee Manufacturer _TZ3000_fllyghyj
I note that _TZ3000_bguser20 is said to be working.
This was solved in https://github.com/Koenkk/zigbee2mqtt/issues/15729#event-8132492615
You need to define an external converter: https://gist.github.com/Koenkk/a5ef6a151f1cc63a01183b47e3404541
Has to be run on Edge or the latest dev build
I can confirm that it works for model 'TS0601' and manufacturer name '_TZE200_yjjdcqsq'
It is already defined in node_modules/zigbee-herdsman-converters/devices/tuya.js
{ fingerprint: [ {modelID: 'TS0201', manufacturerName: '_TZ3000_bguser20'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_fllyghyj'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_yd2e749y'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_6uzkisv2'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_xr3htd96'}, {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'}, ], model: 'WSD500A', vendor: 'TuYa', description: 'Temperature & humidity sensor', fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity], toZigbee: [], exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()], configure: tuya.configureMagicPacket, },
Running 1.29.1 .
Switched to dev branch as per https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html , still no temperature.
Works very well in deconz, btw.
Switched to dev branch as per https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html , still no temperature.
for me it works with the ioBroker.zigbee: with setup according to https://github.com/ioBroker/ioBroker.zigbee/issues/1649 except the voltage bug.
My TS0201 _TZ3000_fllyghyj gets recognized, no problem. It also sends all values, but only for 2 or 3 mins, after that its dead. No more updates. Is this also a known problem ?
any chance getting them working in zigbee2mqtt? or at least removing them from the page or marking as unsupported?
It is already defined in node_modules/zigbee-herdsman-converters/devices/tuya.js
{ fingerprint: [ {modelID: 'TS0201', manufacturerName: '_TZ3000_bguser20'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_fllyghyj'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_yd2e749y'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_6uzkisv2'}, {modelID: 'TS0201', manufacturerName: '_TZ3000_xr3htd96'}, {modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'}, ], model: 'WSD500A', vendor: 'TuYa', description: 'Temperature & humidity sensor', fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity], toZigbee: [], exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()], configure: tuya.configureMagicPacket, },
Running 1.29.1 .
Hi, sorry for my ignorance - how should I add this piece of code to the configuration?
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
What happened?
I added a new TuYa WSD500A to my Zigbee2MQTT system. The temperature sensor was integrated correctly, but no values are received from it. In addition, this message appears in the log:
022-11-11 00:03:33Failed to configure 'Temp 00', attempt 1 (Error: Read 0xa4c13858da15ae1e/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 (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:658:23) at Endpoint.sendRequest (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:299:20) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:472:28) at Object.configure (/app/node_modules/zigbee-herdsman-converters/devices/tuya.js:1613:13) at Configure.configure (/app/lib/extension/configure.ts:115:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:55:21))
Info 2022-11-11 00:03:33MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{"id":"Temp 00"},"error":"Failed to configure (Read 0xa4c13858da15ae1e/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 (no response received))","status":"error","transaction":"u1jwq-5"}'
What did you expect to happen?
I expect the sensor to transmit the temperature to Zigbee2MQTT correctly. This is officially supported.
How to reproduce it (minimal and precise)
I deleted the sensor and re-taught it with the same result. Also, I get the same result with a second same sensor.
Zigbee2MQTT version
1.28.2
Adapter firmware version
0x26720700
Adapter
ConBee2
Debug log
No response