Koenkk / Koenkk/zigbee2mqtt

[New device support]: TS0215A from _TZ3000_dfvj5rhb

Open Beginner friendly
#32,938 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new device support
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

Link

https://shopee.co.th/Watashi-%E0%B8%8A%E0%B8%B8%E0%B8%94-smart-iot-%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B8%82%E0%B9%82%E0%B8%A1%E0%B8%A2-Tuya-smart-home-%E0%B8%A3%E0%B8%B2%E0%B8%84%E0%B8%B2%E0%B8%9E%E0%B8%B4%E0%B9%80%E0%B8%A8%E0%B8%A9-i.219218903.40069245685?extraParams=%7B%22display_model_id%22%3A276574332858%2C%22model_selection_logic%22%3A2%7D

Database entry

{"id":31,"type":"EndDevice","ieeeAddr":"0x8cf681fffed1b22a","nwkAddr":8681,"manufId":4098,"manufName":"_TZ3000_dfvj5rhb","powerSource":"Battery","modelId":"TS0215A","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1025,"inClusterList":[0,1,3,1280],"outClusterList":[25,10,1281],"clusters":{"genBasic":{"attributes":{"modelId":"TS0215A","manufacturerName":"_TZ3000_dfvj5rhb","powerSource":3,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0029e7deb2","zoneState":1}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b0029e7deb2","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":65000,"repChange":10}],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1787750174661}

Zigbee2MQTT version

2.13.0 (unknown)

External definition
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['TS0215A'],
    model: 'TS0215A',
    vendor: '_TZ3000_dfvj5rhb',
    description: 'Automatically generated definition',
    extend: [m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})],
};
What does/doesn't work with the external definition?

help me to add this device

Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b0029e7deb2","type":"endpoint"}}],"clusters":{"input":["genBasic","genPowerCfg","genIdentify","ssIasZone"],"output":["genOta","genTime","ssIasAce"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":65000,"minimum_report_interval":3600,"reportable_change":10}],"scenes":[]}}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the supplied external JavaScript definition for model TS0215A and compare it with existing device definitions using battery and IAS zone support. Verify the database entry and endpoint details, then add the device support so its battery and generic alarm attributes are exposed and confirm the definition handles this vendor and model.

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
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.