-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Bitron AV2010/25 (watt comsumption wrong) #5399
Comments
Fixed. Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
Can you try experimenting with the divisor and check when you get correct values? To do this update devices.js and edit the {
zigbeeModel: ['902010/25'],
model: 'AV2010/25',
vendor: 'Bitron',
description: 'Video wireless socket',
fromZigbee: [fz.on_off, fz.metering],
toZigbee: [tz.on_off],
exposes: [e.switch(), e.power()],
meta: {configureKey: 3},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'seMetering']);
await reporting.instantaneousDemand(endpoint);
endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1});
},
}, See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify devices.js |
Energy is the sum of the measured power in kWh, I've fixed the divisor. |
Hi
Please, could you fix the value in "watt" ? Since latest version in dev branch, I have some wrong values. I think you forget a division by 10 :)
Thank you :)
The text was updated successfully, but these errors were encountered: