Ohne Probleme beim einlernen sogar 4 oder 5 eingelernt.Ich hab mal bei github mal nachgefragt und habe das als email bekommen:
A wild guess:
{
zigbeeModel: ['TS0049'],
model: 'TS0049',
vendor: 'Tuya',
description: 'Water valve controller ',
fromZigbee: [fz.on_off, fz.battery],
toZigbee: [tz.on_off],
exposes: [
e.switch(),
e.battery(),
],
}
For the second one I assume it is not the same product so we need to know the instructions/model name for that to help further. Here is an example but could be wrong/missing stuff. I did assume it is this instruction set Standard Instruction Set-Tuya Developer Platform-Tuya Developer
module.exports = {
zigbeeModel: ['TS0049'], // Replace with your actual zigbeeModel if different
model: 'ZigbeeWaterValve',
vendor: 'Tuya',
description: 'Tuya Zigbee irrigation valve with countdown and battery',
fromZigbee: [fz.on_off, fz.battery, fz.tuya_data_point],
toZigbee: [
tz.on_off,
{
key: ['countdown'],
convertSet: async (entity, key, value, meta) => {
return tuya.sendDataPointValue(entity, 105, value); // 105 = likely countdown DP
},
},
],
exposes: [
e.switch(),
e.battery(),
e.numeric('countdown', ea.STATE_SET)
.withUnit('min')
.withValueMin(0)
.withValueMax(1440)
.withDescription('Irrigation duration in minutes'),
],
};
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.![]()
Da ich mich nicht so perfekt auskenne weiß ich nicht was ich da machen soll.










