-
-
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
[New device support]: Aqara E1 human body movement and illuminance sensor #13479
Comments
This sensor is more likely analog T1 than P1, so try using the following external converter: 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 ota = require('zigbee-herdsman-converters/lib/ota');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['lumi.motion.acn001'],
model: 'RTCGQ15LM',
vendor: 'Xiaomi',
description: 'Aqara E1 human body movement and illuminance sensor',
fromZigbee: [fz.aqara_occupancy_illuminance, fz.aqara_opple, fz.battery],
toZigbee: [tz.aqara_detection_interval],
exposes: [e.occupancy(), e.illuminance_lux().withProperty('illuminance'),
e.illuminance().withUnit('lx').withDescription('Measured illuminance in lux'),
exposes.numeric('detection_interval', ea.ALL).withValueMin(2).withValueMax(65535).withUnit('s')
.withDescription('Time interval for detecting actions'),
e.device_temperature(), e.battery(), e.battery_voltage(), e.power_outage_count(false)],
meta: {battery: {voltageToPercentage: '3V_2850_3200'}},
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await endpoint.read('genPowerCfg', ['batteryVoltage']);
await endpoint.read('aqaraOpple', [0x0102], {manufacturerCode: 0x115f});
},
ota: ota.zigbeeOTA,
};
module.exports = definition; Please note that the firmware of the coordinator must be at least a certain version in order for the sensor to work correctly. |
It seems to work better with the T1 sensor config. Shall I submit a pull request? There are lots of variant of motion sensor including: RTCGQ11LM, RTCGQ12LM (T1), RTCGQ13LM, RTCGQ14LM (P1), and the new addition RTCGQ15LM (E1) |
No, you rushed with the PR, because we also need to analyze the heartbeat-message reported by the sensor. Please provide a debug log (
|
|
Ok, I created an additional PR based on the analysis of the heartbeat-message reported by the sensor.
To delete a sensor or change its settings, you need to wake it up by pressing the pairing button once so that it accepts the command.
This message was noticed on the E1 leak sensor (SJCGQ13LM), but so far it has not been possible to understand what it means. |
Since this device has been added now I assume this can be closed. |
Link
https://www.tokopedia.com/bramcom/aqara-human-body-sensor-e1?extParam=ivf%3Dfalse
https://item.jd.com/10050474046471.html
Database entry
{"id":4,"type":"EndDevice","ieeeAddr":"0x54ef441000491f98","nwkAddr":63817,"manufId":4447,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.motion.acn001","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,1,3,64704],"outClusterList":[3,25],"clusters":{"genBasic":{"attributes":{"appVersion":8,"modelId":"lumi.motion.acn001","zclVersion":3,"stackVersion":2,"hwVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":8,"stackVersion":2,"hwVersion":0,"zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1660106123966,"defaultSendRequestWhen":"immediate"}
Comments
I tried to use the Aqara P1 motion sensor configuration. But it doesn't seem to work.
The E1 prefix seems to be similar to the new category of E1 door sensor, E1 flood sensor, E1 curtain driver.
"fz.aqara_opple"
External converter
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: