Zigbee2mqtt coding new device

I know it shall not be discussed here but I love the community here

const definition = {
    zigbeeModel: ['HS8OS-EF1-3.0'],
    model: 'HS8OS-EF1-3.0',
    vendor: 'HEIMAN',
    description: 'Automatically generated definition',
        extend: [illuminance({"endpointNames":["1"]}), occupancy(0x0406), identify()],
    meta: {},
};

The HEIMAN people were friendly enough to supply the API and I was able to put the code of occupancy and it works fine

but need to add the rest of the clusters any help how to code that?

EP1 Cluster IDs

ClusterID ClusterName Client/Server Comment
0x0000 Basic Server
0x0003 Identify Server
0x0006 On/Off Client
0x000A Time Server
0x0400 Illuminance Measurement Server
0x0406 Occupancy Sensing Server
0x0B05 Diagnostics cluster Server
0x0019 OTA Client
0xFC8B Radar sensor Server

thanks in advance

const {illuminance, occupancy, identify} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['HS8OS-EF1-3.0'],
    model: 'HS8OS-EF1-3.0',
    vendor: 'HEIMAN',
    description: 'Automatically generated definition',
    extend: [illuminance({"0x0400":["1"]}), occupancy({"0x0406":["1"]}), identify({"0x0003":["1"]})],
    meta: {},
};

module.exports = definition;

getting better ut still needs work

You might get better help if you posted a device support request in the Z2MQTT GitHub mate.

You’d probably want to post there anyway once you get this figured out, so your custom converter can be merged in for everyone else to use. Might as well do it now rather than later

2 Likes

definetly need this one!