Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.07k stars 1.67k forks source link

[New device support]: Schneider Electric CCT593011 #18423

Closed tomasaberg closed 1 year ago

tomasaberg commented 1 year ago

Link

https://www.se.com/ww/en/product/CCT593011/temperature-humidity-sensor-wiser-white/

Database entry

-

Comments

CCT593011 is a temperature/humidity/pressure sensor and I have a couple of them. I'd like to help out with adding support to this device. I've followed the guide for adding support for new devices. I'm not able to find any debug messages such as "No converter available for [...]" and I'm not sure what type of configurations I might need to add, as described in the guide.

I've tried looking at the Aqara/Xiomi temperature sensors, as I have them as well, but I don't understand really what I need to add.

External converter

From the guide:

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 e = exposes.presets;
const ea = exposes.access;

const definition = {
    zigbeeModel: ['CCT593011_AS'], // The model ID from: Device with modelID 'lumi.sens' is not supported.
    model: 'CCT593011_AS', // Vendor model number, look on the device for a model number
    vendor: 'Schneider Electric', // Vendor of the device (only used for documentation and startup logging)
    description: 'Temperature & humidity sensor', // Description of the device, copy from vendor site. (only used for documentation and startup logging)
    fromZigbee: [fz.temperature], // We will add this later
    toZigbee: [], // Should be empty, unless device can be controlled (e.g. lights, switches).
    exposes: [e.battery(), e.temperature(), e.humidity()], // Defines what this device exposes, used for e.g. Home Assistant discovery and in the frontend
};

module.exports = definition;


### Supported color modes

_No response_

### Color temperature range

_No response_
tomasaberg commented 1 year ago

I found this issue https://github.com/Koenkk/zigbee-herdsman/issues/472 @willu tried to add the same device, not sure about the end result though

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days