Page 88 of 123

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

Posted: Friday 11 August 2017 14:34
by corbin
@bublikOff

what device type would you like the Xiaomi curtain to map to?

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

Posted: Friday 11 August 2017 14:38
by corbin
@qwerk
Are you looking for long_click_press? You might need to re-order the selector switch, as per viewtopic.php?f=17&t=11520&start=1720#p145206

This is what I'm currently getting:
2017-08-11 22:34:42.617 (Xiaomi Gateway) Light/Switch (Xiaomi Button Office)
2017-08-11 22:34:42.617 {"cmd":"report","model":"switch","sid":"158d0000fa61de","short_id":7725,"data":"{\"status\":\"long_click_press\"}"}
2017-08-11 22:34:45.330 (Xiaomi Gateway) Light/Switch (Xiaomi Button Office)
2017-08-11 22:34:45.330 {"cmd":"report","model":"switch","sid":"158d0000fa61de","short_id":7725,"data":"{\"status\":\"long_click_release\"}"}

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

Posted: Friday 11 August 2017 17:11
by qwerk
corbin wrote: Friday 11 August 2017 14:38 @qwerk
Are you looking for long_click_press? You might need to re-order the selector switch, as per viewtopic.php?f=17&t=11520&start=1720#p145206

This is what I'm currently getting:
2017-08-11 22:34:42.617 (Xiaomi Gateway) Light/Switch (Xiaomi Button Office)
2017-08-11 22:34:42.617 {"cmd":"report","model":"switch","sid":"158d0000fa61de","short_id":7725,"data":"{\"status\":\"long_click_press\"}"}
2017-08-11 22:34:45.330 (Xiaomi Gateway) Light/Switch (Xiaomi Button Office)
2017-08-11 22:34:45.330 {"cmd":"report","model":"switch","sid":"158d0000fa61de","short_id":7725,"data":"{\"status\":\"long_click_release\"}"}
I don't know how to push the button, to get the difference between long press and long press release.
it is more a user problem ;-)

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

Posted: Friday 11 August 2017 18:51
by booster
qwerk wrote: Friday 11 August 2017 17:11
I don't know how to push the button, to get the difference between long press and long press release.
it is more a user problem ;-)
Keeping the button manually pressed wil trigger a long press. When you release it again, it will trigger a long press release.... So the actions are linked.

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

Posted: Friday 11 August 2017 21:37
by theo69
Hey, sorry about my affiliate links (they get created by my installed plugin) however I just organized a Deal for everybody! You can get the Xiaomi Gateway with 6 US$ discount (100 are available for this Deal) Xiaomi Gateway just use this code @ checkout

Code: Select all

AFF08

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

Posted: Friday 11 August 2017 21:42
by islandman
corbin wrote: Monday 07 August 2017 0:00
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.
Any update on the neutral line switches?

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

Posted: Saturday 12 August 2017 7:06
by deennoo
theo69 wrote:Hey, sorry about my affiliate links (they get created by my installed plugin) however I just organized a Deal for everybody! You can get the Xiaomi Gateway with 6 US$ discount (100 are available for this Deal) Xiaomi Gateway (sponsored Link) just use this code @ checkout

Code: Select all

AFF08
Once again an advertise link, please stop this, do your own buisness, try to fine your own Custom.

I'm affiliate to GB too, i Made à blog, i'm try to provied good éléments for m'y readers around Domoticz, affiliate provied hardware to show how to use it (script, vidéo, photos). I have never put m'y affiliate link on this forum, only thing i Made is to put m'y blog adresse.

Your deal isn't yours, i have the same on gearbest googlesheet affiliate promote.

GB put an aquara/yeelight/MiHome device Everyday on this googlesheet, will you post here Everyday ?

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

Posted: Saturday 12 August 2017 16:35
by jelleeelco
Quick question. Went through the forum and my best guess is that the Wireless Dual Wall Switch should be working. But mine does not get through to Domoticz. It is working in the MI app, and all my other devices are in domoticz.

This morning there was a firmware update for the gateway, i performed the update. Running latest beta... Is there anythinh i can check? How can i trigger domoticz to look for new devices? I already removed the switch from the gateway and readded, and when that didnt work i removed the gateway and readded that. Everything showed exceot the wireless dual wall switch.

Any one an idea where to start looking? Many thanks in advance!
Jelle

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

Posted: Saturday 12 August 2017 17:35
by jelleeelco
I'm a step further . When clicking the device it was found in Domoticz. But, Switch 1 isn't working. Both "Switch 2" and "Both Click" are working. When pressing switch 1 nothing happens in the log. Switch 1 is working properly in MI app....

Anyone an idea?

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

Posted: Saturday 12 August 2017 18:49
by islandman
jelleeelco wrote: Saturday 12 August 2017 17:35 I'm a step further . When clicking the device it was found in Domoticz. But, Switch 1 isn't working. Both "Switch 2" and "Both Click" are working. When pressing switch 1 nothing happens in the log. Switch 1 is working properly in MI app....

Anyone an idea?
Do you mean these http://www.gearbest.com/alarm-systems/pp_610095.html Mine are working. Maybe remove the Switch ans ad it again within in Domoticz. Try adding 1 sec delay!
screenshot_44.png
screenshot_44.png (94.75 KiB) Viewed 2588 times

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

Posted: Saturday 12 August 2017 19:05
by jelleeelco
islandman wrote: Saturday 12 August 2017 18:49
jelleeelco wrote: Saturday 12 August 2017 17:35 I'm a step further . When clicking the device it was found in Domoticz. But, Switch 1 isn't working. Both "Switch 2" and "Both Click" are working. When pressing switch 1 nothing happens in the log. Switch 1 is working properly in MI app....

Anyone an idea?
Do you mean these http://www.gearbest.com/alarm-systems/pp_610095.html Mine are working. Maybe remove the Switch ans ad it again within in Domoticz. Try adding 1 sec delay!

screenshot_44.png
Yes, that's the one. I already removed, added, etc several times. Even removed the whole gateway an readded.

I have another one, I'll try that to see if it's maybe the switch (can't imagine as only switch 1 isn't working).

Would you mind posting a picture of your switch in domoticz? So I can see the selector settings?

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

Posted: Saturday 12 August 2017 19:08
by deennoo
jelleeelco wrote:
islandman wrote: Saturday 12 August 2017 18:49
jelleeelco wrote: Saturday 12 August 2017 17:35 I'm a step further . When clicking the device it was found in Domoticz. But, Switch 1 isn't working. Both "Switch 2" and "Both Click" are working. When pressing switch 1 nothing happens in the log. Switch 1 is working properly in MI app....

Anyone an idea?
Do you mean these http://www.gearbest.com/alarm-systems/pp_610095.html Mine are working. Maybe remove the Switch ans ad it again within in Domoticz. Try adding 1 sec delay!

screenshot_44.png
Yes, that's the one. I already removed, added, etc several times. Even removed the whole gateway an readded.

I have another one, I'll try that to see if it's maybe the switch (can't imagine as only switch 1 isn't working).

Would you mind posting a picture of your switch in domoticz? So I can see the selector settings?
Can you remeber us which version did you use please ?

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

Posted: Saturday 12 August 2017 20:29
by jelleeelco
Latest beta, 3.8278. The official beta, not the one from Corbin.

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

Posted: Saturday 12 August 2017 21:06
by jelleeelco
I added a second, brand new one to MI app. All works there perfectly. Then after a while it appears in Domoticz, and its recognized correctly. I add it, and see what buttons work. Again, switch 2 is working fine but switch 1 not. For this one also both click doesnt work....

EDIT: both-click does work. So for both Wireless Dual Wall switches the only one that DOES NOT WORK is the Switch 1 (and hehe, let that be the one that I want to use, otherwise I have to install the switch upside down.... my wife actually really likes these so I really want to get this to work!)

Any help is appreciated!!!

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

Posted: Saturday 12 August 2017 23:22
by deennoo
I have the same issue

Upgrading gateway fw to 1.4.1_149.0143

