-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
external converter does not work #2376
Comments
Please read the log of the startup of the system. There should be an indication why the converter is not loaded. A. |
I'm so stupid. I could have thought of that myself. External converter /opt/iobroker/iobroker-data/zigbee_0/lupus_WSS.js contains an unsupported reference to '/lib/legacy' - external converter not loaded. The syntax is probably wrong but what do I have to change?
...this works in z2m J.R. |
OK. I don't think I need Legacy. But now I'm getting these warnings. | warn | ELEVATED I2: value generated '10' from device 00124b001ff634dc for 'Link quality' And at the touch of a button, for example: | warn | ELEVATED I2: value generated 'true' from device 00124b001ff634dc for 'recall_4' J.R. |
check the state zigbee.0.info.debugmessages. You seem to have added part of the IEEE of the device ( A. |
This is true........ Thanks J.R. |
describe the problem in Detail. What do you expect to happen ? What does happen ?
My converter, which I have running under HA zigbee2mqtt, still reports the device as not supported under iobroker.zigbee. What is the error?
const herdsman = require('zigbee-herdsman');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const fz = { ...require("zigbee-herdsman-converters/converters/fromZigbee"), legacy: require("zigbee-herdsman-converters/lib/legacy").fromZigbee};
const tz = require("zigbee-herdsman-converters/converters/toZigbee");
const exposes = require("zigbee-herdsman-converters/lib/exposes");
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['WSS-4E_00.00.03.08TC'],
model: 'WSS-4E_00.00.03.08TC',
vendor: 'ClimaxTechnology',
description: "Wall switch with 4 buttons",
fromZigbee: [fz.command_recall, fz.battery],
toZigbee: [],
exposes: [e.battery_low(), e.action(['recall_1', 'recall_2', 'recall_3', 'recall_4'])],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genScenes', 'genPowerCfg']);
},
};
module.exports = definition;
Adapter version
13.7.4.4
Coordinator firmware version
FW 7.2.x.x
Coordinator
SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2
Setup
Raspberry Pi 4B
Protocol of the error (as text, encapsulated in multiline code tags <>). Separate different occurrances into clearly split log sections
No response
The text was updated successfully, but these errors were encountered: