-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Link
Apologies, I could not get the vendor site to load to find their direct URL.
https://www.amazon.com/ERIA-Equivalent-Dimmable-Philips-Assistant/dp/B07ZDHNN5M
Database entry
{"id":15,"type":"Router","ieeeAddr":"0x00158d008b1f91b7","nwkAddr":17414,"manufId":4151,"manufName":"ERIA","powerSource":"Mains (single phase)","modelId":"AD-BR3RGBW3001","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":269,"inClusterList":[0,4,3,6,8,5,768,4096,2821],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"AD-BR3RGBW3001","manufacturerName":"ERIA","powerSource":1,"zclVersion":8,"appVersion":1,"stackVersion":1,"hwVersion":1,"dateCode":"20240718","swBuildId":"02000015"}},"lightingColorCtrl":{"attributes":{"colorCapabilities":31,"colorTempPhysicalMin":153,"colorTempPhysicalMax":500,"colorMode":1,"currentX":26148,"currentY":25034,"enhancedCurrentHue":0,"currentSaturation":0,"colorTemperature":357}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":254}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":102,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":1,"stackVersion":1,"hwVersion":1,"dateCode":"20240718","swBuildId":"02000015","zclVersion":8,"interviewCompleted":true,"meta":{"configured":332242049},"lastSeen":1738236504917}
Zigbee2MQTT version
2.0.0
Comments
While I am relatively new to automation, Z2M, embedded programming, and this codebase, I have quite a few years of development experience under my belt. I am getting lost because the file names and directories in the guide do not match what I am seeing in the file system (over SAMBA). There are some things that I have been able to find, like the Database entry above, but it is unclear how and where an external definition can be placed, as the "external_converters" folder does not exist in my instance. Were there structural / architectural changes across the major version bump, 1.x => 2.0 that rendered the guide out of date, or is this one of those "not created by default, you create it when you need it" sort of scenarios?
I searched the repo and found the existing 81809/81813 v1 converter in ardurosmart.ts, and it seems that another zigbeeModel needs to be added to the array. But again, I am unsure where to make that change to see it realized.
External definition
const {light} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['AD-BR3RGBW3001'],
model: 'AD-BR3RGBW3001',
vendor: 'ERIA',
description: 'Automatically generated definition',
extend: [light({"colorTemp":{"range":[153,500]},"color":{"modes":["xy","hs"],"enhancedHue":true}})],
meta: {},
};
module.exports = definition;
What does/doesn't work with the external definition?
Unsure of where to put it. As described above, the guide seems to be for an older 1.x version..?