Xiaomi Smart Home Suite (very cheap) compatibilty?

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

As written on the wiki update your gateway fw, you need at last 1.4....
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by mKotek »

I have replaced my working 'Turn Led light On' for 1 minute on my LEDs with Turn RGBW light on Xiaomi Smart Gateway On for 1 minute using Blocky. And now I have a problem.
First of all, the light turns at 100% brightness and light blue. No matter what I setup in Mi Home or Domoticz switch configuration.
And second issue, it does not turn on as expected, rather flashing for a moment and turning off immediately on the event.

Any ideas, how to setup Blocky to support setting color, brightness and duration correctly?
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by lamouette »

mKotek wrote:Any ideas, how to setup Blocky to support setting color, brightness
As far as I know it is not possible at the moment.
mKotek wrote:and duration correctly?
I have this blocky which is working fine for the moment. I will move to lua asap.
Capture.PNG
Capture.PNG (54.75 KiB) Viewed 3147 times
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by mKotek »

Ok, let me be specific. The only requirement is to turn on the light with custom set color and not change brightness from what is set in the Gateway by MI Home app.
At the moment, this is not what I am getting, esp. color.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by lamouette »

mKotek wrote:Ok, let me be specific. The only requirement is to turn on the light with custom set color and not change brightness from what is set in the Gateway by MI Home app.
At the moment, this is not what I am getting, esp. color.
I understood that :)

For the moment you can only have the blue default color :)
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by mKotek »

And via Lua?
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by joebar »

mKotek wrote:Ok, let me be specific. The only requirement is to turn on the light with custom set color and not change brightness from what is set in the Gateway by MI Home app.
At the moment, this is not what I am getting, esp. color.
You can do that by making a scene for it, there the color and brightness can be set. Calling that scene from a script, lua of even a json command works.
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

Why don't you use scene or group ?

Set a group with you gateway to your color


Image

And use it with your blocky or lua !

This way you can choose color brightness etc etc.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
lamouette
Posts: 37
Joined: Friday 20 January 2017 8:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by lamouette »

great ! I was not aware about that ! :)
MoralKnight
Posts: 17
Joined: Thursday 12 January 2017 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by MoralKnight »

Can anybody help me out installing the Xiaomi Aqora in wass switches. the amount of wires connected on my standard due switch are more then 3??
Attachments
foto6.jpeg
foto6.jpeg (85.73 KiB) Viewed 3068 times
foto1.jpeg
foto1.jpeg (75.29 KiB) Viewed 3068 times
foto2.jpeg
foto2.jpeg (53.87 KiB) Viewed 3068 times
MoralKnight
Posts: 17
Joined: Thursday 12 January 2017 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by MoralKnight »

Here more pictur
Attachments
foto5.jpeg
foto5.jpeg (68.38 KiB) Viewed 3067 times
foto4.jpeg
foto4.jpeg (101.47 KiB) Viewed 3067 times
foto3.jpeg
foto3.jpeg (55.05 KiB) Viewed 3067 times
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

Whaou hard to help from internet.

You have to find which one is the main/phase/line and which ones goes to your light.

Use a screw like this :

Image


If light turn one that the phase/line who have to be plug to L

Becarefull with main ac !
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by joebar »

The aqara uses one main in (L) and two for the lights (l1, l2)
The lights itself do have the neutral (blue)

So, in your case you only need the one brown to the aqara l1, the blacks are (hopefully) going to the lights and can be connected to the aqara l1 and l2
Other browns are either not needed or connected to a wall socket or something else, that you have to find yourself
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by mKotek »

deennoo wrote:Why don't you use scene or group ?
Set a group with you gateway to your color
Image

And use it with your blocky or lua !
This way you can choose color brightness etc etc.
Thank you, I have indeed created a group, set desired color and brightness and created a following blocky:
Screenshot 2017-02-03 at 19.48.56.png
Screenshot 2017-02-03 at 19.48.56.png (22.3 KiB) Viewed 3042 times
I am actually using 2 PIR sensors - one is Satel alarm PIR and the other is Xiaomi Body Sensor (depending on which side of stairs one is at.
The only issue is Xiaomi PIR seems to have 120s of timeout for motion detection and I am turning the LED only for 60s. So if someone is coming back after 60s and before 120s, Xiaomi does not react, Satel one does. Have not seen a way to solve it and I made sure, I have disabled all scenes on Mi Home App.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
levynger
Posts: 87
Joined: Wednesday 21 December 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Israel
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by levynger »

Note that you may also have 2 or 3 way switch there.
If you have more then a single switch that can turn on/off the same light, you'll have to disable them first.. Making sure the switch will constantly push the line to the light and not to the 2nd switch.
Anyway, the Aqara does not support 2 way switch.. That's why you'll have to disable them..

Check 2 way switch sketch on Google to understand what your are facing..


Sent from my SM-N920C using Tapatalk
levynger
Posts: 87
Joined: Wednesday 21 December 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Israel
Contact:

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by levynger »

mKotek wrote:
deennoo wrote:Why don't you use scene or group ?
Set a group with you gateway to your color
Image

And use it with your blocky or lua !
This way you can choose color brightness etc etc.
Thank you, I have indeed created a group, set desired color and brightness and created a following blocky:
Screenshot 2017-02-03 at 19.48.56.png
I am actually using 2 PIR sensors - one is Satel alarm PIR and the other is Xiaomi Body Sensor (depending on which side of stairs one is at.
The only issue is Xiaomi PIR seems to have 120s of timeout for motion detection and I am turning the LED only for 60s. So if someone is coming back after 60s and before 120s, Xiaomi does not react, Satel one does. Have not seen a way to solve it and I made sure, I have disabled all scenes on Mi Home App.
The minimum gap for detection is 60 seconds last time I have checked.
There is no way to lower that as far as it looks. It is how the xiaomi gateway reports..

Sent from my SM-N920C using Tapatalk
maciejwr
Posts: 2
Joined: Thursday 02 February 2017 22:14
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by maciejwr »

Hi. Any chance of adding a Xiaomi camera ? http://www.gearbest.com/ip-cameras/pp_607361.html
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by deennoo »

maciejwr wrote:Hi. Any chance of adding a Xiaomi camera ? http://www.gearbest.com/ip-cameras/pp_607361.html
Just saw a tweak to provid a rstp flux from it, but domoticz doesn't manage it.

This device isn't a real gateway device, as ricecoocker or air purifer, that just a wifi device as a yeelight bulb
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Coldman
Posts: 61
Joined: Saturday 17 December 2016 11:51
Target OS: Linux
Domoticz version: Beta
Location: Moscow, Russia
Contact:

Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by Coldman »

deennoo wrote:
maciejwr wrote:Hi. Any chance of adding a Xiaomi camera ? http://www.gearbest.com/ip-cameras/pp_607361.html
Just saw a tweak to provid a rstp flux from it, but domoticz doesn't manage it.

This device isn't a real gateway device, as ricecoocker or air purifer, that just a wifi device as a yeelight bulb
FYI
https://github.com/samtap/fang-hacks
drmabuse71
Posts: 10
Joined: Sunday 29 January 2017 8:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by drmabuse71 »

@galadril, lamouette
according to enable the lan-option:

Sorry guys,
found out that I own a gateway V1, not as recommended V2.
Although I asked the supplier, to ship V2 gateway it is a V1.
Semms to be the reason, why I can´t enter the hidden menue.

THX for your support
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest