Page 95 of 123

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

Posted: Thursday 07 September 2017 10:58
by DannyElfman
Thanks but I'm not sure I get it :)
It could be done or it has be done ?
And what kind of "more appropriate" device ?

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

Posted: Thursday 07 September 2017 16:08
by macher
Hi,
Why wired wall switch can't be selector? If I understand only wireless can be as selector switch why not wired? In logs in MI Home it detects click and double clicks

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

Posted: Thursday 07 September 2017 18:25
by ratjenl
pvm wrote: Wednesday 06 September 2017 21:49 ratjenl
Do you have these devices available in Domoticz? Then you should be able to play a sound using blockly, some instructions on https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Did you see those? Does that help you?
I already followed the wiki but didn't read about the blockly scripts. I will try and learn blockly thnx

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

Posted: Thursday 07 September 2017 23:13
by corbin
DannyElfman wrote: Thursday 07 September 2017 10:58 Thanks but I'm not sure I get it :)
It could be done or it has be done ?
And what kind of "more appropriate" device ?
Not included in the main beta yet - https://github.com/domoticz/domoticz/pull/1794

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

Posted: Friday 08 September 2017 7:51
by deennoo
macher wrote:Hi,
Why wired wall switch can't be selector? If I understand only wireless can be as selector switch why not wired? In logs in MI Home it detects click and double clicks
Double click or both click ? Single button or double button. ?

Please give us more information and à log or screen about it

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

Posted: Friday 08 September 2017 9:02
by macher
Image

It's dobule button switch (Xiaomi QBKG03LM Aqara Wall Switch ZigBee Version)

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

Posted: Friday 08 September 2017 9:19
by chatainsim
matteos1 wrote: Tuesday 05 September 2017 19:18 Cattura.PNG
i think is better
chatainsim wrote: Tuesday 05 September 2017 17:14
matteos1 wrote: Tuesday 05 September 2017 16:38

hy thank you
could see this picture and transform in lua?
Catturablock.PNG
It's too small to read text.
Does it work ?
Because the If and Else if is almost the same and only the If should be triggered and never the first Else If.

Here is a start :

Code: Select all

time = os.date("*t")

commandArray = {}

if (devicechanged['Bagnetto Aqara'] == "On" and otherdevices['Bagnetto Aqara Lux'] >= "35" and time.hour > 8 and timeofday['Daytime']) then
	commandArray['Group:Bagnetto lux > 34'] = "On"
elseif (devicechanged['Bagnetto Aqara'] == "On" and otherdevices['Bagnetto Aqara Lux'] >= "35" and time.hour > 8 and otherdevices['Xiaomi Porta Bagno'] == "Closed" and timeofday['Daytime']) then
	commandArray['Group:bagnetto seduto'] = "On"
	commandArray['Yeelight LED (Mono) Bagnetto'] = "Off"
elseif
	[...]
end

return commandArray

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

Posted: Friday 08 September 2017 12:50
by Jumper3126
Hi all,

I have several of the zigbee powerplugs around the house to form a mesh. Occasionally however there is some problem, causing several sensors and plugs to be offline. I could add more plugs to solve this, but I read it is now also possible to add a second gateway.
What is the experience of this? Will a second gateway function as a repeater for the zigbee singal.Does it perform similar to the plugs or is is perhaps even stronger/better?

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

Posted: Friday 08 September 2017 13:01
by Sevift
Hi.
I have - Xiaomi Aqara Smart Light Switch WXKG03LM single-key.
Domoticz adds only a battery device. Light/Switch device does not appear. In MiHome everything works fine. Is this related to the Xiaomi gateway firmware (149)?

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

Posted: Friday 08 September 2017 14:05
by matteos1
sorry but language in block and Lua are different?
chatainsim wrote: Friday 08 September 2017 9:19
matteos1 wrote: Tuesday 05 September 2017 19:18 Cattura.PNG
i think is better
chatainsim wrote: Tuesday 05 September 2017 17:14

It's too small to read text.
Does it work ?
Because the If and Else if is almost the same and only the If should be triggered and never the first Else If.

Here is a start :

Code: Select all

time = os.date("*t")

commandArray = {}

if (devicechanged['Bagnetto Aqara'] == "On" and otherdevices['Bagnetto Aqara Lux'] >= "35" and time.hour > 8 and timeofday['Daytime']) then
	commandArray['Group:Bagnetto lux > 34'] = "On"
