Page 46 of 123
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 10 March 2017 11:05
by corbin
can you compile directly on your Synology?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 10 March 2017 11:25
by bertbigb
corbin wrote:I think the current problems can be summed up as:
- 1. Cannot enable developer mode (this problem is external to Domoticz). - > I don't have a solution but hope other uses can help with this.
2. Cannot detect any devices in Domoticz -> This can occur regardless of what you enter in the Domoticz hardware settings. I would suspect firewall/router or local hardware settings to be the cause.
3. Devices detect, but do not update state in Domoticz -> this could also be due to firewall/router restrictions, but we have found that some systems need the local Domoticz IP address to be used when binding to the socket. But this still fails on some systems.
4. Cannot control devices (password error) -> This could be related to devices not updated as in point 3, but could also be simply mistyping the password into Domoticz.
Please feel free to expand the above list or ask questions.
I am willing to help troubleshoot if you can provide a Domoticz install I can remote into (PM me the details)
Hi Corbin, I have send you a PM
Answers to your list:
1- I could enter developper mode via the app
2. I can detect other devices in Domoticz, however no devices connecte over the Xiaomi Gateway
3. Could be, but I don't know how to bind the socket (missing knowledge

)
4. mistyping the password, I'm sure that can't be the case. Typed it in in a txt file, controlled and double check against the app. Than with copy - paste it into domoticz.
I hope this helps you a bit to see what could have gone wrong and where.
Again thanks for all your help!!
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 10 March 2017 11:30
by bertbigb
corbin wrote:can you compile directly on your Synology?
I have never done that. It should be possible since I installed a bootstrap installer. But I don't have the knowledge what and how to do that.
Is it better to get this problem solved? How should I do it? In case it is really necessary I useually asked Jumbotroll for a favor to recompile for my synology
Re: RE: Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Friday 10 March 2017 19:58
by deennoo
bertbigb wrote:deennoo wrote:
Which os did you use on domoticz ? Linux Windows
On Windows have you unlock 9898 firewall ?
Have set your dev password ?
Hi deennoo,
My domoticz is running on a Synology DS1515+ - version Domoticz is latest beta available ( V3.6886, build time 2017-03-08 19:38:55)
I also have set my dev. password. Found it in the tab (with the lot of tapping

)
I also reset my password already a few times (by changing it in the app, note it down and re-use it in Domoticz)
My firewall is not blocking 9898. But this brings up another question, do I have to open port 9898 on my router and connect it to the IP of the Xiaomi gateway? --> Because that I didn't.
By the way - the Xiaomi is working very well from my iphone (in and outside my local network) and on the app I also see all devices connected to the gateway. So I expect there is something between the Gateway and Domoticz what is not going smooth.
Just test on my ds216play (v3.6883 is the lastest aviable for me) and i can't add xiaomi gateway i have to investigate with jumbotroll about this
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 11 March 2017 17:19
by bing69
Yesterday received my Xiaomi Gateway. As far as I can see it's a V3.
I have installed the app on iOS and Android, but can not find the password to enter him in Domoticz.
Here I do not know what to do. Does anyone advice?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 11 March 2017 20:57
by zorroar
corbin wrote:I fired up a test system under vmware in hopes of duplicating your problem, but it worked for me with those settings. If you don't mind modifying the source code, you could try manually adding in your local IP address to XiaomiGateway.cpp, line 573:
EDIT - Try with VIMAGE enabled, that is what worked for me.
Thank, I solve de problem. You're doing a great job. Thank you very much
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 11 March 2017 23:54
by corbin
zorroar wrote:Thank, I solve de problem. You're doing a great job. Thank you very much

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Saturday 11 March 2017 23:56
by corbin
bing69 wrote:but can not find the password to enter him in Domoticz.
You didn't say, so have you have tried to enable developer mode first?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 9:04
by bing69
corbin wrote:bing69 wrote:but can not find the password to enter him in Domoticz.
You didn't say, so have you have tried to enable developer mode first?
Can you tell me how can I get him in the Developer mode?
I do that from the app? I might need an older version of the app?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 9:19
by bing69
Thanks google translate, found a chinees page en found the solution. Thanks!
I see this:
2017-03-12 09:29:05.978 XiaomiGateway: will listen on 9898 for hardware id 18
2017-03-12 09:29:05.979 XiaomiGateway: Worker started...
2017-03-12 09:29:05.979 XiaomiGateway: Using 192.168.1.49 for local IP address.
for now i have only the gateway, can i use domoticz just to do with the lamp of the gateway??
(i am waiting on Alieexpress)

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 11:21
by hekm77
Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 11:30
by Derik
Is there perhaps some one that have the gateway working with Android? Or just only with Iphone. I try a lot of things only no luck yet..
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 12:11
by deennoo
hekm77 wrote:Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Wait for gateway fw update
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 14:58
by murtadin
deennoo wrote:hekm77 wrote:Hi corbin
Is it possible to receive data from a light sensor Xiaomi Gateway?
Wait for gateway fw update
Are you sure that it will be updated?

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 15:07
by deennoo
As what i can read on the api from github
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 15:43
by murtadin
deennoo wrote:As what i can read on the api from github
Can you give me url pls? Thank you.
Sent from my MI MAX using Tapatalk
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 17:35
by deennoo
Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 17:40
by Derik
Yes... Did everything again... And finaly i got the gateway with all the sensors !!! # happy # Thanks All...
Perhaps possible to switch a dummy switch with the Cube?
The radio should be great to

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 18:37
by hekm77
I have problems with Xiaomi Smart Socket (ZigBee). Domoticz v3.6908
- Spoiler: show

- Снимок экрана от 2017-03-12 17-55-28.png (14.4 KiB) Viewed 2603 times

- Снимок экрана от 2017-03-12 17-57-20.png (37.57 KiB) Viewed 2603 times
- Spoiler: show
Code: Select all
2017-03-12 18:23:08.655 {"cmd":"heartbeat","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\",\"inuse\":\"0\"}"}
2017-03-12 18:23:21.277 User: Admin initiated a switch command (9/Камера/On)
2017-03-12 18:23:21.353 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.368 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-12 18:23:21.427 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.456 (Xiaomi) Light/Switch (Камера)
2017-03-12 18:23:21.473 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"on\"}"}
2017-03-12 18:24:00.499 LUA: TV ping success
2017-03-12 18:24:00.626 LUA: TV says it is active
2017-03-12 18:24:00.626 LUA: TV active, status is ON, so do nothing.
2017-03-12 18:24:14.435 User: Admin initiated a switch command (9/Камера/Off)
2017-03-12 18:24:14.601 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-12 18:24:14.601 bIsOn = false
2017-03-12 18:24:14.601 nvalue = 0
2017-03-12 18:24:14.601 messagetype = report
2017-03-12 18:24:14.601 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-12 18:24:14.601 XiaomiGateway: not updating Domoticz for switch as no change from last state
2017-03-12 18:24:14.601 bIsOn = false
2017-03-12 18:24:14.601 nvalue = 0
2017-03-12 18:24:14.601 messagetype = report
2017-03-12 18:24:14.601 {"cmd":"report","model":"plug","sid":"158d00011016d0","short_id":41069,"data":"{\"status\":\"off\"}"}
2017-03-12 18:24:14.585 (Xiaomi) Light/Switch (Камера)
Re: RE: Re: Xiaomi Smart Home Suite (very cheap) compatibilty?
Posted: Sunday 12 March 2017 22:27
by murtadin
Is there any real chance, that support of wi-fi socket will be added? Developer mode for xiaomi wi-fi socket. For ir remote it would be great too.
Sent from my MI MAX using Tapatalk