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 »

levynger wrote:
islandman wrote:Hi I am to new to domoticz. I switched from pure homebridge to this. I have one of the great gateways from Xiaomi. However i bought one of this neutral wire single switches. Are there any tricks to get them show up in domoticz? Its working great with all the other wall switches without neutral wire.

Thanks for your help...
the Neutral Version are not (yet) supported.. however it is planned..
i have sync'ed Corbin's git, i will try to assist him with it. i have received single neutral version...
Neutral and dual wire switch are fully supported now since à long time
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

Luigi87 wrote:Hi guys, I have a question about the Xiaomi gateway. I would like to implement a presence detection trough the ZigBee protocol.
there are tags like: this one from Samsung, who communicate with the smartthings hub to confirm you are there or not.

Now the problem: the Samsung smartthings hub is realy expensive (around 100 bucks), so i would like to use the Xiaomi Gateway and maybe an other ZigBee tag with the same functionality's
are there people here with experience with this? so which hardware do you used?
À french maker Made à first bench of ZiGate, à USB/wifi device who act as à ZigBee controller.

ZiGate is compatible with Xiaomi, hue, Ikea, Toshiba, Legrand Zigbee devices

Have a look here using your favorite translater : https://www.kickstarter.com/projects/13 ... me?lang=fr
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

theo69 wrote:Hey did anybody trying to integrate this beautiful desklamp von Xiaomi: Xiaomi Mijia Smart LED Desk Lamp
That à Yeelights device, who is already supported by Domoticz...just à commercial link
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

deennoo wrote:
levynger wrote:
islandman wrote:Hi I am to new to domoticz. I switched from pure homebridge to this. I have one of the great gateways from Xiaomi. However i bought one of this neutral wire single switches. Are there any tricks to get them show up in domoticz? Its working great with all the other wall switches without neutral wire.

Thanks for your help...
the Neutral Version are not (yet) supported.. however it is planned..
i have sync'ed Corbin's git, i will try to assist him with it. i have received single neutral version...
Neutral and dual wire switch are fully supported now since à long time
I think corbin reverted the ctrl_ln devices changes.
Check the cpp file, there is no longer any reference to the ctrl_ln devices and it appears as I handled device in domoticz

Sent from my SM-G9287 using Tapatalk
islandman
Posts: 53
Joined: Saturday 05 August 2017 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by islandman »

deennoo wrote:
levynger wrote:
islandman wrote:Hi I am to new to domoticz. I switched from pure homebridge to this. I have one of the great gateways from Xiaomi. However i bought one of this neutral wire single switches. Are there any tricks to get them show up in domoticz? Its working great with all the other wall switches without neutral wire.

Thanks for your help...
the Neutral Version are not (yet) supported.. however it is planned..
i have sync'ed Corbin's git, i will try to assist him with it. i have received single neutral version...
Neutral and dual wire switch are fully supported now since à long time
But i see this: 2017-08-06 13:12:47.822 XiaomiGateway: unhandled model: ctrl_ln1
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 »

Which version did you use ?

On last stable all wired switch are working
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
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 »

wss2 wrote:
levynger wrote: You want to activate internal xiaomi app scene?
Now that you tell me so I understand the whipped that I've said.

I try to explain it better.
I would like to send a double click to the gateway as if the domoticz button was a virtual switch so the gateway believes that the switch I own been pressed
Sorry for my bad english.

OK, i hope i understood, you want to use the GW functionalities, and send it Double Click from domoticz..
You can simply press the Double Click button inside the switch created, and it will send the command to the GW.
wb.PNG
wb.PNG (52.14 KiB) Viewed 3437 times
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 »

Im using Corbin's git, - with latest changes he made.
2 weeks ago it had the ctrl_ln devices, however seems that corbin reverted some of the changes
last update i made to the domoticz removed the support for them.
wss2
Posts: 5
Joined: Saturday 05 August 2017 19:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by wss2 »

levynger wrote:
wss2 wrote:
levynger wrote: You want to activate internal xiaomi app scene?
Now that you tell me so I understand the whipped that I've said.

I try to explain it better.
I would like to send a double click to the gateway as if the domoticz button was a virtual switch so the gateway believes that the switch I own been pressed
Sorry for my bad english.

OK, i hope i understood, you want to use the GW functionalities, and send it Double Click from domoticz..
You can simply press the Double Click button inside the switch created, and it will send the command to the GW.
wb.PNG
I dont know why but does not work for me. I can turn on and off the light, I can play music or other sound via domoticz but if I press the button does do nothing
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 »

wss2 wrote:
levynger wrote:
wss2 wrote:
Now that you tell me so I understand the whipped that I've said.

I try to explain it better.
I would like to send a double click to the gateway as if the domoticz button was a virtual switch so the gateway believes that the switch I own been pressed
Sorry for my bad english.

OK, i hope i understood, you want to use the GW functionalities, and send it Double Click from domoticz..
You can simply press the Double Click button inside the switch created, and it will send the command to the GW.
wb.PNG
I dont know why but does not work for me. I can turn on and off the light, I can play music or other sound via domoticz but if I press the button does do nothing
Do you have any action assigned to double click?
By Itself it does nothing..
I have wol command to my Htpc and it works from virtual switch as well..

Sent from my SM-G9287 using Tapatalk
joebar
Posts: 35
Joined: Tuesday 24 January 2017 12:19
Target OS: -
Domoticz version:
Contact:

Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by joebar »

