Page 89 of 123
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Tuesday 15 August 2017 14:44
by pandemicz
I have few double-button wireless switches - left click is not working after 149 update on gateway. So I confirm that - fix needed.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Wednesday 16 August 2017 22:28
by theo69
I just saw the corbin added the Curtain and multiple gateway support. Any update on the neutral line Wall Switches, really need them to work

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 17 August 2017 11:12
by corbin
Waiting on some testing done for
https://github.com/corbinmunce/domoticz
code is slightly modified to make the new neutral line switches easier to add in
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 17 August 2017 15:38
by islandman
@corbin Looking forward to use my neutral line switches as well, how can I help? New to this!
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 17 August 2017 15:39
by islandman
pandemicz wrote: ↑Tuesday 15 August 2017 14:44
I have few double-button wireless switches - left click is not working after 149 update on gateway. So I confirm that - fix needed.
Any update on this, glad i did not update yet.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 17 August 2017 17:51
by quack3d
I see now that my wireless button (the old circular one) Double Click is reported as Long Click and Long Click is reported as Long Click Release - Double Click. Is that the same bug you guys have been talking about the last few days?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Thursday 17 August 2017 19:30
by islandman
quack3d wrote: ↑Thursday 17 August 2017 17:51
I see now that my wireless button (the old circular one) Double Click is reported as Long Click and Long Click is reported as Long Click Release - Double Click. Is that the same bug you guys have been talking about the last few days?
They change the Order in order to be able to use the new square button.
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: Thursday 17 August 2017 19:55
by quack3d
islandman wrote: ↑Thursday 17 August 2017 19:30
They change the Order in order to be able to use the new square button.
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.
Excellent. Thanks a bunch.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 0:04
by bublikOff
islandman wrote: ↑Thursday 17 August 2017 19:30
quack3d wrote: ↑Thursday 17 August 2017 17:51
I see now that my wireless button (the old circular one) Double Click is reported as Long Click and Long Click is reported as Long Click Release - Double Click. Is that the same bug you guys have been talking about the last few days?
They change the Order in order to be able to use the new square button.
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.
What about "Xiaomi Wireless Singl Wall Switch"? It seams that it stopped processing data from it. At least it used to work but now I cant get even event in log. Ive tried to remove it and add it again but no reaction from domoticz side. I do see click events in Mi Home log
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 0:56
by corbin
islandman wrote: ↑Thursday 17 August 2017 15:38
@corbin Looking forward to use my neutral line switches as well, how can I help? New to this!
Can you enable message output for the gateway, and report back what you see when pressing the switch? eg
Code: Select all
2017-08-18 08:55:05.463 {"cmd":"report","model":"ctrl_neutral1","sid":"158d0001d5c914","short_id":4343,"data":"{\"channel_0\":\"on\"}" }
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 4:10
by islandman
corbin wrote: ↑Friday 18 August 2017 0:56
islandman wrote: ↑Thursday 17 August 2017 15:38
@corbin Looking forward to use my neutral line switches as well, how can I help? New to this!
Can you enable message output for the gateway, and report back what you see when pressing the switch? eg
Code: Select all
2017-08-18 08:55:05.463 {"cmd":"report","model":"ctrl_neutral1","sid":"158d0001d5c914","short_id":4343,"data":"{\"channel_0\":\"on\"}" }
I only see this:
Code: Select all
2017-08-17 22:06:20.870 XiaomiGateway: unhandled model: ctrl_ln1
2017-08-17 22:06:23.649 XiaomiGateway: unhandled model: ctrl_ln1
How can i switch on message output?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 4:13
by islandman
bublikOff wrote: ↑Friday 18 August 2017 0:04
islandman wrote: ↑Thursday 17 August 2017 19:30
quack3d wrote: ↑Thursday 17 August 2017 17:51
I see now that my wireless button (the old circular one) Double Click is reported as Long Click and Long Click is reported as Long Click Release - Double Click. Is that the same bug you guys have been talking about the last few days?
They change the Order in order to be able to use the new square button.
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.
What about "Xiaomi Wireless Singl Wall Switch"? It seams that it stopped processing data from it. At least it used to work but now I cant get even event in log. Ive tried to remove it and add it again but no reaction from domoticz side. I do see click events in Mi Home log
Did you update the Gateway to 149 recently? If so this caused the single wall Switch not to work anymore also the double button left switch stopped working.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 4:57
by corbin
islandman wrote: ↑Friday 18 August 2017 4:10
I only see this:
Code: Select all
2017-08-17 22:06:20.870 XiaomiGateway: unhandled model: ctrl_ln1
2017-08-17 22:06:23.649 XiaomiGateway: unhandled model: ctrl_ln1
How can i switch on message output?
Thanks, that should be enough to add the devices, assuming they work the same as the existing neutral line wall switches.
This will only work from compiling my repo at
https://github.com/corbinmunce/domoticz instructions for how to do so are on the wiki
https://www.domoticz.com/wiki/Installin ... spberry_PI
If you still want to enable message output, details are at the bottom of the wiki page
https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 5:02
by islandman
Thanks Corbin. So it's only possible to test with your repo, at what time you think it will be compiled into beta?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 5:04
by corbin
after someone that has the switches has tested it and confirms it is working. I don't have these switches setup to test.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 5:06
by islandman
Okay, try tomorrow, to late here now..., what the heck downloading now.... lol
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 5:24
by corbin
good luck - if you follow that guide line by line it is quite easy but takes some time. also remember to use
https://github.com/corbinmunce/domoticz as the source and not
https://github.com/domoticz/domoticz
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 18 August 2017 14:49
by islandman
corbin wrote: ↑Friday 18 August 2017 5:04
after someone that has the switches has tested it and confirms it is working. I don't have these switches setup to test.
okay, after some ups and downs, it worked. But the best thing, the neutral line Switch are working, great work @corbin

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 19 August 2017 4:47
by corbin
Thanks, I've submitted the changes to be included in the main beta, there is a problem compiling but I don't think it is related to my changes.
Also if it does get added to the beta, existing wall switches will need to be deleted and re-added in Domoticz due to the new unit codes being used.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 19 August 2017 13:01
by islandman
corbin wrote: ↑Saturday 19 August 2017 4:47
Thanks, I've submitted the changes to be included in the main beta, there is a problem compiling but I don't think it is related to my changes.
Also if it does get added to the beta, existing wall switches will need to be deleted and re-added in Domoticz due to the new unit codes being used.
Great Job. Do we have to just to Re-add the wall switches for inside the wall, or also the one flat ones for on the wall?