zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: Simple Temperature & humidity sensor, model 'TS0601' and manufacturer name '_TZE200_9yapgbuv'

Open antonio203 opened this issue 3 years ago • 0 comments

Link

https://fr.aliexpress.com/item/1005004838346776.html

Database entry

{"id":2,"type":"EndDevice","ieeeAddr":"0xa4c138c3c72004e1","nwkAddr":50735,"manufId":4417,"manufName":"_TZE200_9yapgbuv","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":"�\u000f+\u0019�\u000f+\u0007\u0000\u0000\u0000\u0000\u0011","65506":56,"65508":1,"modelId":"TS0601","manufacturerName":"_TZE200_9yapgbuv","powerSource":3,"zclVersion":3,"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1669122722508,"defaultSendRequestWhen":"immediate"}

Comments

Hello, I have a problem to control a simple Temperature & humidity sensor identified by Zigbee2MQTT as: model 'TS0601' and manufacturer name '_TZE200_9yapgbuv'

I tried several external_converter.js (copied from devices/tuya.js), but in all cases with negative results: the temperature and humidity are not displayed.

In ZHA project there is a similar issue with this device here (https://github.com/zigpy/zha-device-handlers/issues/1918) and the solution seems to use the configuration of device: ("_TZE200_bjawzodf", "TS0601")], which I think is the configuration that I am using in the external_converter.js.

Regards

External converter

const definition = {
	fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_9yapgbuv'}],
	model: 'my_model',
	vendor: 'TuYa',
	description: 'Temperature & humidity sensor',
	fromZigbee: [fz.tuya_temperature_humidity_sensor], 
	toZigbee: [], 
	exposes: [e.temperature(), e.humidity(), e.battery()], 
};

module.exports = definition;

Supported color modes

No response

Color temperature range

No response

antonio203 avatar Nov 22 '22 13:11 antonio203