Link
https://www.domadoo.fr/fr/jardin-connecte/5886-saswell-electrovanne-et-programmateur-arrosage-connecte-zigbee.html
Database entry
{"id":89,"type":"EndDevice","ieeeAddr":"0xa4c13885a357c323","nwkAddr":22483,"manufId":4417,"manufName":"_TZE204_qtnjuoae","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":"*�1i*�1\u0011ba�1fca�1\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE204_qtnjuoae","powerSource":3,"zclVersion":3,"stackVersion":0,"hwVersion":1,"dateCode":"","appVersion":73}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":73,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1782818709126}
Zigbee2MQTT version
2.12.0 (e85ff55)
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 modernExtend = require('zigbee-herdsman-converters/lib/modernExtend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
// Since a lot of Tuya devices use the same modelID, but use different datapoints
// it's necessary to provide a fingerprint instead of a zigbeeModel
fingerprint: [
{
// The model ID from: Device with modelID 'TS0601' is not supported
// You may need to add \u0000 at the end of the name in some cases
modelID: 'TS0601',
// The manufacturer name from: Device with modelID 'TS0601' is not supported.
manufacturerName: '_TZE204_qtnjuoae',
},
],
model: 'TS0601_new',
vendor: 'Tuya',
description: 'Fill in a description of the device here',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
configure: tuya.configureMagicPacket,
exposes: [
tuya.exposes.switch(),
tuya.exposes.batteryState(),
],
meta: {
tuyaDatapoints: [
[1, 'state', tuya.valueConverter.onOff],
[2, 'battery_state', tuya.valueConverter.batteryState],
],
},
extend: [
// A preferred new way of extending functionality.
],
};
module.exports = definition;
What does/doesn't work with the external definition?
linkquality ,on ,off does work
battery doesn't
its not my code but maybe it can help
Notes
software_build_id: undefined
date_code: ``
endpoints:
{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic"],"output":["genOta","genTime"]}}}
Link
https://www.domadoo.fr/fr/jardin-connecte/5886-saswell-electrovanne-et-programmateur-arrosage-connecte-zigbee.html
Database entry
{"id":89,"type":"EndDevice","ieeeAddr":"0xa4c13885a357c323","nwkAddr":22483,"manufId":4417,"manufName":"_TZE204_qtnjuoae","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":"*
�1i*�1\u0011ba�1fca�1\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE204_qtnjuoae","powerSource":3,"zclVersion":3,"stackVersion":0,"hwVersion":1,"dateCode":"","appVersion":73}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":73,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1782818709126}Zigbee2MQTT version
2.12.0 (e85ff55)
External converter
What does/doesn't work with the external definition?
linkquality ,on ,off does work
battery doesn't
its not my code but maybe it can help
Notes
software_build_id:
undefineddate_code: ``
endpoints:
{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic"],"output":["genOta","genTime"]}}}