-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Jasco 43132 does not show Energy or Power values #12588
Comments
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This is still an active issue. |
Could you check if the issue is fixed with the following external converter: const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['43132'],
model: '43132',
vendor: 'Jasco',
description: 'Zigbee smart outlet',
extend: extend.switch(),
fromZigbee: [...extend.switch().fromZigbee, fz.metering],
exposes: [e.switch(), e.power()],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'seMetering']);
await reporting.onOff(endpoint);
await reporting.readMeteringMultiplierDivisor(endpoint);
await reporting.instantaneousDemand(endpoint);
},
};
module.exports = definition;
external_converters:
- ext_converter.js
|
@Koenkk aha, I figured out my issue, the above code example does work, I was editing the wrong configuration.yaml file (I was pointing at one in a/root/shared/zigbee2mqtt that is why I wasn't able to get it to work yesterday. I also found a way to include energy by providing the I landed with the following
@haforme notice working power and energy values now 🎉 |
cool, i've integrated the changes! Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
What happened?
According to the documentation the Jasco 43132 should report power and energy usage.
https://www.zigbee2mqtt.io/devices/43132.html#jasco-43132
The device joins the zigbee network without any issues but the power and energy readings always show null when the connected device is drawing power.
What did you expect to happen?
That the Energy and Power values be populated when the attached device is drawing power.
How to reproduce it (minimal and precise)
Join the device as normal and observe the values reported while a attached device is drawing power.
Zigbee2MQTT version
1.25.1-1
Adapter firmware version
0x26580700
Adapter
Conbee2
Debug log
No response
The text was updated successfully, but these errors were encountered: