Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

pandemicz
Posts: 9
Joined: Tuesday 15 August 2017 14:41
Target OS: -
Domoticz version:
Contact:

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

Post 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.
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 »

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 :-(
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
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 »

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
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

corbin wrote: Thursday 17 August 2017 11:12 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
@corbin Looking forward to use my neutral line switches as well, how can I help? New to this!
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 »

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.
quack3d
Posts: 86
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

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

Post 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?
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 »

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.
quack3d
Posts: 86
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

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

Post 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.
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 »

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
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 »

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\"}" }
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

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

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.
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 »

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)
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

Thanks Corbin. So it's only possible to test with your repo, at what time you think it will be compiled into beta?
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 »

after someone that has the switches has tested it and confirms it is working. I don't have these switches setup to test.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

Okay, try tomorrow, to late here now..., what the heck downloading now.... lol
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 »

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
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

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 :D
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 »

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.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests