Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

murtadin
Posts: 62
Joined: Saturday 31 December 2016 15:33
Target OS: Linux
Domoticz version: beta
Contact:

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

Post by murtadin »

hekm77 wrote:Still the same problem with the Xiaomi Smart Plug
Spoiler: show
2017-03-24 20.18.48.png
In my logs all is ok:

Code: Select all

2017-03-25 16:13:17	On
2017-03-25 16:13:11	Off
2017-03-25 14:50:36	On
2017-03-22 21:59:12	Off
2017-03-22 21:57:03	On
2017-03-22 21:56:44	Off
2017-03-22 21:56:31	On
2017-03-20 01:23:38	Off
2017-03-20 01:23:36	On
2017-03-19 23:01:17	Off
2017-03-19 20:33:31	On
2017-03-16 14:33:56	Off
2017-03-16 14:33:54	On
burton666
Posts: 85
Joined: Monday 17 August 2015 21:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by burton666 »

I tried reading this thread but it is so many pages.

What kind of adapter is needed to be able to use the gateway in EU ?
The cube, as it has six sides can I assign tasks to every side? like if I mark it out as a dice can I turn different lights on using all six sides?
How long would the wireless Xiaomi Aqara switch battery last?
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 »

burton666 wrote:I tried reading this thread but it is so many pages.

What kind of adapter is needed to be able to use the gateway in EU ?
The cube, as it has six sides can I assign tasks to every side? like if I mark it out as a dice can I turn different lights on using all six sides?
How long would the wireless Xiaomi Aqara switch battery last?
Au of Chinese to eu

Six sides: nope, doesn't work like that. It can detect a 90 degree flip, 180 degree, free fall (throw in the air), shake, a (violent) knock, a turn (great for dimmer functions) and a move (push over table for example)
So you need to make a script that act on the different states, I have made a script that use the 90 and 180 degree for light group selection, kodi control and Sonos control)
The turn is used for dimmer/volume, shake for random color selection of the hue lights, hard knock for turn of/turn on the selected device.
Move and free fall I don't know yet.


How long it lasts? Guess it's too early to tell yet, the switches are only available since late last year, xiaomi expects 2 years.
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

corbin wrote:try compiling from https://github.com/corbinmunce/domoticz
Thank you. Now the plug works. v3.7134
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

burton666 wrote:What kind of adapter is needed to be able to use the gateway in EU ?
For example "Skross"
Spoiler: show
9307100.jpg
9307100.jpg (15.03 KiB) Viewed 2798 times
9307099.jpg
9307099.jpg (14.64 KiB) Viewed 2798 times
9307097.jpg
9307097.jpg (19.69 KiB) Viewed 2798 times
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

After restarting the domoticz, the devices are duplicated. Motion sensor (switch) - do not work. Appear CustomSwitch.
It is necessary to remove the old switch device and add new CustomSwitch - they will work.
If restart Domotics, you need to do all over again.
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

The devices need to be Switch, not CustomSwitch. like this:
Spoiler: show
switch.PNG
switch.PNG (354.8 KiB) Viewed 2771 times
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

I mean Аfter every reboot Domoticz the devices are duplicated.
It is necessary to remove the old switch device and add new
Edit:
Spoiler: show
1.png
1.png (75.14 KiB) Viewed 2764 times
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

I'm not sure what is causing the duplication, it happened on my test system but then I couldn't reproduce it. Starting with a totally clean database fixed the problem.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

corbin wrote:I'm not sure what is causing the duplication, it happened on my test system but then I couldn't reproduce it. Starting with a totally clean database fixed the problem.
I deleted the gateway from domoticz and re-added. Turned off and then turned on the developer mode. Changed the password. This only happens with Xiaomi Motion Sensors.
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

Deleting the gateway didn't work for me. I had to totally delete the database and start fresh, like in a new install.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
hekm77
Posts: 45
Joined: Thursday 09 February 2017 18:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

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

Post by hekm77 »

Now the devices (Xiaomi Motion Sensor) are not duplicated after reboot domoticz
I did:
1. rm -r domoticz/
2. git clone https://github.com/corbinmunce/domoticz
3. restore database
v3.7119
marcotrumpet
Posts: 102
Joined: Saturday 18 February 2017 8:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by marcotrumpet »

Does anybody know how to write a lua script to turn on/off lights like the mihome app does?
Thecyp31
Posts: 3
Joined: Thursday 16 February 2017 20:53
Target OS: Linux
Domoticz version:
Contact:

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

Post by Thecyp31 »

Hi all !

I have a xiaomi home and some yeelight, the gateway work fine with domoticz, but i have some devices who don't work.

I have the button xiaomi, domoticz get the last status of the button ( clic, double clic, long, clic) , but if i want send the command "double clic" it doesnt work.
I have no error message but nothing append ^^

And i have also a bug with the yeelight led, she don't work, but the rgb work fine.

Have you the same problem ?

Thanks a lot and sorry for my bad english ^^
ReX83
Posts: 3
Joined: Sunday 26 March 2017 15:41
Target OS: Windows
Domoticz version:
Contact:

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

Post by ReX83 »

Hi All,

I am new here and I discovered Domoticz while looking for resources about the Xiaomi Gateway.

After some attempts I managed to install the Windows server (latest beta available now), connect to the Xiaomi Gateway and run the Android Domoticz 2.0 app.

I am now struggling to get notifications work: I can send (from the web interface) a manual notification to my Android device, but any notification I setup under the Xiaomi Plug, Click Button or Door Sensor is not sent at all. I can't see in the log (the one available via the web interface) any message about the attempt to send the notification.

Any idea?

Thanks!
bing69
Posts: 139
Joined: Thursday 05 June 2014 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: 's-Hertogenbosch, NL
Contact:

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

Post by bing69 »

marcotrumpet wrote:Does anybody know how to write a lua script to turn on/off lights like the mihome app does?
+1
Neutrino
Posts: 21
Joined: Sunday 08 May 2016 19:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: France
Contact:

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

Post by Neutrino »

hekm77 wrote:Now the devices (Xiaomi Motion Sensor) are not duplicated after reboot domoticz
I did:
1. rm -r domoticz/
2. git clone https://github.com/corbinmunce/domoticz
3. restore database
v3.7119
I confirme it works like a charm.
My switch and my cube work now :)
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

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

Post by Derik »

Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
xbox2610
Posts: 11
Joined: Thursday 23 March 2017 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Rome - Italy
Contact:

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

Post by xbox2610 »

Hello everyone
how you can restore the function of the wifi xiaomi buttons.
thank you
7h1nk
Posts: 15
Joined: Monday 06 March 2017 23:38
Target OS: Linux
Domoticz version:
Contact:

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

Post by 7h1nk »

Any UK users of the smart plugs here? If yes then which solution have you gone for to convert the plug to UK on both sides?

....my kit arrives later this week. Can't wait

Sent from my Nexus 6P using Tapatalk
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests