We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.xiaoyan.io/en-us/wallswitch-noneutral/
{"id":23,"type":"EndDevice","ieeeAddr":"0x8cf681fffe0db1d3","nwkAddr":26370,"manufId":4648,"manufName":"Xiaoyan","powerSource":"Mains (single phase)","modelId":"TERNCY-WS01-S4","epList":[1,2,3,4],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,3,6,32,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TERNCY-WS01-S4"}},"genOta":{"attributes":{"currentFileVersion":161}},"genOnOff":{"attributes":{"onOff":1}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":1,"38":1}},"genPollCtrl":{"attributes":{"checkinInterval":480}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1},{"cluster":32,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":2,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":3,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":4,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}}},"hwVersion":3,"zclVersion":3,"interviewCompleted":true,"meta":{"configured":891847970},"lastSeen":1687427091121,"defaultSendRequestWhen":"fastpoll","checkinInterval":120}
it is working for just simple on/off switch. product image below for new device support. thanks https://ae01.alicdn.com/kf/H23dac3b8a2214442b0e5f20d7db5ea61z/Terncy-Zigbee-smart-wall-light-switch-1-4-gang-ON-OFF-light-switch-86x86-mm-support.png
const exposes = require('zigbee-herdsman-converters/lib/exposes'); const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const ota = require('zigbee-herdsman-converters/lib/ota'); 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: ['TERNCY-WS01-S4'], model: 'TERNCY-WS01', vendor: 'TERNCY', description: 'Smart light switch - 4 gang without neutral wire', extend: extend.switch(), exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3'), e.switch().withEndpoint('l4')], endpoint: (device) => { return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4}; }, meta: {multiEndpoint: true}, configure: async (device, coordinatorEndpoint, logger) => { try { for (const ID of [1, 2, 3, 4]) { const endpoint = device.getEndpoint(ID); await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']); } } catch (e) { // Fails for some: https://github.com/Koenkk/zigbee2mqtt/issues/4872 } device.powerSource = 'Mains (single phase)'; device.save(); }, }; module.exports = definition;
No response
The text was updated successfully, but these errors were encountered:
feat(add): TERNCY-WS01 @gcmilo704 Koenkk/zigbee2mqtt#18086
5016e9f
Added!
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Sorry, something went wrong.
No branches or pull requests
Link
https://www.xiaoyan.io/en-us/wallswitch-noneutral/
Database entry
{"id":23,"type":"EndDevice","ieeeAddr":"0x8cf681fffe0db1d3","nwkAddr":26370,"manufId":4648,"manufName":"Xiaoyan","powerSource":"Mains (single phase)","modelId":"TERNCY-WS01-S4","epList":[1,2,3,4],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,3,6,32,64716],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TERNCY-WS01-S4"}},"genOta":{"attributes":{"currentFileVersion":161}},"genOnOff":{"attributes":{"onOff":1}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":1,"38":1}},"genPollCtrl":{"attributes":{"checkinInterval":480}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1},{"cluster":32,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":2,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":3,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":256,"inClusterList":[3,6,64716],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0}},"manuSpecificClusterAduroSmart":{"attributes":{"23":1,"25":1,"31":0,"32":0,"33":0,"35":0,"37":4,"38":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001cd43fdd","endpointID":1}],"configuredReportings":[],"meta":{}}},"hwVersion":3,"zclVersion":3,"interviewCompleted":true,"meta":{"configured":891847970},"lastSeen":1687427091121,"defaultSendRequestWhen":"fastpoll","checkinInterval":120}
Comments
it is working for just simple on/off switch.
product image below for new device support. thanks
https://ae01.alicdn.com/kf/H23dac3b8a2214442b0e5f20d7db5ea61z/Terncy-Zigbee-smart-wall-light-switch-1-4-gang-ON-OFF-light-switch-86x86-mm-support.png
External converter
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: