-
-
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
HEIMAN SGMHM-I1 gas sensor is NOT working. #16879
Comments
I'm use Zigbee Home Automation. All working fine. Also lamp BRHM8E27W70-I1 is not working in zigbee2mqtt but work in Zigbee Home Automation. |
Can you provide the data/database.db entry of this device? |
|
For lamp BRHM8E27W70-I1 need add color temperature options. Because now only RGB mode support and impossible to switch lamp to "white light" mode. |
@OXOTH1K since you added the SGMHM-I1, can you make sure it detects gas properly with z2m 1.30.2? @dmg244 @xtaska 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 = {
zigbeeModel: ['SGMHM-I1'],
model: 'SGMHM-I1',
vendor: 'HEIMAN',
description: 'Combustible gas sensor',
fromZigbee: [fz.ias_gas_alarm_2],
toZigbee: [],
exposes: [e.gas(), e.battery_low(), e.tamper()],
};
module.exports = definition;
external_converters:
- ext_converter.js
@dmg244 regarding BRHM8E27W70, 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 = {
zigbeeModel: ['BRHM8E27W70-I1'],
model: 'BRHM8E27W70-I1',
vendor: 'GS',
description: 'Smart dimmable, RGB + white (E27 & B22)',
extend: extend.light_onoff_brightness_colortemp_color(),
};
module.exports = definition;
external_converters:
- ext_converter.js
|
Will try now. |
Yes both working now, but gas sensor don't have battery and tamper. It's AC powered device, don't have battery. |
@Koenkk with ext_converter.js the issue is fixed. |
Integrated the fixed and remove tamper and battery. Thanks! You can keep using the external converter until the next release. 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) |
Thank you! If possible correct description from "Combustible gas sensor" to "Methane gas sensor". (Like HEIMAN SGPHM-I1 have name "Propane gas sensor") |
@dmg244 done! Changes will be available with the next release. |
What happened?
First of all HEIMAN SGMHM-I1 gas sensor is not battery device, but have battery_low and tamper sensors.
Second gas detection is not working, gas status false every time.
Log with start gas alarm is:
Log with stop gas alarm is:
What did you expect to happen?
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.30.2-1
Adapter firmware version
6.10.3.0 build 297
Adapter
EZSP v8
Debug log
debug 2023-03-02 13:15:51Received Zigbee message from 'GasSensor', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":34}' from endpoint 1 with groupID 0
info 2023-03-02 13:15:51MQTT publish: topic 'zigbee2mqtt/GasSensor', payload '{"battery_low":false,"gas":false,"linkquality":156,"tamper":false}'
debug 2023-03-02 13:15:53Received Zigbee message from 'GasSensor', type 'commandStatusChangeNotification', cluster 'ssIasZone', data '{"extendedstatus":0,"zonestatus":32}' from endpoint 1 with groupID 0
info 2023-03-02 13:15:53MQTT publish: topic 'zigbee2mqtt/GasSensor', payload '{"battery_low":false,"gas":false,"linkquality":176,"tamper":false}'
The text was updated successfully, but these errors were encountered: