Xiaomi Smart Home Suite (very cheap) compatibilty?

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

Moderator: leecollings

arkoko
Posts: 34
Joined: Saturday 17 December 2016 12:13
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Estonia
Contact:

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

Post by arkoko »

Not (yet?) I hope and think @corbin will comment this.
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 »

paszczus wrote:Thank you @arkoko, i thought it will be added to Switches automatically. After manually adding it to Switches i can turn it off and on!
Is there a way to see power consumption too?
the plug should update automatically to the korrekt type when detekted, so a problem there.

no power consumption available, if/when it is, I will add to Domoticz
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

corbin wrote:
paszczus wrote:Thank you @arkoko, i thought it will be added to Switches automatically. After manually adding it to Switches i can turn it off and on!
Is there a way to see power consumption too?
the plug should update automatically to the korrekt type when detekted, so a problem there.

no power consumption available, if/when it is, I will add to Domoticz
I think paszczus didn't know that we have to add device after detection to saw it on switch tab. Everything looks to work.

@paszczus can you confirm that plug status is update when switch from MiHome app ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
paszczus
Posts: 8
Joined: Saturday 14 January 2017 11:46
Target OS: Linux
Domoticz version:
Contact:

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

Post by paszczus »

Yes, the plug status is updating when i change if from Xiaomi Mi app and vice versa.
Zrzut ekranu 2017-01-15 o 14.24.21.png
Zrzut ekranu 2017-01-15 o 14.24.21.png (220.22 KiB) Viewed 2273 times
It will be awesome if there will be power consumption status. I have ordered 3 more plugs ;)
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 »

Can you share with us plug message (text on log tab) ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
StasDemydiuk
Posts: 59
Joined: Saturday 14 January 2017 21:37
Target OS: Linux
Domoticz version: Beta
Location: Ukraine
Contact:

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

Post by StasDemydiuk »

I found this repository with some documentation for Xiaomi devices:
https://github.com/louisZL/lumi-gateway-local-api

It looks like plug power consumption can be taken:
https://github.com/louisZL/lumi-gateway ... er/plug.md
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 »

power consumption is not reported

from the docs - https://github.com/louisZL/lumi-gateway ... i/issues/5
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
paszczus
Posts: 8
Joined: Saturday 14 January 2017 11:46
Target OS: Linux
Domoticz version:
Contact:

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

Post by paszczus »

deennoo wrote:Can you share with us plug message (text on log tab) ?
Do you mean this?
Zrzut ekranu 2017-01-15 o 20.23.26.png
Zrzut ekranu 2017-01-15 o 20.23.26.png (331.02 KiB) Viewed 2220 times
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 »

No this : Image

But with plug message...Corbin just confirme that message doesn't looks to be provied.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
paszczus
Posts: 8
Joined: Saturday 14 January 2017 11:46
Target OS: Linux
Domoticz version:
Contact:

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

Post by paszczus »

Ahh, right:

2017-01-15 13:22:59.726 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:22:59.791 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:22:59.794 {"cmd":"report","model":"plug","sid":"158d000110470d","short_id":42409,"data":"{\"status\":\"on\"}"}
2017-01-15 13:22:59.814 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:22:59.816 {"cmd":"report","model":"plug","sid":"158d000110470d","short_id":42409,"data":"{\"status\":\"on\"}"}
2017-01-15 13:22:59.822 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:22:59.824 {"cmd":"report","model":"plug","sid":"158d000110470d","short_id":42409,"data":"{\"status\":\"on\"}"}
2017-01-15 13:23:01.924 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:23:01.926 {"cmd":"report","model":"plug","sid":"158d000110470d","short_id":42409,"data":"{\"status\":\"on\"}"}
2017-01-15 13:23:01.945 (Xiaomi Gateway) Light/Switch (Xiaomi Smart Plug)
2017-01-15 13:23:01.947 {"cmd":"report","model":"plug","sid":"158d000110470d","short_id":42409,"data":"{\"status\":\"on\"}"}
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 »

Cmd bla bla bla is the message send by the gateway, domoticz "just" hear it and translate to his language.

As you can read their no power information, did you get it on MiHome app ?
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
paszczus
Posts: 8
Joined: Saturday 14 January 2017 11:46
Target OS: Linux
Domoticz version:
Contact:

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

Post by paszczus »

Yes, it works pretty nice:
xiaomiplug1.jpg
xiaomiplug1.jpg (81.52 KiB) Viewed 2217 times
xiaomiplug2.jpg
xiaomiplug2.jpg (60.71 KiB) Viewed 2217 times
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 »

Ok cool, just have to be aware of a futur fw update !
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

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

Post by Mat2Vence »

One quick question regarding the door sensor. There is a behaviour I am not understanding. In domoticz, it looks like when the door is open, it is considered as closed in the status 1 minute after it has been open, whatever the case. I the mean time, if I am looking at the status on the xiaomi app, it is still open.
Any chance to know where it can come from?
I am using those sensor to know whether my velux are open or not... so that a bit painful to see there are closed when they are not ;)
If you have any idea on where to investigate?? thnaks a lot!
Mat2Vence
Posts: 41
Joined: Saturday 09 April 2016 18:11
Target OS: Linux
Domoticz version: 3.7449
Location: France
Contact:

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

Post by Mat2Vence »

I have just uploaded the last beta version and it seems it has been fixed. I now have the same status on both Domoticz and xiaomi app.
murtadin
Posts: 62
Joined: Saturday 31 December 2016 15:33
Target OS: Linux
Domoticz version: beta
Contact:

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

Post by murtadin »

corbin wrote:
murtadin wrote: you can try compile from source for the start.

I tried "emerge -v git", and it didn't work:
First check /usr/bin/emerge if file exists. Check permitions. You are trying it under root user? If not -
looks like you have to install stage 3. Just download it and unzip to the system root.

I have installed missing liveusb library, required by precompiled binaries - now i can start ./domoticz, but still no luck. No device appear in device menu. Still need help to debug this case.
arkoko
Posts: 34
Joined: Saturday 17 December 2016 12:13
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Estonia
Contact:

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

Post by arkoko »

Mat2Vence wrote:In domoticz, it looks like when the door is open, it is considered as closed in the status 1 minute after it has been open, whatever the case.
Yes, it is (beta v3.6367). Domoticz "close the door" on this signal:

Code: Select all

{"cmd":"report","model":"magnet","sid":"158d00011854aa","short_id":1082,"data":"{\"no_close\":\"60\"}"}
This behavior appeared after last firmware upgrade on the gateway.
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

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

Post by deennoo »

arkoko wrote:
Mat2Vence wrote:In domoticz, it looks like when the door is open, it is considered as closed in the status 1 minute after it has been open, whatever the case.
Yes, it is (beta v3.6367). Domoticz "close the door" on this signal:

Code: Select all

{"cmd":"report","model":"magnet","sid":"158d00011854aa","short_id":1082,"data":"{\"no_close\":\"60\"}"}
This behavior appeared after last firmware upgrade on the gateway.
Be patient solution is here, corbin is working hard on it, just give him time to provid a full release with all devices aviable
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
User avatar
corbin
Posts: 463
Joined: Saturday 20 August 2016 22:57
Target OS: Windows
Domoticz version: Beta
Location: Brisbane, Australia
Contact:

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

Post by corbin »

murtadin wrote:
First check /usr/bin/emerge if file exists. Check permitions. You are trying it under root user? If not -
looks like you have to install stage 3. Just download it and unzip to the system root.

I have installed missing liveusb library, required by precompiled binaries - now i can start ./domoticz, but still no luck. No device appear in device menu. Still need help to debug this case.
How about you create a VM of your setup that I can test with?
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: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

Post by corbin »

deennoo wrote: Be patient solution is here, corbin is working hard on it, just give him time to provid a full release with all devices aviable
This is already fixed after the last firmware update. Gateway LED control and Aqara switch support will be coming next. I got delayed on the weekend when friends turned up.
Question about the Xiaomi Gateway in Domoticz? Please check the Wiki first: https://www.domoticz.com/wiki/Xiaomi_Gateway_(Aqara)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest