Skip to content
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

Add missing apparentPower attribute for some Legrand devices #5277

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

pierrepinon
Copy link
Contributor

In addition with the PR #5264, Legrand 064882 device (Cable outlet with pilot wire and consumption measurement) also exposed "apparent_power" in "haElectricalMeasurement" cluster

Log from my Z2M instance

Received Zigbee message from 'Radiateur Chambre', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"apparentPower":0}' from endpoint 1 with groupID 0

@pierrepinon
Copy link
Contributor Author

pierrepinon commented Jan 5, 2023

Also added missing reporting configuration for apparentPower for 067775 and 412015

@Koenkk
Copy link
Owner

Koenkk commented Jan 6, 2023

Can you remove the changes done to package-lock.json?

@pierrepinon pierrepinon closed this Jan 6, 2023
@pierrepinon pierrepinon reopened this Jan 6, 2023
@pierrepinon pierrepinon changed the title Exposed apparent power for Legrand 064882 Add missing apparentPower attribute for some Legrand devices Jan 6, 2023
@pierrepinon
Copy link
Contributor Author

@Koenkk I cleaned my commit

@Koenkk Koenkk merged commit 92013bf into Koenkk:master Jan 6, 2023
@Koenkk
Copy link
Owner

Koenkk commented Jan 6, 2023

Thanks!

@Ivano62
Copy link

Ivano62 commented Feb 1, 2023

On my Legrand 412015 doesn't work (1.30.0-dev commit: [ea0a999]).
About
State
Reporting

This the log:
Zigbee2MQTT:error 2023-02-01 19:47:50: Publish 'set' 'read' to 'powerMeter' failed: 'Error: Read 0x0004740000a11c40/1 haElectricalMeasurement(["apparentPowerPhC"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Zigbee2MQTT:error 2023-02-01 19:48:06: Publish 'set' 'read' to 'powerMeter' failed: 'Error: Read 0x0004740000a11c40/1 haElectricalMeasurement(["apparentPowerPhB"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Zigbee2MQTT:error 2023-02-01 19:48:47: Publish 'set' 'read' to 'powerMeter' failed: 'Error: Read 0x0004740000a11c40/1 haElectricalMeasurement(["apparentPower"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Zigbee2MQTT:error 2023-02-01 19:49:28: Publish 'set' 'read' to 'powerMeter' failed: 'Error: Read 0x0004740000a11c40/1 haElectricalMeasurement(["totalApparentPower"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'
Zigbee2MQTT:error 2023-02-01 19:54:21: Publish 'set' 'read' to 'powerMeter' failed: 'Error: Read 0x0004740000a11c40/1 haElectricalMeasurement(["apparentPower"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

@pierrepinon
Copy link
Contributor Author

@Ivano62 Update your firmware device to latest version

@Ivano62
Copy link

Ivano62 commented Feb 1, 2023

@pierrepinon How should I do? OTA update is not possible. Thanks

@pierrepinon
Copy link
Contributor Author

You can use official Legrand gateway or fond someone to get file from Legrand device.

@Ivano62
Copy link

Ivano62 commented Feb 1, 2023

Ok. This is a problem, unfortunately I haven't official Legrand gateway

@Ivano62
Copy link

Ivano62 commented Feb 2, 2023

There seems to be no updated version for the Legrand 412015, this is what tech support told me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants