Page 87 of 123

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

Posted: Sunday 06 August 2017 18:37
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

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

Posted: Sunday 06 August 2017 18:41
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

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

Posted: Sunday 06 August 2017 18:43
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

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

Posted: Sunday 06 August 2017 18:52
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

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

Posted: Sunday 06 August 2017 19:16
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

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

Posted: Sunday 06 August 2017 20:20
by deennoo
Which version did you use ?

On last stable all wired switch are working

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

Posted: Sunday 06 August 2017 20:32
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 3446 times

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

Posted: Sunday 06 August 2017 20:35
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.

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

Posted: Sunday 06 August 2017 21:42
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

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

Posted: Sunday 06 August 2017 21:48
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

Xiaomi Smart Home Suite (very cheap) compatibilty?

Posted: Sunday 06 August 2017 22:18
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.

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

Posted: Sunday 06 August 2017 22:38
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

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

Posted: Monday 07 August 2017 0:00
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.

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

Posted: Tuesday 08 August 2017 12:25
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?

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

Posted: Tuesday 08 August 2017 16:40
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.

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

Posted: Tuesday 08 August 2017 17:59
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.

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

Posted: Tuesday 08 August 2017 19:28
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?

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

Posted: Tuesday 08 August 2017 22:49
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.

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

Posted: Wednesday 09 August 2017 3:25
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

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

Posted: Friday 11 August 2017 14:11
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."