-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to configure - UNREPORTABLE-ATTRIBUTE - LeGrand 412171 #7831
Comments
And forgot to say - thanks for an awesome piece of software! |
Does the power reporting work? |
Partially. It appears to be reporting valid values for 'power' and 'power_apparent'. 'current' and 'voltage' are constantly shown as zero in the UI. I have verified that power and power_apparent are changing in response to loads being added/removed. I have not seen non-zero values for current or voltage. For completeness, here is a representative 'state' output: Note 1: It is worth noting that I have also seen it report zero for power, when there should have been a small load of a few Watts. I mention this just in case someone sees a zero for power and thinks that value is not being reported. I have seen it report 1W for power, so I know it does report low values (but I haven't checked the actual load, so I dont know how accurate this is). |
It's not something you can set on the device, as you can see the device returns |
Yes, I think you are correct. If I attempt to write any of the voltage/divisor attributes (including acPowerMultiplier, which has a non-zero value) I get a READ_ONLY error. How can I test removing the rmsVoltage and rmsCurrent attributes from the device configuration (assuming that this might be the root cause of the original UNREPORTABLE_ATTRIBUTE error above)? I am pretty sure I have found the current definition in /node_modules/zigbee-herdsman-converters/devices/legrand.js. Do I have to modify this in-place, or can I override this definition somehow? (Note that I will be out of contact for a few weeks, so dont expect a quick update). Thanks again for all your help. |
This should be disabled with the following ext converter: https://gist.github.com/Koenkk/e55c624617f8ecb0af52bb31bec4a929
external_converters:
- ext_converter.js
|
That seems to work. In particular, when I re-add the device using that new converter, I get:
Reporting is then configured with OnOff/onOff and haElectricalMeasurement/activePower. Note that on the 'Exposes' page it is still showing acVoltage and acCurrent as 'null'. When I revert back to use the original converter, I get:
Reporting shows no elements configured to report. Note that on the 'Exposes' page it shows acVoltage and acCurrent as '0' rather than 'null'. As far as I can tell, that means success. Question: Can we update the custom converter to suppress the acVoltage and acCurrent attributes, or will that run the risk of degrading functionality for other devices (that identify using the same model strings)? |
Could you provide a screenshot of this? |
Found and fixed the issue! Changes will be available in the dev branch in a few hours from now. |
Thanks for this, much appreciated. Do any changes need to be committed for the actual device (devices/legrand.ts), or is that custom converter you shared with me a one-off for my specific variant? |
No, it was fixed somewhere else (the device code was correct). You can remove the external converter, the issue itself will be fixed after the next z2m release. |
I understand. Thanks again.
…On Thu, 5 Sept 2024, 11:17 pm Koen Kanters, ***@***.***> wrote:
Do any changes need to be committed for the actual device
(devices/legrand.ts)
No, it was fixed somewhere else (the device code was correct). You can
remove the external converter, the issue itself will be fixed after the
next z2m release.
—
Reply to this email directly, view it on GitHub
<#7831 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXJK6HUWPH2OZUXVKOIXBTZVA4SVAVCNFSM6AAAAABMDGCJWWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZRGI2TSNJZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi there,
I have 2x Legrand 412171 (DIN rail mounted contactors - NZ, 230V). Both of them are giving 'Failed to configure' errors, however they seem to be working in Z2M with basic functionality. Z2M is identifying them as:
https://www.zigbee2mqtt.io/devices/412171.html#legrand-412171
The error I am receiving is:
2024-08-07 09:40:06Failed to configure 'R19 HTR Studio Guest', attempt 3 (Error: ZCL command 0x000474000084bf94/1 haElectricalMeasurement.configReport([{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":5,"attribute":"activePower"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":null,"attribute":"rmsCurrent"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":null,"attribute":"rmsVoltage"}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNREPORTABLE_ATTRIBUTE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:315:28) at Endpoint.zclCommand (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:770:26) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:556:9) at setupAttributes (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:76:13) at result.configure (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:1482:29) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:172:21) at Configure.configure (/app/lib/extension/configure.ts:121:13) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))
Formatted payload is:
[{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":5,"attribute":"activePower"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":null,"attribute":"rmsCurrent"},{"minimumReportInterval":10,"maximumReportInterval":65000,"reportableChange":null,"attribute":"rmsVoltage"}],{"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}
Running Zigbee2MQTT(1.37.1 commit: ea39d86) via a docker container, have about 60 other Zigbee devices that are working fine.
Please let me know any other information you require.
The text was updated successfully, but these errors were encountered: