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 is B46D in this case
Fill in Zigbee ID. It can be anything but it should be unique. I filled in with the network Id value, B46D
Assign the device handler Xiaomi Zigbee Outlet
You got a working Zigbee repeater outlet!
This can be used for any Zigbee Xiaomi device that cannot be paired automatically such as temp sensor
I don’t think they will work. It will mainly works with 220v i think. But you can try to google it for it’s spec. Speaking of voltages, I bought a bunch of Cree bulb from US last month and only realize they were rated 110v. So now they’re gathering dust…
My outlets arrived today. Will start using them as zigbee repeaters for the Orvibo door/window sensors. Then i’ll let it rest for a few days and see if they still work. (And report back here)
Took a few tries to get them paired but it worked. The range seems ok (not very good), but the repeating range seems limited. Will investigate further.
Switching the plug manually, with the button on the plug, does not always change the status in the app, not even after a refresh. It does not check the actual status at all, this is a bit against the whole idea behind zigbee/zwave
Switching the plug manually on the plug does not always trigger a routine, just like the status update.
After a day of testing i can already report these plugs are not reliable as repeaters. The Orvibo Door Sensor lost its connection completely. (Light didn’t come up)
For me these have no use.
Since i cannot find any decent Zigbee repeaters i’m thinking of abandoning Zigbee and move completely to zwave. It’s more expensive, but also more reliable (too bad for the Orvibo sensors, they seem pretty good).
My other plug lost connection completely this morning, could not turn on/off.
Before you give up on this, you could be facing the same problem as my Xiaomi sensors whereby they were not fully pairing properly. The outlet dropping off and not repeating properly might be the result of this.
On the sensors, after pairing I continued to click on the reset lots of times. It seems to have done the trick and make the sensor stay connected to ST overnight for the first time. Could you try something similar here?
I’ve got a bunch of outlets on the way, hoping to get them working in a similar manner.
I added the plugs without the zigbee-id. Since i also have the xiaomi-hub i might give it another try with the zigbee id.
I also don’t have any temperature, it’s just –
I tried to setup the xiaomi hub, but no idea how to connect to it from the app, it cannot find it, no way to setup the wifi credentials. Directions are in chinese.
Found the directions in english, but nothing about setting it up.
I gave it some time while turned off.
The temp turned blue without a figure. Then the details screen (right now screen) turned off completely, just a blanc screen. I can still turn it on and off though.
Leaving the plug turned on didn’t help, the “right now” screen is still blanc.