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

Add request for some Heiman devices #824

Closed
OXOTH1K opened this issue Dec 17, 2019 · 5 comments
Closed

Add request for some Heiman devices #824

OXOTH1K opened this issue Dec 17, 2019 · 5 comments

Comments

@OXOTH1K
Copy link

OXOTH1K commented Dec 17, 2019

Its work for me

    {
        zigbeeModel: ['SOHM-I1'],
        model: 'SOHM-I1',
        vendor: 'HEIMAN',
        description: 'Heiman door open sensor',
        supports: 'contact',
        fromZigbee: [fz.ias_contact_alarm_1],
        toZigbee: [],
    },
    {
        zigbeeModel: ['SWHM-I1'],
        model: 'SWHM-I1',
        vendor: 'HEIMAN',
        description: 'Water leakage sensor',
        supports: 'water leak',
        fromZigbee: [fz.ias_water_leak_alarm_1],
        toZigbee: [],
    },
    {
        zigbeeModel: ['SMHM-I1'],
        model: 'SMHM-I1',
        vendor: 'HEIMAN',
        description: 'Smart motion sensor',
        supports: 'occupancy',
        fromZigbee: [fz.iaszone_occupancy_1],
        toZigbee: [],
    },
@Koenkk
Copy link
Owner

Koenkk commented Dec 19, 2019

Could you provide an url to for each device? (need pictures and a proper model for the docs, based on the model I cannot find them on google).

@OXOTH1K
Copy link
Author

OXOTH1K commented Dec 20, 2019

I'ts clone for equal devices:
https://www.zigbee2mqtt.io/devices/HS1DS-E.html
https://www.zigbee2mqtt.io/devices/HS1WL_HS3WL.html
https://www.zigbee2mqtt.io/devices/HS3MS.html

And i have one more device, power plug:

    {
        zigbeeModel: ['SKHMP30-I1'],
        model: 'SKHMP30-I1',
        description: 'Smart metering plug',
        supports: 'on/off, power measurement',
        vendor: 'HEIMAN',
        fromZigbee: [fz.on_off, fz.HS2SK_power],
        toZigbee: [tz.on_off],
        meta: {configureKey: 3},
        configure: async (device, coordinatorEndpoint) => {
            const endpoint = device.getEndpoint(1);
            await bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement']);
            await configureReporting.onOff(endpoint);
            await configureReporting.rmsVoltage(endpoint);
            await configureReporting.rmsCurrent(endpoint);
            await configureReporting.activePower(endpoint);
        },
    },

https://www.zigbee2mqtt.io/devices/HS2SK.html

Koenkk added a commit that referenced this issue Dec 23, 2019
@Koenkk
Copy link
Owner

Koenkk commented Dec 23, 2019

Added them, thanks!

@Koenkk Koenkk closed this as completed Dec 23, 2019
@OXOTH1K
Copy link
Author

OXOTH1K commented Feb 1, 2020

Hello Again. I was add some devices.

    {
        zigbeeModel: ['SGMHM-I1'],
        model: 'SGMHM-I1',
        vendor: 'HEIMAN',
        description: 'Combustible gas sensor',
        supports: 'gas',
        fromZigbee: [fz.ias_gas_alarm_1],
        toZigbee: [],
    },
    {
        zigbeeModel: ['BDHM8E27W70-I1'],
        model: 'BDHM8E27W70-I1',
        vendor: 'GS',
        description: 'Active light, warm to cool white (E27 & B22)',
        extend: generic.light_onoff_brightness_colortemp,
    },
    {
        zigbeeModel: ['STHM-I1H'],
        model: 'STHM-I1H',
        vendor: 'HEIMAN',
        description: 'Heiman temperature & humidity sensor',
        supports: 'temperature and humidity',
        fromZigbee: [fz.temperature, fz.humidity, fz.battery_3V],
        toZigbee: [],
        meta: {configureKey: 1},
        configure: async (device, coordinatorEndpoint) => {
            const endpoint = device.getEndpoint(1);
            await bind(endpoint, coordinatorEndpoint, ['msTemperatureMeasurement', 'msRelativeHumidity', 'genPowerCfg']);
            await configureReporting.temperature(endpoint);
            await configureReporting.humidity(endpoint);
            await configureReporting.batteryVoltage(endpoint);
        },
    },

The last device work with this code on the beginning of file devices.json:

    humidity: async (endpoint) => {
        const payload = [{
            attribute: 'measuredValue',
            minimumReportInterval: 0,
            maximumReportInterval: repInterval.HOUR,
            reportableChange: 25,
        }];
        await endpoint.configureReporting('msRelativeHumidity', payload);
    },

First i'ts clone for equal devices:
https://www.zigbee2mqtt.io/devices/HS1CG-M.html
And the seconds:
https://www.gs.ru/catalog/umnyy-dom/umnaya-lampa-gs-bdhm8e27w70-i1/
http://www.heimantech.com/product/86.html

@Koenkk
Copy link
Owner

Koenkk commented Feb 1, 2020

@OXOTH1K added, thanks!

xmow49 pushed a commit to xmow49/zigbee-herdsman-converters that referenced this issue Jun 14, 2024
Co-authored-by: Kevin Balthaser <kevin@nybblebyte.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants