Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 11 August 2017 14:34
@bublikOff
what device type would you like the Xiaomi curtain to map to?
what device type would you like the Xiaomi curtain to map to?
Open source Home Automation System
https://forum.domoticz.com/
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.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\"}"}
qwerk wrote: ↑Friday 11 August 2017 17:11Keeping 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.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
Code: Select all
AFF08
Any update on the neutral line switches?corbin wrote: ↑Monday 07 August 2017 0:00Yeah 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.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.
Once again an advertise link, please stop this, do your own buisness, try to fine your own Custom.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 @ checkoutCode: Select all
AFF08
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!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?
Yes, that's the one. I already removed, added, etc several times. Even removed the whole gateway an readded.islandman wrote: ↑Saturday 12 August 2017 18:49Do 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!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?
screenshot_44.png
Can you remeber us which version did you use please ?jelleeelco wrote:Yes, that's the one. I already removed, added, etc several times. Even removed the whole gateway an readded.islandman wrote: ↑Saturday 12 August 2017 18:49Do 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!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?
screenshot_44.png
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?
STYPE_BlindsPercentage
I just test the single button, it Works. Have to test the plug, will do this tomorrow morningjelleeelco 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 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.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!
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