Skip to content

Conversation

@1tigris1
Copy link
Contributor

New device Nous E9
// Название: NOUS
// Модель: E9 (Gas Sensor)
// modelID: TS0601
// manufacturerName: _TZE204_qvxrkeif

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 tuya = require('zigbee-herdsman-converters/lib/tuya');

const e = exposes.presets;
const ea = exposes.access;

const definition = {
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_qvxrkeif"]),
model: "E9",
vendor: "NOUS",
description: "Zigbee gas sensor",
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
configure: tuya.configureMagicPacket,
exposes: [
e.binary('gas', ea.STATE, 'ON', 'OFF').withDescription('Gas detection state (ON = Gas detected)'), // DP 1
e.binary('preheat', ea.STATE, 'ON', 'OFF').withDescription('Sensor is preheating'), // DP 10
e.binary('fault_alarm', ea.STATE, 'ON', 'OFF').withDescription('Sensor fault detected'), // DP 11
e.numeric('lifecycle', ea.STATE).withUnit('%').withDescription('Sensor life remaining'), // DP 12
],
meta: {
tuyaDatapoints: [
[1, 'gas', tuya.valueConverter.trueFalse0],
[10, 'preheat', tuya.valueConverter.trueFalse0],
[11, 'fault_alarm', tuya.valueConverter.trueFalse1],
[12, 'lifecycle', tuya.valueConverter.raw],
],
},
};

module.exports = definition;

@Koenkk Koenkk merged commit 16e01db into Koenkk:master Jun 27, 2025
3 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jun 27, 2025

Thanks!

Could you also submit a picture for the docs? This can be done by:

  1. Create a fork by clicking here
  2. Go to the public/images/devices directory, Add file -> Upload files
  3. Upload the files and press Commit changes
  4. Press Contribute -> Open pull request -> update title/description -> Create pull request

Make sure that:

SimplaHome pushed a commit to SimplaHome/zigbee-herdsman-converters that referenced this pull request Aug 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants