Page 19 of 123
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 14:36
by arkoko
Not (yet?) I hope and think @corbin will comment this.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 15:56
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
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 16:06
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 ?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 16:25
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 (220.22 KiB) Viewed 2274 times
It will be awesome if there will be power consumption status. I have ordered 3 more plugs
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 16:33
by deennoo
Can you share with us plug message (text on log tab) ?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 17:07
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
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 17:20
by corbin
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:24
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 (331.02 KiB) Viewed 2221 times
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:36
by deennoo
No this :
But with plug message...Corbin just confirme that message doesn't looks to be provied.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:41
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\"}"}
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:44
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 ?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:51
by paszczus
Yes, it works pretty nice:
- xiaomiplug1.jpg (81.52 KiB) Viewed 2218 times
- xiaomiplug2.jpg (60.71 KiB) Viewed 2218 times
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 20:55
by deennoo
Ok cool, just have to be aware of a futur fw update !
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 21:29
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!
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 21:36
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.
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 22:24
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.
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 15 January 2017 22:52
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.
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 16 January 2017 0:08
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
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 16 January 2017 5:34
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?
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Monday 16 January 2017 7:05
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.