-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
_TZ3000_dlug3kbc Should be ZIGBEE-B09-UK #17387
Comments
Fixed! 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) |
Thanks for your quick reponse! I have just updated the hassio version of edgr branch and the problem persists, do you have any tips to rectify that? |
What zigbee2mqtt version is listed under z2m frontend -> settings -> about? |
Hey, thanks again for your response. |
I forgot to update it, when you update to the latest edge it should work (uninstall -> install the addon) |
Just did, it now recognizes correctly, thanks! however there are two states exposed, state_l1 and state_l2, with each referring to the 2 USB ports on the device, there's no way to control the AC outlet, am I missing some configurations? |
Can you provide the |
Sure thing. Here it is
|
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 utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
fingerprint: tuya.fingerprint('TS011F', ['_TZ3000_zigisuyh', '_TZ3000_v4mevirn', '_TZ3000_mlswgkc3', '_TZ3000_dlug3kbc']),
model: 'ZIGBEE-B09-UK',
vendor: 'Zemismart',
description: 'Zigbee smart outlet universal socket with USB port',
extend: tuya.extend.switch({powerOutageMemory: true, endpoints: ['l1', 'l2', 'l3']}),
endpoint: (device) => {
return {'l1': 1, 'l2': 2, 'l3': 3};
},
meta: {multiEndpoint: true},
configure: async (device, coordinatorEndpoint, logger) => {
await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
await reporting.onOff(device.getEndpoint(1));
await reporting.onOff(device.getEndpoint(2));
await reporting.onOff(device.getEndpoint(3));
},
};
module.exports = definition;
external_converters:
- ext_converter.js
|
Hey, that did it, you're fantastic. L1 and L2 are the USB and L3 is the AC outlet. Cheers. |
Great, added, you can keep using the external converter until updating to the next release. |
Link
https://shopee.com.my/Tuya-Smart-Wall-Socket-Combo-QC3.0-USB-Charging-Port-WiFi-ZigBee-works-with-Smart-Life-Google-Home-Alexa-Home-Assistant2-i.272772351.12002744288
Database entry
0xa4c1387cf8a088c2
Comments
After pairing, it shows up as TS011F_plug_1 rather than Zemismart ZIGBEE-B09-UK (The model I purchased looked exactly like it)
Zigbee Model
TS011F
Zigbee Manufacturer
_TZ3000_dlug3kbc
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: