Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

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

Post by chatainsim »

xxLeoxx93 wrote:What is the easiest way to tell domoticz that when i doubleclick my switch it should turn of my xiaomi wallplug? I can only see to run a script when interacting with my switch?
With lua it's fine :

Code: Select all

commandArray = {}
-- Commande Selector Switch
    if (devicechanged['Xiaomi Switch Micro-onde'] == 'Click') then
        print("MicroOnde: Click ON for 10s")
        commandArray[1]={['Xiaomi Smart Plug']='On'}
        commandArray[2]={['Xiaomi Smart Plug']='Off AFTER 10'}
    end

    if (devicechanged['Xiaomi Switch Micro-onde'] == 'Double Click') then
        print("MicroOnde: Double Click ON for 30s")
        commandArray[1]={['Xiaomi Smart Plug']='On'}
        commandArray[2]={['Xiaomi Smart Plug']='Off AFTER 30'}
    end
    
    if (devicechanged['Xiaomi Switch Micro-onde'] == 'Long Click' ) then
        print("MicroOnde: Long Click ON for 2m")
        commandArray['Xiaomi Smart Plug']='On FOR 2'
    end
return commandArray
I've added an entry "1.5 lua scripts example" in the Wiki with this script.
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

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

Post by chatainsim »

chatainsim wrote: I've added an entry "1.5 lua scripts example" in the Wiki with this script.
I've also added "1.6 Blocky example".

Tell me if it's relevant and useful. :lol:
User avatar
marcotini
Posts: 28
Joined: Thursday 16 February 2017 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by marcotini »

Why sometimes the motion sensor isn't trigger on and nothing happen?

Edit:
corbin wrote:quote
(I quote just for tag) sometimes happen that the motion sensor not working so I need to update (click on button Update in Hardware section) Xiaomi service. So I think that there is some sort of problem in the timeout or something.
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 »

Some of my motion sensors don't always trigger immediately. Haven't had time to investigate further but I plan to compare Domoticz with the Mi Home app log.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
apazga
Posts: 13
Joined: Tuesday 23 August 2016 11:24
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

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

Post by apazga »

benbammens wrote:OK, the new temperature sensors show up in the android app.

I still can't see them in Domoticz though...
So, are temperature new sensors [1] finally supported or not? I saw them on Mi Home app, but not in Domoticz yet.
Thanks!

[1] http://www.gearbest.com/access-control/pp_626702.html
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by benbammens »

Not in domoticz I'm afraid...

Verstuurd vanaf mijn SM-G930F met Tapatalk
apazga
Posts: 13
Joined: Tuesday 23 August 2016 11:24
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

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

Post by apazga »

benbammens wrote:Not in domoticz I'm afraid...

Verstuurd vanaf mijn SM-G930F met Tapatalk
Ok, thanks anyway!
User avatar
marcotini
Posts: 28
Joined: Thursday 16 February 2017 17:51
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

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

Post by marcotini »

corbin wrote:Some of my motion sensors don't always trigger immediately. Haven't had time to investigate further but I plan to compare Domoticz with the Mi Home app log.
In Mi App everything work great... and only sometimes happen, I don't know how.

There is a way to see the log of the signal sent by the Gateway?
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 »

Hi,

is ther a change that the "Smart Socket/Plug - Zigbee version (The WiFi version is not supported)" to be supported in domoticz.

I ordered the wrong one...
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 »

mmm
Think i found a bug/problem...
Will try to use the remote button in blockley....
Only when i click 1 time...
The button is not going on, just change the tekst to click.
Only in blockley there is no click.
And on is not working.


other options?
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
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 »

marcotini wrote: In Mi App everything work great... and only sometimes happen, I don't know how.

There is a way to see the log of the signal sent by the Gateway?
So I setup an alert from the Mi Home app went motion is detected, and can confirm it was working properly too.

A reboot of Domoticz has helped with events not triggering immediately in Domoticz, indicating that is where the problem is. You can enable logging of messages received from the gateway (check the wiki), but I don't know if we can see a log of messages sent by the gateway.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Onkytonk
Posts: 14
Joined: Saturday 24 June 2017 2:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Onkytonk »

Does anyone have this switch? And is it working?
Attachments
20170606181922_10313.jpg
20170606181922_10313.jpg (194.22 KiB) Viewed 2990 times
theo69
Posts: 60
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi / ODroid
Domoticz version: la. beta
Location: World
Contact:

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

Post by theo69 »

not working yet, only old round version. But they working on it!
Onkytonk wrote:Does anyone have this switch? And is it working?
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
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 »

mmm is this a third party?
Like my tempsensors...
Think they are not supported
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
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

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

Post by pvm »

First: Great work, everything up and running in minutes thanks to the programmer(s) and the wiki!

I would like to play a sound with the gateway, somehow the following blocky does not work... can anybody help me?
xiaomi.PNG
xiaomi.PNG (29.94 KiB) Viewed 2931 times
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
jjnj

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

Post by jjnj »

You will have to use it as selector switch which is represented as a percentage. So 10% for the first one, 20% second one, etc
xxLeoxx93
Posts: 16
Joined: Wednesday 22 March 2017 21:48
Target OS: Windows
Domoticz version:
Contact:

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

Post by xxLeoxx93 »

chatainsim wrote:
chatainsim wrote: I've added an entry "1.5 lua scripts example" in the Wiki with this script.
I've also added "1.6 Blocky example".

Tell me if it's relevant and useful. :lol:
Thank you very much!
Does anyone know if it's possible t change the wifi for the mi home gateway wihout resettig it?
mikeoo
Posts: 110
Joined: Sunday 22 March 2015 7:35
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Holland
Contact:

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

Post by mikeoo »

xxLeoxx93 wrote:
chatainsim wrote:
chatainsim wrote: I've added an entry "1.5 lua scripts example" in the Wiki with this script.
I've also added "1.6 Blocky example".

Tell me if it's relevant and useful. :lol:
Thank you very much!
Does anyone know if it's possible t change the wifi for the mi home gateway wihout resettig it?
As far is i know you need to do a reset. Try this also a month ago but there is no option to change it without reset.
pvm
Posts: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

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

Post by pvm »

jjnj wrote:You will have to use it as selector switch which is represented as a percentage. So 10% for the first one, 20% second one, etc
Thnx, added this info to the wiki page
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
jjnj

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

Post by jjnj »

pvm wrote:
jjnj wrote:You will have to use it as selector switch which is represented as a percentage. So 10% for the first one, 20% second one, etc
Thnx, added this info to the wiki page
Good idea thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest