[External Converter]: TS0601 from _TZE284_u15pabbc
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.7k
- Forks
- 2k
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 35
Description
Link
https://www.ozsmartthings.com.au/products/zigbee-single-light-switch-all-white
Database entry
{"id":4,"type":"Router","ieeeAddr":"0xa4c138561ef9c4a4","nwkAddr":57202,"manufId":4417,"manufName":"_TZE284_u15pabbc","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0,60672],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"W\b\u0000\u0000e-\u0000\u0000\u0000\u0012X\b\u0000\u0000\u0012�/\u0000\u0000e\u0016\u0000\u0000\u0000\u0012V\b\u0000\u0000e�/\u0000\u0000\u0012�\u0000\u0000\u0000e","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE284_u15pabbc","powerSource":1,"zclVersion":3,"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1784772221947}
Zigbee2MQTT version
2.12.1 (unknown)
External converter
import * as tuya from 'zigbee-herdsman-converters/lib/tuya';
import * as exposes from 'zigbee-herdsman-converters/lib/exposes';
const e = exposes.presets;
export default {
fingerprint: [
{modelID: 'TS0601', manufacturerName: '_TZE284_u15pabbc'},
],
model: 'OZSMART-ZIG-1WW',
vendor: 'OZ Smart Things',
description: 'Zigbee Single Switch (1 gang)',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [
e.switch(),
],
meta: {
tuyaDatapoints: [
[1, 'state', tuya.valueConverter.onOff],
],
},
};
What does/doesn't work with the external definition?
Basic single gang switch.
Notes
software_build_id: undefined
date_code: ``
endpoints:
{"1":{"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic","60672"],"output":["genOta","genTime"]}},"242":{"clusters":{"input":[],"output":["greenPower"]}}}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing existing Tuya TS0601 converter definitions and the tuya.fz.datapoints and tuya.tz.datapoints entry points. Use the supplied fingerprint, single switch expose, and datapoint 1 mapping as the target; done means the OZSMART-ZIG-1WW is supported without the external converter and its basic switch control works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100