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

Ledron LightWizar Zigbee(_TZ3000_zwszqdpy) #22067

Closed
dinamik1488 opened this issue Apr 3, 2024 · 2 comments
Closed

Ledron LightWizar Zigbee(_TZ3000_zwszqdpy) #22067

dinamik1488 opened this issue Apr 3, 2024 · 2 comments
Labels
problem Something isn't working

Comments

@dinamik1488
Copy link

dinamik1488 commented Apr 3, 2024

What happened?

dont work in 19.13.0

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

It is not defined.
https://github.com/Koenkk/zigbee-herdsman-converters/pull/7309
But it works with such a converter
const tuya = require('zigbee-herdsman-converters/lib/tuya');
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 e = exposes.presets;
const ea = exposes.access;

const definition = {
fingerprint: [{modelID: 'TS1002', manufacturerName: '_TZ3000_zwszqdpy'}],
model: 'YK-16',
vendor: 'Ledron',
description: 'RGB+CCT Remote',
fromZigbee: [fz.battery, fz.command_on, fz.command_off, fz.command_move_to_level, fz.command_move_to_color_temp, fz.command_step_color_temperature, fz.command_step],
toZigbee: [],
exposes: [e.battery(), e.battery_voltage(), e.action(['on', 'off', 'brightness_move_to_level', 'color_temperature_move'])],
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
await endpoint.command('genGroups', 'miboxerSetZones', {zones: [
{zoneNum: 1, groupId: 101},
{zoneNum: 2, groupId: 102},
{zoneNum: 3, groupId: 103},
{zoneNum: 4, groupId: 104},
{zoneNum: 5, groupId: 105},
{zoneNum: 6, groupId: 106},
{zoneNum: 7, groupId: 107},
{zoneNum: 8, groupId: 108},
]});
await endpoint.command('genBasic', 'tuyaSetup', {}, {disableDefaultResponse: true});
},
};

module.exports = definition;

Zigbee2MQTT version

1.36.1-dev

Adapter firmware version

20230507

Adapter

cc2652 sonoff dongle-p

Setup

Beelink u5700

Debug log

No response

@dinamik1488 dinamik1488 added the problem Something isn't working label Apr 3, 2024
@dinamik1488 dinamik1488 reopened this Apr 3, 2024
@dinamik1488 dinamik1488 changed the title Ledron LightWizar Zigbee Ledron LightWizar Zigbee(_TZ3000_zwszqdpy) Apr 3, 2024
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Apr 4, 2024
@Koenkk
Copy link
Owner

Koenkk commented Apr 4, 2024

Fixed!

Changes will be available in the dev branch in a few hours from now.

@dinamik1488
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants