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:
Kitchen:
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
