|
求助大神帮忙把小燕 Terncy 墙壁开关接入
https://www.xiaoyan.io/zh-cn/wallswitch-noneutral/
目前被接入的小燕产品如下
{
zigbeeModel: ['TERNCY-DC01'],
model: 'TERNCY-DC01',
vendor: 'TERNCY',
description: 'Temperature & contact sensor ',
supports: 'temperature, contact',
fromZigbee: [fz.terncy_temperature, fz.terncy_contact],
toZigbee: [],
},
{
zigbeeModel: ['TERNCY-PP01'],
model: 'TERNCY-PP01',
vendor: 'TERNCY',
description: 'Awareness switch',
supports: 'temperature, occupancy, illuminance, click, double click, triple click',
fromZigbee: [
fz.terncy_temperature, fz.occupancy_with_timeout,
fz.illuminance, fz.terncy_raw, fz.battery_not_divided,
],
toZigbee: [],
},
{
zigbeeModel: ['TERNCY-SD01'],
model: 'TERNCY-SD01',
vendor: 'TERNCY',
description: 'Knob smart dimmer',
supports: 'single, double and triple click, rotate',
fromZigbee: [fz.terncy_raw, fz.terncy_knob, fz.battery_not_divided],
toZigbee: [],
},
我修改了 devices.js 把 TERNCY-WS01-S2 接入,可是还需要修改 fromzigbee.js 来解决 no converter 问题。
技术有限,恳请各位有经验大神指教。
Log: https://pastebin.com/e3YDAtiV
|
|