Rave
December 10, 2016, 2:42pm
165
That’s right. You’ll need the Mi Home app. Enable developer mode in the Mi App and you will get the Id. Let me get a screenshot. To tell you the truth, I ran both Xiaomi hub and ST at home and i still can’t decide which one to settled on. Xiaomi UI is great and snappy but less integration and customization. ST has great integration but UI and speed performs bad for me.
3 Likes
SLKDK
December 10, 2016, 4:43pm
166
Thats really awesome info Rave. I will order the gateway right away
SLKDK
December 10, 2016, 4:48pm
167
@Rave , which one? I am confused:
Original Xiaomi Upgrade Smart Home WiFi Remote Control Multi-functional Gateway
Or
Original Xiaomi Mi Smart WiFi Remote Control Multi-functional Gateway
Rave
December 10, 2016, 5:07pm
168
I think they’re the same. Just double check with the seller and see if they’re the same as the one in the link below.
http://www.mi.com/wangguan/
Rave
December 10, 2016, 5:08pm
169
Update on the Xiaomi Zigbee Plug. I’ll create a new thread soon
1 Like
Now I’m confused. I ordered a button to try out last week.
I need the Xiaomi Hub to get this working? Same with the window door sensors?
Rave
December 10, 2016, 5:28pm
171
Door Sensor, Button and Motion Sensor pairs okay without Xiaomi hub. The rest will need the hub
No_Name
(No Name No Name)
December 10, 2016, 5:57pm
172
What do you mean - “the rest”? Can I pair the temperature sensor using the hub?
Rave
December 10, 2016, 6:02pm
173
No… at least not for me. If you read 10~20 posts above, you’ll get the idea
Rave
December 10, 2016, 6:13pm
174
As promised, here’s the device handler
Device Handler for the cheap xiaomi zigbee plug. Since it does not pair automatically with SmartThings, you’ll have to add this device manually by using its Zigbee Id and Network Id. You can get Network Id from ST Hub. For Zigbee Id, you can get it from Xiaomi Hub/Gateway (there could be other way to figure out the Device Id). For less than 10~15$ usd, you’ll get a Zigbee Outlet and a temperature sensor.
Edit : You do not need a Zigbee Device ID for it to work.
Here’s the step
Press Add a Thing in ST App
Hold the button in the outlet for a few seconds
In IDE, you will get something like
catchall: 0104 0000 01 01 0100 00 B46D 00 04 115F 0A 01 01FF4231641000032814983900000000953900000000
Add a New Device using IDE
Fill in the Device Network ID, you can find it from the catchall log. it …
2 Likes
emersonvier
(Emerson Vier)
December 10, 2016, 6:56pm
175
Hi @Rave , I read all post, but I cant pairing my Door Sensor and Motion Sensor, could you help me?
Rave
December 10, 2016, 7:03pm
176
Unfortunately, without the xiaomi gateway/hub, you’ll have to try harder.
Try long push the pin (3 sec), then 3~5 times short press. Rinse and repeat or try difference variance. There are no solid way to pair it.
emersonvier
(Emerson Vier)
December 10, 2016, 7:56pm
177
Rave:
Unfortunately, without the xiaomi gateway/hub, you’ll have to try harder.
Try long push the pin (3 sec), then 3~5 times short press. Rinse and repeat or try difference variance. There are no solid way to pair it.
Thank you @rave I will try this and I just order complete Xiaomi kit.
RInkelk
(Rinke)
December 10, 2016, 8:04pm
178
@Rave could you try and see if the plug is a repeater or not ?
I find it weird that the Xiaomi Gateway is not working with a mesh network. That would mean all devices should be in range of the gateway, which makes it all quite limited.
SLKDK
December 10, 2016, 8:06pm
179
Bummer, the gateway is out of stock everywhere. Needs to get it shipped to Europe.
Will order one as soon as I can.
Keep up the good work Rave.
emersonvier
(Emerson Vier)
December 10, 2016, 9:35pm
180
After 40 minutes I got Door/Window Sensor, Motion Sensor not yet.
On IDE I change type to “Z-Wave Door/Window Sensor” but only show open
@SLKDK
I found Xiaomi Mi Smart Home Gateway 2
http://nis-store.com/sockets-and-sensors/xiaomi-mi-gateway-2/
RInkelk
(Rinke)
December 10, 2016, 9:42pm
181
Shouldn’t that be Zigbee sensor?
Erocm123 created a devicetype for this, maybe give that a try?:
/**
* Xiaomi Door/Window Sensor
*
* Copyright 2015 Eric Maycock
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
*/
metadata {
definition (name: "Xiaomi Door/Window Sensor", namespace: "erocm123", author: "Eric Maycock") {
capability "Configuration"
capability "Sensor"
capability "Contact Sensor"
This file has been truncated. show original
emersonvier
(Emerson Vier)
December 10, 2016, 11:47pm
182
Hi @RInkelk , I newbie, I copy Erocm123 code, created new Device Handler, but I don’t know what the next step…
RInkelk
(Rinke)
December 11, 2016, 12:02am
183
Newbee here too
When saved and published the device handler, you should be able to change the type of your device to that one. It should be at the bottom of the list.
emersonvier
(Emerson Vier)
December 11, 2016, 12:42am
184
Thank you very much, now working.
Now I will try pairing Motion Sensor.