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

[New device support]: Vizo scene button #24128

Open
timmy31204 opened this issue Sep 28, 2024 · 0 comments
Open

[New device support]: Vizo scene button #24128

timmy31204 opened this issue Sep 28, 2024 · 0 comments
Labels
new device support New device support request

Comments

@timmy31204
Copy link

Link

https://vizo.com.tw/1sceneswitch/

Database entry

{"id":35,"type":"EndDevice","ieeeAddr":"0xdc8e95fffec2454f","nwkAddr":21756,"manufId":4098,"manufName":"_TZ3000_9dh0aauu","powerSource":"Battery","modelId":"TS004F","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,1,3,4,6,4096,57345],"outClusterList":[25,10,3,4,6,8,4096],"clusters":{"genBasic":{"attributes":{"modelId":"TS004F","manufacturerName":"_TZ3000_9dh0aauu","stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1727524475580}

Zigbee2MQTT version

1.40.1

Comments

const {battery, onOff, commandsOnOff, commandsLevelCtrl} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
zigbeeModel: ['TS004F'],
model: 'TS004F',
vendor: '_TZ3000_9dh0aauu',
description: 'Automatically generated definition',
extend: [battery(), onOff({"powerOnBehavior":false}), commandsOnOff(), commandsLevelCtrl()],
meta: {},
};

module.exports = definition;

This new button was find but "unsupported", please help me how to use it - insert. tks

Similar Tuya devices of the same type
https://moeshouse.com/products/waterproof-zigbee-scene-switch
https://www.immax.eu/immax-neo-smart-outdoor-button-ip55-zigbee-p17655/

External definition

const {} = require('zigbee-herdsman-converters/lib/modernExtend');
// Add the lines below
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const {} = require('zigbee-herdsman-converters/lib/tuya');
const e = exposes.presets;

const definition =
{
    fingerprint: [
        {
            modelID: 'TS004F',
            manufacturerName: '_TZ3000_9dh0aauu'
    }],
    model: 'NEO Smart',
    vendor: 'Immax',
    description: 'Outdoor switch with 1 button',
    exposes: [e.battery(), e.action(['single', 'double', 'hold'])],
    fromZigbee: [fz.battery, fz.tuya_on_off_action],
    toZigbee: [],
    configure: tuya.configureMagicPacket,
};

module.exports = definition;

What does/doesn't work with the external definition?

This new button was find but "unsupported", please help me how to use it - insert. tks

Similar Tuya devices of the same type
https://moeshouse.com/products/waterproof-zigbee-scene-switch
https://www.immax.eu/immax-neo-smart-outdoor-button-ip55-zigbee-p17655/

@timmy31204 timmy31204 added the new device support New device support request label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet
Development

No branches or pull requests

1 participant