All my dual wireless switch lost switch2 (channel0)

Looks like gateway does'nt broadcast the message any more, log on Mi-Home is ok.

Report this issue to Xiaomi (that not a domoticz problem) using the MiHome app (specifing the gateway fw off course) and on their GitHub (https://github.com/louisZL/lumi-gateway ... /issues/20)

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

Posted: Saturday 12 August 2017 23:38
by jelleeelco
Ok. Sort of happy (sorry for you though...but many, many thanks for reporting) that I'm not the only one. It means I can stop testing and fixing until a new firmware...

Does anyone know if the single-button wireless still works? I want to order them to control HUE lights (much nicer than the original HUE remotes... can't believe Philips doesn't make something more mainstream to integrate).

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

Posted: Saturday 12 August 2017 23:42
by bublikOff
corbin wrote: Friday 11 August 2017 14:34 @bublikOff

what device type would you like the Xiaomi curtain to map to?
2017-08-13_023555.png
2017-08-13_023555.png (22.47 KiB) Viewed 2527 times
STYPE_BlindsPercentage

The main problem is that I dont have curtain rail and its not calibrated for end points ... for the moment Im waiting for parcel with a curtain rail for testing but have no idea when it will come. I need to understand if I can integrate Xiaomi smart curtain in smart home ... im working with designer on my new apt design and I need to finish tech things before starting apartment repair

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

Posted: Sunday 13 August 2017 0:02
by deennoo
jelleeelco wrote:Ok. Sort of happy (sorry for you though...but many, many thanks for reporting) that I'm not the only one. It means I can stop testing and fixing until a new firmware...

Does anyone know if the single-button wireless still works? I want to order them to control HUE lights (much nicer than the original HUE remotes... can't believe Philips doesn't make something more mainstream to integrate).
I just test the single button, it Works. Have to test the plug, will do this tomorrow morning

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

Posted: Sunday 13 August 2017 10:58
by jelleeelco
Ok I tested the smart plug and the wired single wall switch; fortunately they worked.

Also my motion sensors and door contacts still report the status properly. So it looks like it that only the dual wall switch (wireless for sure, can't test the wired one as I don't have any) has limited functionality (left click not working).

I saw the same being reported on github so it's the firmware of th Xiaomi for sure. Let's hope they fix it soon!

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

Posted: Sunday 13 August 2017 14:25
by G3rard
jelleeelco wrote: Sunday 13 August 2017 10:58 Ok I tested the smart plug and the wired single wall switch; fortunately they worked.

Also my motion sensors and door contacts still report the status properly. So it looks like it that only the dual wall switch (wireless for sure, can't test the wired one as I don't have any) has limited functionality (left click not working).

I saw the same being reported on github so it's the firmware of th Xiaomi for sure. Let's hope they fix it soon!
I have got the wireless dual wall switch (Xiaomi WXKG02LM Aqara Smart Light Switch Wireless Version) here fully working with Domoticz v3.8153 and firmware version 1.4.1_148.0143. So indeed a firmware fix is needed since it's not working with 149 version.

Code: Select all

2017-08-13 14:15:01.021 {"cmd":"report","model":"86sw2","sid":"158d0001831c04","short_id":21893,"data":"{\"dual_channel\":\"both_click\"}"}
2017-08-13 14:15:01.021 Xiaomi Gateway: Light/Switch | Xiaomi Wireless Dual Wall Switch 
2017-08-13 14:14:56.752 {"cmd":"report","model":"86sw2","sid":"158d0001831c04","short_id":21893,"data":"{\"channel_1\":\"click\"}"}
2017-08-13 14:14:56.751 Xiaomi Gateway: Light/Switch | Xiaomi Wireless Dual Wall Switch 
2017-08-13 14:14:51.825 {"cmd":"report","model":"86sw2","sid":"158d0001831c04","short_id":21893,"data":"{\"channel_0\":\"click\"}"}
2017-08-13 14:14:51.824 Xiaomi Gateway: Light/Switch | Xiaomi Wireless Dual Wall Switch