Well said luke. Well done lads on bringing these sensors to the next stage and sharing with us.
[OBSOLETE] Original & Aqara Xiaomi Zigbee Sensors (contact, temp, motion, button, outlet, leak, etc)
None - itâs all about how you angle it/ point it Iâm afraid
Awesome DHs! Thank you for all the work. I have a slight pairing issue with 2 new non-aquara temp/humidity sensors. I have the latest DHâs for these sensors from the GIT bspranger repository. But in pairing mode, I can only get a catchall method (which Iâm avoiding). Any ideas? Iâm doing the pressing ever 5 seconds as suggested in the OPs thread. I should note I have about 10 other sensors and they were added in the normal way (not catchall method).
Note that thereâs nothing that can be done in the device handlers to help with pairing Xiaomi sensors, other than whatâs called a âfingerprint Idâ (used to recognize a specific ZigBee device when SmartThings is matching the device handler to the device being paired."
If youâre only seeing a catchall message, and never see âzbjoinâ, then your hub is just having trouble completing the pairing process. I only have 4 âoriginalâ Xiaomi sensors, and they are door/window sensors, not the Temp/Humidity one.
Iâve been able to pair every one of my âoriginalâ door/window sensors using the âPair a Thingâ method, but when doing testing with the new device handler version, if I didnât see it show up in my ST mobile app ready to rename within 90 seconds, I would start over with the long-press of the reset button.
I do have one Xiaomi device that I have never been able to pair using the âAdd a Thingâ method, which is my Mi Cube controller. In that case, I used the catchall method, but I also discovered that if you keep trying to pair a device that doesnât appear, eventually a message will show up in the hub events log (the same log where you find the catchall message) that has the ZigBee device ID.
All of my Xiaomi devices have a ZigBee device ID that start with 00158D
and from what I have read, that stays the same for all of their devices because itâs the manufacturer code part of the ID. So if you donât have luck with the normal pairing process and have to use the âcatchallâ method, then try looking for that ZigBee ID. It will be a 16 hex digit string, like this: 00158D0001111111
. That string can be copied and pasted in when you create the device, like I did for my Mi Cube here:
From what I understand, having the ZigBee ID can help the hub to reestablish a lost network connection, and assign a new Device Network ID if needed. I should mention that my Mi Cube has never lost its connection with my hub, for over two months now.
Iâve had a non-Aqara temp/humidity for a while - itâs the only device I have that I have to go the catchall route these days - never had any luck with a zbjoin - I donât think anyoneâs ever found a fingerprint for them, which means it will not be identified as anything but a thing. - Even so, Iâve found it to be pretty solid even w/o the full Zigbee device id. Even so, Iâll try @veeceeohâs method to find the full ID.
Thatâs REALLY useful, I will have a go with that tonight - esp with the finding of the Zigbee ID! I think that was the main shortfall of the catchall method for me so thank you for explaining
That makes sense, I tried for hours on and off! Iâm going to use @veeceeohâs method!!
I have 6 or so round and and 6 or so square temp sensors that I am willing to get rid of since I canât keep them on the network. Yesterday I shut off my hub for a few hours in order to get them to latch on to my S2B repeaters and they did. But once I turned my hub back on now I canât get them to stay on the network. Yes I did shut down ALL my ZigBee devices during the repairing. What was interesting is those square temp sensors, which stayed on for weeks and have never been able to keep the round ones on, now will not even stay on the hub. So I am looking for 6 Visonic Door/Window Sensor and willing to trade. Heck I will even throw in two wall switches that I think are still in the box.
Just make sure to also copy the Device Network ID from the catchall message as well and enter that in when creating the device. Without the network ID, it wonât work at all.
This doesnât seem to be working for me on a few original Temperature/Humidity sensors that Iâve enabled it for. The min and max are nearly always the same as the current temperature.
Could it be reseting the values too often (like once an hour rather than once a day)? Iâm using Celcius and my date format is DMY if that makes any difference.
Edit: one device has a state of âcurrentDay: 38â. If thatâs day of year then thatâs a week behind? Also, the code is using Date.format(âmmâ)⌠Iâve not used Java in years but âmmâ doesnât seem valid - âDâ is what gives day of year - âmmâ would just give you the minute in the hour twice.
Hi
I have been facing difficulties staying connected Aqara DWS to a Samsung Connect Home (MIMO router & ST hub)⌠My setup has a Samsung Connect Home connected to a Verizon FiOS router with 2.4 GHz deactivated.
I am able to connect to the Hub with the right catchalls, open/close status (during the first few min), battery status, etc. That said, in about an hourâs time or so, I am losing the connection.
I went through the detailed instructions from bspranger (i.e., switching off 2.4 GHz, bluetooth, etc.) and I continue to drop the connection. I am not sure if a similar situation was encountered by anyone in the group but I wanted to check for insights from the rest of you.
These are probably elementary questions for some of the more experienced minds here but::
a) Are Zigbee routing devices simply ST hubs / Zigbee enabled routers? Could any of my neighborâs hubs be causing issues?
b) I also read that we could move the wifi channels to not interfere with Zigbee⌠How do we know what channels does Zigbee operate in?
These might be very basic but I wanted to be less stupid by asking them than not asking at all⌠I have been trying different permutations over the last few weeks before this SOS call. Any answers / suggestions will be great!!
Thx
V
You are correct!!
When testing the min/max reset function, I used a reset of every minute!
This was supposed to be changed to every day before release, but apparently the âoriginalâ Temp/Humidity sensor device handler didnât get updated somehow.
I have fixed this, and the updated âoriginalâ Temp/Humidity sensor device handler is now version 1.0.1 and can be grabbed from the bspranger/Xiaomi repository, here, immediately.
My apologies for missing that, and thank you for reporting it!!
Iâve heard this story beforeâŚ
Personally, I bought a SmartThings Link for NVIDIA Shield as my hub last November, and it never worked with any of my Xiaomi sensors. I decided to switch to a v2 hub in late December and they paired quite easily and have never dropped their connection.
Since Xiaomi sensors arenât officially supported, SmartThings support wonât offer any help based on them not keeping a connection. I did find out that the SmartThings Link hub uses different firmware and very likely a different ZigBee radio, and support confirmed that the Link is on a different development schedule than the v2 hub. The Samsung Connect Home also runs on different firmware from what I understand. This is something to consider - it may just not work with Xiaomi devices at all. Maybe with a future firmware update? Who knows.
To answer your questions:
Yes on the first question of A). However, itâs better to refer to a ZigBee hub as a âcoordinatorâ, because thatâs what theyâre called. A ZigBee router is actually what a lot of people refer to as a ârepeaterâ. Each ZigBee network can only have one hub/coordinator, and multiple repeaters and end devices. But ZigBee coordinators use something called a PAN-ID, which makes each ZigBee network unique from others. Coordinators/hubs self-assign their PAN-ID, but will use a different PAN-ID if they find another local coordinator/hub using the ID that was chosen. So this means there can be more the one unique ZigBee network in the same location. In theory, you should not have problems if your neighbor(s) also have a hub with ZigBee.
Thanks much!! I already see a difference with my setup that my Samsung Connect Home is not setup as a repeater but as a separate networkâŚ
I will go through the best practices for Wifi Channels as well and let the group knowâŚ
Thanks much for the brilliant response.
V
Update: âOriginalâ Xiaomi Temp/Humidity sensor DTH to v1.0.2
in the bspranger/Xiaomi GitHub repository, direct link here.
I have added a couple additional fingerprints (the data that SmartThings uses to match a device being paired with the appropriate DTH) because I see that many people have never had luck pairing the (round) âOriginalâ Xiaomi T/H sensors.
I have based the fingerprints based on a few sources by people whoâve learned a lot of technical information on Xiaomi devices.
For anyone having trouble keeping their connection to their round T/H sensors, I encourage you to give this updated DTH a try. I canât promise it will work, but it would be great if it does!
Tagging @AlecM & @thearchitectuk because youâve both mentioned troubles pairing these using the âAdd a Thingâ method
When creating v1.0.2 I get this error - Originalâ Xiaomi T/H sensors
Smartthings V2 Hub
Org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script_dth_metadata_ed12b29b_ded4_477b_b340_f0ff1a02cc75: 45: Duplicate named parameter âoutClustersâ found. at line: 45 column: 14. File: script_dth_metadata_ed12b29b_ded4_477b_b340_f0ff1a02cc75 @ line 45, column 14. fingerprint profileId: â0104â, deviceId: â5F01â, inClusters: â0000,0003,0019,FFFFâ, outClusters: â0000,0003,0019, FFFFâ, outClusters: â0000, 0004, FFFFâ, manufacturer: âLUMIâ, model: âlumi.sensor_htâ, deviceJoinName: âXiaomi Temp Sensorâ ^ 1 error
This looks great, thanks!! However, when I try and update the DH from REPO I get this:
Error 500: Internal Server Error
URI /ide/device/doRepoUpdates
Reference Id 247963a0-4801-4496-bc91-cdde6f84ad94
Date Fri Feb 16 10:33:28 UTC 2018
Any idea @veeceeoh
Same here.
Me tooâŚ
There was a typo! Itâs fixed and definitely no errors (I tested in my own IDE). No change in version number this time. Available here.
Apologies, @bobbles, @joelw135, @thearchitectuk, @D_Lev