urlu75
urlu75
## Current Behavior with ELRSv3.lua, when selecting other device and then ArduPilot device, always get this error Script syntax error ?:0 attempt to index field '?' (a nil value) Getting...
### Link https://www.sunricher.com/ ### Database entry {"id":29,"type":"Router","ieeeAddr":"0x187a3efffe6a520e","nwkAddr":7795,"manufId":4644,"manufName":"Sunricher","powerSource":"Mains (single phase)","modelId":"HK-ZD-DIM-A","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":257,"inClusterList":[0,3,4,5,6,8,65535,2821,4096],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"34819":0,"modelId":"HK-ZD-DIM-A","manufacturerName":"Sunricher","powerSource":1,"zclVersion":3,"appVersion":0,"stackVersion":0,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r75"}},"genOnOff":{"attributes":{"onOff":1}},"genLevelCtrl":{"attributes":{"currentLevel":254,"onLevel":255}},"genOta":{"attributes":{"currentFileVersion":75}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":8,"attrId":0,"minRepIntval":5,"maxRepIntval":65000,"repChange":1}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":102,"inClusterList":[33],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":0,"hwVersion":1,"dateCode":"NULL","swBuildId":"2.9.2_r75","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1766569709871} {"id":30,"type":"EndDevice","ieeeAddr":"0x0ceff6fffe6d3342","nwkAddr":37252,"manufId":4644,"manufName":"Sunricher","powerSource":"Battery","modelId":"ZGRC-KEY-047","epList":[1,2,3,4],"endpoints":{"1":{"profId":260,"epId":1,"devId":1,"inClusterList":[0,1,3,2821,4096],"outClusterList":[3,4,5,6,8,25,768,4096],"clusters":{"genBasic":{"attributes":{"modelId":"ZGRC-KEY-047","manufacturerName":"Sunricher","powerSource":3,"zclVersion":3,"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"NULL","swBuildId":"2.7.6_r27"}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":65000,"repChange":10}],"meta":{}},"2":{"profId":260,"epId":2,"devId":1,"inClusterList":[0,1,3,2821,4096],"outClusterList":[3,4,5,6,8,25,768,4096],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"hwVersion":0}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1}],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":1,"inClusterList":[0,1,3,2821,4096],"outClusterList":[3,4,5,6,8,25,768,4096],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"hwVersion":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1}],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":1,"inClusterList":[0,1,3,2821,4096],"outClusterList":[3,4,5,6,8,25,768,4096],"clusters":{"genBasic":{"attributes":{"appVersion":0,"stackVersion":0,"hwVersion":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x187a3efffe3947f4","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"NULL","swBuildId":"2.7.6_r27","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1766557492663} ### Zigbee2MQTT version 2.7.1 (unknown) ### External definition ```JavaScript import * as m from 'zigbee-herdsman-converters/lib/modernExtend'; export default { zigbeeModel: ['ZGRC-KEY-047'],...