elseif (devicechanged['Bagnetto Aqara'] == "On" and otherdevices['Bagnetto Aqara Lux'] >= "35" and time.hour > 8 and otherdevices['Xiaomi Porta Bagno'] == "Closed" and timeofday['Daytime']) then
	commandArray['Group:bagnetto seduto'] = "On"
	commandArray['Yeelight LED (Mono) Bagnetto'] = "Off"
elseif
	[...]
end

return commandArray

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

Posted: Friday 08 September 2017 15:15
by deennoo
Sevift wrote:Hi.
I have - Xiaomi Aqara Smart Light Switch WXKG03LM single-key.
Domoticz adds only a battery device. Light/Switch device does not appear. In MiHome everything works fine. Is this related to the Xiaomi gateway firmware (149)?
That à Fw problème, api doesn't send info about this switch, wait for gateway update

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

Posted: Friday 08 September 2017 15:23
by deennoo
macher wrote:Image

It's dobule button switch (Xiaomi QBKG03LM Aqara Wall Switch ZigBee Version)
OK just test it, and yeap double Click is on app, but not on api, gateway doesn't send this info/order.

You can activate Xiaomi log on domoticz following this : https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting

Activating raw message will show everything who is send by the gateway and can be use on Domoticz.

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

Posted: Friday 08 September 2017 18:17
by Stanleyk
macher wrote: Friday 08 September 2017 9:02 Image

It's dobule button switch (Xiaomi QBKG03LM Aqara Wall Switch ZigBee Version)
Have you got double button in domoticz ? because, I install double button wired switch yesterday, but no time for configuration. today I check remotely domoticz server and he say that have new xiaomi wall switch. So I add switch from device tab to repository, but I have just one on/off switch..

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

Posted: Friday 08 September 2017 18:45
by frigide
I have a Xiaomi gateway but when is activate the Xiaomi Gateway MP3 in a script or manually Domoticz crashes. Is this a common problem.

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

Posted: Friday 08 September 2017 20:39
by DannyElfman
corbin wrote: Thursday 07 September 2017 23:13 Not included in the main beta yet - https://github.com/domoticz/domoticz/pull/1794
Thank you Sir for this info (and for that great tool :P

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

Posted: Monday 11 September 2017 13:28
by macher
deennoo wrote: Friday 08 September 2017 15:23
macher wrote:Image

It's dobule button switch (Xiaomi QBKG03LM Aqara Wall Switch ZigBee Version)
OK just test it, and yeap double Click is on app, but not on api, gateway doesn't send this info/order.

You can activate Xiaomi log on domoticz following this : https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting

Activating raw message will show everything who is send by the gateway and can be use on Domoticz.
Ok I saw in gateway log that it not send information about double click... but... if i click double it send for examle that is clicked two times "Off". So maybe there is posibility to code it in domoticz. For example if gateway send that button has been clicked 2 times "Off" in time range 1 secound than it is double click?

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

Posted: Monday 11 September 2017 17:06
by Andree
Hi to all,
this new water sensor work in domoticz?
https://www.gearbest.com/home-smart-imp ... 68897.html

Thx

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

Posted: Monday 11 September 2017 17:53
by deennoo
macher wrote:
deennoo wrote: Friday 08 September 2017 15:23
macher wrote:Image

It's dobule button switch (Xiaomi QBKG03LM Aqara Wall Switch ZigBee Version)
OK just test it, and yeap double Click is on app, but not on api, gateway doesn't send this info/order.

You can activate Xiaomi log on domoticz following this : https://www.domoticz.com/wiki/Xiaomi_Ga ... leshooting

Activating raw message will show everything who is send by the gateway and can be use on Domoticz.
Ok I saw in gateway log that it not send information about double click... but... if i click double it send for examle that is clicked two times "Off". So maybe there is posibility to code it in domoticz. For example if gateway send that button has been clicked 2 times "Off" in time range 1 secound than it is double click?
You can do it by your own using lua script. Gateway support only support what is send from the gateway.


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

Posted: Tuesday 12 September 2017 7:30
by Mace
My Xiaomi works great in Domoticz with the attached sensors (human body, temp&humidity sensors), but when I want to trigger something on the device itself(fe ring the doorbell), I'm getting an error:
'Error: XiaomiGateway: unable to write command - Invalid Key"

Search thru a lot of posts, but can't find an answer on how to solve this. I'm currently on the latest Beta, I was running on the latest stable production version, upgrading to beta didn't help.

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

Posted: Tuesday 12 September 2017 10:44
by nizaga
Hi, my xiaomi gateway was running ok until i changed the gateway's IP. Even if i updated the IP in the hardware section, devices are not responding. i tried to update the IP (same password) but no way.

Once the gateway's ip changes, do you need to reset the gateway and start over again with the app, and so on?

thanks