-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Help request for new device Xiaomi Aqara E1 door & window contact sensor #9274
Comments
After searching a little more, I have found the following in the database.db; |
The same here. Only link quality will be sent. :( |
The same issue here. |
Yes, I forgot to mention that I am getting only the Link Quality. |
Log
i think the file looks like: MCCGQ14LM.js
but i can't create in the directory to my Docker container (write protectet) |
I did try your file ...but no improvement ! |
what says the debug log? now we are at point 3 -> https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html |
unfortunately, nothing moves in the log when I open / close |
is the log set to debug? |
Yes |
and if u push the litle button? |
I did delete the device and re-pair after using your file + restart MQTT |
If i single click (device is paired) i am getting the following: Oct 24 21:12:31 nodered npm[23232]: Zigbee2MQTT:debug 2021-10-24 21:12:31: Received Zigbee message from '0x54ef44100027f9de', type 'attributeReport', cluster 'genBasic', data '{"modelId":"lumi.magnet.acn001"}' from endpoint 1 with groupID 0 |
make sure you keep the small strokes together |
no difference |
when i hold them together i hear a soft click its my first time adding we need a massage to translate |
I can hear the same (very quiet) click, now that you mentioned it but only when pulling apart ....at least we know the device is working OK.... |
i am trying to find the file for the old version:MCCGQ11LM and hope we can copy and paste :D |
hi guys, take a look here dresden-elektronik/deconz-rest-plugin#5403 (comment) |
Thanks alfakenzo, Unfortunately I don't know how this information can be translated in MQTT context (beyond my league...) |
That’s the first thing I tried. Unfortunately it does not work. Would be too easy. : D |
I did use this file when I tried to reuse the existing definition for MCCGQ12LM (see my first post) |
@sabamimi |
oops , sorry. |
Ah... I hope it comes soon someone who knows the way around and solves our problem |
As far as I know, there is no extra log for this. |
I did find a file named |
@sabamimi |
MCCGQ14LM is not working using a CC2531 with:
Still no luck here... null data showing up, the device doesn't seem to send any updates. |
MCCGQ14LM is not working using a CC2652R with:
|
Also tried flashing the zigbee 3 firmware in the CC2531 and still no luck getting anything out of these MCCGQ14LM. |
I have updated to the latest dev version, as well to a zStack30x, still not working. |
After upgrading the fw on your coordinator you will also need to repair the device, I will update the instructions on https://www.zigbee2mqtt.io/devices/MCCGQ14LM.html#adapter-firmware |
So, in the devices list, I have clicked in the "Remove Device" button, enabled the "Force Remove" option.
Then, it doesn't send any extra data.
Device data still shows up as "null". |
@ricdays Did you updated your coordinator firmware on your USB stick? Last image shows a firmware reversion 20190425. This will not work . Install 20211114 from dev tree. |
@oberlon my stick is a CC2531, so I don't see it listed in the Z-Stack_3.x.0. |
Update! Finally got it all working after a re-pair and with this configuration:
|
I can confirm that I got these sensors working fine with the following configuration using an Electrollama ZZH! (CC2652R) stick:
I also experienced the issue that @romedtino experienced on two of the sensors, where they get stuck in pairing mode. I managed to fix them with the procedure they mentioned. |
The E1 for sensor is working great for me so far, I did have to repair the sensor twice for it to pick up battery and voltage though. I had to do that to all 6 that I installed in my home. |
Has anyone hints how to flash a SONOFF Zigbee 3.0 USB Dongle Plus using a raspberry pi? |
Hi Your help is greatly appreciated. Thanks Update: i updated my conbee2 stick with the suggested firmware listed on the zigbee2mqtt page, and the sensor is working now. Thank you |
Quick question on this. I have 2x CC2652R sticks, one acting as a coordinator, and one as a router. EDIT: After updating the coordinator firmware (left router as is), my door sensor is now discovered, however, sensor status is not exposed correctly. It mostly remained as NULL, and after playing with reset button multiple times, it says closed, and does not update, when magnet is separated. Is there something else I need to do ? |
@WouterJN your coordinator seems to be running an old firmware you will beed to upgrade that and repair your e1 sensor. Check this page out https://www.zigbee2mqtt.io/devices/MCCGQ14LM.html I hope this helps |
I think there is no 20211114 version for the CC1352P-2 coordinator I think :-/ |
Finely it worked and zigbee2mqtt recognised the Aqara MCCGQ14LM sensor Updating the Electrolama zig-a-zig-ah! CC2652R coordinator with revision 20211114 Updating zigbee2mqtt to version 1.22.1 according to After deleting and re-joining the network the Aqara E1 door & window contact sensor MCCGQ14LM was then properly recognised by zigbee2mqtt, see the enclosed state: |
My mistake, I found the correct firmware on Github. It is working now :-) |
Hey folks, With the following hardware (ZigBee CC2652P2 Raspberry Pi Module from shop.codm.de), zigbee2mqtt recognized the Aqara MCCGQ14LM sensor and is completely working now. https://www.zigbee2mqtt.io/devices/MCCGQ14LM.html What i do: flash example: python3 cc2538-bsl.py -p /dev/ttyAMA0 -evw CC1352P2_CC2652P_launchpad_coordinator_20211217.hex |
is there going to be an update this month for this coordinator? https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin |
Hi all, |
Hi all! |
Given the amount of duplicate questions I will lock this thread. To get these devices working:
|
I tried to copy the existing MCCGQ12LM definition since MCCGQ14LM seems to be a new version of the MCCGQ12LM device
the code i tried was:
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: ['lumi.magnet.acn001'],
model: 'MCCGQ14LM',
vendor: 'Xiaomi',
description: 'Aqara E1 door & window contact sensor',
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
toZigbee: [],
meta: {battery: {voltageToPercentage: '3V_2100'}},
exposes: [e.contact(), e.battery()]
}
module.exports = definition;
the result was
later on I have found this chinese web page that seems to reflect the zigbee parameters of this device....but I don't know how to use this information ....
Information about the device + link
https://home.miot-spec.com/spec/lumi.magnet.acn001#srv-4
data/database.db entry of the device
.. (I am not really sure what is requested here
Thank you for help, guidance and "mercy" since this is my first attempt .....
The text was updated successfully, but these errors were encountered: