Xiaomi Mi Smart Home

Post here about devices that are not yet or not fully supported

Moderators: rtenklooster, BertB, Voyager, Stuntteam

Post Reply
Normal user
Posts: 1
Joined: 03 Nov 2016, 14:24

Xiaomi Mi Smart Home

#1 Post by lepetitnicolas64 » 10 Nov 2016, 00:11

Do you think this material (Xiaomi Mi Smart Home kit or Temperature / Humidity Sensor or Cube) could be supported by RFLink ?
Now that the RFlink is able to monitor the ZigBee via CC2500 :roll:

User avatar
Site Beheer
Posts: 614
Joined: 27 Jan 2016, 16:46

Re: Xiaomi Mi Smart Home

#2 Post by Stuntteam » 10 Nov 2016, 00:28


Unknown for now.. but we will probably look into it.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Xiaomi Mi Smart Home

#3 Post by Dylantje » 14 Nov 2016, 23:05

i will give a doorcontact [ from xiaomi ] for free to test/make it work..
Pm me :-)

Normal user
Posts: 320
Joined: 15 Apr 2015, 14:17

Re: Xiaomi Mi Smart Home

#4 Post by rtenklooster » 04 May 2017, 10:31

I've been using Xiaomi smart home products for a couple of months now, and yes, i'm impressed.

Especially the smart human body sensor's.. they are nice... really nice.
Very small, accurate, no false positives and a fair range, a battery life of two years in such a small form-factor is really great in my opinion.
One gateway is enough to cover my whole house.
I have 8 motion senors, you can place them everywhere, no-one notices them...

Living room:


I also have the smoke detectors, i've one tested, 7 others coming to the Netherlands :)
They are very compact compared to my old RF flamingo. Besides that, these honeywell should last 5 years on a single battery..
My flamingo got 4aaa's and 1 9v block.. i have to replace them once a year..

This picture shows both my old- and the new smoke detector:

Received a few small switches yesterday, pretty nice they have three functions: click, long click, long click release and double click.

On the domoticz forum deeno posted this:
From another forum and blog, here is an interessente article (in french) : http://faire-ca-soi-meme.fr/hack/2017/0 ... e-de-clef/

This guys crack xiaomi protocol and discover that a zigbee Home Automation protocole, who use a key, and he found a way to crack it.

His next step is to provid a serial gateway who will be able to work with Home automation zigbee device and Light Zigbee device (Philips Hue), final goal is to be :
- cloud free
- without any device number limit
- improve gateway range by made 2 version a normal one and a long range one (+ 3db)

There might be some progress in reverse engineering the protocol.

At this moment i've just connected the gateway to Domoticz. I'm working on a gui / web application witch allows me to use domoticz sensor values as trigger for some kind of action.
I don't like lula, blocky or Domoticz actions.. just want a simple automation app.. when sensor a value b is <> ! == X (AND / OR ) time is x or sensor c = ... THEN ->

Currently i'm passing domoticz events to my php script using a simple node-red flow. Sensors are being added to the database, you can choose of you want to log the values to your own DB.
I've read somewhere passing events to php is built into Domoticz, however I did not looked into that. It would simplify thinks a bit, BC node-red / MQTT would not be needed.

Sensor overview:

Create / edit triggers:

Use triggers in automation rules:

Wished i had some more time to work on this project.
I haven't made the alert / actions part yet.. but my plan is to use the automation rules, when fired, you can execute / define a action.

For example:
movement in the kitchen & lux sensor value below threshold & during weekdays
-> Send alert to smartphone (pushover / prowl / mail / whatever)
-> turn on the kitchen light (for xx minutes).

My goal is to realize this without having to code a single but. Just using the sensor's and switches in Domoticz.
Besides that, it's possible to react on all fields of a message, so battery level for example.

So a lot of plans.. but short on time ;)
Richard - Groningen (NL) - Image

Normal user
Posts: 32
Joined: 15 Sep 2016, 13:46

Re: Xiaomi Mi Smart Home

#5 Post by Gamester17 » 15 May 2017, 14:38

Let us see what the stuntteam does with the Ikea Trådfri series of smart light endpoint devices as that too is ZigBee (2.4GHz) based:

https://www.letscontrolit.com/forum/vie ... =10&t=2197

I believe that the idea would then be for RFLink Gateway to talk native ZigBee RF protocol direcly to Ikea Trådfri endpoint devices.

If the stuntteam can manage to get RFLink Gateway to talk ZigBee to Ikea Trådfri lights then could maybe do same with Xiaomi?

Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Xiaomi Mi Smart Home

#6 Post by Dylantje » 15 May 2017, 17:46

That should be very great...
Without the xiaomi bridge out of the box working Xiaomi sensors should be a very nice feature...
I think stuntteam has 1 of the xiaomi sensors .... [ my gift ]

Normal user
Posts: 1
Joined: 31 May 2017, 19:37

Re: Xiaomi Mi Smart Home

#7 Post by protas » 01 Jun 2017, 07:11

I'm using it at home. Very comfortable and useful device!
I need a smart home device which will run my games on Playstation before I'm coming home :lol: :lol:

Normal user
Posts: 1
Joined: 17 May 2019, 09:23

Re: Xiaomi Mi Smart Home

#8 Post by Jessiryan » 17 May 2019, 10:10

Hi not knowing the answer for the RF Links. But i will definitely search about it and share the information.
Hi this is jessi ryan working as marketing specialist in a home automation company where our company has already manufactured many home automation devices.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests