Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

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 »

@bublikOff

what device type would you like the Xiaomi curtain to map to?
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
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 »

@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\"}"}
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

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

Post 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 ;-)
booster
Posts: 34
Joined: Wednesday 10 December 2014 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Rijssen, The Netherlands
Contact:

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

Post 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.
Connected to:
-Pi3; Aeon Labs Z-Stick; Fibaro Switches, Roller Shutter and Motion Sensors; Qubino Dimmers; P1 Port + Youless, MiLight; HUE Bridge; Forest shuttle Z-Wave; RFLink + KAKU; Voltcraft CO20; Everspring floodsensors; GreenWave PN-6; NEO Sensors
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 »

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
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki
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: 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?
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post 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 ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

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

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 2576 times
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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?
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post 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 ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by jelleeelco »

Latest beta, 3.8278. The official beta, not the one from Corbin.
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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!!!
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post 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)
Last edited by deennoo on Saturday 12 August 2017 23:22, edited 1 time in total.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

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

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 2515 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
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post 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
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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!
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

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

Post 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 
Not using Domoticz anymore
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests