-
-
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
Visonic MCT-340 E Door Sensor #66
Comments
Did you factory reset the device? |
I've tried resetting it many times, it will start the pairing process over again but gives the same error. |
I get this error when I keep pressing the reset button on Xiaomi Aqara devices after holding the reset button for 5 seconds. Can you check different combinations of button hold/press when pairing? |
I will keep trying, the documentation I have for it says hold down for 2 seconds to reset but I am having no luck - I have a few of these and can't get any of them to pair. |
I think I got one to connect. It appears the magic combo might be fresh zigbee2mqtt start, and holding down the button while inserting the battery. I am still getting the time out error though
It does end up in my configuration.yaml
And the pairing light on the device stops blinking. Let me see if I can replicate pairing with another one.. |
Hold the button for 2 seconds while inserting the battery is definitely the pairing mechanism. Got 3/4 devices paired all with the same result:
All of them in the YAML
|
@oakbrad try to document your setup for wiki to help other users with similar devices. |
@oakbrad Are you happy to close this issue? To get more information when trying to pair you can always use the documentation. I had similar problems when trying to pair a cube that was previously paired and the solution was to start over by removing batter, reset it and start over. Always had to press link button every second after |
@ciotlosm I got the 4 of them paired, they appear in my configuration.yaml as I posted above, but they do not actually do anything or initialize as devices. All I see in the logs related to them is timeout errors. Not sure where to go from here? |
@oakbrad can you try and start in DEBUG mode? |
@oakbrad when pairing if you get timeout it's usually because you didn't keep pressing a button or something to keep them sending zigbee packages to make them complete pairing. |
Can you post the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@oakbrad @Koenkk @ciotlosm Is there anything I can provide here, to help troubleshoot the issue? I tried to open the database.db file using an SQLite browser, but it asks me for an SQLCipher encryption password.
|
The |
@Koenkk Thanks! I checked and it seems this device has not created any db entry yet. All my other successfully paired devices are shown correctly, including the USB coordinator itself. |
Sorry all I never got these working and ended up giving them to a friend. When I was troubleshooting it I never saw it create a database.db entry either like @ajayjohn said. |
@Koenkk Just checking to see if you need anything else to debug this issue. |
If it is not in the |
Procedure
Footnotes |
When pairing, could you provide your log when running with |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Koenkk https://hastebin.com/qezotatuxo.js everything started up just fine! I let the setup finish outputting a ton of log files and then triggered the MCT-340 and that's the output. |
@starbuck93 updated https://raw.githubusercontent.com/Koenkk/zigbee-shepherd/fix/lib/components/af.js again (made a typo). Please do the same, previous log is what I need :) |
Here it is! https://hastebin.com/ijehuluwew.js with two triggers of the MCT-340 |
@starbuck93 can you post your complete |
Here is |
In a log which you provided earlier (#66 (comment), https://hastebin.com/obilotorux.json) the |
It looks like it is in |
It's is, but it's missing the |
@Koenkk I'm getting an error, Logs: https://hastebin.com/umaluveked.apache and https://hastebin.com/gufixomaxe.coffeescript Update 30 minutes later: ignore the above error, I think I got it to work. Update 2: Got it to pair, here's the logs: https://hastebin.com/uyezivizah.coffeescript (around line 352) I'm not sure if it worked |
@starbuck93 what were the actual steps you took to pair the device if the instructions were incomplete? |
@starbuck93 I still don't see Please
|
@jjlawren The docs say to hold the trigger switch down for 4 seconds while inserting the battery but you have to hold it slightly shorter than that to successfully get it to go into pairing. @Koenkk I'm working on pairing the device again, it's not working as expected. I'm getting Update: Here's some logs of an attempted pairing. Hastebin is having trouble apparently https://pastebin.com/RfGCWdtd Update 2: I got it to output the name of the device in the logs, and it appeared to be paired as shown in |
@starbuck93 is the device in |
@Koenkk it is in Also I have not solved the pairing issue. The device(s) are still in pairing mode for some reason. Triggering the device(s) only turns them back on pairing mode like this: https://hastebin.com/sigarefici.js |
FYI, a similar pairing issue for this device is being investigated over with Deconz, too: dresden-elektronik/deconz-rest-plugin#978 |
@jjlawren just finished reading the Deconz issue thread. did you manage to factory reset the MCT-340 E after they appear to be stuck in pairing mode? Each of my two devices blink their red LED 3 times every 5 seconds (to show they are in pairing mode) when I do any one of the following:
And zigbee2mqtt will try to pair with the device(s) again every time I do any of those things. |
@starbuck93 same for me. It seems like the pairing process half-completes, where the controller thinks it's paired but the MCR-340 does not. Factory reset doesn't change the behavior. There's a change pending over there that I'll test when available. |
@jjlawren I agree. I have a dotted-outline MCT-340 E showing up in my zigbee network map, connected to nothing, just floating out there. The device has no idea it's paired to anything. These sensors worked perfectly and very reliably for me in that home-assistant zha component, so they may have a solution somewhere too. |
Is there anything I can do to help move this forward? It looks like the Deconz folks have it working as of about a week ago, as noted in the thread @jjlawren linked. Also, I misspoke in my post above -- the MCT-340 E that I tried to pair does have a link to the controller in the zigbee map, but all else is true: it's a dotted-line box and the device doesn't know it's paired. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Let's not close this, please. I'm still holding out hope for this device. |
@wixoff that will happen soon: Koenkk/zigbee-herdsman-converters#434 |
Fantastic! |
Thanks to @imortkz Supported in the dev branch now! (http://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
Has anyone managed to solve the pairing issue for this device? I'm having the same problem as described in #66 (comment). Namely: device can be put into pairing mode. Putting the controller into join mode results in an entry being added to database.db, but nothing else happens. Device remains in pairing mode (blinking red light) until it times out, and after that any trigger will wake it up and cause it to try pairing again. No amount of triggering or tamper-button-pushing during the pairing process seems to result in a completed pairing. But others have had luck! No success for me, and I have tried it many times. |
Ah, never mind. Wouldn't you know: after trying this literally dozens of times over the last few months, all it took was a post to this thread and then they all started successfully pairing. I didn't change anything! |
I have a couple of these
https://www.amazon.com/Visonic-MCT-340-Wireless-Samsung-SmartThings/dp/B06XDJ3KYC
When trying to pair:
The text was updated successfully, but these errors were encountered: