[New device support]: 555853 from ENVILAR

Open Beginner friendly
#33,674 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by searching the device definitions for model 555853 and compare the supported endpoint configuration with the reported two usable endpoints. Check how the definition creates exposes for endpoints 1–4, then adjust the mapping and verify that only two dimmer endpoints are exposed. The issue names no specific file or test; done means the device appears as ENVILAR and exposes two endpoints.

Written by the indexing model from the issue text.

Description

new device support
Link

https://www.sunricher.com/2-channels-zigbee-to-triac-dimmer-sr-zg9101sac-hp2.html

Database entry

{"id":61,"type":"Router","ieeeAddr":"0xb0e8e8fffe19d692","nwkAddr":58996,"manufId":4107,"manufName":"ENVILAR","powerSource":"Mains (single phase)","modelId":"555853","epList":[1,2,3,4,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[0,3,4,5,6,8,2821,4096],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"555853","manufacturerName":"ENVILAR","powerSource":1,"zclVersion":3,"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"NULL","swBuildId":"2.9.2_r55"}},"genOnOff":{"attributes":{"onOff":0}},"manuSpecificPhilips2":{"attributes":{}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":257,"inClusterList":[0,3,4,5,6,8,4096],"outClusterList":[],"clusters":{"manuSpecificPhilips2":{"attributes":{}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":65535,"inClusterList":[0,3,4,5,6,8,4096],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":65535,"inClusterList":[0,3,4,5,6,8,4096],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":102,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"NULL","swBuildId":"2.9.2_r55","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1794425983113}

Zigbee2MQTT version

2.14.3 (unknown)

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

export default {
    zigbeeModel: ['555853'],
    model: '555853',
    vendor: 'ENVILAR',
    description: 'Automatically generated definition',
    extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4}}), m.identify(), philips.m.light({"endpointNames":["1","2","3","4"]}), philips.m.light({"endpointNames":["1","2","3","4"]}), philips.m.light({"endpointNames":["1","2","3","4"]}), philips.m.light({"endpointNames":["1","2","3","4"]})],
};
What does/doesn't work with the external definition?

The Sunricher dimmer shows up as a Envilar. The external definition works but shows 4 endpoints, it should only have 2.

Notes

software_build_id: 2.9.2_r55
date_code: NULL
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","haDiagnostic","touchlink"],"output":["genOta"]},"configured_reportings":[],"name":"1","scenes":[]},"2":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","touchlink"],"output":[]},"configured_reportings":[],"name":"2","scenes":[]},"3":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","touchlink"],"output":[]},"configured_reportings":[],"name":"3","scenes":[]},"4":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","genLevelCtrl","touchlink"],"output":[]},"configured_reportings":[],"name":"4","scenes":[]},"242":{"bindings":[],"clusters":{"input":["greenPower"],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Dominant language
TypeScript
Stars
15.8k
Forks
2.1k
Avg merge
1d 6h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.