Vendor ZYXH - TS0601_switch_12 - Not Supported #18339
Replies: 1 comment 1 reply
-
Hi Team, I have successfully integrated this new hardware following unsupported Tuya device, here the content const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const definition = {
endpoint: (device) => { module.exports = definition; |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have received a new device ZYXH with 12 switches, it looks very efficient but not recognized by zigbee2mqtt.
https://fr.aliexpress.com/item/1005005605518721.html
I see that a same device from ZYXH with 8 switches is recognized by a zigbee2mqtt
https://www.zigbee2mqtt.io/devices/TS0601_switch_8.html
I'm not really familiar wth all settings (I'm a standard user ;)), How I can integrate this new device.
I have started the procedure to integrate unsupported device but unfortunately, I have no exposed added info after restart with debug mode.
`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 e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['TS0601'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
model: 'TS0601', // Vendor model number, look on the device for a model number
vendor: 'ZYXH', // Vendor of the device (only used for documentation and startup logging)
description: 'Tuya-Commutateur 12 voies', // Description of the device, copy from vendor site. (only used for documentation and startup logging)
fromZigbee: [], // We will add this later
toZigbee: [], // Should be empty, unless device can be controlled (e.g. lights, switches).
exposes: [e.battery(), e.temperature(), e.humidity()], // Defines what this device exposes, used for e.g. Home Assistant discovery and in the frontend
};
module.exports = definition;`
Beta Was this translation helpful? Give feedback.
All reactions