levynger wrote:
islandman wrote:Hi I am to new to domoticz. I switched from pure homebridge to this. I have one of the great gateways from Xiaomi. However i bought one of this neutral wire single switches. Are there any tricks to get them show up in domoticz? Its working great with all the other wall switches without neutral wire.

Thanks for your help...
the Neutral Version are not (yet) supported.. however it is planned..
i have sync'ed Corbin's git, i will try to assist him with it. i have received single neutral version...
I feel I missing something, my xiaomi (dual) neutral line switches have been working in domoticz for a long time. Until 2 days ago I had the domoticz beta running from end of may compile. I installed the new beta for the new human body sensor with lux support.
The neutral line switches are obviously still in my devices and I can control them but the status from manual control is not updated anymore.

Is this what we are talking about?, because it was running working in the code somewhere around April/may.
islandman
Posts: 53
Joined: Saturday 05 August 2017 20:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by islandman »

joebar wrote:
levynger wrote:
islandman wrote:Hi I am to new to domoticz. I switched from pure homebridge to this. I have one of the great gateways from Xiaomi. However i bought one of this neutral wire single switches. Are there any tricks to get them show up in domoticz? Its working great with all the other wall switches without neutral wire.

Thanks for your help...
the Neutral Version are not (yet) supported.. however it is planned..
i have sync'ed Corbin's git, i will try to assist him with it. i have received single neutral version...
I feel I missing something, my xiaomi (dual) neutral line switches have been working in domoticz for a long time. Until 2 days ago I had the domoticz beta running from end of may compile. I installed the new beta for the new human body sensor with lux support.
The neutral line switches are obviously still in my devices and I can control them but the status from manual control is not updated anymore.

Is this what we are talking about?, because it was running working in the code somewhere around April/may.
mine never worked (but i am new so only tried official and newest beta) and I am getting:

Code: Select all

2017-08-06 13:12:47.822 XiaomiGateway: unhandled model: ctrl_ln1
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 »

levynger wrote:Im using Corbin's git, - with latest changes he made.
2 weeks ago it had the ctrl_ln devices, however seems that corbin reverted some of the changes
last update i made to the domoticz removed the support for them.
Yeah I've taken it out for now, wanted to get the other new devices added to the main beta first. That is done now but my repo is currently not compiling properly. Should have that fixed a bit later this week, then can look at the ctrl_ln devices again.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Andree
Posts: 74
Joined: Wednesday 07 June 2017 11:19
Target OS: Windows
Domoticz version:
Contact:

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

Post by Andree »

With new beta v3.8240 all my 4 wireless switch when i use "DoubleClick" Domoticz set "LongClick".
I have to change all my Events or there is a method to fix?
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 »

We have to do this to add the square wireless switch, please change your script...this change was made for been on stable version. Using beta before is thé risk that changé have to be done.
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 »

Andree wrote:With new beta v3.8240 all my 4 wireless switch when i use "DoubleClick" Domoticz set "LongClick".
I have to change all my Events or there is a method to fix?
No Andree, it can be done much simpler.
Go to your switch, press edit and look at the selector levels.
The new sequence is off, click, double click, long click and long release.
Yours will be different, just reorder them using the arrows at the end of the level name.
Couple of clicks and you're done.
Don't forget to save the new sequence.
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

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

Post by qwerk »

HI, just a quick question.
I can get click, double click and longclick release working.
but not longclick. now I only have three options, I would like to have four options with the button.
any advice?
airmarshall
Posts: 19
Joined: Friday 04 August 2017 19:21
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

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

Post by airmarshall »

Hey Corbin et al.

Epic work on getting this all working with framework. Wondering if anyone can aid me in troubleshooting a problem though?

I run domoticz in docker on an UnRaid server, I have OpenZwave through an Aeon stick all working well with some fibaro dimmers etc. In the process of adding Xiaomi devices for triggers etc.

I'm currently running 3.8206. I can add the Gateway but I don't get any devices listed. Log states:

Code: Select all

2017-08-08 21:11:28.994 XiaomiGateway: will listen on 9898 for hardware id 6
2017-08-08 21:11:28.994 XiaomiGateway: Delaying worker startup...
2017-08-08 21:11:33.995 XiaomiGateway: Worker started...
I've configured the Uservariable to log directly. I've mapped port 9898 through to the docker (or at least I think I have):

Image

No errors shown but no devices found either.

Server is on the same subnet as the gateway, server is wired and can only be wired. I ran the iptables commands from the wiki on the unraid server but it doesn't seem to have made a difference.

I fired up domoticz on my windows desktop as a test bed, network situation is the same, the windows install picks up the devices right away.

I suspect it's to do with the port but am at a loss of how to troubleshoot and fix it.

Can you help?
Help no longer needed, launching the docker with "--net=host" resolved the issue. I also had confirmation that unraid does not pass multicast packets to bridge dockers if that helps anyone else.
Last edited by airmarshall on Thursday 10 August 2017 10:22, edited 1 time in total.
bublikOff
Posts: 5
Joined: Tuesday 25 July 2017 17:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by bublikOff »

Anyone interesting in adding Xiaomi Smart Curtain? Im trying to add it to domoticz ... and its seams that it work but for the moment Ive only motors (waiting for curtain rails) and have no idea if device status is correct
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 »

@airmarshall

since you are running an UnRaid server, would it be this?

"I also had confirmation that unraid does not pass multicast packets to bridge dockers if that helps anyone else."
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest